Switch to dark theme

Knobs

Move them

Light

Quarterly report

Acme Analytics, Q3

Ready

Read the notes before you send it.

Note: Draft saved

Saved 2 minutes ago.
Dark

Quarterly report

Acme Analytics, Q3

Ready

Read the notes before you send it.

Note: Draft saved

Saved 2 minutes ago.
The whole change
:root {
  --ff-accent-hue: 264;
  --ff-accent-chroma: 0;
  --ff-gray-hue-light: 247;
  --ff-radius-scale: 1;
  --ff-text-scale: 1;
  --ff-unit: 0.25rem;
}

All fifteen

KnobDefaultSets
--ff-gray-hue262Hue of every dark gray
--ff-gray-chroma0.008Its strength
--ff-gray-hue-light247Hue of every light gray
--ff-gray-chroma-light0.13Its strength, most in the mid grays
--ff-black16.85%The dark end, #0f0f0f
--ff-white97%The light end, #f5f5f5
--ff-step-light2.2%Step between nested surfaces, light
--ff-step-dark3.5%Step between nested surfaces, dark
--ff-accent-hue264Hue of the accent
--ff-accent-chroma0Its strength; 0 is ink
--ff-tint12%How much color a tint holds
--ff-unit0.25remOne step of space
--ff-text-scale1Every text size
--ff-radius-scale1Every corner; 0 is square
--ff-motion-scale1Every duration and delay

Knob, token, part

How a corner is made
/* primitives.css */
--ff-radius-scale: 1;

/* shape.css */
--ff-radius-lg: calc(0.875rem * var(--ff-radius-scale)); /* 14 px */

/* Card.svelte */
border-radius: var(--ff-radius-lg);

On any part of a page

A section with its own accent
<section data-theme style="--ff-accent-hue: 30">
  <!-- every token in here is computed again -->
</section>