Move app theme into its own type

This commit is contained in:
Mats Larsen
2021-10-28 20:54:56 +02:00
parent c92f1ffd1c
commit 115366de0c
+3 -1
View File
@@ -24,11 +24,13 @@
import * as monaco from 'monaco-editor';
type AppTheme = 'default' | 'dark' | 'all';
interface ColourScheme {
name: string;
desc: string;
count: number;
themes: ('default' | 'dark' | 'all')[];
themes: AppTheme[];
}
// If you want to use a scheme in every theme, set `theme: ['all']`