add Catppuccin Mocha theme (+ high-contrast sibling)

Ships catppuccin-mocha (faithful to the official Catppuccin Mocha
palette) and catppuccin-mocha-hc (high-contrast sibling per D-69 — the
faithful palette is never retuned to pass the gate). Both bundled and
gated: mocha clears baseline AA, mocha-hc clears the strict extended
set. Catppuccin MIT palette recorded in licenses.yaml.

Closes T-82 (Mocha + hc meets every acceptance bullet; faithful Latte
deferred — it can't clear baseline AA without retuning, a separate call).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-06-03 16:51:06 +02:00
co-authored by Claude Opus 4.8
parent 4c77f32ad2
commit 884207c59e
8 changed files with 156 additions and 0 deletions
@@ -0,0 +1,40 @@
# catppuccin-mocha-hc — high-contrast sibling of `catppuccin-mocha`
#
# Same Catppuccin Mocha silhouette; muted text, status chips, syntax
# tokens, and the focus border bumped to clear the strict contrast gate
# (D-22 + D-69, `extendedPairs`). The faithful palette lives in
# catppuccin-mocha.yaml and is never retuned. License: MIT.
name: catppuccin-mocha-hc
display_name: Catppuccin Mocha (high contrast)
dark: true
palette:
background: "#1e1e2e" # Base
panel: "#181825" # Mantle
surface: "#313244" # Surface0
muted: "#bac2de" # Subtext1 (brightened for AA)
foreground: "#eff1f5" # near-white
secondary: "#cdd6f4" # Text
primary: "#a6c8ff" # brightened Blue
accent: "#d4bbfb" # brightened Mauve
success: "#b9ecb4" # brightened Green
warning: "#f9e2af" # Yellow
error: "#ffa3bd" # brightened Red
info: "#9fe1ee" # brightened Sky
onAccent: "#11111b" # Crust
surfaceHi: "#45475a" # Surface1
border: "#313244" # Surface0
borderHi: "#9399b2" # Overlay2 (visible focus border)
textDim: "#bac2de" # Subtext1
textMute: "#9399b2" # Overlay2
accentSoft: "#21cba6f7" # Mauve, low alpha
syntax:
keyword: "#cba6f7" # Mauve
type: "#f9e2af" # Yellow
string: "#a6e3a1" # Green
number: "#fab387" # Peach
comment: "#a6adc8" # Subtext0 (brightened for AA on the panel)
method: "#89b4fa" # Blue
punct: "#9399b2" # Overlay2
@@ -0,0 +1,39 @@
# catppuccin-mocha — the Catppuccin Mocha (dark) flavour
# Source palette: https://github.com/catppuccin/catppuccin (official hex).
# Mapping: Base/Mantle/Surface0/1/2 → chrome; Text/Subtext → foreground;
# Blue=primary, Mauve=accent (the Catppuccin signature). License: MIT,
# see assets/licenses.yaml.
name: catppuccin-mocha
display_name: Catppuccin Mocha
dark: true
palette:
background: "#1e1e2e" # Base
panel: "#181825" # Mantle
surface: "#313244" # Surface0
muted: "#9399b2" # Overlay2
foreground: "#cdd6f4" # Text
secondary: "#bac2de" # Subtext1
primary: "#89b4fa" # Blue
accent: "#cba6f7" # Mauve
success: "#a6e3a1" # Green
warning: "#f9e2af" # Yellow
error: "#f38ba8" # Red
info: "#89dceb" # Sky
onAccent: "#11111b" # Crust (dark text on the light accent)
surfaceHi: "#45475a" # Surface1
border: "#313244" # Surface0
borderHi: "#45475a" # Surface1
textDim: "#a6adc8" # Subtext0
textMute: "#7f849c" # Overlay1
accentSoft: "#21cba6f7" # Mauve, low alpha
syntax:
keyword: "#cba6f7" # Mauve
type: "#f9e2af" # Yellow
string: "#a6e3a1" # Green
number: "#fab387" # Peach
comment: "#7f849c" # Overlay1
method: "#89b4fa" # Blue
punct: "#9399b2" # Overlay2