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

// Default theme colors
$theme-colors: (
  spacegrey: #353535,
  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 {
  $theme-color: {{ site.theme_color | default: '#353535' }};
}

@import "yat";