About OpenTofu DESIGN.md
Curated by Dov AzencotUpdated Source opentofu.org
- Backend, Database & DevOps
- Developer Tools & IDEs
OpenTofu's marketing site is, by design, a documentation site first. The brand runs Docusaurus in dark mode, which means every design decision — the navy canvas, the gray-blue hairline, the card surface, the heading weight — starts from the Infima design framework's opinionated dark defaults. Into that framework OpenTofu inserts one and only one chromatic brand signal: lemon-yellow #ffda18, wired into 16 CSS custom properties including `--ifm-link-color`, `--ifm-menu-color-active`, `--ifm-tabs-color-active-border`, `--docusaurus-progress-bar-color`, and `--docsearch-primary-color`. Every interactive affordance on the page — active nav links, active tabs, breadcrumb highlights, search accents — glows in this single yellow. The rest of the palette is cool, dark, and structural: midnight navy, slate-gray text, blue hairlines, near-black code surfaces.
The DESIGN.md file packages the system into a machine-readable spec for React tooling. Inside: 15 color tokens anchored on the #0c192b background with the lemon-yellow primary; 11 typography tokens running DM Sans at 60px / 700 for the hero h1 (with an unusual 3px letter-spacing) through 14px body; and the system monospace stack across all 173 captured code-surface samples. The radius ladder runs 6.4px (the IFM 0.4rem global default) for most surfaces, 12px for content cards, and 9999px for the pill CTA. 15 component definitions cover the hero, the yellow CTA, the dark code panel, the Docusaurus feature card, the sidebar-nav link, and the footer.
Feed this file to Claude or Cursor and it reproduces OpenTofu's positioning: a dark documentation aesthetic with a single warm accent that marks every "active" state. The system is worth studying for the discipline of the single-color activation pattern: when every interactive state — link, tab, breadcrumb, progress bar, search highlight — uses one hue, the page teaches its own interaction model without needing icons or labels.
What makes it distinct
- Single lemon-yellow voltage#ffda18 wires into 16 CSS custom properties as the primary link, active-tab, breadcrumb, and search accent; the only warm color on an otherwise cool-dark canvas
- Documentation-site architecturethe design system is Docusaurus dark mode, not a custom marketing surface; card radius at 6.4px and heading weight at 700 follow the IFM framework's defaults
- DM Sans with wide letter-spacing at displaythe 60px hero h1 renders at 3px letter-spacing, an atypically loose display treatment for the infrastructure category
- System mono for all codeno branded mono typeface; the default SFMono-Regular / Menlo / Monaco / Consolas stack carries all 173 extracted code-surface samples
- Cloud Native Computing Foundation badge prominencethe Linux Foundation affiliation appears above the fold as a trust signal, a positioning move against commercial competitors
Live at opentofu.org
A snapshot of the brand in production. Hover the frame to scroll the page; click to visit.
opentofu.orgExplore OpenTofu
Pick what you want to see — mockups, colors, typography, layout, or the full component list.
Brand & Accent
Sparing, CTA-only voltage.
Surface
Page and card backgrounds.
Text
Headlines, body, captions, muted.
Borders & Hairlines
Dividers, outlines, structural rules.
Other
Specialty colors.
OpenTofu design system FAQ
Common questions about OpenTofu's tokens, components, and how to use this DESIGN.md in your project.
Related reading
Specs, directories, and component libraries that pair with this design system.
Browse all design systems
The full directory of DESIGN.md files on shadcn.io, with live mockups for each.
OpenTofu — official site
OpenTofu's public marketing site — the source of truth for the live tokens captured in this file.
The DESIGN.md specification
Google Labs' open spec for machine-readable design system files — the format this page is built on.