mirror of
https://github.com/google-gemini/gemini-cli.git
synced 2026-04-14 23:31:13 -07:00
feat: Detect background color (#15132)
This commit is contained in:
@@ -228,6 +228,14 @@ class ThemeManager {
|
||||
return this.findThemeByName(themeName);
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets all available themes.
|
||||
* @returns A list of all available themes.
|
||||
*/
|
||||
getAllThemes(): Theme[] {
|
||||
return [...this.availableThemes, ...Array.from(this.customThemes.values())];
|
||||
}
|
||||
|
||||
private isPath(themeName: string): boolean {
|
||||
return (
|
||||
themeName.endsWith('.json') ||
|
||||
|
||||
Reference in New Issue
Block a user