Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
169 changes: 0 additions & 169 deletions custom.css

This file was deleted.

20 changes: 18 additions & 2 deletions docs.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,24 @@
"light": "#5eead4",
"dark": "#2dd4bf"
},
"fonts": {
"heading": {
"family": "Commit Mono",
"source": "/fonts/CommitMono-Medium.woff2",
"format": "woff2",
"weight": 500
},
"body": {
"family": "Instrument Sans",
"source": "/fonts/InstrumentSans-Variable.woff2",
"format": "woff2",
"weight": 400
}
Comment thread
greptile-apps[bot] marked this conversation as resolved.
},
"styling": {
"codeblocks": "dark"
"codeblocks": {
"theme": "vesper"
}
},
"favicon": "/favicon.svg",
"navigation": {
Expand Down Expand Up @@ -252,7 +268,7 @@
],
"primary": {
"type": "button",
"label": "Mission Control",
"label": "Install",
"href": "https://app.usezombie.com"
}
},
Expand Down
Binary file removed fonts/CommitMono-Regular.woff2
Binary file not shown.
52 changes: 52 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
/*
* usezombie Mintlify overrides — Operational Restraint.
*
* Mintlify's docs.json owns the bulk of the theming (colors, fonts,
* code-block syntax theme). This file owns only the bits the schema
* can't express. Filename is `style.css` per Mintlify's documented
* convention for cloud-build custom CSS pickup.
*
* Source-of-truth tokens live in
* ~/Projects/usezombie/ui/packages/design-system/src/tokens.css.
* Hex literals here are mirrored from there — change upstream first,
* land here in the same release window.
*/

/*
* Variable-axis @font-face for Instrument Sans body.
*
* Mintlify's docs.json `fonts.body.weight` is schema-typed as a single
* number, so its build-time @font-face registers only weight 400 —
* `<strong>` and `font-weight: 700` would fall back to system. The
* woff2 we ship is the wght-axis variable file (covers 400–700), so
* we re-register the same family here with the full range. Browsers
* resolve font-face entries by font-weight match; the bold range
* picks our declaration when the requested weight is > 400.
*/
@font-face {
font-family: "Instrument Sans";
src: url("/fonts/InstrumentSans-Variable.woff2") format("woff2-variations"),
url("/fonts/InstrumentSans-Variable.woff2") format("woff2");
font-weight: 400 700;
font-style: normal;
font-display: swap;
}

/*
* Primary navbar button — "Install" CTA.
*
* The fill comes from `colors.primary` in docs.json (#14B8A6 cyan-mint,
* `--pulse` light-mode value). Mintlify auto-computes the foreground
* by contrast and lands on white, but the design system's --on-pulse
* token is THEME-FIXED dark (#0A0D0E) in both modes — that's the
* canonical foreground for content layered on the pulse surface
* (per ui/packages/design-system/src/tokens.css). Force it.
*
* Selector targets the navbar primary button by its href; this is
* stable against Mintlify's class-name churn between minor releases.
*/
a[href="https://app.usezombie.com"],
a[href="https://app.usezombie.com"] *,
[data-mintlify-primary-button] {
color: #0a0d0e;
}
Comment thread
greptile-apps[bot] marked this conversation as resolved.
84 changes: 0 additions & 84 deletions tokens.css

This file was deleted.

Loading