Skip to content

Commit 21701eb

Browse files
authored
feat(themes): add Midnight theme (#41)
Graphite variant with pure black terminal and panel backgrounds. Co-authored-by: maskar <Maskar@users.noreply.github.com>
1 parent a350209 commit 21701eb

4 files changed

Lines changed: 38 additions & 0 deletions

File tree

src/lib/look.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
export type LookPreset =
22
| 'classic'
33
| 'graphite'
4+
| 'midnight'
45
| 'indigo'
56
| 'ember'
67
| 'glacier'
@@ -24,6 +25,11 @@ export const LOOK_PRESETS: LookPresetOption[] = [
2425
label: 'Graphite',
2526
description: 'Cool neon blue with subtle glow',
2627
},
28+
{
29+
id: 'midnight',
30+
label: 'Midnight',
31+
description: 'Graphite with pure black terminals',
32+
},
2733
{
2834
id: 'classic',
2935
label: 'Classic',

src/lib/monaco-theme.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,14 @@ const presetColors: Record<LookPreset, PresetColors> = {
2929
border: '#2e3e50',
3030
accent: '#2ec8ff',
3131
},
32+
midnight: {
33+
bgElevated: '#000000',
34+
fg: '#d7e4f0',
35+
fgMuted: '#9bb0c3',
36+
fgSubtle: '#678197',
37+
border: '#2e3e50',
38+
accent: '#2ec8ff',
39+
},
3240
indigo: {
3341
bgElevated: '#1c2038',
3442
fg: '#deddff',

src/lib/theme.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ export const theme = {
4343
const terminalBackground: Record<LookPreset, string> = {
4444
classic: '#2d2e32',
4545
graphite: '#1c2630',
46+
midnight: '#000000',
4647
indigo: '#1c2038',
4748
ember: '#211918',
4849
glacier: '#232e3a',

src/styles.css

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,29 @@ html[data-look='graphite'] {
171171
--task-panel-bg: #1c2630;
172172
}
173173

174+
html[data-look='midnight'] {
175+
--bg: radial-gradient(130% 120% at 15% 0%, #253848 0%, #141c26 60%, #101418 100%);
176+
--bg-elevated: #1c2630;
177+
--bg-input: #19232e;
178+
--bg-hover: #253240;
179+
--bg-selected: #1c3e55;
180+
--bg-selected-subtle: #1c3e5540;
181+
--border: #2e3e50;
182+
--border-subtle: #222e3a;
183+
--border-focus: #2ec8ff;
184+
--fg: #d7e4f0;
185+
--fg-muted: #9bb0c3;
186+
--fg-subtle: #678197;
187+
--accent: #2ec8ff;
188+
--accent-hover: #59d7ff;
189+
--accent-text: #031018;
190+
--link: #73dfff;
191+
--island-bg: #192028;
192+
--island-border: #2e3e50;
193+
--task-container-bg: #161e28;
194+
--task-panel-bg: #000000;
195+
}
196+
174197
html[data-look='indigo'] {
175198
--bg: radial-gradient(130% 120% at 18% 0%, #202044 0%, #171c30 58%, #12151f 100%);
176199
--bg-elevated: #1c2038;

0 commit comments

Comments
 (0)