Allow themes to update gradient colors (#914)

This commit is contained in:
Miguel Solorio 2025-06-11 10:14:18 -07:00 committed by GitHub
parent 1d7090b8ac
commit 9c5b5ff823
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 19 additions and 19 deletions

View file

@ -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(