From 175260ede76d633c871fad40239aa5fbddfaeca9 Mon Sep 17 00:00:00 2001 From: rooot Date: Fri, 9 Feb 2024 15:10:15 +0100 Subject: [PATCH 1/4] fix(bsky): theme not applying, dim mode being unsupported Signed-off-by: rooot --- styles/bsky/catppuccin.user.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/styles/bsky/catppuccin.user.css b/styles/bsky/catppuccin.user.css index dd6b7c48c7..bc11dc830f 100644 --- a/styles/bsky/catppuccin.user.css +++ b/styles/bsky/catppuccin.user.css @@ -103,6 +103,7 @@ } /* generic background color */ + [style*="background-color: rgb(0, 0, 0)"], [style*="background-color: rgb(8, 10, 12)"] { background-color: @base !important; } @@ -356,10 +357,11 @@ } /* manually set colorscheme */ - html.colorMode--light { + html.theme--light { #catppuccin(@lightFlavor, @accentColor); } - html.colorMode--dark { + html.theme--dim, + html.theme--dark { #catppuccin(@darkFlavor, @accentColor); } } /* /@-moz-document */ From 45c1b3d4440647b5d83c72e651ecec240bd0d4cb Mon Sep 17 00:00:00 2001 From: rooot Date: Fri, 9 Feb 2024 15:37:25 +0100 Subject: [PATCH 2/4] feat(bsky): better latte support Signed-off-by: rooot --- styles/bsky/catppuccin.user.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/styles/bsky/catppuccin.user.css b/styles/bsky/catppuccin.user.css index bc11dc830f..39495816ea 100644 --- a/styles/bsky/catppuccin.user.css +++ b/styles/bsky/catppuccin.user.css @@ -62,6 +62,12 @@ [style*="color: rgb(255, 255, 255)"] { color: @text !important; } + & when (@lookup = latte) { + /* fix button text in latte */ + [style*="color: rgb(255, 255, 255)"] { + color: @base !important; + } + } /* secondary text */ [style*="rgb(163, 178, 194)"] { @@ -103,11 +109,20 @@ } /* generic background color */ + .css-175oi2r.r-13awgt0, + [style*="background-color: rgb(255, 255, 255)"], [style*="background-color: rgb(0, 0, 0)"], [style*="background-color: rgb(8, 10, 12)"] { background-color: @base !important; } + & when (@lookup = latte) { + /* fix button colors in latte */ + [style*="background-color: rgb(0, 0, 0)"] { + background-color: @text !important; + } + } + /* secondary background color */ [style*="background-color: rgb(20, 25, 31)"] { background-color: @mantle !important; @@ -260,6 +275,13 @@ path[fill="hsl(211, 20%, 100%)"] { fill: @text; } + & when (@lookup = latte) { + /* fix small icons in latte */ + path[fill="#ffffff"], + path[fill="hsl(211, 20%, 100%)"] { + fill: @base; + } + } /* more gray small icons (seems to only be the trash can/delete icon) */ path[fill="#8D8E96"] { @@ -272,6 +294,7 @@ } /* x invite codes available icon */ + div[style*="background-color: rgb(191, 225, 255)"], div[style*="background-color: rgb(1, 37, 97)"] { background-color: fadeout(@accent-color, 70%) !important; & > svg > path[fill="#52acfe"] { From 91e665b7feb8f468f459ffd9a2bfc2cc928e8cc5 Mon Sep 17 00:00:00 2001 From: rooot Date: Fri, 9 Feb 2024 15:38:03 +0100 Subject: [PATCH 3/4] feat(bsky): bump version to 0.0.5 Signed-off-by: rooot --- styles/bsky/catppuccin.user.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/styles/bsky/catppuccin.user.css b/styles/bsky/catppuccin.user.css index 39495816ea..88ce74b85d 100644 --- a/styles/bsky/catppuccin.user.css +++ b/styles/bsky/catppuccin.user.css @@ -2,7 +2,7 @@ @name Bluesky Social Catppuccin @namespace github.com/catppuccin/userstyles/styles/bsky @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/bsky -@version 0.0.4 +@version 0.0.5 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/bsky/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Absky @description Soothing pastel theme for Bluesky Social From 0c3c0a4f2a1da18ad56a73fd26ec9f81acf607ca Mon Sep 17 00:00:00 2001 From: rooot Date: Fri, 9 Feb 2024 15:56:35 +0100 Subject: [PATCH 4/4] fix(bsky): linter issues Signed-off-by: rooot --- styles/bsky/catppuccin.user.css | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/styles/bsky/catppuccin.user.css b/styles/bsky/catppuccin.user.css index 88ce74b85d..aaed708d1b 100644 --- a/styles/bsky/catppuccin.user.css +++ b/styles/bsky/catppuccin.user.css @@ -61,10 +61,8 @@ /* generic text */ [style*="color: rgb(255, 255, 255)"] { color: @text !important; - } - & when (@lookup = latte) { - /* fix button text in latte */ - [style*="color: rgb(255, 255, 255)"] { + & when (@lookup = latte) { + /* fix button text in latte */ color: @base !important; } } @@ -114,12 +112,12 @@ [style*="background-color: rgb(0, 0, 0)"], [style*="background-color: rgb(8, 10, 12)"] { background-color: @base !important; - } - & when (@lookup = latte) { - /* fix button colors in latte */ - [style*="background-color: rgb(0, 0, 0)"] { - background-color: @text !important; + & when (@lookup = latte) { + /* fix button colors in latte */ + [style*="background-color: rgb(0, 0, 0)"] { + background-color: @text !important; + } } } @@ -274,11 +272,8 @@ path[fill="#ffffff"], path[fill="hsl(211, 20%, 100%)"] { fill: @text; - } - & when (@lookup = latte) { - /* fix small icons in latte */ - path[fill="#ffffff"], - path[fill="hsl(211, 20%, 100%)"] { + + & when (@lookup = latte) { fill: @base; } }