feat(mastodon): support system theme (#1074)

This commit is contained in:
Isabel authored and GitHub committed 2024-07-12 18:04:43 +01:00
1 parent 1661735e10
commit 0d4ed92a93
1 file changed
+5 -3
+5 -3
View File
@@ -2,7 +2,7 @@
@name Mastodon Catppuccin
@namespace github.com/catppuccin/userstyles/styles/mastodon
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/mastodon
@version 1.3.2
@version 1.3.3
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/mastodon/catppuccin.user.css
@supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Amastodon
@description Soothing pastel theme for Mastodon
@@ -37,14 +37,16 @@ domain("toot.wales") {
@media (prefers-color-scheme: light) {
.theme-default,
.skin-default {
.skin-default,
.skin-system {
#catppuccin(@lightFlavor, @accentColor);
}
}
@media (prefers-color-scheme: dark) {
.theme-default,
.skin-default {
.skin-default,
.skin-system {
#catppuccin(@darkFlavor, @accentColor);
}
}