mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-21 02:24:09 -07:00
Add an ansi theme. (#152)
Add the gradient used by the ascii art logo to theme.
This commit is contained in:
@@ -17,6 +17,7 @@ export interface ColorsTheme {
|
||||
AccentRed: string;
|
||||
SubtleComment: string;
|
||||
Gray: string;
|
||||
GradientColors?: string[];
|
||||
}
|
||||
|
||||
export const lightTheme: ColorsTheme = {
|
||||
@@ -31,6 +32,7 @@ export const lightTheme: ColorsTheme = {
|
||||
AccentRed: '#EF4444',
|
||||
SubtleComment: '#9CA3AF',
|
||||
Gray: 'gray',
|
||||
GradientColors: ['#4796E4', '#847ACE', '#C3677F'],
|
||||
};
|
||||
|
||||
export const darkTheme: ColorsTheme = {
|
||||
@@ -45,6 +47,21 @@ export const darkTheme: ColorsTheme = {
|
||||
AccentRed: '#F38BA8',
|
||||
SubtleComment: '#6C7086',
|
||||
Gray: 'gray',
|
||||
GradientColors: ['#4796E4', '#847ACE', '#C3677F'],
|
||||
};
|
||||
|
||||
export const ansiTheme: ColorsTheme = {
|
||||
Background: 'black',
|
||||
Foreground: 'white',
|
||||
LightBlue: 'blue',
|
||||
AccentBlue: 'bluebright',
|
||||
AccentPurple: 'magentabright',
|
||||
AccentCyan: 'cyanbright',
|
||||
AccentGreen: 'greenbright',
|
||||
AccentYellow: 'yellowbright',
|
||||
AccentRed: 'red',
|
||||
SubtleComment: 'gray',
|
||||
Gray: 'gray',
|
||||
};
|
||||
|
||||
export class Theme {
|
||||
|
||||
Reference in New Issue
Block a user