mirror of
https://github.com/compiler-explorer/compiler-explorer.git
synced 2026-12-02 10:37:31 -06:00
Move app theme into its own type
This commit is contained in:
+3
-1
@@ -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']`
|
||||
|
||||
Reference in New Issue
Block a user