Patterns
compositionsFull compositions assembled from brand components. Each pattern shows how components work together in a real layout.
§01
Article Layout
editorialThe discovery-doc article layout uses alternating bands (light/dark surfaces), section headers with numbers, prose content, and the reading toolbar for navigation.
Key pattern: Alternate
.light and.dark bands for visual rhythm. Each band remaps semantic tokens, so all components inside automatically adapt.§02
Feature Section
documentationCombine section headers, ledger rows, notes, and code blocks to document a feature's capabilities.
01
Token-based theming
All colors resolve through semantic tokens. Set
data-theme on the root element to switch the entire page between light and dark.02
Fluid typography
Type sizes use
clamp() for responsive scaling, multiplied by --reading-scalefor user adjustment.03
Self-hosted fonts
Fraunces + IBM Plex are bundled as variable font files. No external network requests, no privacy leaks, faster loads.
Performance: This pattern produces zero JavaScript when rendered statically. The CSS-first approach means the full visual treatment loads with no runtime overhead.
§03
Install Guide
onboardingStep-by-step installation with a procedural flow, then tabbed code blocks for different package managers.
Step 1
Install the
brand-css package→
Step 2
Import
brand.css in your entry→
Step 3
Use the CSS classes in your markup
/* Your CSS entry point */
@import "PRIVATE_BETA_PACKAGE_COORDINATE_REDACTED/brand.css";
/* That's it. Use the classes: */
<div class="wrap">
<div class="shead">
<span class="num">§01</span>
<h2>Hello Brand</h2>
</div>
</div>