# Style guide

Typography, buttons, themes and dividers: every element of the Driftwire site in one place.

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](/pricing), to [an external site](https://openfeature.dev), to [an email address](mailto:hello@example.com) or to [a phone number](tel:+44 20 7946 0000).

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

1. Each one in order

- Lettered lists for options

- When numbers would imply a sequence

Code

```css
/* 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);
}
```

```markdown
# 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
