chore: remove style class from mixins

This commit is contained in:
Kazhnuz Klappsthul 2021-07-30 09:59:44 +02:00
parent 9fb8e5787f
commit 9dc13158af
3 changed files with 13 additions and 28 deletions

View File

@ -18,6 +18,12 @@
justify-content: space-between; justify-content: space-between;
} }
.bg {
@each $name, $color in list-colors() {
&-#{$name} { @include background-color(get-color($name)); }
}
}
strong.btn-fake { strong.btn-fake {
@include button($button_large); @include button($button_large);
@include button-fullcontrol(transparent, transparent, rgba(0,0,0,1)); @include button-fullcontrol(transparent, transparent, rgba(0,0,0,1));

View File

@ -74,6 +74,13 @@ ul, ol {
} }
} }
::selection {
@include background-color($color-selection);
}
::-moz-selection {
@include background-color($color-selection);
}
/* 2.2 - Text Wrapper */ /* 2.2 - Text Wrapper */
.container-article, .container-typographic { .container-article, .container-typographic {

View File

@ -59,31 +59,3 @@
background-color: $background-color; background-color: $background-color;
color: getTextColorFromBackground($background-color); color: getTextColorFromBackground($background-color);
} }
// Colorize important elements
// Direct uses of colors
a, a:hover, a:active {
color: $color-link;
}
::selection {
@include background-color($color-selection);
}
::-moz-selection {
@include background-color($color-selection);
}
mark {
background-color: lighten($color-mark, 30%)
}
blockquote, pre {
border-color: $color-primary;
}
.bg {
@each $name, $color in list-colors() {
&-#{$name} { @include background-color(get-color($name)); }
}
}