@spartanfx/react v1.2.2
@spartanfx/react / index / ITreeViewTokens
Interface: ITreeViewTokens
Design tokens for customizing TreeView theme and appearance.
All tokens map to CSS custom properties and support standard CSS values.
Properties
Options
| Property | Type | Description |
|---|
fontFamily? | string | Font family (default: system fonts) |
fontSize? | string | Font size (default: '14px') |
radius? | string | Border radius for rounded corners (default: '8px') |
shadowSubtle? | string | Subtle shadow for elevation (default: box-shadow value) |
spacing? | string | Base spacing unit (default: '8px') |
transitionDuration? | string | Transition duration for animations (default: '0.2s') |
Appearance & theming
| Property | Type | Description |
|---|
colorBackground? | string | Background color (default: '#ffffff') |
colorBorder? | string | Border color (default: '#e5e7eb') |
colorHover? | string | Hover background color (default: '#f3f4f6') |
colorPrimary? | string | Primary accent color (default: '#3b82f6') |
colorSelected? | string | Selected item background color (default: '#dbeafe') |
colorText? | string | Text color (default: '#1f2937') |