mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-05-14 13:53:02 -07:00
ui: change default border color to 30% of primary color
This commit is contained in:
@@ -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/';
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user