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
10 changed files with 19 additions and 19 deletions

View File

@@ -4,7 +4,7 @@
* SPDX-License-Identifier: Apache-2.0
*/
import { lightTheme, Theme, type ColorsTheme } from './theme.js';
import { type ColorsTheme, Theme } from './theme.js';
const githubLightColors: ColorsTheme = {
type: 'light',
@@ -19,7 +19,7 @@ const githubLightColors: ColorsTheme = {
AccentRed: '#d14',
Comment: '#998',
Gray: '#999',
GradientColors: lightTheme.GradientColors,
GradientColors: ['#458', '#008080'],
};
export const GitHubLight: Theme = new Theme(