Maple Token System

Graph Nodes

Token modifier
A DTCG modifier collection whose values may change according to the modifier's context.
Token set
A DTCG set collection whose direct values are fixed.
Atom
A contract that defines how a combination of tokens should be applied to the DOM.
Component
A complete (CSS) component definition.

Graph Edges

Token reference
A graph edge indicating the usage of tokens in one node from another.
CSS class composition
A graph edge indicating CSS Modules composition of one class by another class.
SCSS references
A graph edge indicating the usage of SCSS variables/mixins.

Layout Regions

Size
Leading edges show fixed sizes, trailing edges show minimum sizes.
Margin
Region margins
Border
Edges show border width, corners show border radius.
Padding
Region padding
Gap
Inter-content gaps

Swatches

A single color
A set of colors to be used based on state (at-rest plus one or more of hover/active/disabled/ read-only).
A pair of colors to be used to define a gradient.
A set of color pairs to be used for gradients based on state ( at-rest or more of hover/active/disabled/ read-only).
One or more shadows, with numbers showing x, y , blur and spread.
A dimension value converted to px for ease of reading.
A duration value.
A miscellaneous value
A cubic bezier curve used to describe a transition.
A typography style, showing font-size/ line-height along with font-weight.
A set of color tokens used to depict status.
A set of color tokens used to depict sentiment.