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: (
|
2019-09-19 08:14:23 +02:00
|
|
|
spacegrey: #353535,
|
2019-09-12 12:38:59 +02:00
|
|
|
inkpurple: #543581,
|
|
|
|
aquablue: #00aaa0,
|
|
|
|
azureblue: #2863b1,
|
|
|
|
gracered: #a12a50,
|
|
|
|
aloegreen: #3d9e56,
|
|
|
|
rustbrown: #795548,
|
|
|
|
);
|
|
|
|
|
|
|
|
$theme-name: "{{ site.theme_color }}";
|
|
|
|
$theme-color: map-get($theme-colors, "spacegrey");
|
|
|
|
|
|
|
|
@if map-has-key($theme-colors, $theme-name) {
|
|
|
|
$theme-color: map-get($theme-colors, $theme-name);
|
|
|
|
} @else if str-index($theme-name, "#") == 1 {
|
2019-09-19 08:14:23 +02:00
|
|
|
$theme-color: {{ site.theme_color | default: '#353535' }};
|
2019-09-12 12:38:59 +02:00
|
|
|
}
|
|
|
|
|
2019-09-11 06:19:34 +02:00
|
|
|
@import "yat";
|