mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-21 17:27:54 +00:00
chore: sync gemini-cli v0.1.19
This commit is contained in:
@@ -24,6 +24,7 @@ import {
|
||||
createCustomTheme,
|
||||
validateCustomTheme,
|
||||
} from './theme.js';
|
||||
import { SemanticColors } from './semantic-tokens.js';
|
||||
import { ANSI } from './ansi.js';
|
||||
import { ANSILight } from './ansi-light.js';
|
||||
import { NoColorTheme } from './no-color.js';
|
||||
@@ -138,6 +139,14 @@ class ThemeManager {
|
||||
return this.activeTheme;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the semantic colors for the active theme.
|
||||
* @returns The semantic colors.
|
||||
*/
|
||||
getSemanticColors(): SemanticColors {
|
||||
return this.getActiveTheme().semanticColors;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets a list of custom theme names.
|
||||
* @returns Array of custom theme names.
|
||||
|
||||
Reference in New Issue
Block a user