Skip to content

Commit ba6da2c

Browse files
committed
feat(theme): add Catppuccin Mocha preset
Borderless columns with mauve accents on the official Catppuccin Mocha palette; opacity carries the active-column distinction in place of an accent glow.
1 parent 4ad340d commit ba6da2c

4 files changed

Lines changed: 57 additions & 0 deletions

File tree

src/lib/look.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ export type LookPreset =
77
| 'glacier'
88
| 'minimal'
99
| 'zenburnesque'
10+
| 'catppuccin-mocha'
1011
| 'islands-dark'
1112
| 'islands-light'
1213
| 'workbench';
@@ -68,6 +69,11 @@ export const LOOK_PRESETS: LookPresetOption[] = [
6869
label: 'Zenburnesque',
6970
description: 'Warm sage and muted earth tones',
7071
},
72+
{
73+
id: 'catppuccin-mocha',
74+
label: 'Catppuccin Mocha',
75+
description: 'Pastel mauve accents on the cozy Catppuccin Mocha palette',
76+
},
7177
{
7278
id: 'workbench',
7379
label: 'Workbench',

src/lib/monaco-theme.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,14 @@ const presetColors: Record<LookPreset, PresetColors> = {
7777
border: '#484640',
7878
accent: '#cc9393',
7979
},
80+
'catppuccin-mocha': {
81+
bgElevated: '#1e1e2e',
82+
fg: '#cdd6f4',
83+
fgMuted: '#a6adc8',
84+
fgSubtle: '#7f849c',
85+
border: '#45475a',
86+
accent: '#cba6f7',
87+
},
8088
'islands-dark': {
8189
bgElevated: '#181a1d',
8290
fg: '#bcbec4',

src/lib/theme.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ const terminalBackground: Record<LookPreset, string> = {
4949
glacier: '#232e3a',
5050
minimal: '#252520',
5151
zenburnesque: '#2e2d2a',
52+
'catppuccin-mocha': '#1e1e2e',
5253
'islands-dark': '#181a1d',
5354
'islands-light': '#ffffff',
5455
workbench: '#1f1f1f',

src/styles.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,48 @@ html[data-look='zenburnesque'] {
366366
--task-panel-bg: #2e2d2a;
367367
}
368368

369+
/* Catppuccin Mocha — official Catppuccin palette
370+
(https://github.com/catppuccin/catppuccin). Surfaces follow the
371+
Crust → Mantle → Base ladder; mauve serves as the signature accent
372+
with sapphire links. */
373+
html[data-look='catppuccin-mocha'] {
374+
--bg: radial-gradient(120% 120% at 18% 0%, #2b223e 0%, #1a1a28 55%, #11111b 100%);
375+
--bg-elevated: #1e1e2e;
376+
--bg-input: #313244;
377+
--bg-hover: #45475a;
378+
--bg-selected: #3b2f5a;
379+
--bg-selected-subtle: #3b2f5a40;
380+
--border: #45475a;
381+
--border-subtle: #313244;
382+
--border-focus: #cba6f7;
383+
--fg: #cdd6f4;
384+
--fg-muted: #a6adc8;
385+
--fg-subtle: #7f849c;
386+
--accent: #cba6f7;
387+
--accent-hover: #d6b8fa;
388+
--accent-text: #1e1e2e;
389+
--link: #74c7ec;
390+
--success: #a6e3a1;
391+
--error: #f38ba8;
392+
--warning: #f9e2af;
393+
--island-bg: #1e1e2e;
394+
--island-border: #45475a;
395+
--task-container-bg: #181825;
396+
--task-panel-bg: #1e1e2e;
397+
}
398+
399+
/* Catppuccin Mocha leans on the surface ladder rather than chrome — drop
400+
column borders and the active-column accent glow. Inactive opacity still
401+
distinguishes the focused column. */
402+
html[data-look='catppuccin-mocha'] .task-column,
403+
html[data-look='catppuccin-mocha'] .task-column.active {
404+
border-color: transparent !important;
405+
}
406+
407+
html[data-look='catppuccin-mocha'] .task-column.active {
408+
box-shadow: var(--shadow-soft) !important;
409+
}
410+
369411
/* Islands Dark — JetBrains 2025.3 inspired: lighter tinted frame, darker uniform island panels.
370412
Frame uses a color→gray radial reminiscent of JetBrains' "Project Gradient". */
371413
html[data-look='islands-dark'] {

0 commit comments

Comments
 (0)