From 1f490acef6021b10eae1ad9c8bd3603611c49252 Mon Sep 17 00:00:00 2001 From: Shailen Patel Date: Fri, 5 Dec 2025 10:48:18 -0800 Subject: [PATCH] fix(github): dark theme header (#1922) --- styles/github/catppuccin.user.less | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/styles/github/catppuccin.user.less b/styles/github/catppuccin.user.less index 5da12ad1..a4c33819 100644 --- a/styles/github/catppuccin.user.less +++ b/styles/github/catppuccin.user.less @@ -40,6 +40,9 @@ regexp( } &[data-dark-theme="dark"] { #catppuccin(@darkFlavor); + header[data-color-mode] { + #catppuccin(@darkFlavor); + } } } } @@ -318,7 +321,7 @@ regexp( --fgColor-default: @text; --fgColor-muted: @subtext1; --fgColor-onEmphasis: @base; - --fgColor-white: if(@flavor = latte, @crust, @text); + --fgColor-white: @text; --fgColor-disabled: @surface2; --fgColor-link: @accent; --fgColor-neutral: @subtext1; @@ -517,24 +520,13 @@ regexp( } /* Header when logged out */ - .HeaderMenu-link { - color: @text; - - &:hover { - color: @text; - } - } .header-search-button { - &.placeholder { - color: @subtext0; - } - svg { fill: @text !important; } } .HeaderMenu-toggle-bar { - background-color: @text; + border-color: @text; } .notification-indicator .mail-status { background-image: linear-gradient(