@affino/datagrid-theme
v0.2.2
Published
Theme tokens and presets for Affino DataGrid
Downloads
395
Readme
@affino/datagrid-theme
Theme tokens, presets, and utilities for Affino DataGrid.
What belongs here
DataGridThemeTokens- preset style configs such as
defaultStyleConfig,industrialNeutralTheme, andsugarTheme - token helpers such as
applyGridTheme,resolveGridThemeTokens, andmergeThemeTokens
What does not belong here
- grid runtime logic
- renderer-specific DOM or canvas layout code
- sandbox-only legacy table CSS
Styling direction
The preferred styling path is token-driven theming through DataGridStyleConfig.tokens and tokenVariants.
The class-based sections on DataGridStyleConfig (grid, header, body, group, summary, state) are retained for compatibility with older adapters, but they are no longer the primary styling model.
CSS assets
datagrid-demo.cssis a demo-only stylesheet asset kept for legacy/demo use.- Modern Vue app rendering should rely on token application plus renderer-owned styles instead of this demo stylesheet.
