Tokens
The palette is a set of RGB channels in CSS variables (--dash-*), so the theme, the finish and the person's grey depth can each change them, and a tint is one rule: rgb(var(--dash-800) / 0.08). Tailwind has them as dash-* colours, opacity included: bg-dash-tint/[.055].
Each token is one role, the same in both themes: the surfaces step away from the page, the text steps from quiet to strong, and the colours keep their hue, a step lighter in dark so they read on near black.
Surfaces
From the page outwards. Light runs white to a soft grey; dark runs near black to a charcoal, each step a little lighter.
--dash-100The page255 255 25515 15 15--dash-shellThe shell around the view255 255 25515 15 15--dash-sideThe sidebar248.7 248.7 248.721.3 21.3 21.3--dash-frameA card's frame245.9 245.9 245.925.5 25.5 25.5--dash-200Panels and tiles248 248 24825.5 25.5 25.5--dash-300A panel's inside248 248 24825.5 25.5 25.5--dash-400Chips and wells241.7 241.7 241.740.9 40.9 40.9Text
From quietest to strongest. Dark on light, light on dark.
--dash-475Quiet marks (decorative only)150 150 150113 113 113--dash-500Muted text98 96 96170 170 170--dash-700Soft text42 39 39230 230 230--dash-800Text32 29 29241 241 241Colour
The same hues in both themes, a step lighter in dark so they read on near black.
--dash-accentThe accent: links, the open row, ticks0 113 22741 151 255--dash-accent-hoverThe accent under the pointer0 98 20477 168 255--dash-coralDanger: destructive actions, failures248 65 49255 105 92--dash-electricHighlight161 255 98161 255 98--dash-purpleHighlight104 64 255104 64 255The tint
--dash-tint is never used on its own: hovers, fills and fields mix it at a few percent over whatever they sit on, so it is a grey in light and white in dark, and in both themes it makes a surface a quiet step away from the page.
Using them
| Need | Class | Variable |
|---|---|---|
| Text | text-dash-800 | rgb(var(--dash-800)) |
| Muted text | text-dash-500 | rgb(var(--dash-500)) |
| A tile | bg-dash-200 | rgb(var(--dash-200)) |
| The quiet hover | bg-dash-tint/[.055] | rgb(var(--dash-tint) / 0.055) |
| A field | bg-dash-tint/[.06] | rgb(var(--dash-tint) / 0.06) |
| The accent | text-dash-accent | rgb(var(--dash-accent)) |
| Danger | text-dash-coral | rgb(var(--dash-coral)) |
The framework's semantic colours (surface-*, ink-*, outline-*, see Colors) are set on the same scale, so a framework component and an IntelQI one sit on the same near-black in dark.
The accent and its gradient
The accent is --dash-accent (0 113 227 in light, 41 151 255 in dark). Primary actions wear it as a soft wash with the label in the text colour; a sign-in screen's one action wears it solid. The gradient (aqua turning to blue, --dash-grad-a to --dash-grad-b) is on chips that are on, the chosen side of a switch and the logo's glow.
A site sets its own accent and gradient in IntelQI Theme Settings; apps on the site take them (With IntelQI Theme).
Type
Inter, at a regular weight of 460 and tracked a little tight (−0.01em), on the 14px body size. Titles are 600, tighter again: ui-title-xl (40px), ui-title-l (28px), ui-title-ml (20px), stepping down on phones.
Radii
| Use | Radius |
|---|---|
| Buttons and pills | half their height (a full pill) |
| Fields | 8px (12px on sign-in screens) |
| Menu rows | the panel's radius less its padding |
| Menus | 0.875em (about 12px) |
| Dialogs | the framework's, 16px |
| Tiles and record sections | 1.5em (21px at 14px) |
Motion
| Name | Value | Use |
|---|---|---|
--dash-ease | cubic-bezier(.625, .05, 0, 1) | Most transitions |
--dash-spring | a calm spring, 0.62s | Rows inserted, panels settling |
--dash-bounce | a bouncy spring, 0.76s | Ticks, marks springing in |
| The press | 0.18s in 6 steps | A pill's corners tucking square while held |
Everything follows the device's reduce-motion setting and the person's own (Custom corner).
For the desk
intelqi-ui/tokens/desk.scss is the palette at the standard look, generated from these files for the IntelQI Theme app, so the desk and the apps draw from one palette (With IntelQI Theme).