From 81765cb355fa9d957f0704a26987986fcba8a901 Mon Sep 17 00:00:00 2001 From: uncenter Date: Tue, 10 Mar 2026 09:17:12 -0500 Subject: [PATCH] fix(ghostty): brand buttons and active sidebar, homepage terminal (#2160) --- styles/ghostty.org/catppuccin.user.less | 23 ++++++++--------------- 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/styles/ghostty.org/catppuccin.user.less b/styles/ghostty.org/catppuccin.user.less index 78b2646e..cfea82f9 100644 --- a/styles/ghostty.org/catppuccin.user.less +++ b/styles/ghostty.org/catppuccin.user.less @@ -55,23 +55,15 @@ --callout-warning: @yellow; --callout-caution: @red; - div[class*="Terminal_adwaita"] { + div[class^="Terminal-module"] { --adw-headerbar-color: @mantle !important; - - svg[class*="Terminal_icon"], p[class*="Terminal_title"] { - color: @text !important; - } - - li[class*="Terminal_circularButton"] { - > svg { - color: @base !important; - } - background-color: @accent !important; - } + --color-sunset-orange: @red; + --color-pastel-orange: @peach; + --color-malachite: @green; } - [class*="Link_buttonLink"]:hover, - ul [class*="NavTree_active"] { + [class*="__buttonLink"][class*="__brand"]:hover, + ul[class*="NavTree-module__"] [class*="__active"] { color: @crust !important; } @@ -95,8 +87,9 @@ } } +/* #lib.hslify() with spaces instead of commas. */ #hslify(@color) { @raw: e( - %("%s, %s%, %s%", hue(@color), saturation(@color), lightness(@color)) + %("%s %s% %s%", hue(@color), saturation(@color), lightness(@color)) ); }