mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 09:17:53 +00:00
Allow themes to theme the UI (#769)
This commit is contained in:
@@ -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,
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user