mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 01:07:46 +00:00
Allow themes to update gradient colors (#914)
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
* SPDX-License-Identifier: Apache-2.0
|
||||
*/
|
||||
|
||||
import { darkTheme, Theme, type ColorsTheme } from './theme.js';
|
||||
import { type ColorsTheme, Theme } from './theme.js';
|
||||
|
||||
const ansiColors: ColorsTheme = {
|
||||
type: 'dark',
|
||||
@@ -19,7 +19,7 @@ const ansiColors: ColorsTheme = {
|
||||
AccentRed: 'red',
|
||||
Comment: 'gray',
|
||||
Gray: 'gray',
|
||||
GradientColors: darkTheme.GradientColors, // Fallback
|
||||
GradientColors: ['cyan', 'green'],
|
||||
};
|
||||
|
||||
export const ANSI: Theme = new Theme(
|
||||
|
||||
Reference in New Issue
Block a user