Customizing Grid

The following table lists the available variables for customization.

Name Type Default value Computed value
$grid-bg $component-bg
Description
Background color of the grid component
$grid-text $component-text
Description
Text color of the grid component
$grid-border $component-border rgba( black, .08 )
Description
Border color of the grid component
$grid-header-bg $header-bg
Description
Background color of grid header
$grid-header-text $header-text
Description
Text color of grid header
$grid-header-border $grid-border rgba( black, .08 )
Description
Border color of grid header
$grid-header-gradient $header-gradient
Description
Background gradient of grid header
$grid-alt-bg rgba( contrast-wcag( $grid-bg ), .04 ) rgba( contrast-wcag( $grid-bg ), .04 )
Description
Background color of alternating rows in grid
$grid-alt-text null null
Description
Text color of alternating rows in grid
$grid-alt-border null null
Description
Border color of alternating rows in grid
$grid-hovered-bg darken($grid-bg, 7%) darken($grid-bg, 7%)
Description
Background color of hovered rows in grid
$grid-hovered-text null null
Description
Text color of hovered rows in grid
$grid-hovered-border null null
Description
Border color of hovered rows in grid
$grid-selected-bg rgba($selected-bg, .25) rgba($selected-bg, .25)
Description
Background color of selected rows in grid
$grid-selected-text null null
Description
Text color of selected rows in grid
$grid-selected-border null null
Description
Border color of selected rows in grid

In this article