mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-12 16:29:44 +00:00
7167496d88
- Put fonts styles in _fonts.sass - Stop overriding $fa-font-path in vendor/fontawesome-free/scss/_variables.scss - Clean up style.sass imports
19 lines
408 B
Sass
19 lines
408 B
Sass
{{ $themeStyle := .Site.Params.themeStyle | default "light" }}
|
|
|
|
{{ if eq $themeStyle "auto" }}
|
|
@import "light-variables"
|
|
@import "light-style"
|
|
|
|
@media (prefers-color-scheme: dark)
|
|
@import "dark-variables"
|
|
@import "dark-style"
|
|
|
|
{{ else }}
|
|
@import "{{ $themeStyle }}-variables"
|
|
@import "{{ $themeStyle }}-style"
|
|
{{ end }}
|
|
|
|
@import "fonts"
|
|
@import "base-variables"
|
|
@import "bulma-import"
|
|
@import "base"
|