Style guide

Driftwire style guide

Every colour, button and type style on this site is content, edited in the Studio and compiled to CSS variables. This page shows all of them in one place.

Headings

Heading 1 · Ship every change

Heading 2 · Lower any of them

Heading 3 · Progressive rollouts

Heading 4 · Targeting rules

Heading 5 · Guardrail metrics
Heading 6 · Audit log

Text

Body copy is Inter at a comfortable measure. It can be bold, emphasised, underlined, struck through, light or extra bold. Inline code and monospace text use the Code Font from Site Settings, and uppercase is a decorator too.

Annotations add meaning: a highlight in the theme accent, a larger size, or a heading style on inline text.

Links go to another page, to an external site (opens in new tab), to an email address or to a phone number.

A paragraph can have its own width. This one is narrow, for a pull-out that should read slowly.

Text can be centred…

…or aligned right.

A kill switch should fail loud. If a node cannot prove it holds the latest version, it says so.

Lists

  • Bulleted lists for things in no particular order
  • Items can hold marks and code
  1. Numbered lists for steps
  2. Each one in order
  1. Lettered lists for options
  2. When numbers would imply a sequence

Code

theme.cssCSS
/* themes/driftwire/app/theme.css — the art reads the palette */
.dw-flag--bordered {
    background:
        linear-gradient(var(--dw-art-3), var(--dw-art-3)) center / 56% 56% no-repeat,
        var(--dw-art-2);
}
README.mdMarkdown
# Driftwire

Every page here is also served as **Markdown**, at the same path plus `.md`.

Buttons

A button is a link with a Link Style preset. Presets set the shape and the colours — from the theme, from one swatch, or from exact colours.

Primary · solid · Accent · signal

Secondary · Outline · Text link

Icons, an action that downloads a file, and a modal

Themes

A theme is a background, a text colour and an accent, with optional dark-mode counterparts. Any section can pick one.

Canvas

The site default. Deep navy and chalk in dark mode, paper and ink in light.

--studio-nuxt-theme-dw-canvas-bg

Raised

One step off the canvas, for a band that should sit forward.

--studio-nuxt-theme-dw-raised-bg

Night

Always navy: the navigation and footer, whose chalk wordmark must read in either scheme.

--studio-nuxt-theme-dw-night-bg

Dividers

Spacers can draw an animated divider between sections, in a subtle tone or the theme accent.

line

circuit

nodes

wave

pulse

bars

grid

beam