forked from johannesjo/parallel-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlook.ts
More file actions
64 lines (60 loc) · 1.33 KB
/
look.ts
File metadata and controls
64 lines (60 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
export type LookPreset =
| 'classic'
| 'graphite'
| 'midnight'
| 'indigo'
| 'ember'
| 'glacier'
| 'minimal'
| 'zenburnesque';
export interface LookPresetOption {
id: LookPreset;
label: string;
description: string;
}
export const LOOK_PRESETS: LookPresetOption[] = [
{
id: 'minimal',
label: 'Minimal',
description: 'Flat monochrome with warm off-white accent',
},
{
id: 'graphite',
label: 'Graphite',
description: 'Cool neon blue with subtle glow',
},
{
id: 'midnight',
label: 'Midnight',
description: 'Graphite with pure black terminals',
},
{
id: 'classic',
label: 'Classic',
description: 'Original dark utilitarian look',
},
{
id: 'indigo',
label: 'Indigo',
description: 'Deep indigo base with electric violet accents',
},
{
id: 'ember',
label: 'Ember',
description: 'Warm copper highlights and contrast',
},
{
id: 'glacier',
label: 'Glacier',
description: 'Clean teal accents with softer depth',
},
{
id: 'zenburnesque',
label: 'Zenburnesque',
description: 'Warm sage and muted earth tones',
},
];
const LOOK_PRESET_IDS = new Set<string>(LOOK_PRESETS.map((p) => p.id));
export function isLookPreset(value: unknown): value is LookPreset {
return typeof value === 'string' && LOOK_PRESET_IDS.has(value);
}