BetterDiscordApp-v2/tests/ext/themes/Example/index.scss

38 lines
903 B
SCSS
Raw Normal View History

@import 'vars';
2018-02-11 16:42:24 +01:00
div {
2018-02-20 00:54:37 +01:00
background: unquote($divBg);
2018-02-11 16:42:24 +01:00
}
span {
2018-02-11 17:28:47 +01:00
border: 1px solid rgba(20, 20, 20, $spanOpacity);
2018-02-12 01:48:44 +01:00
color: $radioTest !important;
2018-02-12 01:51:10 +01:00
opacity: $spanOpacity2 !important;
2018-02-11 21:41:38 +01:00
}
2019-03-10 21:29:55 +01:00
.da-chat .da-messagesWrapper,
.da-friendsTable {
background-image: url(map-get($relative-file-test, url));
background-size: contain;
background-repeat: no-repeat;
}
2019-03-10 21:29:55 +01:00
@if map-has-key($avatar, url) {
.da-avatar > .da-image {
background-image: url(map-get($avatar, url)) !important;
border-radius: $avatarRadius !important;
}
2018-02-11 21:41:38 +01:00
}
// Can't use a for loop as then we don't get the index
$index: 0;
@while $index < length($additional-colours) {
$additional-colour: nth($additional-colours, $index + 1);
div:nth-child(#{length($additional-colours)}n + #{$index}) {
color: unquote(map-get($additional-colour, colour)) !important;
}
$index: $index + 1;
}