summaryrefslogtreecommitdiff
path: root/packages/cli/src/ui/themes/ansi-light.ts
diff options
context:
space:
mode:
authorMiguel Solorio <[email protected]>2025-06-05 14:35:47 -0700
committerGitHub <[email protected]>2025-06-05 14:35:47 -0700
commit8a0a2523ca50eabe1e0701ac049e2e5c7f61791a (patch)
treeae6542307d587a731f0a887b16f2776074f7177e /packages/cli/src/ui/themes/ansi-light.ts
parent2285bba66eced3eee2b97ece250ec6e590f76efc (diff)
Allow themes to theme the UI (#769)
Diffstat (limited to 'packages/cli/src/ui/themes/ansi-light.ts')
-rw-r--r--packages/cli/src/ui/themes/ansi-light.ts20
1 files changed, 18 insertions, 2 deletions
diff --git a/packages/cli/src/ui/themes/ansi-light.ts b/packages/cli/src/ui/themes/ansi-light.ts
index dae9eecd..fc35e434 100644
--- a/packages/cli/src/ui/themes/ansi-light.ts
+++ b/packages/cli/src/ui/themes/ansi-light.ts
@@ -4,7 +4,23 @@
* SPDX-License-Identifier: Apache-2.0
*/
-import { lightTheme, Theme } from './theme.js';
+import { lightTheme, Theme, type ColorsTheme } from './theme.js';
+
+const ansiLightColors: ColorsTheme = {
+ type: 'light',
+ Background: 'white',
+ Foreground: 'black',
+ LightBlue: 'blue',
+ AccentBlue: 'blue',
+ AccentPurple: 'purple',
+ AccentCyan: 'cyan',
+ AccentGreen: 'green',
+ AccentYellow: 'orange',
+ AccentRed: 'red',
+ Comment: 'gray',
+ Gray: 'gray',
+ GradientColors: lightTheme.GradientColors,
+};
export const ANSILight: Theme = new Theme(
'ANSI Light',
@@ -126,5 +142,5 @@ export const ANSILight: Theme = new Theme(
color: 'orange',
},
},
- lightTheme,
+ ansiLightColors,
);