1. Home
  2. Resources
  3. kanso-ui-core

The tokens

kanso-ui-core holds the tokens, in src/tokens/design.tokens.json: Kanso’s own, and the Material Design roles the components read today as aliases of the Kanso token each takes. It builds the tokens.css both libraries publish byte for byte.

An app never installs it: kanso-ui and react-native-kanso-ui take it as a pinned devDependency and bundle what they read. kanso-ui 0.59.0, which this site is built with, carries kanso-ui-core 0.8.0.

How a change travels

The Kanso UI artifact is the tokens’ source of truth. A token edited there comes back to kanso-ui-core through a pull request opened by a daily sync, then reaches both libraries with their next release and the Renovate bump that follows it. This site follows kanso-ui, so its Tokens pages move with the same bump.