NEURALNG

TREE

Design tokens

Every token below maps to a real Tree visual decision and inherits through Neutral and application themes.

Surface

--neural-tree-color

Component foreground color.

--neural-tree-background

Component background surface.

--neural-tree-border

Component border shorthand.

--neural-tree-radius

Component corner radius.

--neural-tree-shadow

Component box shadow.

--neural-tree-padding

Component internal spacing.

--neural-tree-font-family

Component font family.

Nodes and hierarchy

--neural-tree-node-height

Node block size.

--neural-tree-node-gap

Spacing between node items.

--neural-tree-node-padding-block

Logical block-axis padding inside each Tree node.

--neural-tree-node-padding-inline

Logical inline-end padding inside each Tree node.

--neural-tree-node-radius

Node corner radius.

--neural-tree-node-background-hover

Hovered node background surface.

--neural-tree-node-background-selected

Selected node background surface.

--neural-tree-node-background-partial

Background surface of a partially selected Tree node.

--neural-tree-node-color-selected

Selected node foreground color.

--neural-tree-node-icon-color

Node icon foreground color.

--neural-tree-node-icon-size

Node icon width and height.

--neural-tree-match-color

Match foreground color.

--neural-tree-disabled-opacity

Disabled opacity.

--neural-tree-error-color

Error severity foreground color.

--neural-tree-indent

Logical inline indentation added for each nested Tree level.

Toggler and checkbox

--neural-tree-toggler-size

Toggler width and height.

--neural-tree-toggler-color

Toggler foreground color.

--neural-tree-toggler-color-hover

Hovered toggler foreground color.

--neural-tree-toggler-background-hover

Hovered toggler background surface.

--neural-tree-checkbox-size

Checkbox width and height.

--neural-tree-checkbox-radius

Checkbox corner radius.

--neural-tree-checkbox-color

Checkbox foreground color.

--neural-tree-checkbox-background

Checkbox background surface.

--neural-tree-checkbox-background-selected

Selected checkbox background surface.

--neural-tree-checkbox-border-color

Checkbox border color.

--neural-tree-checkbox-border-color-selected

Selected checkbox border color.

--neural-tree-content-gap

Spacing between content items.

Compact density

--neural-tree-compact-node-height

Compact node block size.

--neural-tree-compact-indent

Nested Tree indentation used by compact mode.

--neural-tree-compact-toggler-size

Compact toggler width and height.

--neural-tree-compact-content-gap

Spacing between compact content items.