howone 0.1.29 → 0.1.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/templates/vite/.howone/skills/hallmark/SKILL.md +48 -42
- package/templates/vite/.howone/skills/hallmark/references/anti-patterns.md +12 -6
- package/templates/vite/.howone/skills/hallmark/references/assets.md +7 -0
- package/templates/vite/.howone/skills/hallmark/references/component-cookbook.md +19 -10
- package/templates/vite/.howone/skills/hallmark/references/components/f2-sticky-scroll-stack.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/components/ft6-letter-close.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/components/h7-demo-video-clipped-by-viewport-edge.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/components/h9-custom-illustration-centerpiece.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/components/n10-floating-on-scroll-morph.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/components/n11-mega-menu.md +40 -0
- package/templates/vite/.howone/skills/hallmark/references/components/n12-banner-retract.md +34 -0
- package/templates/vite/.howone/skills/hallmark/references/components/n13-inline-cmdk-pill.md +39 -0
- package/templates/vite/.howone/skills/hallmark/references/components/n1b-saas-three-section.md +35 -0
- package/templates/vite/.howone/skills/hallmark/references/components/n9-edge-aligned-minimal.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/components/s3-sticky-pinned.md +2 -2
- package/templates/vite/.howone/skills/hallmark/references/copy.md +8 -8
- package/templates/vite/.howone/skills/hallmark/references/custom-craft.md +2 -2
- package/templates/vite/.howone/skills/hallmark/references/custom-theme.md +50 -12
- package/templates/vite/.howone/skills/hallmark/references/export-formats.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/genres/atmospheric.md +11 -7
- package/templates/vite/.howone/skills/hallmark/references/genres/editorial.md +6 -4
- package/templates/vite/.howone/skills/hallmark/references/genres/modern-minimal.md +10 -6
- package/templates/vite/.howone/skills/hallmark/references/genres/playful.md +15 -10
- package/templates/vite/.howone/skills/hallmark/references/hero-enrichment.md +13 -12
- package/templates/vite/.howone/skills/hallmark/references/interaction-and-states.md +2 -1
- package/templates/vite/.howone/skills/hallmark/references/layout-and-space.md +4 -3
- package/templates/vite/.howone/skills/hallmark/references/macrostructures/04-stat-led.md +3 -1
- package/templates/vite/.howone/skills/hallmark/references/macrostructures/12-letter.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/macrostructures.md +1 -1
- package/templates/vite/.howone/skills/hallmark/references/microinteractions.md +1 -3
- package/templates/vite/.howone/skills/hallmark/references/preview-examples.md +12 -12
- package/templates/vite/.howone/skills/hallmark/references/responsive.md +8 -8
- package/templates/vite/.howone/skills/hallmark/references/slop-test.md +72 -85
- package/templates/vite/.howone/skills/hallmark/references/structure.md +9 -13
- package/templates/vite/.howone/skills/hallmark/references/study.md +40 -17
- package/templates/vite/.howone/skills/hallmark/references/themes/carnival.md +301 -0
- package/templates/vite/.howone/skills/hallmark/references/themes/cobalt.md +146 -0
- package/templates/vite/.howone/skills/hallmark/references/themes/hum.md +403 -0
- package/templates/vite/.howone/skills/hallmark/references/themes/lumen.md +478 -0
- package/templates/vite/.howone/skills/hallmark/references/typography.md +3 -3
- package/templates/vite/.howone/skills/hallmark/references/verbs/redesign.md +1 -1
- package/templates/vite/.howone/skills/hallmark/LICENSE +0 -21
- package/templates/vite/.howone/skills/hallmark/README.md +0 -147
- package/templates/vite/.howone/skills/hallmark/ROADMAP.md +0 -201
- package/templates/vite/.howone/skills/hallmark/docs/recipes.md +0 -186
- package/templates/vite/.howone/skills/hallmark/docs/screenshots/hero-anya.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/docs/screenshots/hero-bananastudio.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/docs/screenshots/hero-hyperlane.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/docs/screenshots/hero-najm.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/docs/screenshots/hero-slow-pour.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/docs/screenshots/hero-soroe.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/docs/screenshots/hero-tally.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/docs/screenshots/hero-wayfare.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/docs/study-examples.md +0 -176
- package/templates/vite/.howone/skills/hallmark/docs/talk-slides.md +0 -364
- package/templates/vite/.howone/skills/hallmark/package.json +0 -36
- package/templates/vite/.howone/skills/hallmark/site/OG-hallmark.png +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/01-tide-podcast/brief.md +0 -71
- package/templates/vite/.howone/skills/hallmark/site/_tests/01-tide-podcast/index.html +0 -64
- package/templates/vite/.howone/skills/hallmark/site/_tests/01-tide-podcast/style.css +0 -240
- package/templates/vite/.howone/skills/hallmark/site/_tests/02-streampipe-cli/brief.md +0 -65
- package/templates/vite/.howone/skills/hallmark/site/_tests/02-streampipe-cli/index.html +0 -105
- package/templates/vite/.howone/skills/hallmark/site/_tests/02-streampipe-cli/style.css +0 -250
- package/templates/vite/.howone/skills/hallmark/site/_tests/03-maple-bakery/brief.md +0 -64
- package/templates/vite/.howone/skills/hallmark/site/_tests/03-maple-bakery/index.html +0 -131
- package/templates/vite/.howone/skills/hallmark/site/_tests/03-maple-bakery/style.css +0 -240
- package/templates/vite/.howone/skills/hallmark/site/_tests/04-meridian-manifesto/brief.md +0 -67
- package/templates/vite/.howone/skills/hallmark/site/_tests/04-meridian-manifesto/index.html +0 -86
- package/templates/vite/.howone/skills/hallmark/site/_tests/04-meridian-manifesto/style.css +0 -262
- package/templates/vite/.howone/skills/hallmark/site/_tests/05-tracejam-saas/brief.md +0 -63
- package/templates/vite/.howone/skills/hallmark/site/_tests/05-tracejam-saas/index.html +0 -167
- package/templates/vite/.howone/skills/hallmark/site/_tests/05-tracejam-saas/style.css +0 -457
- package/templates/vite/.howone/skills/hallmark/site/_tests/06-anya-portfolio/brief.md +0 -65
- package/templates/vite/.howone/skills/hallmark/site/_tests/06-anya-portfolio/index.html +0 -159
- package/templates/vite/.howone/skills/hallmark/site/_tests/06-anya-portfolio/style.css +0 -288
- package/templates/vite/.howone/skills/hallmark/site/_tests/07-foundry-compliance/brief.md +0 -64
- package/templates/vite/.howone/skills/hallmark/site/_tests/07-foundry-compliance/index.html +0 -146
- package/templates/vite/.howone/skills/hallmark/site/_tests/07-foundry-compliance/style.css +0 -484
- package/templates/vite/.howone/skills/hallmark/site/_tests/08-cohort-courses/brief.md +0 -64
- package/templates/vite/.howone/skills/hallmark/site/_tests/08-cohort-courses/index.html +0 -116
- package/templates/vite/.howone/skills/hallmark/site/_tests/08-cohort-courses/style.css +0 -354
- package/templates/vite/.howone/skills/hallmark/site/_tests/09-slow-pour/index.html +0 -638
- package/templates/vite/.howone/skills/hallmark/site/_tests/10-owl-hours/index.html +0 -515
- package/templates/vite/.howone/skills/hallmark/site/_tests/11-soroe-ceramics/index.html +0 -515
- package/templates/vite/.howone/skills/hallmark/site/_tests/12-loafer/index.html +0 -608
- package/templates/vite/.howone/skills/hallmark/site/_tests/13-alma/index.html +0 -587
- package/templates/vite/.howone/skills/hallmark/site/_tests/README.md +0 -157
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/BananaStudio-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/BananaStudio-still.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/Hyperlane-example.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/Hyperlane-still.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/Najm-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/Najm-still.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/Podcast-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/SaaS-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/SaaS-still.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/Soroe-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/Soroe-still.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/after-quiet-hour.png +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/anya-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/anya-still.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/audit-example.png +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/before-quiet-hour.png +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/example-redesign-uractivation.png +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/slow-pour-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/slow-pour-still.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/study-example.png +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/uractivation-after-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/wayfare-loop.mp4 +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/_thumbs/wayfare-still.jpg +0 -0
- package/templates/vite/.howone/skills/hallmark/site/_tests/custom/01-coffeebox/index.html +0 -77
- package/templates/vite/.howone/skills/hallmark/site/_tests/custom/01-coffeebox/style.css +0 -238
- package/templates/vite/.howone/skills/hallmark/site/_tests/custom/02-loop/index.html +0 -110
- package/templates/vite/.howone/skills/hallmark/site/_tests/custom/02-loop/style.css +0 -326
- package/templates/vite/.howone/skills/hallmark/site/_tests/custom/03-mossroot/index.html +0 -134
- package/templates/vite/.howone/skills/hallmark/site/_tests/custom/03-mossroot/style.css +0 -262
- package/templates/vite/.howone/skills/hallmark/site/_tests/custom/README.md +0 -30
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/README.md +0 -17
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/audit/audit-report.md +0 -56
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/audit/input.html +0 -160
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/audit/notes.md +0 -29
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/redesign/input.html +0 -63
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/redesign/notes.md +0 -72
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/redesign/output.html +0 -374
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/study/diagnosis.md +0 -52
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/study/input-description.md +0 -29
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/study/notes.md +0 -61
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/study/output.css +0 -193
- package/templates/vite/.howone/skills/hallmark/site/_tests/verbs/study/output.html +0 -66
- package/templates/vite/.howone/skills/hallmark/site/css/base.css +0 -194
- package/templates/vite/.howone/skills/hallmark/site/css/components.css +0 -4886
- package/templates/vite/.howone/skills/hallmark/site/css/sections.css +0 -2072
- package/templates/vite/.howone/skills/hallmark/site/css/tokens.css +0 -1129
- package/templates/vite/.howone/skills/hallmark/site/examples/bananastudio/index.html +0 -475
- package/templates/vite/.howone/skills/hallmark/site/examples/bananastudio/styles.css +0 -1584
- package/templates/vite/.howone/skills/hallmark/site/examples/bananastudio/tokens.css +0 -96
- package/templates/vite/.howone/skills/hallmark/site/examples/hyperlane/index.html +0 -344
- package/templates/vite/.howone/skills/hallmark/site/examples/hyperlane/script.js +0 -103
- package/templates/vite/.howone/skills/hallmark/site/examples/hyperlane/styles.css +0 -1103
- package/templates/vite/.howone/skills/hallmark/site/examples/hyperlane/tokens.css +0 -83
- package/templates/vite/.howone/skills/hallmark/site/examples/najm/index.html +0 -368
- package/templates/vite/.howone/skills/hallmark/site/examples/najm/script.js +0 -133
- package/templates/vite/.howone/skills/hallmark/site/examples/najm/styles.css +0 -1062
- package/templates/vite/.howone/skills/hallmark/site/examples/najm/tokens.css +0 -97
- package/templates/vite/.howone/skills/hallmark/site/examples/tally/app.js +0 -84
- package/templates/vite/.howone/skills/hallmark/site/examples/tally/index.html +0 -446
- package/templates/vite/.howone/skills/hallmark/site/examples/tally/styles.css +0 -1087
- package/templates/vite/.howone/skills/hallmark/site/examples/tally/tokens.css +0 -101
- package/templates/vite/.howone/skills/hallmark/site/examples/wayfare/index.html +0 -359
- package/templates/vite/.howone/skills/hallmark/site/examples/wayfare/style.css +0 -1168
- package/templates/vite/.howone/skills/hallmark/site/examples/wayfare/tokens.css +0 -81
- package/templates/vite/.howone/skills/hallmark/site/favicon-dark.svg +0 -5
- package/templates/vite/.howone/skills/hallmark/site/favicon-light.svg +0 -5
- package/templates/vite/.howone/skills/hallmark/site/index.html +0 -1043
- package/templates/vite/.howone/skills/hallmark/site/js/main.js +0 -1175
- package/templates/vite/.howone/skills/hallmark/vercel.json +0 -6
- package/templates/vite/.howone/skills/impeccable/SKILL.md +0 -168
- package/templates/vite/.howone/skills/impeccable/agents/impeccable-asset-producer.md +0 -101
- package/templates/vite/.howone/skills/impeccable/reference/adapt.md +0 -190
- package/templates/vite/.howone/skills/impeccable/reference/animate.md +0 -175
- package/templates/vite/.howone/skills/impeccable/reference/audit.md +0 -133
- package/templates/vite/.howone/skills/impeccable/reference/bolder.md +0 -113
- package/templates/vite/.howone/skills/impeccable/reference/brand.md +0 -118
- package/templates/vite/.howone/skills/impeccable/reference/clarify.md +0 -174
- package/templates/vite/.howone/skills/impeccable/reference/codex.md +0 -105
- package/templates/vite/.howone/skills/impeccable/reference/cognitive-load.md +0 -106
- package/templates/vite/.howone/skills/impeccable/reference/color-and-contrast.md +0 -105
- package/templates/vite/.howone/skills/impeccable/reference/colorize.md +0 -154
- package/templates/vite/.howone/skills/impeccable/reference/craft.md +0 -123
- package/templates/vite/.howone/skills/impeccable/reference/critique.md +0 -273
- package/templates/vite/.howone/skills/impeccable/reference/delight.md +0 -302
- package/templates/vite/.howone/skills/impeccable/reference/distill.md +0 -111
- package/templates/vite/.howone/skills/impeccable/reference/document.md +0 -427
- package/templates/vite/.howone/skills/impeccable/reference/extract.md +0 -69
- package/templates/vite/.howone/skills/impeccable/reference/harden.md +0 -347
- package/templates/vite/.howone/skills/impeccable/reference/heuristics-scoring.md +0 -234
- package/templates/vite/.howone/skills/impeccable/reference/interaction-design.md +0 -195
- package/templates/vite/.howone/skills/impeccable/reference/layout.md +0 -141
- package/templates/vite/.howone/skills/impeccable/reference/live.md +0 -622
- package/templates/vite/.howone/skills/impeccable/reference/motion-design.md +0 -109
- package/templates/vite/.howone/skills/impeccable/reference/onboard.md +0 -234
- package/templates/vite/.howone/skills/impeccable/reference/optimize.md +0 -258
- package/templates/vite/.howone/skills/impeccable/reference/overdrive.md +0 -130
- package/templates/vite/.howone/skills/impeccable/reference/personas.md +0 -179
- package/templates/vite/.howone/skills/impeccable/reference/polish.md +0 -242
- package/templates/vite/.howone/skills/impeccable/reference/product.md +0 -62
- package/templates/vite/.howone/skills/impeccable/reference/quieter.md +0 -99
- package/templates/vite/.howone/skills/impeccable/reference/responsive-design.md +0 -114
- package/templates/vite/.howone/skills/impeccable/reference/shape.md +0 -165
- package/templates/vite/.howone/skills/impeccable/reference/spatial-design.md +0 -100
- package/templates/vite/.howone/skills/impeccable/reference/teach.md +0 -156
- package/templates/vite/.howone/skills/impeccable/reference/typeset.md +0 -124
- package/templates/vite/.howone/skills/impeccable/reference/typography.md +0 -159
- package/templates/vite/.howone/skills/impeccable/reference/ux-writing.md +0 -107
- package/templates/vite/.howone/skills/impeccable/scripts/cleanup-deprecated.mjs +0 -284
- package/templates/vite/.howone/skills/impeccable/scripts/command-metadata.json +0 -94
- package/templates/vite/.howone/skills/impeccable/scripts/critique-storage.mjs +0 -242
- package/templates/vite/.howone/skills/impeccable/scripts/design-parser.mjs +0 -820
- package/templates/vite/.howone/skills/impeccable/scripts/detect-csp.mjs +0 -198
- package/templates/vite/.howone/skills/impeccable/scripts/detect.mjs +0 -21
- package/templates/vite/.howone/skills/impeccable/scripts/impeccable-paths.mjs +0 -110
- package/templates/vite/.howone/skills/impeccable/scripts/is-generated.mjs +0 -69
- package/templates/vite/.howone/skills/impeccable/scripts/live-accept.mjs +0 -595
- package/templates/vite/.howone/skills/impeccable/scripts/live-browser-session.js +0 -123
- package/templates/vite/.howone/skills/impeccable/scripts/live-browser.js +0 -4860
- package/templates/vite/.howone/skills/impeccable/scripts/live-complete.mjs +0 -75
- package/templates/vite/.howone/skills/impeccable/scripts/live-completion.mjs +0 -18
- package/templates/vite/.howone/skills/impeccable/scripts/live-inject.mjs +0 -446
- package/templates/vite/.howone/skills/impeccable/scripts/live-poll.mjs +0 -200
- package/templates/vite/.howone/skills/impeccable/scripts/live-resume.mjs +0 -48
- package/templates/vite/.howone/skills/impeccable/scripts/live-server.mjs +0 -838
- package/templates/vite/.howone/skills/impeccable/scripts/live-session-store.mjs +0 -254
- package/templates/vite/.howone/skills/impeccable/scripts/live-status.mjs +0 -47
- package/templates/vite/.howone/skills/impeccable/scripts/live-wrap.mjs +0 -632
- package/templates/vite/.howone/skills/impeccable/scripts/live.mjs +0 -247
- package/templates/vite/.howone/skills/impeccable/scripts/load-context.mjs +0 -141
- package/templates/vite/.howone/skills/impeccable/scripts/modern-screenshot.umd.js +0 -14
- package/templates/vite/.howone/skills/impeccable/scripts/pin.mjs +0 -214
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
# Theme — Cobalt
|
|
2
|
+
|
|
3
|
+
Modern-minimal, dev-tool register. The page for an **API, an SDK, a CLI, a docs home, a developer platform** — the GitBook / Firecrawl / Vercel school, executed in **cool cobalt-on-light, not orange**. A calm cool-white ground, ruler-drawn hairlines, exactly ONE electric cobalt signal accent, and **code as the hero**. It reads like good infrastructure: calm, precise, fast.
|
|
4
|
+
|
|
5
|
+
Loaded eagerly by SKILL.md Step 3 whenever the catalog pick is `cobalt`. The OKLCH palette + font stack live in [`site/css/tokens.css`](../../../../site/css/tokens.css) under `[data-theme="cobalt"]`. Canonical build: [`site/examples/cobalt-01/`](../../../../site/examples/cobalt-01/) (an API product landing with a request/response hero).
|
|
6
|
+
|
|
7
|
+
> **Why not orange.** GitBook and Firecrawl both converged on orange-as-signal — but that lane is now crowded, and Hallmark's warm slots are already taken (Lumen brass, Bloom terracotta, Coral coral). Cobalt keeps their *discipline* (cool ground + one signal + code-as-hero + hairlines) and aims the signal at the open electric-blue lane instead. The blue is the differentiator, not a copy.
|
|
8
|
+
|
|
9
|
+
## Axes (diversification)
|
|
10
|
+
|
|
11
|
+
- **Paper band** — cool light (`L 98.5%`, hue ~250, very low chroma). An engineered near-white — distinct from Coral's warm grey and from the genre's dark grounds.
|
|
12
|
+
- **Display style** — **grotesk-sans** (Space Grotesk 500/600 — slightly mechanical, tight tracking). Distinct from Geist (Coral) and from every serif/rounded option.
|
|
13
|
+
- **Accent hue** — **electric cobalt** (`oklch(58% 0.20 256)`). High-chroma true blue — reads "API-live," sits clear of Midnight/Lumen's dusky indigos (~250/268). Used as a *signal*, never a flood.
|
|
14
|
+
|
|
15
|
+
## Reference register
|
|
16
|
+
|
|
17
|
+
GitBook · Firecrawl · Vercel / Geist · Linear · Mintlify · Stripe docs · Resend · Clerk · Railway · Supabase.
|
|
18
|
+
|
|
19
|
+
The aesthetic: the developer-product landing and docs home — a cool engineered canvas, one signal accent, **code/terminal/API as the focal element**, hairline structure, a ⌘K-flavoured nav. Never name any of these in the output.
|
|
20
|
+
|
|
21
|
+
**Patron-saint reference (internal):** *Vercel's blueprint-and-mono restraint* + *Firecrawl's live request-result credibility move*, recoloured cobalt. When in doubt, ask "does this read like an instrument panel, or like a marketing template?" Keep the former.
|
|
22
|
+
|
|
23
|
+
## Required dependencies
|
|
24
|
+
|
|
25
|
+
1. **Fonts** — **Space Grotesk** (display, 500/600), **Inter** (body, 400/500), **JetBrains Mono** (code + small UPPERCASE labels). All-sans; no serif anywhere. Google Fonts:
|
|
26
|
+
```html
|
|
27
|
+
<link href="https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@400;500;600&family=JetBrains+Mono:wght@400;500;600&display=swap" rel="stylesheet" />
|
|
28
|
+
```
|
|
29
|
+
2. **A small reveal script** — one `IntersectionObserver` adding `.is-in` (fade + ~10px rise, ease-out ~600ms). Plus a one-shot "type-in" of a single line in the hero code demo, then static.
|
|
30
|
+
3. **A working ⌘K command palette** — a small JS overlay that opens on click **and** ⌘K / Ctrl+K (Esc or backdrop closes; Arrow↑/↓ select; type-to-filter), `role="dialog"` / `aria-modal`, focus-managed, reduced-motion safe. The ⌘K in the nav actually works — Cobalt's signature interactive move.
|
|
31
|
+
|
|
32
|
+
## The signature moves
|
|
33
|
+
|
|
34
|
+
1. **Cool engineered paper, never `#fff`** — `oklch(98.5% 0.004 250)`. Ink is cool charcoal `oklch(24% 0.02 258)`, never `#000`. Body text sits a notch lighter (`oklch(34% 0.018 257)`).
|
|
35
|
+
|
|
36
|
+
2. **Hairlines do the work** — 1px `--color-rule` borders define every surface. **No boxed cards, no drop-shadows** beyond a single barely-there `0 1px 2px` lift on the code card. Depth comes from borders, not blur.
|
|
37
|
+
|
|
38
|
+
3. **One cobalt signal, used sparingly** (< 5% of any viewport) — the eyebrow tick, a link's hover underline, the one primary button, focus rings, the `200 OK` chip, the active nav item. Everything else is ink-on-cool-white.
|
|
39
|
+
|
|
40
|
+
4. **Code is the hero** — a dark **graphite** card (`oklch(22% 0.016 260)`) with a window bar (3 dots + a filename), syntax tokens (cobalt for methods/keys, light for strings, muted for punctuation), and a status chip. One line types in once, then static. Either a **live API request/response** (POST + JSON `200 OK`) or a **terminal** (install + a clean `PASS` run). Title + lede sit LEFT; the demo sits RIGHT — asymmetric, never centred.
|
|
41
|
+
|
|
42
|
+
5. **Bordered nav + a working ⌘K palette** — a flush full-width bar, single hairline bottom border, light blur on scroll. Wordmark + 2–3 text links left; a bordered **⌘K** affordance + one solid cobalt button right. The ⌘K **opens a real command palette** (mono search + command rows; click or ⌘K/Ctrl+K; Esc to close) — the page *behaves* like a dev tool, not just looks like one. **Not a floating pill** (softer, and Coral's vocabulary).
|
|
43
|
+
|
|
44
|
+
6. **Tight technical radii** — 6px on buttons/inputs, 10px on code cards. Not Coral's soft pills, not 0px brutalism — "drawn with a ruler."
|
|
45
|
+
|
|
46
|
+
7. **Mono labels** — eyebrows, meta, status, kbd hints in JetBrains Mono, UPPERCASE, `0.06em` tracking. The machine-readout voice against the Space Grotesk display.
|
|
47
|
+
|
|
48
|
+
8. **One dark graphite band per page** — a single full-bleed dark section (a quickstart, a how-it-works, a watch-mode demo) on `oklch(~20% 0.016 260)` with light cool text and the cobalt accent popping. It gives the page a **light → dark → light** rhythm and a showcase moment. The page's *one* dark beat — Cobalt is a light theme *with* a dark band, never a dark theme.
|
|
49
|
+
|
|
50
|
+
## Motion
|
|
51
|
+
|
|
52
|
+
Composed and sparse. The one hero type-in (plays once). Section reveals fade + rise. Hover: cobalt underline-grow on nav/links; a 1px border-colour shift to cobalt on the code card / focusable surfaces. **No bounce, no parallax, no autoplay.** Everything gates behind `prefers-reduced-motion: no-preference`; reduced-motion ships static + fully visible.
|
|
53
|
+
|
|
54
|
+
## Anti-patterns
|
|
55
|
+
|
|
56
|
+
- **No orange accent** — the crowded GitBook/Firecrawl lane and a collision with Lumen/Bloom/Coral. Cobalt is blue.
|
|
57
|
+
- **No warm paper** — warm grey is Coral's. Cobalt is cool (hue ~250–258).
|
|
58
|
+
- **No pure `#fff` / `#000`.** Cool near-white paper, cool charcoal ink.
|
|
59
|
+
- **No pill / gradient CTAs.** One solid cobalt button at 6px radius + understated typographic links. Name the destination.
|
|
60
|
+
- **No centred-everything hero** (gate 6) — left-biased, title-left / demo-right.
|
|
61
|
+
- **No three-equal-icon-tile feature grid** (gate 3) — vary it (one wide code example + narrower points; asymmetric benchmark figures).
|
|
62
|
+
- **No glassmorphism, no gradient text** (gates), **no aurora/mesh blob, and no background texture/pattern at all** — cool paper + hairlines carry the page; its one dark beat is the graphite band (signature 8), not a background.
|
|
63
|
+
|
|
64
|
+
## Macrostructure affinity
|
|
65
|
+
|
|
66
|
+
**Cobalt loves these.**
|
|
67
|
+
|
|
68
|
+
- **SaaS / API Product** — hero + quick-start code + feature rows + pricing/CTA *(canonical — cobalt-01)*
|
|
69
|
+
- **Dev-tool / CLI** — terminal hero + install + benchmark figures + docs CTA
|
|
70
|
+
- **Docs home** — a calm index with a search-first nav
|
|
71
|
+
- **Workbench** — the technical, tool-first shape
|
|
72
|
+
- **Marquee** — when the hero is one confident code demo
|
|
73
|
+
|
|
74
|
+
## Macrostructure rejection
|
|
75
|
+
|
|
76
|
+
**Cobalt refuses these.**
|
|
77
|
+
|
|
78
|
+
- **Letter** — too intimate; Cobalt is a product, not a note
|
|
79
|
+
- **Manifesto** — too loud; Cobalt is calm infrastructure
|
|
80
|
+
- **Photographic / image-led** — Cobalt leads with code, not imagery
|
|
81
|
+
- **Long Document** — prose-led; route warm-editorial instead
|
|
82
|
+
|
|
83
|
+
## Voice fixtures
|
|
84
|
+
|
|
85
|
+
Declarative, technical, specific. Name the X concretely. No hype adjectives.
|
|
86
|
+
|
|
87
|
+
- *"Turn any website into clean Markdown for LLMs."*
|
|
88
|
+
- *"One API. Every page."*
|
|
89
|
+
- *"From idea to production in an afternoon."*
|
|
90
|
+
- *"Type-safe by default. Fast by design."*
|
|
91
|
+
- *"Built to ship — `200 OK` in under 200 ms."*
|
|
92
|
+
|
|
93
|
+
Never any of: *seamless, robust, cutting-edge, leverage, synergy, revolutionary, unlock, supercharge*. Never "click here." Name the endpoint, the command, the number.
|
|
94
|
+
|
|
95
|
+
## How Cobalt differs from neighbouring themes
|
|
96
|
+
|
|
97
|
+
| vs | difference |
|
|
98
|
+
|---|---|
|
|
99
|
+
| **Coral** (modern-minimal sibling) | Coral is warm-grey paper + warm coral accent + Geist + soft pills + a quiet title/lede hero. Cobalt is cool-white + electric blue + Space Grotesk/JetBrains Mono + tight bordered controls + a live code hero. Same genre, opposite temperature — the rotation walks between them. |
|
|
100
|
+
| **Midnight** (atmospheric) | Both live near hue 250–258, but Midnight is a **dark** canvas (atmospheric, numbered display, typewriter reveals). Cobalt is a **light** engineered canvas (modern-minimal, code hero). Light vs dark settles it instantly. |
|
|
101
|
+
| **Lumen** (atmospheric) | Lumen is a dark (or cool-bone) *apparatus* page with Instrument Serif + an emit/refract focal artefact. Cobalt is light, all-sans, and its focal element is a literal code/API card, not a built light-instrument. |
|
|
102
|
+
| **Aurora** (atmospheric) | Aurora is dark cyan blooms + Sentient serif body. Cobalt is light, hairline-structured, cobalt-on-white — no blooms, no serif. |
|
|
103
|
+
|
|
104
|
+
## Test brief expectations
|
|
105
|
+
|
|
106
|
+
Cobalt should be a candidate when the brief mentions:
|
|
107
|
+
|
|
108
|
+
- *API · SDK · CLI · dev tool · developer platform · docs · documentation · infrastructure · backend · database · observability · webhooks · type-safe · open-source tool · ship · deploy · developer experience · B2B developer*
|
|
109
|
+
- Product categories: *API · developer tool · dev platform · docs site · infra · SaaS-for-engineers*
|
|
110
|
+
- Emotional tone: *precise · engineered · fast · technical · instrument-panel · calm-confident · cool*
|
|
111
|
+
|
|
112
|
+
Briefs that are warm / consumer / editorial / image-led route elsewhere (Coral for warm SaaS, the editorial themes for content). When the brief is for developers and wants to *show the code*, it's Cobalt.
|
|
113
|
+
|
|
114
|
+
## Build hint
|
|
115
|
+
|
|
116
|
+
The first lines of CSS establish Cobalt's anchor moves:
|
|
117
|
+
|
|
118
|
+
```css
|
|
119
|
+
html, body { overflow-x: clip; }
|
|
120
|
+
body { background: var(--color-paper); color: var(--color-ink-2);
|
|
121
|
+
font-family: var(--font-body); font-weight: 400; }
|
|
122
|
+
|
|
123
|
+
/* Reveal — the whole motion engine */
|
|
124
|
+
.reveal { opacity: 0; transform: translateY(10px);
|
|
125
|
+
transition: opacity .6s cubic-bezier(0.16,1,0.3,1),
|
|
126
|
+
transform .6s cubic-bezier(0.16,1,0.3,1); }
|
|
127
|
+
.reveal.is-in { opacity: 1; transform: none; }
|
|
128
|
+
|
|
129
|
+
/* The code hero — dark graphite card, hairline-framed */
|
|
130
|
+
.code-card { background: var(--color-graphite); border: 1px solid var(--color-rule-2);
|
|
131
|
+
border-radius: 10px; box-shadow: 0 1px 2px oklch(24% 0.02 258 / 0.05);
|
|
132
|
+
font-family: var(--font-mono); }
|
|
133
|
+
.code-card .tok-key, .status--ok { color: var(--color-accent); } /* the one signal */
|
|
134
|
+
.status--ok { font: 500 0.75rem/1 var(--font-mono); letter-spacing: .06em; }
|
|
135
|
+
|
|
136
|
+
/* Bordered nav + the one cobalt button (6px, never a pill) */
|
|
137
|
+
.nav { border-bottom: 1px solid var(--color-rule); backdrop-filter: blur(8px); }
|
|
138
|
+
.btn--primary { background: var(--color-accent); color: var(--color-accent-ink);
|
|
139
|
+
border-radius: 6px; }
|
|
140
|
+
|
|
141
|
+
@media (prefers-reduced-motion: reduce) {
|
|
142
|
+
.reveal { opacity: 1; transform: none; transition: none; }
|
|
143
|
+
}
|
|
144
|
+
```
|
|
145
|
+
|
|
146
|
+
Plus the Space Grotesk + Inter + JetBrains Mono link and the small reveal/type-in script. The canonical build to mirror is [`site/examples/cobalt-01/`](../../../../site/examples/cobalt-01/).
|
|
@@ -0,0 +1,403 @@
|
|
|
1
|
+
# Theme — Hum
|
|
2
|
+
|
|
3
|
+
The playful, vibrant, **alive** register. Cream paper, multi-accent palette (pear-yellow primary, sky-cyan secondary, coral-red pop), rounded sans typography, generous radii, soft lifting shadows, mandatory hover-and-on-paint motion. Hum is the catalog theme for products that don't take themselves too seriously — daily-curiosity apps, learning platforms, habit trackers, friendship apps, kids' tools, indie creative software. Sites that should feel like the room is warm and someone smart is smiling.
|
|
4
|
+
|
|
5
|
+
Loaded eagerly by SKILL.md Step 3 whenever the catalog pick is `hum`. The palette + font stack live in [`site/css/tokens.css`](../../../../site/css/tokens.css) under `[data-theme="hum"]`. This file carries signature moves, motion direction, voice fixtures, anti-patterns, and how Hum holds its identity against neighbouring themes. Hum is the catalog's only playful theme — its closest siblings are Coral (single-accent restraint, modern-minimal) and Bloom (warm-light atmospheric), not another playful register.
|
|
6
|
+
|
|
7
|
+
## Axes (diversification)
|
|
8
|
+
|
|
9
|
+
- **Paper band** — light (`L 97%`), warm cream tinted toward pear-yellow hue (~95°). Yellower and brighter than any other warm-paper theme in the catalog — never the rose-warm or oat-warm cream of the editorial themes.
|
|
10
|
+
- **Display style** — **rounded-sans** (new axis value, Plus Jakarta Sans / Open Runde register — rounded humanist letterforms with closed apertures). Distinct from geometric-sans (Manifesto), italic-serif, classical-serif (Lumen), and other catalog options.
|
|
11
|
+
- **Accent hue** — **multi** (new axis value — three accents on stage simultaneously: pear-yellow `H 95`, sky-cyan `H 235`, coral-red `H 18`). Distinct from every single-accent or duo-tone theme in the catalog.
|
|
12
|
+
|
|
13
|
+
## Reference register
|
|
14
|
+
|
|
15
|
+
Brilliant.org (post-2024 brand refresh — Koto's pear-yellow + cream + custom CoFo Sans) · Duolingo (the named-color system: Feather Green, Macaw, Cardinal, Bee, Fox, Beetle, Humpback) · PostHog (Max the hedgehog, cream + red + blue, Open Runde + Squeak + Loud Noises) · tldraw (Shantell Sans with `Bounce` axis) · Cosmos (color-shift-on-hover) · Cluely (Mac OS chrome as set dressing) · Liveblocks (cursor-presence done right) · Hover.dev (the working dictionary of spring-physics interactions) · Each.place, Tella (vibrant gradient surfaces).
|
|
16
|
+
|
|
17
|
+
The aesthetic to match: cream paper (never pure white), a single character or mark that *reacts* to user actions, generous rounded surfaces, big confident counters in rounded display, soft drop shadows that lift on hover, multi-accent sections that don't fight (because each accent has its own surface). Pear-yellow + cream is the **calibration** combination — anything that reads further saturated than that has gone too vibrant; anything that reads more muted has lost the playfulness.
|
|
18
|
+
|
|
19
|
+
**Patron-saint reference (internal):** *Brilliant.org's Koji moment* + *PostHog's "if it could belong to any SaaS, it isn't PostHog enough" rule*. When in doubt about restraint, ask the inverse: *"is there a single moment on this page that would not exist if we weren't trying to feel alive?"* If no, the page is too quiet for Hum.
|
|
20
|
+
|
|
21
|
+
## Palette
|
|
22
|
+
|
|
23
|
+
Multi-accent. No single accent dominates — different surfaces use different accents, and the contrast between sections is part of the typographic rhythm.
|
|
24
|
+
|
|
25
|
+
- `--color-paper: oklch(97% 0.012 95)` — cream, slight pear-yellow pull (Brilliant's calibration)
|
|
26
|
+
- `--color-paper-2: oklch(94% 0.016 95)` — tinted band (yellower)
|
|
27
|
+
- `--color-paper-3: oklch(91% 0.020 95)` — deeper hover
|
|
28
|
+
- `--color-ink: oklch(20% 0.012 250)` — near-black with cool tilt (PostHog's `#151515` discipline — never pure black)
|
|
29
|
+
- `--color-accent: oklch(86% 0.18 95)` — pear-yellow (primary; CTA, streaks, primary character mark)
|
|
30
|
+
- `--color-accent-2: oklch(66% 0.18 235)` — sky-cyan (secondary; links, hover tints, illustrations)
|
|
31
|
+
- `--color-accent-3: oklch(68% 0.24 18)` — coral-red (pop; only used at high-energy single moments — streak completion, badge, the one big number)
|
|
32
|
+
- `--color-mint: oklch(80% 0.16 150)` — soft green (used sparingly — success states, secondary tags)
|
|
33
|
+
- `--color-lavender: oklch(74% 0.16 305)` — used sparingly (tag chips, decorative)
|
|
34
|
+
|
|
35
|
+
**Three-rule for accents:**
|
|
36
|
+
1. Each accent owns its own type of surface. Pear = primary action. Cyan = link / hover-tint. Coral = single high-energy moment per page.
|
|
37
|
+
2. Accents never blend in gradients (no pear-to-cyan gradient anywhere).
|
|
38
|
+
3. Mint and lavender are *occasional* — never more than one of each per page.
|
|
39
|
+
|
|
40
|
+
## Typography
|
|
41
|
+
|
|
42
|
+
Three font families. Rounded sans throughout — Hum has no serif anywhere.
|
|
43
|
+
|
|
44
|
+
- **Display / body:** Plus Jakarta Sans (Google Fonts, weights 400/500/600/700) — rounded humanist sans with closed apertures and friendly terminals. The Brilliant / PostHog / Open Runde register. Falls back to Geist, then system rounded.
|
|
45
|
+
- **Mono:** JetBrains Mono (uppercase labels, tabular numerals, streak counters).
|
|
46
|
+
- **No serif anywhere.** No `Instrument Serif`, no `Playfair`, no `Newsreader`. If a serif sneaks in, the theme is misapplied.
|
|
47
|
+
|
|
48
|
+
**Type discipline:**
|
|
49
|
+
- Display weight: **600** (heavier than Lumen's 400 — Hum's display is confident, not delicate).
|
|
50
|
+
- Tracking on display: `-0.025em` (tight, not over-tight).
|
|
51
|
+
- Body weight: 400 with 500 for inline emphasis.
|
|
52
|
+
- All-caps reserved for mono labels.
|
|
53
|
+
- **Big counters:** stat numerals at clamp(3rem, 5vw + 1rem, 5rem), rounded display, tabular-nums. Streaks, completion counts, deep-dive counts.
|
|
54
|
+
|
|
55
|
+
## The seven signature moves
|
|
56
|
+
|
|
57
|
+
A Hum build must exhibit **at least six of these seven**. Skipping the character moment (#5) is the only acceptable omission — for product-led pages without space for ornament.
|
|
58
|
+
|
|
59
|
+
These are the theme's *vocabulary*, not a layout: which moves appear is shared, but **how they're composed must differ every build** (see *Not-AI discipline* below). In particular, #3 is the colour-shift *technique* (accent tint deepens on hover) applied to whatever tile or row shape the build chooses — it is never a licence for the banned 3-equal-cards row.
|
|
60
|
+
|
|
61
|
+
### 1. The button system — three variations, the press is the feedback
|
|
62
|
+
|
|
63
|
+
Hum ships **one button system, three style variations**, structured as `.btn` (base = *push*) + a style modifier (`.btn--soft` | `.btn--outline`) + a colour modifier (`.btn--pear` | `--coral` | `--cyan` | `--lav` | `--mint` | `--ink`) + size (`.btn--sm` | `.btn--lg`). The canonical, reviewed implementation is the `.btn` CSS block inlined below — **copy that `.btn` system verbatim into every Hum build.** Do not re-improvise button CSS per build (that is how the broken version proliferated).
|
|
64
|
+
|
|
65
|
+
**The anatomy that matters (the two bugs this fixes):**
|
|
66
|
+
|
|
67
|
+
1. **Shadow = a full-width solid colour edge + a separate soft ground shadow.** `box-shadow: 0 4px 0 0 var(--btn-edge), 0 6px 12px -3px var(--btn-cast)`. **Never a negative spread** (`0 8px 0 -4px` makes the edge narrower than the button — the old bug). The first shadow is the button's *thickness*, flush to its width; the second is the cast shadow on the ground.
|
|
68
|
+
2. **The press is the feedback.** Lift on hover (`translateY(-2px)`, edge grows to `6px`), **press DOWN on `:active`** (`translateY(+3px)`, edge shrinks to `1px`) so it physically depresses. Easing is snappy — `cubic-bezier(0.2, 0.7, 0.3, 1)`, 140 ms hover / 70 ms active. **No `scale()`, no spring overshoot** (the old `scale(1.04)` + `cubic-bezier(…1.56…)` read floaty).
|
|
69
|
+
|
|
70
|
+
```css
|
|
71
|
+
.btn {
|
|
72
|
+
--btn-face: var(--color-accent); --btn-ink: var(--color-ink);
|
|
73
|
+
--btn-edge: var(--color-accent-deep); --btn-cast: oklch(76% 0.20 95 / 0.45);
|
|
74
|
+
--btn-line: var(--color-accent-deep);
|
|
75
|
+
display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
|
|
76
|
+
padding: 0.8rem 1.4rem; font-weight: 600; border: 0; border-radius: var(--radius-pill);
|
|
77
|
+
color: var(--btn-ink); background: var(--btn-face); cursor: pointer; position: relative; isolation: isolate;
|
|
78
|
+
box-shadow: 0 4px 0 0 var(--btn-edge), 0 6px 12px -3px var(--btn-cast);
|
|
79
|
+
transform: translateY(0);
|
|
80
|
+
transition: transform 140ms cubic-bezier(0.2,0.7,0.3,1), box-shadow 140ms cubic-bezier(0.2,0.7,0.3,1), background-color 160ms;
|
|
81
|
+
}
|
|
82
|
+
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--btn-edge), 0 12px 22px -4px var(--btn-cast); }
|
|
83
|
+
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--btn-edge), 0 2px 6px -2px var(--btn-cast); transition-duration: 70ms; }
|
|
84
|
+
.btn:focus-visible { outline: 3px solid color-mix(in oklch, var(--btn-edge) 70%, var(--color-focus)); outline-offset: 3px; }
|
|
85
|
+
.btn[disabled] { opacity: 0.5; cursor: not-allowed; pointer-events: none; transform: none; box-shadow: 0 4px 0 0 var(--btn-edge); }
|
|
86
|
+
/* .btn--soft = flat-lift (soft shadow, no colour edge); .btn--outline = hairline + accent fill sweeps up on hover.
|
|
87
|
+
.btn__arrow slides 3px right on hover. .is-loading shows a spinner. Build these modifiers on top of the .btn base above. */
|
|
88
|
+
```
|
|
89
|
+
|
|
90
|
+
**Rules:** primary action = push (the chunky one). Secondary = soft. Tertiary = outline. One push button per primary moment; don't stack three push buttons in a row. The first-paint wobble is **retired** — it fought the press metaphor.
|
|
91
|
+
|
|
92
|
+
### 2. Multi-accent section bands
|
|
93
|
+
|
|
94
|
+
Sections alternate background between cream paper, pear-tint, cyan-tint, and coral-tint. Each accent owns sections matching its meaning: pear = primary product surfaces, cyan = community / "what people say," coral = the single emphatic moment (streak day, headline number). Bands transition with simple `background-color` changes — no gradients between them.
|
|
95
|
+
|
|
96
|
+
### 3. Color-shift card grid
|
|
97
|
+
|
|
98
|
+
Card grid where each card has a different accent tint at rest (very low opacity, ~6% of its accent). On hover: the card's tint deepens to ~12%, and the card lifts 4px with a softened shadow. The accents don't compete because each card holds its accent for its own surface.
|
|
99
|
+
|
|
100
|
+
### 4. Streak / counter tick-up
|
|
101
|
+
|
|
102
|
+
Big rounded numerals that count up from 0 to their target value on view-enter, over 1200ms with `cubic-bezier(0.22, 1, 0.36, 1)` easing (snappy arrival). The container scales 1 → 1.06 → 1 once on completion (the "yes!" moment). Implemented with `@property --num` for CSS-only tick-up, or a small JS loop with `requestAnimationFrame`.
|
|
103
|
+
|
|
104
|
+
### 5. Character moment — one small reacting mark
|
|
105
|
+
|
|
106
|
+
Every Hum page has ONE small character / mark that reacts to user interaction. Constructed entirely in CSS (no `<img>`, no Lottie). Examples:
|
|
107
|
+
- A small filled circle that pulses gently at rest and bursts a 4-point star when its CTA is clicked.
|
|
108
|
+
- A wordmark where one letter is the character — pulses, blinks, or wobbles on hover.
|
|
109
|
+
- A floating shape next to the hero that drifts in a slow circle and grows when hovered.
|
|
110
|
+
|
|
111
|
+
The character lives in **pear-yellow** by default — that's its colour. Other accents can carry it but pear is canonical.
|
|
112
|
+
|
|
113
|
+
### 6. Big rounded everything
|
|
114
|
+
|
|
115
|
+
`--radius-card: 20px`, `--radius-pill: 999px`, `--radius-input: 12px`. Soft drop shadows on cards (`0 12px 32px -16px ink/15%`) that brighten on hover. The *amount* of round (and the shadow philosophy) is a per-build lever — a kids' build can go chunky at 28px with a hard button-style edge, a quiet one tighter at 14px with a single soft layer (see the card-physics lever under *Not-AI discipline*). What never changes: **no square corners anywhere** — this is the rounded theme.
|
|
116
|
+
|
|
117
|
+
### 7. Star-burst micro-celebration on success
|
|
118
|
+
|
|
119
|
+
When a primary action completes (CTA click, form submit, streak hit), a 4-point star bursts from the click point and fades out over 420ms. Star is in coral-red (the pop accent), 24px tall at full size. Single firing per action; never auto-loops.
|
|
120
|
+
|
|
121
|
+
```css
|
|
122
|
+
.star-burst {
|
|
123
|
+
position: absolute;
|
|
124
|
+
width: 24px; height: 24px;
|
|
125
|
+
background:
|
|
126
|
+
linear-gradient(90deg, transparent 47%, var(--color-accent-3) 47% 53%, transparent 53%),
|
|
127
|
+
linear-gradient(0deg, transparent 47%, var(--color-accent-3) 47% 53%, transparent 53%);
|
|
128
|
+
animation: star-burst 420ms ease-out forwards;
|
|
129
|
+
pointer-events: none;
|
|
130
|
+
}
|
|
131
|
+
@keyframes star-burst {
|
|
132
|
+
0% { transform: scale(0) rotate(0deg); opacity: 1; }
|
|
133
|
+
60% { transform: scale(1.2) rotate(35deg); opacity: 0.9; }
|
|
134
|
+
100% { transform: scale(1.4) rotate(45deg); opacity: 0; }
|
|
135
|
+
}
|
|
136
|
+
```
|
|
137
|
+
|
|
138
|
+
## Motion direction
|
|
139
|
+
|
|
140
|
+
Hum's motion stack is **the loudest in the catalog**. Almost every interactive element does something on hover or first-paint.
|
|
141
|
+
|
|
142
|
+
| Element | Motion |
|
|
143
|
+
|---|---|
|
|
144
|
+
| Primary CTA (push) | lift 2px on hover (the colour edge grows), press DOWN 3px on `:active` (edge shrinks to 1px); snappy `cubic-bezier(0.2,0.7,0.3,1)`. No scale, no wobble — the press is the feedback |
|
|
145
|
+
| Cards | lift 4px + shadow brighten + accent tint deepen on hover (220ms `--ease-spring`) |
|
|
146
|
+
| Counters | tick-up on view-enter (1200ms, snappy ease-out) + scale pulse on completion |
|
|
147
|
+
| Character mark | pulse at rest (4s gentle scale 1 → 1.04 → 1); star-burst on relevant CTA click |
|
|
148
|
+
| Section headings | translateY(12px → 0) + opacity 0 → 1 on view-enter, 600ms, 80ms stagger |
|
|
149
|
+
| Star-burst | 420ms, fires once on primary action complete |
|
|
150
|
+
| Scroll | Lenis (`duration: 0.8, lerp: 0.10` — a soft, slightly elastic glide for the playful feel) |
|
|
151
|
+
|
|
152
|
+
Available easings:
|
|
153
|
+
- `--ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1)` (bouncy overshoot — the canonical Hum easing)
|
|
154
|
+
- `--ease-snap: cubic-bezier(0.22, 1, 0.36, 1)` (easeOutExpo — for tick-ups and reveals)
|
|
155
|
+
- `--ease-out`, `--ease-in-out` (standard fallbacks)
|
|
156
|
+
|
|
157
|
+
`prefers-reduced-motion: reduce`:
|
|
158
|
+
- Spring hovers collapse to opacity/colour transitions only (no scale, no rotate, no wobble).
|
|
159
|
+
- Counters render at final value instantly.
|
|
160
|
+
- Character mark stops pulsing (stays at final state).
|
|
161
|
+
- Star-burst disabled entirely.
|
|
162
|
+
|
|
163
|
+
The page must remain delightful with reduced motion — restraint, not breakage.
|
|
164
|
+
|
|
165
|
+
## Required dependencies
|
|
166
|
+
|
|
167
|
+
```html
|
|
168
|
+
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
169
|
+
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
170
|
+
<link href="https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
Two families. No third. No serif anywhere.
|
|
174
|
+
|
|
175
|
+
**Optional:** Lenis 1.3.23 for smooth scroll — recommended but not mandatory. Hum reads correctly without it; add when the brief calls for premium polish.
|
|
176
|
+
|
|
177
|
+
## Macrostructure affinity
|
|
178
|
+
|
|
179
|
+
**Hum loves these.**
|
|
180
|
+
|
|
181
|
+
- **Marquee Hero** — canonical: big "today's thing" card centred, big CTA below, character mark anchored to one side
|
|
182
|
+
- **Bento Grid** — multi-accent tiles, one accent per tile; the bento is Hum's natural shape
|
|
183
|
+
- **Workbench** — when the page has a live demo (small product preview surrounded by playful chrome)
|
|
184
|
+
- **Stat-Led** — big rounded counters carry the story
|
|
185
|
+
- **Catalogue** — a grid of items where each tile uses a different accent (color-shift gallery)
|
|
186
|
+
- **Narrative Workflow** — a numbered process-timeline spine (`1.0 → 2.0 → 3.0 → 4.0`): each stage owns its own accent band, the big rounded stage numerals ride the counter signature, and a connecting rail makes the sequence the page's structure. Works well for a guided-sourdough-style build. Reach for it when the product is *genuinely sequential* — recipes, learn-a-skill, onboarding, multi-week programs, anything that happens in ordered steps over time. Don't force it on one-moment tools (those want Marquee or Stat-Led).
|
|
187
|
+
|
|
188
|
+
## Macrostructure rejection
|
|
189
|
+
|
|
190
|
+
**Hum refuses these.**
|
|
191
|
+
|
|
192
|
+
- **Long Document** — Hum is not a 2,000-word essay theme
|
|
193
|
+
- **Manifesto** — too serious; Coral or Atelier handle subdued
|
|
194
|
+
- **Quote-Led** — too literary
|
|
195
|
+
- **Type Specimen** — typography is rounded sans only; specimens want range
|
|
196
|
+
- **Photographic** — Hum is pure shape + colour; photography can appear in a tile but never as a section's spine
|
|
197
|
+
|
|
198
|
+
## Layout & emphasis discipline (non-negotiable)
|
|
199
|
+
|
|
200
|
+
Two bugs appeared in early Hum builds and must never ship again.
|
|
201
|
+
|
|
202
|
+
### Section alignment — one content shell, identical edges
|
|
203
|
+
|
|
204
|
+
Every section's content must align to the **exact same left and right edges**, whether or not the section sits on a tinted band. The early bug: banded sections (`.section--band`) put their gutter padding on the band while plain sections put `max-width + padding` on themselves, so band content was ~one-gutter wider than plain content and the edges didn't line up.
|
|
205
|
+
|
|
206
|
+
**The rule:** one shell width model everywhere. The band provides *only* the background + block padding; the inner content carries the gutter.
|
|
207
|
+
|
|
208
|
+
```css
|
|
209
|
+
:root { --shell: var(--page-max); } /* one number, every section obeys it */
|
|
210
|
+
|
|
211
|
+
/* plain section: capped box, gutter inside (border-box) */
|
|
212
|
+
.section { max-width: var(--shell); margin-inline: auto; padding: var(--section-gap) var(--page-gutter); }
|
|
213
|
+
|
|
214
|
+
/* banded section: full-bleed background, NO inline padding on the band itself */
|
|
215
|
+
.section--band { max-width: none; padding-inline: 0; }
|
|
216
|
+
.section--band > * { max-width: var(--shell); margin-inline: auto; padding-inline: var(--page-gutter); }
|
|
217
|
+
```
|
|
218
|
+
|
|
219
|
+
With global `box-sizing: border-box`, plain-section content and band content are now both `--shell` minus two gutters, both centred — edges match to the pixel. **Verify it:** the hero headline's left edge, a plain section's heading, and a banded section's heading must all sit on the same vertical line. If they don't, this rule was broken.
|
|
220
|
+
|
|
221
|
+
### Emphasis highlight — must follow the text, never a floating bar
|
|
222
|
+
|
|
223
|
+
The highlighter behind an emphasised word (`<em>` / `.hl`) and behind big display numbers must be painted as a **clipped background gradient on the text itself**, not an absolutely-positioned `::after` bar. The early bug: the `::after` bar only underlined the last line when the phrase wrapped, and drifted out of place at some sizes.
|
|
224
|
+
|
|
225
|
+
**The rule:** use a `background-image` highlighter with `box-decoration-break: clone` so it tracks the text across line breaks and scales with font-size automatically.
|
|
226
|
+
|
|
227
|
+
```css
|
|
228
|
+
em, .hl {
|
|
229
|
+
color: inherit;
|
|
230
|
+
background-image: linear-gradient(var(--hl, oklch(86% 0.18 95 / 0.55)) 0 0);
|
|
231
|
+
background-repeat: no-repeat;
|
|
232
|
+
background-size: 100% 0.32em; /* band thickness, em-relative → scales with type */
|
|
233
|
+
background-position: 0 82%; /* sits just under the baseline */
|
|
234
|
+
-webkit-box-decoration-break: clone;
|
|
235
|
+
box-decoration-break: clone; /* underline every wrapped line, not just the last */
|
|
236
|
+
padding-bottom: 0.02em;
|
|
237
|
+
}
|
|
238
|
+
/* per-accent: set --hl on the element (pear default; coral/cyan/lav/mint as needed). */
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
This never breaks on wrap, never needs `white-space: nowrap`, and the band always sits correctly under the word. For a giant single-token display number (e.g. a Stat-Led hero count) the same technique applies — `background-size: 100% 0.14em; background-position: 0 88%` reads as a thick underline beneath the figure.
|
|
242
|
+
|
|
243
|
+
## Not-AI discipline — make every build read as a different studio (non-negotiable)
|
|
244
|
+
|
|
245
|
+
The fastest way Hum slides into AI-slop is **sameness**: many products sharing one skeleton below the hero. The *component* system (buttons, the highlight, tokens, the press metaphor) **should** be shared — that is a design system, and it's the right kind of consistency. The *page architecture* must **not** be shared. Two Hum builds have to read as two different studios' work, not two colour-swaps of one template.
|
|
246
|
+
|
|
247
|
+
**Study these real sites for how the register stays hand-made** (each cited for one specific move):
|
|
248
|
+
- **PostHog** — the closest production analog to Hum: cream `#EEEFE9`, ink applied *at opacity* (90% body / 95% link / 100% hover) not as new hexes, **dashed-rule** section dividers, a mascot with a strict model sheet, and a self-aware "shameless plug" section. Steal the discipline wholesale.
|
|
249
|
+
- **Brilliant** (Koto 2024) — shape-DNA shared between the wordmark and the spot illustrations. **Duolingo** — every character built from three primitives (rounded rect, circle, rounded triangle). **Family** — one springy, *scrubbable* number that's a toy. **Cosmos** — layered, captioned image *clusters*, never a tidy grid. **Daylight** — a warm palette deployed as a *system*, not a vibe. **Multiverse** — a split-screen hero instead of the centred stack. **Stripe** — restraint as craft (one gradient, narrow columns, layered soft shadows). **Linear** — hierarchy by scale-jump; the feature demonstrates itself.
|
|
250
|
+
|
|
251
|
+
### The deadliest tells — forbidden by default
|
|
252
|
+
- **The centred hero stack** (eyebrow/badge → centred H1 → two-line subhead → filled + ghost CTA, dead-centre). The single biggest tell. Default to an *off-centre* hero; only centre when one element deliberately breaks the grid.
|
|
253
|
+
- **A badge-pill directly above the H1** ("✨ now with…"). Never.
|
|
254
|
+
- **The 3-identical-accent-cards row** (icon-tile on top → title → two grey lines, ×3, equal gap). Already banned in Anti-patterns — but it's the reflex unit, so it keeps reappearing. If you have three things to say, say them in a *different shape*: zig-zag text/art rows, one big + two small, a numbered list, a horizontal scroll-rail, a comparison table.
|
|
255
|
+
- **Uniform radius + one shadow on everything.** Give each build its own card *physics* (see levers).
|
|
256
|
+
- **An accent stripe on a card's top/left edge** — reads as AI almost as reliably as em-dashes.
|
|
257
|
+
- **Emoji standing in for icons.** Hum draws its marks in CSS/SVG; an emoji in a chip or nav is a tell.
|
|
258
|
+
- **An all-caps grey eyebrow over *every* section** — use it sparingly, not as wallpaper.
|
|
259
|
+
- **A decorative gradient on the background AND the headline AND the button** (Hum bans accent-to-accent gradients anyway; never stack one three ways).
|
|
260
|
+
|
|
261
|
+
### Kill the shared tail (the highest-leverage rule)
|
|
262
|
+
No two Hum builds may share the same **back half**. The failure mode is a bespoke hero bolted onto an identical *features → 3-up testimonials → 3-tier-pricing → statement-footer* run. Vary, per build:
|
|
263
|
+
- **Pricing** — three tiers is *one* option. Also: a single honest price line; a free-vs-paid inline toggle; price folded into the product/catalogue surface; or no pricing at all (a "start" strip instead).
|
|
264
|
+
- **Social proof** — quote-cards-×3 is *one* option. Also: a single big pull-quote; a marquee of names; an inline stat+quote; a screenshot of real usage. The byline grammar "Name · metric" on every card is itself a tell — vary it.
|
|
265
|
+
- **Footer** — rotate the footer archetype. Don't ship the same giant-statement + `auto 1fr 1fr 1fr` meta grid every time. A compact single row, a marquee, or a footer that reuses the build's own artefact are all fair.
|
|
266
|
+
|
|
267
|
+
### Variety levers — pick a *different* combination each build (independent of palette)
|
|
268
|
+
1. **Hero archetype** — rotate: off-centre artefact-bleed · split-screen (value centre, art flanks) · text-left/art-right · art-LEFT/text-right · full-bleed colour-block with an overlapping product card · art-above-headline. Never default to centred-stack.
|
|
269
|
+
2. **The "one highlighted word in the headline"** is now in *every* existing build — it has become a tell. Use it in some; in others carry emphasis by scale, a drawn underline, or colour-blocking the whole line.
|
|
270
|
+
3. **Feature-block format** — commit to ONE non-default shape per build (zig-zag · big+small · dense linked index · table · numbered narrative).
|
|
271
|
+
4. **Density rhythm** — alternate airy sections with one deliberately dense "everything" section; don't hold `--section-gap` constant top-to-bottom.
|
|
272
|
+
5. **Card physics** — choose a personality per build: hairline-flat no-shadow (quiet/editorial) · chunky 28px + the button's hard edge-shadow (kids/toy) · borderless tinted blocks · Stripe-soft single layer · layered contact+ambient. Not `20px + 1.5px rule + --shadow-card` every time.
|
|
273
|
+
6. **Divider / seam** — dashed rules · full-bleed colour-block edges · whitespace only · a thin top accent rule. One language per build.
|
|
274
|
+
7. **Colour deployment** — same palette, different distribution: cream-dominant with tiny accent *punctuation* (PostHog) · bold full-section colour-blocking (one accent owns a whole section) · one accent gradient used exactly once. Distribution changes the feel more than the hues.
|
|
275
|
+
8. **Mascot dose & placement** — one character moment, but rotate where: hero-bleed · peeking from a card corner · an empty-state · the footer · a scroll-triggered cameo.
|
|
276
|
+
9. **Motion register** — spring-bouncy overshoot · calm-eased · one signature scrubbable/draggable toy (Family). Pick one; don't fade-in everything.
|
|
277
|
+
|
|
278
|
+
### Two requirements every build must meet
|
|
279
|
+
- **One off-grid / asymmetric moment** — a card that breaks the gutter, an oversized numeral bleeding off-edge, a 2/3–1/3 split, a tilted element. The page must not be one centred column of equal blocks. (Bubble's numbered rail is the current best example.)
|
|
280
|
+
- **One "designed exception"** — a single deliberate rule-break that says a human made this: a self-aware copy aside (PostHog's deadpan), an interactive toy (Family's scrub), a hand-drawn annotation over a clean shot, one tilted off-grid card, a full-bleed photo/colour break. Rotate which kind across builds.
|
|
281
|
+
|
|
282
|
+
### Micro-craft that reads hand-made
|
|
283
|
+
- **Modify ink with opacity, not new hexes** — body ~88–90% of `--color-ink`, links 95%, hover 100%. Fewer literal colours, used consistently.
|
|
284
|
+
- **Layer shadows** (a tight contact shadow + a soft ambient one), varied by elevation — never one `--shadow-card` on everything.
|
|
285
|
+
- **Tight tracking on display, sentence case, ≤3 type levels.** Big heads get negative letter-spacing; body stays neutral.
|
|
286
|
+
- **Voice:** max one em-dash per paragraph (the em-dash pile-up is the clearest "AI wrote this" tic — prefer periods). Honest metrics only; never decorative big-number theatre.
|
|
287
|
+
|
|
288
|
+
## Voice fixtures
|
|
289
|
+
|
|
290
|
+
Hum voice is **warm, smart, casual, direct**. Sentence case is allowed (unlike Lumen's full lowercase). Verbs over nouns. Confident but not knowing. Never condescending.
|
|
291
|
+
|
|
292
|
+
Headlines:
|
|
293
|
+
|
|
294
|
+
- "Your daily 30-second curio."
|
|
295
|
+
- "Get really good at one thing this quarter."
|
|
296
|
+
- "Notice yourself, in 30 seconds."
|
|
297
|
+
- "Learn something genuinely new today."
|
|
298
|
+
- "A small daily thing, kept for a long time."
|
|
299
|
+
|
|
300
|
+
Body patterns:
|
|
301
|
+
|
|
302
|
+
- "One small interesting thing, every morning at 8 a.m."
|
|
303
|
+
- "Free for the first seven days. $5 a month after that, or $45 a year."
|
|
304
|
+
- "Made by three people in Lisbon and Amsterdam. We're answering email."
|
|
305
|
+
|
|
306
|
+
Mono labels — UPPERCASE, used for ordinals, stats, and tags:
|
|
307
|
+
|
|
308
|
+
- `01 · TODAY`
|
|
309
|
+
- `02 · YOUR STREAK`
|
|
310
|
+
- `STREAK · 47 DAYS`
|
|
311
|
+
- `LEARNED · 312 THINGS`
|
|
312
|
+
|
|
313
|
+
**Never any of:** revolutionize, supercharge, unlock, leverage, unleash, transform, journey, holistic, mindful, ecosystem, platform, AI-powered, intelligent. The "feels alive" must come from *motion and colour*, not from breathless copy.
|
|
314
|
+
|
|
315
|
+
## Anti-patterns (theme-specific)
|
|
316
|
+
|
|
317
|
+
- **NEVER serif anywhere.** Display, body, captions — all rounded sans. If a serif is needed, the brief belongs in Lumen or one of the editorial themes.
|
|
318
|
+
- **NEVER pure white paper.** Cream `oklch(97% 0.012 95)` is the only acceptable ground. Pure white drains all the warmth out of the theme.
|
|
319
|
+
- **NEVER pure black ink.** `oklch(20% 0.012 250)` minimum lightness. Pure black on cream is harsh and breaks the warmth.
|
|
320
|
+
- **NEVER square corners on cards / pills / buttons.** Hum is the rounded theme. Cards = 20px, pills = 999px, inputs = 12px.
|
|
321
|
+
- **NEVER single-accent palette.** Hum is multi-accent. If a build wants one restrained accent only, it should route to Coral (single-accent modern-minimal) instead.
|
|
322
|
+
- **NEVER gradients between accents.** Pear-to-cyan or cyan-to-coral gradients are banned. Each accent owns its own surface.
|
|
323
|
+
- **NEVER over-rotate animations.** One signature character pulse + one CTA wobble per page. Bouncy easings on everything is exhausting; reserve spring for primary actions.
|
|
324
|
+
- **NEVER `font-style: italic` for the verb landmark.** Hum is not Lumen — verbs aren't italicised here. Emphasis comes from weight (500) or accent color, not italics.
|
|
325
|
+
- **NEVER invented metrics.** Streak counts must be honest (the user's actual data). Marketing stats must be real.
|
|
326
|
+
- **NEVER pure-rainbow gradient backgrounds.** Multi-accent ≠ Y2K rainbow. Each accent has its own surface; they sit next to each other in defined regions.
|
|
327
|
+
- **NEVER three-feature-card row with stock-icon tops.** Use abstract shape characters per card, not generic Lucide icons.
|
|
328
|
+
- **NEVER bento with > 8 tiles.** Hum's bento is small and warm, not maximalist.
|
|
329
|
+
|
|
330
|
+
## How Hum differs from neighbouring themes
|
|
331
|
+
|
|
332
|
+
| vs | difference |
|
|
333
|
+
|---|---|
|
|
334
|
+
| **Coral** (modern-minimal, the closest sibling) | Coral is warm-grey paper with a single restrained coral accent — Stripe-not-Linear register, motion optional. Hum uses coral only as its pop accent, on yellower cream with two other accents and mandatory motion. Coral is the friendly-but-quiet register (a quiet bakery card); Hum is exuberant and alive (a brilliant.org-style learning app). When a brief wants one restrained accent, route to Coral; when it wants multi-accent and a character moment, route to Hum. |
|
|
335
|
+
| **Bloom** (atmospheric) | Bloom is dark/cream with warm radial blooms behind the content (Suno register). Hum is fully light, no blooms, mandatory hover-and-paint motion. Different genres entirely. |
|
|
336
|
+
| **Specimen** (editorial) | Specimen is italic-serif on warm oat with classical typography. Hum is rounded sans on cream with vibrant character. Opposite registers. |
|
|
337
|
+
|
|
338
|
+
## Test brief expectations
|
|
339
|
+
|
|
340
|
+
Hum should be a candidate when the brief mentions:
|
|
341
|
+
|
|
342
|
+
- *daily, habit, streak, practice, learning, curiosity, mood, energy, friendship, community, kids, family, game, puzzle, creative, indie tool, character, mascot, fun, playful, alive*
|
|
343
|
+
- product categories: *learning platforms, habit trackers, daily-thing apps, friendship apps, creative tools (with character), kids' / family software, mood / energy / wellness apps, indie creative SaaS*
|
|
344
|
+
- emotional tone: *warm, alive, smart-but-warm, energetic, considered but joyful, post-Brilliant*
|
|
345
|
+
|
|
346
|
+
Briefs that say *enterprise, infrastructure, B2B, API, inference, agent, dashboard, manifesto, gallery, monograph* never route to Hum.
|
|
347
|
+
|
|
348
|
+
## Build hint
|
|
349
|
+
|
|
350
|
+
The first 24 lines of CSS should establish Hum's anchor moves:
|
|
351
|
+
|
|
352
|
+
```css
|
|
353
|
+
body {
|
|
354
|
+
background: var(--color-paper); color: var(--color-ink);
|
|
355
|
+
font-family: var(--font-body);
|
|
356
|
+
font-feature-settings: "ss01" on, "cv11" on;
|
|
357
|
+
font-variant-numeric: tabular-nums;
|
|
358
|
+
}
|
|
359
|
+
|
|
360
|
+
.eyebrow, .mono-label {
|
|
361
|
+
font-family: var(--font-label); font-size: 11px; letter-spacing: 0.10em;
|
|
362
|
+
text-transform: uppercase; color: var(--color-ink-2); opacity: 0.75;
|
|
363
|
+
}
|
|
364
|
+
|
|
365
|
+
.btn { /* push — a solid colour EDGE + a soft ground shadow. Never a negative spread, never scale(). */
|
|
366
|
+
background: var(--color-accent); color: var(--color-ink); font-weight: 600;
|
|
367
|
+
padding: 0.8rem 1.4rem; border: 0; border-radius: var(--radius-pill); cursor: pointer;
|
|
368
|
+
box-shadow: 0 4px 0 0 var(--color-accent-deep), 0 6px 12px -3px oklch(76% 0.20 95 / 0.45);
|
|
369
|
+
transition: transform 140ms cubic-bezier(0.2,0.7,0.3,1), box-shadow 140ms cubic-bezier(0.2,0.7,0.3,1);
|
|
370
|
+
}
|
|
371
|
+
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 0 var(--color-accent-deep), 0 12px 22px -4px oklch(76% 0.20 95 / 0.45); }
|
|
372
|
+
.btn:active { transform: translateY(3px); box-shadow: 0 1px 0 0 var(--color-accent-deep); } /* the press is the feedback */
|
|
373
|
+
|
|
374
|
+
/* cards MAY keep the spring lift (the retirement was buttons only); vary the physics per build */
|
|
375
|
+
.card {
|
|
376
|
+
background: var(--color-paper); border-radius: var(--radius-card);
|
|
377
|
+
box-shadow: 0 12px 32px -16px oklch(20% 0.012 250 / 0.12);
|
|
378
|
+
transition: transform 220ms var(--ease-spring), box-shadow 220ms;
|
|
379
|
+
}
|
|
380
|
+
.card:hover { transform: translateY(-4px); }
|
|
381
|
+
```
|
|
382
|
+
|
|
383
|
+
Those lines carry 50% of the theme. The rest is the character moment + the multi-accent section bands + the motion stack.
|
|
384
|
+
|
|
385
|
+
## What Hum refuses (restated)
|
|
386
|
+
|
|
387
|
+
Disqualifiers — if any appears in a Hum build, it is not Hum:
|
|
388
|
+
|
|
389
|
+
- No serif anywhere.
|
|
390
|
+
- No pure white paper.
|
|
391
|
+
- No pure black ink.
|
|
392
|
+
- No square corners.
|
|
393
|
+
- No single-accent palette.
|
|
394
|
+
- No gradients between accents.
|
|
395
|
+
- No more than one CTA wobble per page.
|
|
396
|
+
- No more than one character moment per page.
|
|
397
|
+
- No `font-style: italic` for emphasis.
|
|
398
|
+
- No invented metrics.
|
|
399
|
+
- No rainbow gradient backgrounds.
|
|
400
|
+
- No generic stock-icon feature rows.
|
|
401
|
+
- No bento with > 8 tiles.
|
|
402
|
+
- No system-font fallback for the display.
|
|
403
|
+
- No motion-less interactive elements (every interactive element has SOME state response).
|