2019-07-18 14:22:11 +00:00
|
|
|
//
|
|
|
|
// Misc: Colors
|
|
|
|
//
|
2019-06-28 10:51:44 +00:00
|
|
|
|
|
|
|
// Background colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include background-variant($name, $color);
|
2019-06-28 10:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Background colors (colors)
|
|
|
|
@each $name, $color in $colors {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include background-variant($name, $color);
|
2019-06-28 10:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.bg-gray {
|
|
|
|
background-color: $gray-500;
|
|
|
|
color: color-yiq($gray-500);
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-gray-light {
|
|
|
|
background-color: lighten($gray-200, 3%);
|
|
|
|
color: color-yiq(lighten($gray-200, 3%)) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-black {
|
|
|
|
background-color: $black;
|
|
|
|
color: color-yiq($black) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
.bg-white {
|
|
|
|
background-color: $white;
|
|
|
|
color: color-yiq($white) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Gradient Background colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include background-gradient-variant($name, $color);
|
2019-06-28 10:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Gradient Background colors (colors)
|
|
|
|
@each $name, $color in $colors {
|
2019-07-18 14:22:11 +00:00
|
|
|
@include background-gradient-variant($name, $color);
|
2019-06-28 10:51:44 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// Backgrund Color Disabled
|
2020-05-30 13:06:11 +00:00
|
|
|
[class^="bg-"].disabled {
|
2019-06-28 10:51:44 +00:00
|
|
|
opacity: .65;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Text muted hover
|
|
|
|
a.text-muted:hover {
|
|
|
|
color: theme-color(primary) !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Link Styles
|
|
|
|
.link-muted {
|
|
|
|
color: darken($gray-500, 30%);
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: darken($gray-500, 40%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.link-black {
|
|
|
|
color: $gray-600;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
color: lighten($gray-500, 20%);
|
|
|
|
}
|
|
|
|
}
|
2019-09-21 08:19:05 +00:00
|
|
|
|
|
|
|
// Accent colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors {
|
|
|
|
@include accent-variant($name, $color);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Accent colors (colors)
|
|
|
|
@each $name, $color in $colors {
|
|
|
|
@include accent-variant($name, $color);
|
|
|
|
}
|
2019-12-04 08:34:36 +00:00
|
|
|
|
|
|
|
// Accent button override fix
|
|
|
|
[class*="accent-"] {
|
|
|
|
@each $name, $color in $theme-colors {
|
|
|
|
a.btn-#{$name} {
|
|
|
|
color: color-yiq($color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2020-09-23 14:08:15 +00:00
|
|
|
|
2021-04-13 12:24:31 +00:00
|
|
|
@include dark-mode () {
|
2020-09-23 14:08:15 +00:00
|
|
|
.bg-light {
|
|
|
|
background-color: lighten($dark, 7.5%) !important;
|
|
|
|
color: $white !important;
|
|
|
|
}
|
2020-09-24 08:57:27 +00:00
|
|
|
.text-black,
|
|
|
|
.text-dark,
|
|
|
|
.link-black,
|
|
|
|
.link-dark {
|
2020-09-24 07:08:20 +00:00
|
|
|
color: $gray-400;
|
|
|
|
}
|
2021-03-09 19:44:26 +00:00
|
|
|
|
|
|
|
// Background colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors-alt {
|
|
|
|
@include background-variant($name, $color);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Background colors (colors)
|
|
|
|
@each $name, $color in $colors-alt {
|
|
|
|
@include background-variant($name, $color);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Gradient Background colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors-alt {
|
|
|
|
@include background-gradient-variant($name, $color);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Gradient Background colors (colors)
|
|
|
|
@each $name, $color in $colors-alt {
|
|
|
|
@include background-gradient-variant($name, $color);
|
|
|
|
}
|
|
|
|
|
|
|
|
// Accent colors (theme colors)
|
|
|
|
@each $name, $color in $theme-colors-alt {
|
|
|
|
@include accent-variant($name, $color);
|
|
|
|
}
|
|
|
|
|
|
|
|
[class*="accent-"] {
|
|
|
|
@each $name, $color in $theme-colors-alt {
|
|
|
|
a.btn-#{$name} {
|
|
|
|
color: color-yiq($color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
// Accent colors (colors)
|
|
|
|
@each $name, $color in $colors-alt {
|
|
|
|
@include accent-variant($name, $color);
|
|
|
|
}
|
2020-09-23 14:08:15 +00:00
|
|
|
}
|
2021-03-09 19:44:26 +00:00
|
|
|
|
|
|
|
//
|