Skip to main content
Version: 1.0.4

IDataMatrixTokens

@spartanfx/react v1.0.4


@spartanfx/react / IDataMatrixTokens

Interface: IDataMatrixTokens

Customization tokens for DataMatrix styling

Properties

PropertyTypeDescription
bgColTotal?stringColumn total cells background
bgGrandTotal?stringGrand total cell background (supports gradients)
bgHeader?stringHeader background (supports gradients)
bgHover?stringHover state background
bgPrimary?stringPrimary background color
bgRowTotal?stringRow total cells background
bgSecondary?stringSecondary background color (for alternating rows)
borderHeader?stringHeader border color
borderLight?stringLight border color (for cell separators)
borderMain?stringMain border color
borderRadius?stringBorder radius (default: "12px")
borderTotal?stringTotal cells border color
borderTotalLight?stringLight total cells border color
fontFamily?stringFont family
fontSize?stringFont size (default: "14px")
shadow?stringBox shadow (default: "0 4px 24px rgba(0, 0, 0, 0.08), 0 1px 2px rgba(0, 0, 0, 0.04)")
spacing?stringSpacing unit (default: "16px")
textCorner?stringCorner cell text color (used on corner cell with bgHeader background)
textEmpty?stringEmpty state text color
textGrandTotal?stringGrand total cell text color (used with bgGrandTotal background)
textMuted?stringMuted text color (for empty cells)
textPrimary?stringPrimary text color (used on header cells with bgHeader background)
textSecondary?stringSecondary text color (used on row headers with bgPrimary background)
textTertiary?stringTertiary text color (for data cells)
textTotal?stringTotal cells text color
transitionDuration?stringTransition duration (default: "0.15s")