// The one set of status tones: a badge, a hint, a banner and a toast all // take a `Tone`, so "ok" or "warn" is spelled and coloured the same way // everywhere. `neutral` is "no signal" (plain text, no colour); the other four // map to the theme's green, amber, red and cyan (`--green`, `--amber`, // `--red`, `--cyan`). A new component that shows a status takes a `Tone` and // does not add a fifth spelling. export const TONES = ["neutral", "info", "ok", "warn", "error"] as const; export type Tone = (typeof TONES)[number];