Skip navigation

Core concepts

Utilities

Artist includes a small, intentional utility layer for common presentation choices. It is not a general-purpose atomic CSS system.

Text and type

ClassesUse
text-left, text-center, text-rightText alignment, independent of layout alignment.
has-balanceBalance line lengths with text-wrap: balance. Apply directly to the paragraph or text element.
has-text-weight-bold, has-text-weight-normal, is-italicSmall typographic adjustments.
is-size-1 … is-size-8Explicit size only; does not change semantic meaning.
like-h1 … like-h6Heading presentation on the correct semantic heading level.
measure-sm, measure-md, measure-lgReadable maximum line lengths.
lede, meta, eyebrowNamed content roles.

Color

Use is-primary, is-tertiary, is-link, is-info, is-success, is-warning, or is-danger only on components that document role support.

These follow the surrounding section palette, including tinted and dark sections:

has-text-default
has-text-muted
has-text-subtle

Choose a family and step when the precise token matters. Families are primary, tertiary, link, info, success, warning, danger, and neutral. Steps are 100, 300, 400, 500, 700, and 900. The 400 shade mixes 70% of the base color with white, midway between 300 and 500.

has-text-primary-500
has-text-neutral-700
has-background-info-100
has-background-danger-900

Exact background steps do not set a foreground color. Pair them with a deliberate text utility and check contrast.

The existing solid helpers choose their matching on-color automatically:

has-text-primary       has-background-primary
has-text-tertiary      has-background-tertiary
has-text-link          has-background-link
has-text-info          has-background-info
has-text-success       has-background-success
has-text-warning       has-background-warning
has-text-danger        has-background-danger

Responsive visibility

Artist has two deliberate responsive exceptions for cases where mobile and desktop need different presentations of the same interface:

is-hidden-mobile       hidden at 800px and below
is-hidden-desktop      hidden at 801px and above

Use is-hidden or the native hidden attribute to hide something at every width. Avoid duplicating essential content solely to rearrange it; prefer responsive layout components when the content itself can remain the same.

Shape, surface, and sizing modifiers

Names such as is-rounded, has-shadow, is-light, is-outlined, is-small, and is-large are component modifiers, not universal utilities. Their meaning belongs to the component page that documents them.

Agent rule: if a class is not listed on the relevant component page or this page, do not infer it from naming symmetry. Prefer an existing component contract over invented custom CSS.

Deliberate omissions

Artist does not include numeric margin or padding utilities, arbitrary width syntax, or a general responsive class suffix system. Use layout components and public tokens for those responsibilities. Use the documented text and background utilities when a specific color is required. Site-specific art direction belongs in the applied stylesheet.