Skip to content

If you design

There is no Figma library yet. It is on the roadmap. Until it ships, the source of truth is this site and the token files behind it, and that is a feature: a value you read here is the value the product loads. Design in any tool, but take every value from a token and every part from a component on this site.

Layer Count What it is
Primitives 145 Raw ramps and scales: color.electric.500, space.4, radius.lg. Never used directly in a screen.
Semantic 73 Roles: color.text.muted, color.primary.fill, radius.control. Every component uses only these.
Themes 4 2 brands × 2 modes. The same role resolves to a different value per theme.

Import the values into your tool from xg-tokens.json: themes.xendiz.light, themes.waardex.dark and so on hold every semantic role as a resolved color or size. Name your styles after the roles, not after the hex: text/muted, not Grey 600. Then a brand switch is one swap, not a repaint.

Every screen is designed once, in Xendiz light. Then switch the theme. If anything looks wrong in WaardeX or in dark, the screen used a value that is not a role. Find it and replace it. Use the brand switch in the header of this site to see any page in the other theme.

  • An action → Button. One primary per view.
  • A state of a campaign or partner → Status badge. The vocabulary is fixed.
  • A headline number → KPI card, with its period.
  • A list people compare → Data table, numbers right-aligned.
  • A period → Date-range picker, presets first.
  • A short task on top of the page → Modal; a confirmation → Alert dialog.

All 40 are on All components, each with use it for and not for. Whole screens are in Patterns.

The look is light, frosted and calm. Glass is for chrome: the topbar, the sidebar, toasts, the sign-up card over the page gradient. Data sits on solid cards, because numbers need a steady background. See Elevation, glass and motion.

  1. Every color, size, radius and shadow is a role from the token list. No new hex.
  2. Every part is a component from this site, used as its page says. Anything new goes through Contributing.
  3. Every widget has its loading, empty and error state drawn (States).
  4. Copy follows Writing and voice: verbs on buttons, sentence case, true minus.
  5. Checked in both brands and in dark mode.
  6. Any new text and background pair is checked for contrast on Accessibility.

First thing to do: open the workshop, switch it to WaardeX · dark, and look at the components you are about to use.