Add prefers-color-scheme based theme

This commit is contained in:
Hampton Moore 2022-11-09 14:33:12 -05:00
parent fb4d07fbcc
commit 25b2f53580
5 changed files with 17 additions and 1 deletions

View file

@ -0,0 +1,4 @@
@import 'flavours/glitch/styles/mastodon';
@media (prefers-color-scheme: light) {
@import 'flavours/glitch/styles/mastodon-light';
}

View file

@ -0,0 +1,4 @@
en:
skins:
glitch:
mastodon-system: Mastodon (system-preferred)

View file

@ -4,5 +4,5 @@ en:
mastodon-light: Mastodon (light)
es:
skins:
glitch:
vanilla:
mastodon-light: Mastodon (claro)

View file

@ -0,0 +1,4 @@
@import 'styles/mastodon';
@media (prefers-color-scheme: light) {
@import 'styles/mastodon-light';
}

View file

@ -0,0 +1,4 @@
en:
skins:
vanilla:
mastodon-system: Mastodon (system-preferred)