This page lists CSS variables for tables.

CSS variables

VariableDescription
--table-backgroundTable background color
--table-border-widthTable border width
--table-border-colorTable border color
--table-cell-vertical-alignmentCell vertical alignment
--table-white-spaceTable white-space property
--table-header-backgroundTable header background color
--table-header-background-hoverTable header background color (hover)
--table-header-border-widthTable header border width
--table-header-border-colorTable header border color
--table-header-fontTable header font family
--table-header-sizeTable header font size
--table-header-weightTable header font weight
--table-header-colorTable header text color
--table-line-heightLine height for cell text
--table-text-sizeCell font size
--table-text-colorCell text color
--table-column-max-widthColumn maximum width
--table-column-alt-backgroundAlternating column background color
--table-column-first-border-widthFirst column left border width
--table-column-last-border-widthLast column right border width
--table-row-background-hoverRow background color (hover)
--table-row-alt-backgroundAlternating row background color
--table-row-alt-background-hoverAlternating row background color (hover)
--table-row-last-border-widthLast row bottom border width
--table-selectionSelection background color
--table-selection-blend-modeSelection blend mode
--table-selection-border-colorSelection border color
--table-selection-border-widthSelection border width
--table-selection-border-radiusSelection border radius
--table-drag-handle-backgroundDrag handle background color
--table-drag-handle-background-activeDrag handle background color (active)
--table-drag-handle-colorDrag handle icon color
--table-drag-handle-color-activeDrag handle icon color (active)
--table-add-button-backgroundโ€Addโ€ button background color
--table-add-button-border-widthโ€Addโ€ button border width
--table-add-button-border-colorโ€Addโ€ button border color