ui: change default border color to 30% of primary color

This commit is contained in:
Keith Guerin
2026-02-10 22:33:38 -08:00
parent 2d13d9849b
commit 172ec8f92a
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -36,7 +36,7 @@ export const SHELL_SILENT_WORKING_TITLE_DELAY_MS = 120000;
export const DEFAULT_BACKGROUND_OPACITY = 0.16; export const DEFAULT_BACKGROUND_OPACITY = 0.16;
export const DEFAULT_INPUT_BACKGROUND_OPACITY = 0.24; export const DEFAULT_INPUT_BACKGROUND_OPACITY = 0.24;
export const DEFAULT_BORDER_OPACITY = 0.2; export const DEFAULT_BORDER_OPACITY = 0.3;
export const KEYBOARD_SHORTCUTS_URL = export const KEYBOARD_SHORTCUTS_URL =
'https://geminicli.com/docs/cli/keyboard-shortcuts/'; 'https://geminicli.com/docs/cli/keyboard-shortcuts/';
+2 -2
View File
@@ -139,7 +139,7 @@ export class Theme {
border: { border: {
default: interpolateColor( default: interpolateColor(
this.colors.Background, this.colors.Background,
this.colors.Gray, this.colors.Foreground,
DEFAULT_BORDER_OPACITY, DEFAULT_BORDER_OPACITY,
), ),
focused: this.colors.AccentBlue, focused: this.colors.AccentBlue,
@@ -410,7 +410,7 @@ export function createCustomTheme(customTheme: CustomTheme): Theme {
customTheme.border?.default ?? customTheme.border?.default ??
interpolateColor( interpolateColor(
colors.Background, colors.Background,
colors.Gray, colors.Foreground,
DEFAULT_BORDER_OPACITY, DEFAULT_BORDER_OPACITY,
), ),
focused: customTheme.border?.focused ?? colors.AccentBlue, focused: customTheme.border?.focused ?? colors.AccentBlue,