Skip to content

Search Feitio

↵ opens the first↑↓ chooseEsc closes

Color

Cream paper, warm ink and a lively orange. Feitio uses little color on purpose: refinement lies in how many colors stay out.

On this page

The roles

No component knows a color; it knows a role: surface, text, accent. Every theme fills the same roles, which is why switching themes, or day to night, breaks nothing.

surfacethe page background
surface-raisedblocks on the page
surface-toplifted paper
textmain text
text-softsupporting text
accentthe main action, focus
accent-stronglinks and notes
okit worked: moss
warnattention: mustard
errorit failed: wine

Also: on-accent (text on the orange), line (hairlines), shadow (the paper shadow) and a surface for each status (ok-surface, warn-surface, error-surface).

Rules

One orange per screen

The accent goes on the main action and nothing else. Links and notes use the strong orange, darker, which reads as text.

Do

Save changesSee the history.

One orange on the action; the link in the strong orange, which does not compete.

Don’t

SettingsSave

Title and button in orange: the eye does not know where to go.

Color never speaks alone

A status always comes with an icon and a word, for people who cannot tell colors apart and for black and white printing.

Do

OnlineOffline

Icon, word and color together.

Don’t

Two dots: for people who cannot tell the colors apart, they are the same.

Error is wine, never orange

The wine was pulled away from the orange so an error never looks like the main action.

No color written by hand

Always the role, var(--feitio-color-…). A hand-written color does not change at night or in a facade.

Day and night

Night is not the day inverted. Every role has its own value in the dark: the paper turns into warm charcoal, the cream becomes the ink, and the orange of links lights up to stay readable. The orange of the main action is the same in both modes, deep, with cream text. With no choice from the page, Feitio follows the system mode.

By day

Cream, near-black ink, orange.

Save

surface: oklch(96% 0.018 80)

At night

Warm charcoal, cream as ink, the same orange.

Save

surface: oklch(22% 0.016 55)

Facades

Contrast

Every pair that carries text or meaning passes WCAG 2.2 AA, by day and at night: 4.5 for text, 3 for shapes. Feitio’s test checks every pair and fails the build if one drops.

PairUseDayNightMinimum
text / surfacemain text13,914,14,5
text-soft / surfacesupporting text6,48,14,5
accent-strong / surfacelinks and notes5,88,04,5
on-accent / accentmain button text5,05,04,5
accent / surfacemain button, focus4,83,23
warn / warn-surfaceattention notice4,87,54,5

WCAG 2’s formula overrates dark text on saturated mid-tone colors: the old orange, with dark text, passed with 5.2 and still tired the eye. So the orange is deep and the text on it is cream; the perceptual measure (APCA) agrees, with Lc 79 against 40 before.

Top