mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-14 08:59:45 +00:00
41157bf9e9
- Stop importing Bulma under @media - Patch assets/vendor/bulma/sass/utilities/mixins.sass
28 lines
No EOL
644 B
Sass
28 lines
No EOL
644 B
Sass
{{ $themeStyle := .Site.Params.themeStyle | default "light" }}
|
|
|
|
{{ 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 "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 }} |