mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-09 23:09:47 +00:00
31 lines
817 B
Sass
31 lines
817 B
Sass
{{ $themeStyle := .Site.Params.themeStyle | default "light" }}
|
|
$fa-font-path: '{{ print $.Site.BaseURL "fonts/fontawesome-free/webfonts" }}'
|
|
$nunito-font-path: '{{ print $.Site.BaseURL "fonts/NunitoSans" }}'
|
|
|
|
{{ 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 }}
|
|
@import "fonts"
|
|
@import "{{ $themeStyle }}-variables"
|
|
@import "base-variables"
|
|
@import "bulma-import"
|
|
@import "fontawesome-import"
|
|
@import "base"
|
|
@import "{{ $themeStyle }}-style"
|
|
{{ end }}
|