Add an ansi theme. (#152)

Add the gradient used by the ascii art logo to theme.
This commit is contained in:
Jacob Richman
2025-04-24 11:56:23 -07:00
committed by GitHub
parent 5790a5d7cf
commit 19ed2ed630
5 changed files with 174 additions and 9 deletions
+17
View File
@@ -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 {