Add ham-handed "auto" color scheme by duplicating all css (:V) (#198)

This commit is contained in:
Shea Polansky 2020-03-29 13:48:45 -07:00 committed by GitHub
parent 33720a6e04
commit bbbf9b0cb9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,6 +2,25 @@
$fa-font-path: '{{ "/fonts/fontawesome-free/webfonts" }}'
$nunito-font-path: '{{ "/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"
@ -9,3 +28,4 @@ $nunito-font-path: '{{ "/fonts/NunitoSans" }}'
@import "fontawesome-import"
@import "base"
@import "{{ $themeStyle }}-style"
{{ end }}