# Type-Keyed Appearance

> In the globals layer, define how every element and component type looks, its size, and its spacing exactly once, keyed only by element tag, `data-el` custom type, and the orthogonal `data-*` axes (`data-variant` paint, `data-size` scale, `data-gap` child rhythm, `data-tone` palette, `data-measure` width); never key appearance by a purpose-class, and let every value be a token.

Record: `algo:type-keyed-appearance`
Kind: css-cascade
Canonical: https://banes-lab.com/ontology/algorithms#algo-type-keyed-appearance
Closure: https://banes-lab.com/json/records/algo/type-keyed-appearance/closure

## composes

- [Canonical Data](https://banes-lab.com/records/algo/canonical-data.md)
- [Domain Boundary](https://banes-lab.com/records/algo/domain-boundary.md)

## composed-by

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