hugo-theme-introduction/assets/sass/style.sass

32 lines
817 B
Sass
Raw Normal View History

2018-07-10 07:23:19 +00:00
{{ $themeStyle := .Site.Params.themeStyle | default "light" }}
$fa-font-path: '{{ print $.Site.BaseURL "fonts/fontawesome-free/webfonts" }}'
$nunito-font-path: '{{ print $.Site.BaseURL "fonts/NunitoSans" }}'
2018-07-10 07:23:19 +00:00
{{ if eq $themeStyle "auto" }}
@import "fonts"
@import "light-variables"
@import "base-variables"
@import "bulma-import"
@import "fontawesome-import"
@import "base"
@import "light-style"
@media (prefers-color-scheme: dark)
@import "fonts"
@import "dark-variables"
@import "base-variables"
@import "bulma-import"
@import "fontawesome-import"
@import "base"
@import "dark-style"
{{ else }}
2018-07-13 09:29:45 +00:00
@import "fonts"
@import "{{ $themeStyle }}-variables"
2018-07-19 15:47:51 +00:00
@import "base-variables"
@import "bulma-import"
@import "fontawesome-import"
2018-07-13 09:29:45 +00:00
@import "base"
@import "{{ $themeStyle }}-style"
{{ end }}