summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/themes/theme.ts
diff options
context:
space:
mode:
authorJacob Richman <[email protected]>2025-04-24 11:56:23 -0700
committerGitHub <[email protected]>2025-04-24 11:56:23 -0700
commit19ed2ed6305aa12d260a569eec4837d3ccf56f17 (patch)
tree5c91e42171a865d8fc38d5271a12e2a6e63c3e95 /packages/cli/src/ui/themes/theme.ts
parent5790a5d7cf85deda92bf2e58477558b4a4ebc726 (diff)
Add an ansi theme. (#152)
Add the gradient used by the ascii art logo to theme.
Diffstat (limited to 'packages/cli/src/ui/themes/theme.ts')
-rw-r--r--packages/cli/src/ui/themes/theme.ts17
1 files changed, 17 insertions, 0 deletions
diff --git a/packages/cli/src/ui/themes/theme.ts b/packages/cli/src/ui/themes/theme.ts
index 7097bcc9..70d6fd51 100644
--- a/packages/cli/src/ui/themes/theme.ts
+++ b/packages/cli/src/ui/themes/theme.ts
@@ -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 {