diff options
author | Frédéric Guillot <fred@miniflux.net> | 2019-09-21 19:10:08 -0700 |
---|---|---|
committer | Frédéric Guillot <fred@miniflux.net> | 2019-09-21 20:04:42 -0700 |
commit | afe1faf2141ef9cd3a5564fa33646b821ae5162b (patch) | |
tree | ca3fbbea8236154aabeedd54c05775e7f4fcbf35 /model/theme_test.go | |
parent | d610d091fed6dbac3a7ae7e6a67e6e8455b77755 (diff) |
Add theme variants
- Use CSS variables instead of inherence
- Rename default theme to "Light - Serif"
- Rename Black theme to "Dark - Serif"
- Rename "Sans-Serif" theme to "Light - Sans Serif"
- Add "System" theme that use system preferences: Dark or Light
- Add Serif and Sans-Serif variants for each color theme
Diffstat (limited to 'model/theme_test.go')
-rw-r--r-- | model/theme_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/model/theme_test.go b/model/theme_test.go index 0e710db..30d7669 100644 --- a/model/theme_test.go +++ b/model/theme_test.go @@ -7,7 +7,7 @@ package model // import "miniflux.app/model" import "testing" func TestValidateTheme(t *testing.T) { - for _, status := range []string{"default", "black", "sansserif"} { + for _, status := range []string{"light_serif", "dark_sans_serif", "system_serif"} { if err := ValidateTheme(status); err != nil { t.Error(`A valid theme should not generate any error`) } |