Make zinc accent monochrome and respect accentForeground
This commit is contained in:
@@ -235,6 +235,7 @@ interface DarkThemeConfig {
|
||||
borderAccent: string;
|
||||
accent: string;
|
||||
accentBright: string;
|
||||
accentForeground?: string;
|
||||
destructive: string;
|
||||
}
|
||||
|
||||
@@ -277,7 +278,7 @@ function buildDarkSemanticColors(tint: DarkThemeConfig) {
|
||||
|
||||
accent: tint.accent,
|
||||
accentBright: tint.accentBright,
|
||||
accentForeground: "#ffffff",
|
||||
accentForeground: tint.accentForeground ?? "#ffffff",
|
||||
|
||||
destructive: tint.destructive,
|
||||
destructiveForeground: "#ffffff",
|
||||
@@ -352,8 +353,9 @@ const zincDarkColors = buildDarkSemanticColors({
|
||||
scrollbarHandle: "#71717a",
|
||||
border: "#27272a",
|
||||
borderAccent: "#303036",
|
||||
accent: "#20744A",
|
||||
accentBright: "#7ccba0",
|
||||
accent: "#e4e4e7",
|
||||
accentBright: "#fafafa",
|
||||
accentForeground: "#18181b", // monochrome zinc accent is near-white — needs dark text
|
||||
destructive: "#c44a4a", // neutral red, hue 0 — clearly red without screaming
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user