2019-09-11 06:19:34 +02:00
|
|
|
---
|
|
|
|
# Only the main Sass file needs front matter (the dashes are enough)
|
|
|
|
---
|
|
|
|
|
2019-09-12 12:38:59 +02:00
|
|
|
// Default theme colors
|
|
|
|
$theme-colors: (
|
2021-05-26 15:51:32 +02:00
|
|
|
"coolblack": #090a0b,
|
|
|
|
"spacegrey": #353535,
|
|
|
|
"snowwhite": #ffffff,
|
|
|
|
);
|
|
|
|
|
|
|
|
// Default brand colors
|
|
|
|
$brand-colors: (
|
|
|
|
"orangered": #ff5100,
|
|
|
|
"greatgold": #f2cb05,
|
|
|
|
"greenblue": #389092,
|
2019-09-12 12:38:59 +02:00
|
|
|
);
|
|
|
|
|
|
|
|
$theme-name: "{{ site.theme_color }}";
|
2021-05-26 15:51:32 +02:00
|
|
|
$brand-name: "{{ site.brand_color }}";
|
2020-07-12 10:23:23 +02:00
|
|
|
$theme-color: map-get($theme-colors, "snowwhite");
|
2021-05-26 15:51:32 +02:00
|
|
|
$brand-color: map-get($brand-colors, "orangered");
|
2019-09-12 12:38:59 +02:00
|
|
|
|
|
|
|
@if map-has-key($theme-colors, $theme-name) {
|
|
|
|
$theme-color: map-get($theme-colors, $theme-name);
|
|
|
|
} @else if str-index($theme-name, "#") == 1 {
|
2020-07-12 10:23:23 +02:00
|
|
|
$theme-color: {{ site.theme_color | default: '#ffffff' }};
|
2019-09-12 12:38:59 +02:00
|
|
|
}
|
|
|
|
|
2021-05-26 15:51:32 +02:00
|
|
|
@if map-has-key($brand-colors, $brand-name) {
|
|
|
|
$brand-color: map-get($brand-colors, $brand-name);
|
|
|
|
} @else if str-index($brand-name, "#") == 1 {
|
|
|
|
$brand-color: {{ site.brand_color | default: '#ff5100' }};
|
|
|
|
}
|
|
|
|
|
2019-09-11 06:19:34 +02:00
|
|
|
@import "yat";
|