feat: Detect background color (#15132)

This commit is contained in:
Jacob Richman
2025-12-18 10:36:48 -08:00
committed by GitHub
parent 54466a3ea8
commit 322232e514
28 changed files with 1031 additions and 359 deletions

View File

@@ -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') ||