Skip to content
Mocky/Docs v0.2
Get started

DESIGN.md presets

2 min read
Why it works this way

A DESIGN.md is not a setting, it is a document: a few colour tokens, a type scale and rules written out in words. Mocky ships 17 ready-made ones, applied in a click from the application's DESIGN.md page. They are shown here so the idea stops being abstract — each specimen is rendered from the tokens of the preset it names, rather than being a picture of one.

The list#

The same thing as text — this table is what the site's own search indexes, and what a reader without JavaScript sees.

PresetIntentPalette
Minimal LightClean, airy, lots of whitespace#ffffff #111827 #4f46e5 #f3f4f6
Bold DarkHigh-contrast dark UI, vivid accents#0b1020 #e2e8f0 #22d3ee #a855f7
PlayfulRounded, colorful, friendly#fff7ed #7c3aed #f97316 #10b981
CorporateTrustworthy, structured, blue#f8fafc #0f172a #2563eb #e2e8f0
GlassmorphismFrosted glass over gradients#1e1b4b #ffffff #818cf8 #f0abfc
NeobrutalistHard edges, thick borders, bold#fde047 #000000 #ffffff #2563eb
Warm EarthNatural tones, cozy, organic#faf6f0 #3c2a1e #b45309 #d6c3a5
Mint FreshCool greens, clean, refreshing#f0fdf4 #064e3b #10b981 #a7f3d0
SunsetWarm gradients, pink/orange energy#fff1f2 #831843 #f43f5e #fb923c
MidnightDeep blue-black, gold accents, elegant#020617 #e2e8f0 #fbbf24 #1e3a5f
ConstructivismGeometry, asymmetry, motion#1a1a1a #ffffff #dc2626 #fbbf24
Swiss StyleGrid, Helvetica, clarity#ffffff #000000 #ef4444 #f3f4f6
EditorialMagazine layout, serif headlines#faf9f6 #1a1a1a #9333ea #e5e7eb
Hand-DrawnSketchy, casual, imperfect#fefce8 #3f3f46 #f59e0b #84cc16
RetroVintage, grainy, nostalgic#2d1b00 #fef3c7 #f97316 #06b6d4
FlatNo shadows, pastel, clean#fafafa #1f2937 #3b82f6 #f3f4f6
BentoTidy tiles, modular, dense#0f0f0f #ffffff #a78bfa #f9a8d4

Where this data comes from#

The documentation site shares no module graph with the application: it is static, served elsewhere, and has no build step. So these presets exist twice. That second copy is generated by npm run docs:data from src/lib/styles.ts, and npm run check:docs-data fails the build when the two diverge. It does not remove the second copy — nothing here could — but it turns a silent drift into a visible error.

Was this page helpful?
Documentation powered by Lumy llms.txt