CSS Variables
Below you can find the complete list of CSS variables that can be used to style the component.
Accent color#
Brand-specific accent color. This probably needs override to match your app.
--infinite-accent-color
COPY
Error color#
--infinite-error-color
COPY
Color#
The text color inside the component
--infinite-color
COPY
Space 0#
--infinite-space-0
COPY
Space 1#
--infinite-space-1
COPY
Space 2#
--infinite-space-2
COPY
Space 3#
--infinite-space-3
COPY
Space 4#
--infinite-space-4
COPY
Space 5#
--infinite-space-5
COPY
Space 6#
--infinite-space-6
COPY
Space 7#
--infinite-space-7
COPY
Space 8#
--infinite-space-8
COPY
Space 9#
--infinite-space-9
COPY
Space 10#
--infinite-space-10
COPY
Font size 0#
--infinite-font-size-0
COPY
Font size 1#
--infinite-font-size-1
COPY
Font size 2#
--infinite-font-size-2
COPY
Font size 3#
--infinite-font-size-3
COPY
Font size 4#
--infinite-font-size-4
COPY
Font size 5#
--infinite-font-size-5
COPY
Font size 6#
--infinite-font-size-6
COPY
Font size 7#
--infinite-font-size-7
COPY
Font family#
--infinite-font-family
COPY
Min height#
--infinite-min-height
COPY
Border radius#
--infinite-border-radius
COPY
Background#
The background color for the whole component.
Overriden in the
dark
theme.--infinite-background
COPY
Icon size#
--infinite-icon-size
COPY
Load mask padding#
The padding used for the content inside the LoadMask.
--infinite-load-mask-padding
COPY
Load mask color#
--infinite-load-mask-color
COPY
Load mask text background#
--infinite-load-mask-text-background
COPY
Load mask overlay background#
--infinite-load-mask-overlay-background
COPY
Load mask overlay opacity#
--infinite-load-mask-overlay-opacity
COPY
Load mask border radius#
--infinite-load-mask-border-radius
COPY
Header background#
Background color for the header. Defaults to
--infinie-header-cell-background
.Overriden in the
dark
theme.--infinite-header-background
COPY
Header color#
The text color inside the header.
Overriden in the
dark
theme.--infinite-header-color
COPY
Column header height#
The height of the column header.
--infinite-column-header-height
COPY
Header cell background#
Background for header cells.
Overriden in the
dark
theme.--infinite-header-cell-background
COPY
Header cell hover background#
--infinite-header-cell-hover-background
COPY
Header cell padding#
--infinite-header-cell-padding
COPY
Header cell padding x#
--infinite-header-cell-padding-x
COPY
Header cell padding y#
--infinite-header-cell-padding-y
COPY
Header cell icon size#
--infinite-header-cell-icon-size
COPY
Header cell menu icon line width#
--infinite-header-cell-menu-icon-line-width
COPY
Header cell sort icon margin#
--infinite-header-cell-sort-icon-margin
COPY
Resize handle active area width#
The width of the area you can hover over in order to grab the column resize handle. Defaults to
20px
.The purpose of this active area is to make it easier to grab the resize handle.
--infinite-resize-handle-active-area-width
COPY
Resize handle width#
The width of the colored column resize handle that is displayed on hover and on drag. Defaults to
2px
--infinite-resize-handle-width
COPY
Resize handle hover background#
The color of the column resize handle - the resize handle is the visible indicator that you see when hovering over the right-edge of a resizable column. Also visible on drag while doing a column resize.
--infinite-resize-handle-hover-background
COPY
Resize handle constrained hover background#
The color of the column resize handle when it has reached a min/max constraint.
--infinite-resize-handle-constrained-hover-background
COPY
Filter operator padding x#
--infinite-filter-operator-padding-x
COPY
Filter editor padding x#
--infinite-filter-editor-padding-x
COPY
Filter editor margin x#
--infinite-filter-editor-margin-x
COPY
Filter operator padding y#
--infinite-filter-operator-padding-y
COPY
Filter editor padding y#
--infinite-filter-editor-padding-y
COPY
Filter editor margin y#
--infinite-filter-editor-margin-y
COPY
Filter editor background#
--infinite-filter-editor-background
COPY
Filter editor border#
--infinite-filter-editor-border
COPY
Filter editor focus border color#
--infinite-filter-editor-focus-border-color
COPY
Filter editor border radius#
--infinite-filter-editor-border-radius
COPY
Filter editor color#
--infinite-filter-editor-color
COPY
Cell padding#
--infinite-cell-padding
COPY
Cell border width#
--infinite-cell-border-width
COPY
Cell border#
Specifies the border for cells.
Overriden in the
dark
theme - eg: 1px solid #2a323d
--infinite-cell-border
COPY
Cell border invisible#
--infinite-cell-border-invisible
COPY
Cell border radius#
--infinite-cell-border-radius
COPY
Column reorder effect duration#
--infinite-column-reorder-effect-duration
COPY
Pinned cell border#
--infinite-pinned-cell-border
COPY
Cell color#
Text color inside rows. Defaults to
currentColor
Overriden in
dark
theme.--infinite-cell-color
COPY
Selected cell background#
The background for selected cells, when cell selection is enabled.
If not specified, it will default to
var(--infinite-active-cell-background)
.--infinite-selected-cell-background
COPY
Selected cell background default#
--infinite-selected-cell-background-default
COPY
Selected cell background alpha#
The opacity of the background color for the selected cell.
If not specified, it will default to the value for
var(--infinite-active-cell-background-alpha)
--infinite-selected-cell-background-alpha
COPY
Selected cell background alpha table unfocused#
The opacity of the background color for the selected cell, when the table is unfocused. If not specified, it will default to
var(--infinite-active-cell-background-alpha--table-unfocused)
.--infinite-selected-cell-background-alpha--table-unfocused
COPY
Selected cell border color#
The color for border of the selected cell (when cell selection is enabled). Defaults to
var(--infinite-active-cell-border-color)
.--infinite-selected-cell-border-color
COPY
Selected cell border width#
The width of the border for the selected cell. Defaults to
var(--infinite-active-cell-border-width)
.--infinite-selected-cell-border-width
COPY
Selected cell border style#
The style of the border for the selected cell (eg: 'solid', 'dashed', 'dotted') - defaults to 'dashed'. Defaults to
var(--infinite-active-cell-border-style)
.--infinite-selected-cell-border-style
COPY
Selected cell border#
Specifies the border for the selected cell. Defaults to
var(--infinite-selected-cell-border-width) var(--infinite-selected-cell-border-style) var(--infinite-selected-cell-border-color)
.--infinite-selected-cell-border
COPY
Active cell background alpha#
The opacity of the background color for the active cell (when cell keyboard navigation is enabled). Eg: 0.25
If
activeBackground
is not explicitly defined (this is the default), the background color of the active cell is the same as the border color (activeBorderColor
), but with this modified opacity.If
activeBorderColor
is also not defined, the accent color will be used.This is applied when the component has focus.
--infinite-active-cell-background-alpha
COPY
Active cell background alpha table unfocused#
Same as the above, but applied when the component does not have focus.
--infinite-active-cell-background-alpha--table-unfocused
COPY
Active cell background#
The background color of the active cell.
If not specified, it will default to
activeBorderColor
with the opacity of activeBackgroundAlpha
. If activeBorderColor
is not specified, it will default to the accent color, with the same opacity as mentioned.However, specify this to explicitly override the default.
--infinite-active-cell-background
COPY
Active cell background default#
--infinite-active-cell-background-default
COPY
Active cell border color#
The color for border of the active cell (when cell keyboard navigation is enabled).
--infinite-active-cell-border-color
COPY
Active cell border width#
The width of the border for the active cell.
--infinite-active-cell-border-width
COPY
Active cell border style#
The style of the border for the active cell (eg: 'solid', 'dashed', 'dotted') - defaults to 'dashed'.
--infinite-active-cell-border-style
COPY
Active cell border#
Specifies the border for the active cell. Defaults to
var(--infinite-active-cell-border-width) var(--infinite-active-cell-border-style) var(--infinite-active-cell-border-color)
.--infinite-active-cell-border
COPY
Selection checkbox margin inline#
--infinite-selection-checkbox-margin-inline
COPY
Menu background#
--infinite-menu-background
COPY
Menu color#
--infinite-menu-color
COPY
Menu padding#
--infinite-menu-padding
COPY
Menu cell padding vertical#
--infinite-menu-cell-padding-vertical
COPY
Menu cell padding horizontal#
--infinite-menu-cell-padding-horizontal
COPY
Menu cell margin vertical#
--infinite-menu-cell-margin-vertical
COPY
Menu item disabled background#
--infinite-menu-item-disabled-background
COPY
Menu item active background#
--infinite-menu-item-active-background
COPY
Menu item active opacity#
--infinite-menu-item-active-opacity
COPY
Menu item pressed opacity#
--infinite-menu-item-pressed-opacity
COPY
Menu item pressed background#
--infinite-menu-item-pressed-background
COPY
Menu item disabled opacity#
--infinite-menu-item-disabled-opacity
COPY
Menu border radius#
--infinite-menu-border-radius
COPY
Menu shadow color#
--infinite-menu-shadow-color
COPY
Rowdetail background#
--infinite-rowdetail-background
COPY
Rowdetail padding#
--infinite-rowdetail-padding
COPY
Rowdetail grid height#
--infinite-rowdetail-grid-height
COPY
Row background#
Background color for rows. Defaults to
--infinite-background
.Overriden in
dark
theme.--infinite-row-background
COPY
Row odd background#
Background color for odd rows. Even rows will use
--infinite-row-background
.Overriden in
dark
theme.--infinite-row-odd-background
COPY
Row selected background#
--infinite-row-selected-background
COPY
Active row background#
The background color of the active row. Defaults to the value of
var(--infinite-active-cell-background)
.However, specify this to explicitly override the default.
--infinite-active-row-background
COPY
Active row border color#
The border color for the active row. Defaults to the value of
var(--infinite-active-cell-border-color)
.--infinite-active-row-border-color
COPY
Active row border width#
The width of the border for the active row. Defaults to the value of
var(--infinite-active-cell-border-width)
.--infinite-active-row-border-width
COPY
Active row border style#
The style of the border for the active row (eg: 'solid', 'dashed', 'dotted') - defaults to the value of
var(--infinite-active-cell-border-style)
, which is dashed
by default.--infinite-active-row-border-style
COPY
Active row border#
Specifies the border for the active row. Defaults to
var(--infinite-active-row-border-width) var(--infinite-active-row-border-style) var(--infinite-active-row-border-color)
.--infinite-active-row-border
COPY
Active row background alpha#
The opacity of the background color for the active row (when row keyboard navigation is enabled). When you explicitly specify
--infinite-active-row-background
, this variable will not be used. Instead, this variable is used when the active row background uses the color of the active cell (border).This is applied when the component has focus.
Defaults to the value of
var(--infinite-active-cell-background-alpha)
.--infinite-active-row-background-alpha
COPY
Active row background alpha table unfocused#
Same as the above, but applied when the component does not have focus.
When you explicitly specify
--infinite-active-row-background
, this variable will not be used. Instead, this variable is used when the active row background uses the color of the active cell (border).Defaults to the value of
var(--infinite-active-cell-background-alpha--table-unfocused)
.--infinite-active-row-background-alpha--table-unfocused
COPY
Row hover background#
Background color for rows, on hover.
Overriden in the
dark
theme.--infinite-row-hover-background
COPY
Row selected hover background#
--infinite-row-selected-hover-background
COPY
Group row background#
--infinite-group-row-background
COPY
Group row column nesting#
--infinite-group-row-column-nesting
COPY
Row pointer events while scrolling#
--infinite-row-pointer-events-while-scrolling ```{/* END VARS */}
COPY