Light and dark colour tokens from one brand colour
Sofia Marquez@sofia_designs
Fill in the blanks
0 of 2 filledThe prompt
Generate light and dark colour tokens from the brand colour hex.
Output CSS custom properties for: page background, raised surface, sunken surface, primary text, secondary text, muted text, hairline, control border, focus ring and the primary button.
Rules:
- Body text must reach 4.5:1 against its background in both themes. Show the ratio next to each pair.
- Don't put the brand colour on large surfaces.
- Dark mode is designed, not inverted: lift surfaces with lightness, not shadows.
:root { /* light */ }
data-theme="dark" { /* dark */ }
Fill in the blanks above to copy or open the prompt with your details in it.
640 uses380 saves212 likes3 remixes (0 public)Published 27 Sept 2026
A use is a copy, a fill-in copy, an insert or an open in an AI chat, counted once per person per day. Authors' own uses don't count.