diff options
| author | 2024-12-02 17:50:32 +0800 | |
|---|---|---|
| committer | 2024-12-02 10:50:32 +0100 | |
| commit | dce85a2b7a73814bb936d1b3143e46a7a99cb4ed (patch) | |
| tree | 160cbbdde610b1482a8e14e0c29f335998b19aa5 /web/assets/themes/solarized-auto.css | |
| parent | [docs/zh] Update zh docs: synced to da4db81bcf1a66d0de559015e061e602d8f2fcb8 ... (diff) | |
| download | gotosocial-dce85a2b7a73814bb936d1b3143e46a7a99cb4ed.tar.xz | |
[feature/themes] Add auto-switching themes for blurple/brutalist/solarized (#3588)
Diffstat (limited to 'web/assets/themes/solarized-auto.css')
| -rw-r--r-- | web/assets/themes/solarized-auto.css | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/web/assets/themes/solarized-auto.css b/web/assets/themes/solarized-auto.css new file mode 100644 index 000000000..8324ef5f7 --- /dev/null +++ b/web/assets/themes/solarized-auto.css @@ -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); |
