v3: melange joins the styles — savq/melange-nvim's palette taken verbatim (the a.* neutrals, b.yellow as the accent since it's the scheme's Function colour, the dusty c.* row as furniture), but built as a warm 70s print instead of a second editor skin: one cut of Fraunces with opsz pinned low, so a headline and the caption under it stay the same face; pillowy borderless cards lifted on warm sunlight shadow rather than held inside a line; the mélange itself — every desert hue blended once — laid along the bottom edge of the header; and grain over the whole page, which has to differ per scheme because soft-light grey noise is invisible on a pale ground: fine film grain on the coffee dark, a coarser multiply tooth on the plaster light, both switched through custom properties since light-dark() only carries colours. Light keeps the warmth in the page and the bleach in the cards — a.float underneath, tints above — since melange's own light bg reads grey next to its floats; the header takes a lighter shade of its own so it sits over the page as a board.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
khannurien
2026-09-19 22:32:26 +00:00
parent d70761ecae
commit 27c55ea96f
5 changed files with 352 additions and 2 deletions

View File

@@ -1,7 +1,12 @@
import { createContext } from "react";
export type StyleName =
"smooth" | "brutalist" | "geocities" | "nyt" | "kanagawa";
| "smooth"
| "brutalist"
| "geocities"
| "nyt"
| "kanagawa"
| "melange";
export type ColorScheme = "auto" | "light" | "dark";
export interface ThemeContextValue {