# Token Source-of-Truth

> Define every design primitive — color, space, radius, the type scale, size, duration, z-index — exactly once as a custom property in the tokens layer, and forbid any downstream literal where a token exists.

Record: `algorithms:token-source-of-truth`
Kind: algorithm
Canonical: https://banes-lab.com/ontology/algorithms#algorithms-token-source-of-truth
Closure: https://banes-lab.com/json/records/algorithms/token-source-of-truth/closure

Listed in [Algorithm contracts](https://banes-lab.com/api/records/algorithms.md), after [Cascade Layer Partition](https://banes-lab.com/records/algorithms/cascade-layer-partition.md) and before [Type-Keyed Appearance](https://banes-lab.com/records/algorithms/type-keyed-appearance.md).

## Domain

- [CSS cascade](https://banes-lab.com/records/algorithms-domain/css-cascade.md)

## Tier

- [leaf](https://banes-lab.com/records/vocabulary/domain-tier-leaf.md)

## Composes

- [Canonical Data](https://banes-lab.com/records/algorithms/canonical-data.md)

## Composed by

- [CSS Type-Cascade Kernel](https://banes-lab.com/records/algorithms/css-type-cascade-concern.md)

## Math type

- [Set Theory](https://banes-lab.com/records/reasoning/math-type-set-theory.md)

## Force

- [Performance scaling](https://banes-lab.com/records/force/performance-scaling.md)
- [Semantic consistency](https://banes-lab.com/records/force/semantic-consistency.md)

## Linked from

- [Architecture](https://banes-lab.com/ontology/algorithms/algorithms-domain-architecture.md)
- [CSS cascade](https://banes-lab.com/ontology/algorithms/algorithms-domain-css-cascade.md)
- [The mathematics](https://banes-lab.com/ontology/reasoning/the-mathematics.md)
- [Domain tiers](https://banes-lab.com/ontology/schema/the-vocabulary-domain-tier.md)
- [The forces](https://banes-lab.com/ontology/schema/the-forces.md)
