FerryDocs
ContributingWeb client

Design tokens

The colors, the radii and the fonts are in one CSS file. The dashboard and the docs site read it.

Edit on GitHub
importimporttokens.cssweb/src/styles/Dashboardglobals.cssDocs siteapp/global.css

One file has the colors, the radii and the font families.

1 / 3

A is a value of the design with a name. The file is web/src/styles/tokens.css.

The tokens are plain :

SelectorValues
:rootThe light values
.darkThe dark values

Change colors in tokens.css only

The two projects depend on this file. After a change, run the commands below.

After a change

In web/
npm run typecheck
npm run build
npm test
In docs/
npm run build

On this page