summaryrefslogtreecommitdiff
path: root/assets/css/main.scss
blob: afe4e59482f21fc9d1ae22720bce89e7ef3d593f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
---
# Only the main Sass file needs front matter (the dashes are enough)
---

// Default theme colors
$theme-colors: (
  coolblack: #090a0b,
  spacegrey: #353535,
  snowwhite: #ffffff,
);

$theme-name: "{{ site.theme_color }}";
$theme-color: map-get($theme-colors, "snowwhite");

@if map-has-key($theme-colors, $theme-name) {
  $theme-color: map-get($theme-colors, $theme-name);
} @else if str-index($theme-name, "#") == 1 {
  $theme-color: {{ site.theme_color | default: '#ffffff' }};
}

@import "yat";