Control sizing
Default medium controls render at 40px height with a 20px icon and an 8px
border radius.
--control-height-md: 2.5rem (40px) · --duration-262: 262ms
```
```css
.docs-copy {
max-width: var(--prose-max-width);
font-family: var(--font-sans);
font-size: var(--text-body);
line-height: var(--text-body--line-height);
color: var(--foreground);
}
.docs-metric {
font-family: var(--font-mono);
font-variant-numeric: tabular-nums;
}
```
## Do and don't
- **Do: Write sentence-case headings and exact measurements** — Write '## Modes and themes' and state 'Focus rings render a 2px outline with a 2px offset in var(--ring) on :focus-visible.'
- **Don't: Use title case, spaced units, or marketing filler** — Do not write '## Modes And Themes', do not separate units as '16 px' or '262 ms', and never use the listed superlatives in documentation prose.
## Accessibility
| Token or utility | Measured value | Accessibility purpose |
| --- | --- | --- |
| --prose-max-width (max-w-prose) | 68ch | Caps line length for comfortable reading (WCAG 1.4.8 guidance) |
| --text-body | 16px (1rem) | Fixed across 320px to 1920px viewports to prevent iOS input auto-zoom |
| --text-body--line-height | 24px (1.5rem) | Snaps to the 4px vertical rhythm grid |
| tabular-nums | font-variant-numeric: tabular-nums | Aligns digits vertically across table rows and token metrics |
Prose measure and body font sizing stay within readable bounds across all viewports, while `tabular-nums` aligns numerical columns for rapid scanning. Link text names the destination explicitly (`Principles`, `Modes & themes`) rather than using ambiguous labels (WCAG 2.4.4).
## Rationale
Technical documentation succeeds when engineers and agents can extract constraints without filtering out promotional language. Treating voice rules as testable assertions keeps prose as strict and deterministic as the TypeScript token scales.
---
Source: https://monoplinth.freshgemui.com/docs/style-boundaries (https://monoplinth.freshgemui.com/docs/style-boundaries.md)
# Style boundaries
Monoplinth leaves out a small set of visual, layout, icon, and copy patterns so its monochrome, architectural look stays consistent. Many products use these patterns well, and this page lists what Monoplinth uses instead.
## Patterns Monoplinth leaves out
| Category | Monoplinth leaves out | Monoplinth uses instead |
| --- | --- | --- |
| Gradients and glassmorphism | Gradient blobs, gradient text, backdrop-blur-*, frosted glass, glowing orbs | 60-30-10 solid surfaces; 1px dark-mode borders (--obsidian-6, --obsidian-7); light-mode shadows (--shadow-sm to --shadow-xl) |
| Template hero layouts | Centered "Build faster" hero with three equal stock-icon cards | Grid-aligned architectural layout across 4 cols (320px+), 8 cols (768px+), 12 cols (1024px+) |
| Emoji and decorative icons | Emoji as UI icons and non-functional spark or decoration icons | Lucide icons (2px stroke, absoluteStrokeWidth) at 16px, 20px, 24px |
| Marketing superlatives | Marketing superlatives (seamless, unleash, elevate, supercharge) and non-factual sentences | One verifiable fact or enforceable rule per sentence |
| Bouncy and looping motion | Bounce/elastic easing and auto-looping animations over 5000ms without pause (WCAG 2.2.2) | Restrained easings (--ease-standard, --ease-enter, --ease-exit) respecting prefers-reduced-motion |
Depth comes from solid surface steps, dark-mode hairlines, and light-mode shadows rather than gradients or backdrop blur. Layouts align to the architectural grid, and icons appear only where they carry functional meaning.
## Copy and token checks
| Rule | Requirement | Valid example |
| --- | --- | --- |
| Headings | Sentence case on every heading level; capitalize only the first word and proper nouns. | Modes and themes |
| Sentences | Every sentence states one verifiable fact or one enforceable rule. | Body text stays at 16px across viewports. |
| Numeric units | Attach the unit directly to the number with no intervening space. | 16px, 262ms, 90rem, 68ch |
| Excluded words | Verified by an automated Vitest scan across every MDX file outside inline and fenced code. | seamless, unleash, elevate, supercharge |
Automated tests flag the listed marketing superlatives across all documentation pages. Every sentence must state a verifiable fact or an enforceable rule.
## Usage
Replace decorative effects with solid semantic surfaces, crisp border steps, and factual copy:
```tsx