mirror of
https://codeberg.org/superseriousbusiness/gotosocial.git
synced 2024-12-24 09:58:17 +03:00
[feature/themes] Add auto-switching themes for blurple/brutalist/solarized (#3588)
This commit is contained in:
parent
44b7bc71b6
commit
dce85a2b7a
3 changed files with 30 additions and 0 deletions
10
web/assets/themes/blurple-auto.css
Normal file
10
web/assets/themes/blurple-auto.css
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
/*
|
||||||
|
theme-title: Blurple (auto)
|
||||||
|
theme-description: Official blurple theme that adapts to system preferences
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Default to dark theme */
|
||||||
|
@import url("blurple-dark.css");
|
||||||
|
|
||||||
|
@import url("blurple-light.css") screen and (prefers-color-scheme: light);
|
||||||
|
@import url("blurple-dark.css") screen and (prefers-color-scheme: dark);
|
10
web/assets/themes/brutalist-auto.css
Normal file
10
web/assets/themes/brutalist-auto.css
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
/*
|
||||||
|
theme-title: Brutalist (auto)
|
||||||
|
theme-description: Official (Pseudo-)monochrome brutality theme that adapts to system preferences
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Default to brutalist theme */
|
||||||
|
@import url("brutalist.css");
|
||||||
|
|
||||||
|
@import url("brutalist.css") screen and (prefers-color-scheme: light);
|
||||||
|
@import url("brutalist-dark.css") screen and (prefers-color-scheme: dark);
|
10
web/assets/themes/solarized-auto.css
Normal file
10
web/assets/themes/solarized-auto.css
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
/*
|
||||||
|
theme-title: Solarized (auto)
|
||||||
|
theme-description: Solarized theme that adapts to system preferences
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* Default to dark theme */
|
||||||
|
@import url("solarized-dark.css");
|
||||||
|
|
||||||
|
@import url("solarized-light.css") screen and (prefers-color-scheme: light);
|
||||||
|
@import url("solarized-dark.css") screen and (prefers-color-scheme: dark);
|
Loading…
Reference in a new issue