Styling
The text partial's adjustable values are component-scoped custom properties, declared on .prose with fallbacks into the global design tokens. Override the properties from lib/overrides/text/text.css, not the rules that consume them. The inline-code treatment is the set sites change most.
| Property | Default | Controls |
|---|---|---|
--text-code-font | 'Courier New', monospace | Inline code font |
--text-code-background | var(--color-background-light) | Inline code background |
--text-code-padding | 0.2em 0.4em | Inline code padding |
--text-code-radius | 0.25rem | Inline code corner radius |
--text-blockquote-accent | var(--color-primary) | Blockquote left border |
/* lib/overrides/text/text.css: inline code as plain prose */
.prose {
--text-code-font: monospace;
--text-code-background: transparent;
--text-code-padding: 0;
--text-code-radius: 0;
}