fix(github): dark theme header (#1922)

This commit is contained in:
Shailen Patel authored and GitHub committed 2025-12-05 12:48:18 -06:00
1 parent a51a3d7eb1
commit 1f490acef6
1 file changed
+5 -13
+5 -13
View File
@@ -40,6 +40,9 @@ regexp(
} }
&[data-dark-theme="dark"] { &[data-dark-theme="dark"] {
#catppuccin(@darkFlavor); #catppuccin(@darkFlavor);
header[data-color-mode] {
#catppuccin(@darkFlavor);
}
} }
} }
} }
@@ -318,7 +321,7 @@ regexp(
--fgColor-default: @text; --fgColor-default: @text;
--fgColor-muted: @subtext1; --fgColor-muted: @subtext1;
--fgColor-onEmphasis: @base; --fgColor-onEmphasis: @base;
--fgColor-white: if(@flavor = latte, @crust, @text); --fgColor-white: @text;
--fgColor-disabled: @surface2; --fgColor-disabled: @surface2;
--fgColor-link: @accent; --fgColor-link: @accent;
--fgColor-neutral: @subtext1; --fgColor-neutral: @subtext1;
@@ -517,24 +520,13 @@ regexp(
} }
/* Header when logged out */ /* Header when logged out */
.HeaderMenu-link {
color: @text;
&:hover {
color: @text;
}
}
.header-search-button { .header-search-button {
&.placeholder {
color: @subtext0;
}
svg { svg {
fill: @text !important; fill: @text !important;
} }
} }
.HeaderMenu-toggle-bar { .HeaderMenu-toggle-bar {
background-color: @text; border-color: @text;
} }
.notification-indicator .mail-status { .notification-indicator .mail-status {
background-image: linear-gradient( background-image: linear-gradient(