Dashboard design tokens

The colors, type, shapes and state colors a Porter report dashboard is styled with, once for light mode and once for dark.

By , Co-founder and CEO, Porter Metrics

How to use it

RuleWhat to do
Use it whenStyling a dashboard or report page before handing it over.
First matchCheck the rows in order and take the first whose test passes. One value per item.
EvidenceKeep the quote or frame that passed the test next to the value.

Style every dashboard with these tokens, once for light and once for dark.

Rule What to do
Your brand first When the user gives their own design system, take its colors, type and shapes and keep only the rules below.
Light and dark A mode toggle in the header sets data-mode on the page root, starts from the system setting and keeps the reader’s choice.
Stylesheet The report refuses CSS custom properties: write each token as its value, once under .pm and once under .pm[data-mode=dark], and use classes in the sections instead of inline colours.
Meaning Purple is brand or selected; aqua is positive; pink is negative; yellow is pending only; neutral carries no meaning.
Token Light Dark Use
Page #F0F4F7 #0E161E Page background
Card #FFFFFF #293036 Cards and panels
Sunken #E5EEF6 #080C10 Rails and recessed zones
Text primary #0E161E #FFFFFF Titles and key figures
Text secondary #40474E #D3DCE4 Body and table values
Text muted #727A81 #A9B2BA Metadata and captions
Line #D3DCE4 #FFFFFF1A Separators
Accent #824DF7 #AF9DFF Links, eyebrows, selected state
Card edge Shadow 0 12px 12px -6px #0e161e0a, 0 6px 6px -3px #0e161e0a, 0 3px 3px -1.5px #0e161e0a, 0 1px 1px -0.5px #0e161e14, 0 0 0 1px #0e161e0f 1px border #C5BEFF33 and an inner top line #FFFFFF14 Every card
Purple family Surface #F3F2FF, text #3D1C87 Surface #12022F, text #C4B5FD Brand, selected, column and KPI headers
Aqua family Surface #DEFBF3, text #005447 Surface #005447, text #99F6E4 Positive labels
Pink family Surface #FFEFF2, text #7E1E35 Surface #7E1E35, text #FBCFE8 Negative labels
Yellow family Surface #FFFFE8, text #663D00 Surface #663D00, text #FEF3C7 Pending labels
Neutral family Surface #F0F4F7, text #586067 Surface #40474E, text #E5E7EB Filters and labels with no meaning
Type Geist; titles pair Light 300 and SemiBold 600 at -3% tracking; figures, URLs and keys in Geist Mono Same Every text
Radius Cards 20px, inner panels 14px, tags 7px, chips and pills 999px Same Every shape
Chip White fill, 1px border #A9B2BA, text #0E161E; selected #3D1C87 fill, white text Fill #293036, 1px border #FFFFFF52, white text; selected #824DF7 fill, white text Filter and date chips; state chips keep their family fill with a border in the family colour
Tag Family surface fill, soft inner shadow, 7px dot in the family colour, 12px medium text Same with dark family values Every label on a row
Key badge Key in mono on the family deep colour, value on the family surface Same Match type and other key-value pairs

Skills that use it