Skip navigation

Core concepts

Foundations

Artist’s default settings are CSS custom properties. They keep design choices consistent across components without introducing a build step.

Use tokens, not one-off values

All public settings live in the Default settings section at the top of artist.css. Override only the values your site needs in :root inside a stylesheet loaded after Artist.

:root {
  --primary: #3158b5;
  --font-heading: "Your heading font", sans-serif;
  --radius: 20px;
  --content-width: 72rem;
}
Public and private: documented settings use names such as --primary. Variables beginning --_ are internal calculations and are not a stable customization API.

Color roles

Roles describe intent rather than a fixed hue. Components that accept a role share the same vocabulary: Primary, Tertiary, Link, Info, Success, Warning, and Danger.

Primary--primary
Tertiary--tertiary
Info--info
Success--success
Warning--warning
Danger--danger

Open the live Colors reference to inspect tinting and generated palette steps.

Typography

Eyebrow / short context

Lede text introduces a section without changing its semantic structure.

Body text defaults to 18px with normal Content rhythm. Use heading elements for document structure and like-h* only when presentation needs to differ from semantic level.

Metadata is deliberately quieter.

See Content & typography for measures, alignment, and explicit sizes.

Spacing and shape

TokenDefaultResponsibility
--group-space100pxSection-level vertical breathing room.
--layout-gap48pxSpace between major layout regions.
--item-gap24pxSpace between repeated or related items.
--content-gap20pxRhythm inside Content.
--gutter15pxMinimum inline page edge.
--radius18pxShared corner treatment for surfaces.

These tokens are intentionally few. A component may expose a specific token when its job needs one; that is preferable to a large numeric utility scale.

Widths and reading measures

--group-width caps the complete section, --content-width caps its Container, and --solo-width caps centered solo content. Text measures (--measure-sm, --measure-md, and --measure-lg) control readable line length independently.