Merge pull request 'Add prefers-color-scheme based theme' (#6) from hamptonmoore/mastodon:system-theme into main

Reviewed-on: treehouse/mastodon#6
logo-fix
Ariadne Conill 2022-11-10 06:10:04 +00:00
commit ce30dbc2f9
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)