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
46 lines (42 loc) · 1.07 KB
/
Copy pathlook.ts
File metadata and controls
46 lines (42 loc) · 1.07 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
export type LookPreset = 'classic' | 'graphite' | 'indigo' | 'ember' | 'glacier' | 'minimal';
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: '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',
},
];
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);
}