Ignite UISass API
ComponentsGet Started

themes

#

functionsizablepublicview codeopen_in_new

Used to switch between values based on the size of the component. The passed sizes are converted to absolute values before comparing.

Example
--size: #{sizable(rem(40px), rem(64px), rem(88px))};
Parameters
NameTypeDefaultDescription
$sm*
Number
-The preferred value when the component's size is small.
$md
Number
$smThe preferred value when the component's size is medium.
$lg
Number
$mdThe preferred value when the component's size is large.
#

functioncategory-chart-themepublicview codeopen_in_new

Example
$custom-chart-theme: category-chart-theme($brushes: (red, green, blue));
// Pass the theme to the tokens() mixin
@include tokens($custom-chart-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$margin
List
nullSets the margin (top, right, bottom, left) of the chart content.
$brushes
List
seriesDefines the palette from which automatically assigned series brushes colors are selected.
$marker-brushes
List
seriesDefines the palette from which automatically assigned series marker brushes colors are selected.
$negative-brushes
List
seriesDefines the palette used for coloring negative items in a chart type with contextual coloring, such as Waterfall.
$outlines
List
seriesDefines the palette from which automatically assigned series outline colors are selected.
$marker-outlines
List
seriesDefines the palette from which automatically assigned series marker outline colors are selected.
$negative-outlines
List
seriesDefines the brushes used for drawing negative elements in a chart type with contextual coloring, such as Waterfall.
$title-alignment
String
nullThe horizontal alignment to use for the title.
$title-margin
List
nullSets the margin (top, right, bottom, left) of the chart title.
$title-text-color
Color
nullSets the color of the chart title.
$title-text-style
String
nullSets the CSS font property of the chart title.
$subtitle-margin
List
nullSets the margins (top, right, bottom, left) of the chart subtitle.
$subtitle-alignment
String
nullThe horizontal alignment to use for the subtitle.
$subtitle-text-color
Color
nullSets the color of the chart subtitle.
$subtitle-text-style
String
nullSets the CSS font property of the chart subtitle.
$thickness
Number
nullSets the thickness for all series in a chart.
$trend-line-brushes
List
seriesDefines the palette of brushes used for coloring trend lines in a chart.
$trend-line-thickness
Number
nullSets the thickness of the trend lines in a chart of type point, line, spline or bubble.
$x-axis-label-margin
List
nullSets the margin (top, right, bottom, left) of labels on the X-axis.
$x-axis-label-text-color
Color
nullSets the color of labels on the X-axis.
$x-axis-label-text-style
String
nullSets the CSS font property for labels on X-axis.
$x-axis-label-vertical-alignment
String
nullSets the vertical alignment of X-axis labels.
$x-axis-major-stroke
Color
nullSets the color to apply to major gridlines along the X-axis.
$x-axis-major-stroke-thickness
Number
nullSets the thickness to apply to major gridlines along the X-axis.
$x-axis-minor-stroke
Color
nullSets the color to apply to minor gridlines along the X-axis.
$x-axis-minor-stroke-thickness
Number
nullSets the thickness to apply to minor gridlines along the X-axis.
$x-axis-strip
Color
nullSets the color to apply to stripes along the X-axis.
$x-axis-stroke
Color
nullSets the color to apply to the X-axis line.
$x-axis-stroke-thickness
Number
nullSets the thickness to apply to the X-axis line.
$x-axis-tick-length
Number
nullSets the length of tickmarks along the X-axis.
$x-axis-tick-stroke
Color
nullSets the color to apply to tickmarks along the X-axis.
$x-axis-tick-stroke-thickness
Number
nullSets the thickness to apply to tickmarks along the X-axis.
$x-axis-title-alignment
String
nullSets the horizontal alignment of the X-axis title.
$x-axis-title-margin
List
nullSets the margin (top, right, bottom, left) of a title on the X-axis.
$x-axis-title-text-color
Color
nullSets the color of the title on the X-axis.
$x-axis-title-text-style
String
nullSets the CSS font property for the title on the X-axis.
$y-axis-label-margin
List
nullSets the margin (top, right, bottom, left) of labels on the Y-axis.
$y-axis-label-text-color
Color
nullSets the color of labels on the Y-axis.
$y-axis-label-text-style
String
nullSets the CSS font property for labels on Y-axis.
$y-axis-label-vertical-alignment
String
nullSets the vertical alignment of Y-axis labels.
$y-axis-major-stroke
Color
nullSets the color to apply to major gridlines along the y-axis.
$y-axis-major-stroke-thickness
Number
nullSets the thickness to apply to major gridlines along the Y-axis.
$y-axis-minor-stroke
Color
nullSets the color to apply to minor gridlines along the Y-axis.
$y-axis-minor-stroke-thickness
Number
nullSets the thickness to apply to minor gridlines along the Y-axis.
$y-axis-strip
Color
nullSets the color to apply to stripes along the Y-axis.
$y-axis-stroke
Color
nullSets the color to apply to the Y-axis line.
$y-axis-stroke-thickness
Number
nullSets the thickness to apply to the Y-axis line.
$y-axis-title-alignment
String
nullSets the horizontal alignment of the Y-axis title.
$y-axis-title-margin
List
nullSets the margin (top, right, bottom, left) of a title on the Y-axis.
$y-axis-title-text-color
Color
nullSets the color of a title on the Y-axis.
$y-axis-title-text-style
String
nullSets the CSS font property for the title on the Y-axis.
$y-axis-tick-length
Number
nullSets the length of tickmarks along the Y-axis.
$y-axis-tick-stroke
Color
nullSets the color to apply to tickmarks along the Y-axis.
$y-axis-tick-stroke-thickness
Number
nullSets the thickness to apply to tickmarks along the Y-axis.
#

functiondata-chart-themepublicview codeopen_in_new

Example
$my-chart-theme: data-chart-theme($brushes: (orange, blue, pink));
// Pass the theme to the tokens() mixin
@include tokens($my-chart-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$margin
List
nullSets the margin (top, right, bottom, left) of the chart content.
$title-text-color
Color
nullSets the color of the chart title.
$title-margin
List
nullSets the margin (top, right, bottom, left) of the chart title.
$subtitle-text-color
Color
nullSets the color of the chart subtitle.
$subtitle-margin
List
nullSets the margins (top, right, bottom, left) of the chart subtitle.
$brushes
List
nullDefines the palette from which automatically assigned series colors are selected.
$marker-brushes
List
nullDefines the palette from which automatically assigned marker brushes are selected.
$outlines
List
nullDefines the palette from which automatically assigned series outline colors are selected.
$marker-outlines
List
nullDefines the palette from which automatically assigned marker outlines are selected.
$plot-area-background
Color
nullSets the brush used as the background for the current Chart object's plot area.
$title-horizontal-alignment
String
nullThe horizontal alignment to use for the title. Valid options are 'left', 'center', and 'right';
$subtitle-horizontal-alignment
String
nullThe horizontal alignment to use for the subtitle. Valid options are 'left', 'center', and 'right';
$axis-label-margin
List
nullSets the margin (top, right, bottom, left) of labels on the both axes.
$axis-label-text-color
Color
nullSets the color of labels on both axes.
$axis-label-text-style
String
nullSets the CSS font property for labels on both axes.
$axis-label-vertical-alignment
String
nullSets the vertical alignment of X-axis labels.
$axis-major-stroke
Color
nullSets the color to apply to major gridlines along both axes.
$axis-major-stroke-thickness
Number
nullSets the thickness to apply to major gridlines on both axes.
$axis-minor-stroke
Color
nullSets the color to apply to minor gridlines along both axes.
$axis-minor-stroke-thickness
Number
nullSets the thickness to apply to minor gridlines along both axes.
$axis-strip
Color
nullSets the color to apply to stripes along both axes.
$axis-stroke
Color
nullSets the color to apply to both axes.
$axis-stroke-thickness
Number
nullSets the thickness to apply to both axes.
$axis-tick-length
Number
nullSets the length of tickmarks along both axes.
$axis-tick-stroke
Color
nullSets the color to apply to tickmarks along both axes.
$axis-tick-stroke-thickness
Number
nullSets the thickness to apply to tickmarks along both axes.
$axis-title-alignment
String
nullSets the horizontal alignment of both axes.
$axis-title-margin
List
nullSets the margin (top, right, bottom, left) of a title on both axes.
$axis-title-text-color
Color
nullSets the color of the title on the X-axis.
$axis-title-text-style
String
nullSets the CSS font property for the title on both axes.
#

functiondoughnut-chart-themepublicview codeopen_in_new

Example
$my-chart-theme: doughnut-chart-theme($brushes: (orange, blue, pink));
// Pass the theme to the tokens() mixin
@include tokens($my-chart-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$others-category-fill
Color
nullSets the fill color for others category.
$others-category-opacity
Number
nullSets the opacity for others category.
$others-category-stroke
Color
nullSets the others category stroke color.
$others-category-stroke-thickness
Number
nullSets the others category stroke thickness.
$selected-slice-fill
Color
nullSets the fill color of the selected slice.
$selected-slice-opacity
Number
nullSets the opacity of the selected slice.
$selected-slice-stroke
Color
nullSets the stroke color of the selected slice.
$selected-slice-stroke-thickness
Number
nullSets the stroke thickness of the selected slice.
#

functionlinear-gauge-themepublicview codeopen_in_new

Example
$custom-gauge-theme: linear-gauge-theme($brushes: (red, green, blue));
// Pass the theme to the tokens() mixin
@include tokens($custom-gauge-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$backing-brush
Color
nullSets the color to use to fill the backing of the linear gauge.
$backing-outline
Color
nullSets the color to use for the outline of the backing.
$backing-stroke-thickness
Number
nullSets the stroke thickness of the backing outline.
$font-brush
Color
nullSets the color to use for the label font.
$minor-tick-stroke-thickness
Number
nullSets the stroke thickness to use when rendering minor ticks.
$needle-breadth
Number
nullSets the needle breadth.
$needle-brush
Color
nullSets the color to use for the needle element.
$needle-inner-base-width
Number
nullSets the width of the needle's inner base.
$needle-inner-point-width
Number
nullSets the width of the needle's inner point.
$needle-outer-base-width
Number
nullSets the width of the needle's outer base.
$needle-outer-point-width
Number
nullSets the width of the needle's outer point.
$needle-outline
Color
nullSets the color to use for the outline of needle element.
$needle-stroke-thickness
Number
nullSets the stroke thickness to use when rendering single actual value element.
$range-brushes
List
nullSets a collection of colors to be used as the palette for linear gauge ranges.
$range-outlines
List
nullSets a collection of colors to be used as the palette for linear gauge outlines.
$scale-brush
Color
nullSets the color to use to fill the scale of the linear gauge.
$scale-outline
Color
nullSets the color to use for the outline of the scale.
$scale-stroke-thickness
Number
nullSets the stroke thickness of the scale outline.
$tick-brush
Color
nullSets the color to use for the major tickmarks.
$tick-stroke-thickness
Number
nullSets the stroke thickness to use when rendering ticks.
#

functionradial-gauge-themepublicview codeopen_in_new

Example
$custom-gauge-theme: radial-gauge-theme($brushes: (red, green, blue));
// Pass the theme to the tokens() mixin
@include tokens($custom-gauge-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$target
Map
'angular'The target platform to be used when scoping the theme variables.
$width
Map
nullThe width of the gauge in pixels, string (px) or percentage (%).
$height
Map
nullThe height of the gauge in pixels, string (px) or percentage (%).
$backing-brush
Color
nullSets the color to use to fill the backing of the linear gauge.
$backing-outline
Color
nullSets the color to use for the outline of the backing.
$backing-stroke-thickness
Number
nullSets the stroke thickness of the backing outline.
$font-brush
Color
nullSets the color to use for the label font.
$minor-tick-stroke-thickness
Number
nullSets the stroke thickness to use when rendering minor ticks.
$needle-brush
Color
nullSets the color to use for the needle element.
$needle-outline
Color
nullSets the color to use for the outline of needle element.
$needle-stroke-thickness
Number
nullSets the stroke thickness to use when rendering single actual value element.
$range-brushes
List
nullSets a collection of colors to be used as the palette for linear gauge ranges.
$range-outlines
List
nullSets a collection of colors to be used as the palette for linear gauge outlines.
$scale-brush
Color
nullSets the color to use to fill the scale of the linear gauge.
$tick-brush
Color
nullSets the color to use for the major tickmarks.
$tick-stroke-thickness
Number
nullSets the stroke thickness to use when rendering ticks.
$needle-pivot-brush
Color
nullSets the color of the needle pivot point.
$needle-pivot-outline
Color
nullSets the outline color of the needle pivot point.
#

functionbullet-graph-themepublicview codeopen_in_new

Example
$my-chart-theme: bullet-graph-theme($brushes: (orange, blue, pink));
// Pass the theme to the tokens() mixin
@include tokens($my-chart-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$backing-brush
Color
nullSets the brush to use to fill the backing of the bullet graph.
$backing-outline
Color
nullSets the brush to use for the outline of the backing.
$backing-stroke-thickness
Number
nullSets the stroke thickness of the backing outline.
$font-brush
Color
nullSets the brush to use for the label font.
$minor-tick-brush
Color
nullSets the brush to use for the minor tickmarks.
$minor-tick-thickness
Number
nullStroke thickness to use when rendering minor ticks.
$range-brushes
List
nullSets a collection of brushes to be used as the palette for bullet graph ranges.
$range-outlines
List
nullSets a collection of brushes to be used as the palette for bullet graph outlines.
$scale-background-brush
Color
nullSets the background brush for the scale.
$scale-background-outline
Color
nullSets the background outline for the scale.
$scale-background-thickness
Number
nullSets the background outline thickness for the scale.
$target-value-breadth
Number
nullSets the breadth of the target value element.
$target-value-brush
Color
nullSets the brush to use when rendering the fill of the comparative marker.
$target-value-outline
Color
nullSets the brush to use when rendering the outline of the target value.
$target-value-thickness
Number
nullSets the stroke thickness of the outline of the target value bar.
$tick-brush
Color
nullSets the brush to use for the major tickmarks.
$tick-stroke-thickness
Number
nullSets the stroke thickness to use when rendering ticks.
$value-brush
Color
nullSets the brush to use for the actual value element.
$value-outline
Color
nullSets the brush to use for the outline of actual value element.
$value-stroke-thickness
Number
nullSets the stroke thickness to use when rendering single actual value element.
#

functionpie-chart-themepublicview codeopen_in_new

Example
$my-chart-theme: pie-chart-theme($brushes: (red, orange, blue));
// Pass the theme to the tokens() mixin
@include tokens($my-chart-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$brushes
List
seriesDefines the palette from which automatically assigned series colors are selected.
$outlines
List
seriesDefines the palette from which automatically assigned series outline colors are selected.
$label-extent
Number
nullSets the pixel amount by which the labels are offset from the edge of the slices.
$label-inner-color
Color
nullSets the color for labels rendered inside of the pie chart.
$label-outer-color
Color
nullSets the color for labels rendered outside of the pie chart.
$labels-position
String
nullSets the position of chart labels. Valid values are: 'none', 'center', 'insideEnd', 'outsideEnd', and 'bestFit'.
$leader-line-margin
Number
nullSets the margin between a label and the end of its leader line.
$leader-line-type
String
nullSets what type of leader lines will be used for the outside end labels. Valid values are: 'straight', 'spline', and 'arc'.
$leader-line-visibility
String
nullSets whether the leader lines are visible. Valid values are: 'visible' and 'collapsed'.
$radius-factor
Number
nullSets the scaling factor of the chart's radius. Value between 0 and 1.
#

functionshape-chart-themepublicview codeopen_in_new

Example
$my-chart-theme: shape-chart-theme($brushes: (orange, blue, pink));
// Pass the theme to the tokens() mixin
@include tokens($my-chart-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$margin
List
nullSets the margin (top, right, bottom, left) of the chart content.
$title-alignment
Color
nullSets horizontal alignment which determines the title position, relative to the left and right edges of the control.
$title-text-color
Color
nullSets the color of the chart title.
$title-margin
List
nullSets the margin (top, right, bottom, left) of the chart title.
$subtitle-alignment
String
nullSets horizontal alignment which determines the subtitle position, relative to the left and right edges of the control.
$subtitle-text-color
Color
nullSets the color of the chart subtitle.
$subtitle-margin
List
nullSets the margins (top, right, bottom, left) of the chart subtitle.
$brushes
List
nullDefines the palette from which automatically assigned series colors are selected.
$marker-brushes
List
nullSets the palette of brushes used for rendering fill area of data point markers.
$outlines
List
nullSets the palette of brushes to use for outlines on the chart series.
$marker-outlines
List
nullSets the palette of brushes used for rendering outlines of data point markers.
$thickness
Number
nullSets the thickness for all series in this chart.
$trend-line-brushes
List
nullSets the palette of brushes to used for coloring trend lines in this chart.
$trend-line-thickness
Number
nullSets the thickness of the trend lines in this chart. This property applies only to these chart types: point, line, spline, and bubble.
$x-axis-label-margin
List
nullSets the margin of labels on the X-axis.
$x-axis-label-text-color
Color
nullSets color of labels on the X-axis.
$x-axis-label-vertical-alignment
String
nullSets Vertical alignment of X-axis labels.
$x-axis-major-stroke
Color
nullSets the color to apply to major gridlines along the X-axis.
$x-axis-major-stroke-thickness
Number
nullSets the thickness to apply to major gridlines along the X-axis.
$x-axis-minor-stroke
Color
nullSets the color to apply to minor gridlines along the X-axis.
$x-axis-minor-stroke-thickness
Number
nullSets the thickness to apply to minor gridlines along the X-axis.
$x-axis-strip
Color
nullSets the color to apply to stripes along the X-axis.
$x-axis-stroke
Color
nullSets the color to apply to the X-axis line.
$x-axis-stroke-thickness
Number
nullSets the thickness to apply to the X-axis line.
$x-axis-title-alignment
String
nullSets Horizontal alignment of the X-axis title.
$x-axis-title-color
Color
nullSets color of title on the X-axis.
$x-axis-title-margin
List
nullSets the margin around the title on the X-axis.
$y-axis-label-margin
List
nullSets the margin of labels on the Y-axis.
$y-axis-label-text-color
Color
nullSets color of labels on the Y-axis.
$y-axis-label-vertical-alignment
String
nullSets Vertical alignment of Y-axis labels.
$y-axis-major-stroke
Color
nullSets the color to apply to major gridlines along the Y-axis.
$y-axis-major-stroke-thickness
Number
nullSets the thickness to apply to major gridlines along the Y-axis.
$y-axis-minor-stroke
Color
nullSets the color to apply to minor gridlines along the Y-axis.
$y-axis-minor-stroke-thickness
Number
nullSets the thickness to apply to minor gridlines along the Y-axis.
$y-axis-strip
Color
nullSets the color to apply to stripes along the Y-axis.
$y-axis-stroke
Color
nullSets the color to apply to the Y-axis line.
$y-axis-stroke-thickness
Number
nullSets the thickness to apply to the Y-axis line.
$y-axis-title-alignment
String
nullSets Horizontal alignment of the Y-axis title.
$y-axis-title-color
Color
nullSets color of title on the Y-axis.
$y-axis-title-margin
List
nullSets the margin around the title on the Y-axis.
#

functionsparkline-themepublicview codeopen_in_new

Example
$my-sparkline-theme: sparkline-theme($brushes: (orange, blue, pink));
// Pass the theme to the tokens() mixin
@include tokens($my-sparkline-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$brush
Color
nullSets the sparkline brush.
$line-thickness
Number
nullSets the line thickness of the sparkline.
$marker-brush
Color
nullSets the marker brush of the sparkline.
$marker-size
Color
nullSets the marker size of the sparkline.
$first-marker-brush
Color
nullSets the first marker brush of the sparkline.
$first-marker-size
Number
nullSets the first marker size of the sparkline.
$last-marker-brush
Color
nullSets the last marker brush of the sparkline.
$last-marker-size
Number
nullSets the last marker size of the sparkline.
$low-marker-brush
Color
nullSets the low marker brush of the sparkline.
$low-marker-size
Number
nullSets the low marker size of the sparkline.
$high-marker-brush
Color
nullSets the high marker brush of the sparkline.
$high-marker-size
Number
nullSets the high marker size of the sparkline.
$negative-brush
Color
nullSets the negative brush of the sparkline.
$negative-marker-brush
Color
nullSets the negative marker brush of the sparkline.
$negative-marker-size
Number
nullSets the negative marker size of the sparkline.
$trend-line-brush
Color
nullSets the trendline brush of the sparkline.
$trend-line-thickness
Color
nullSets the thickness of the sparkline's trendline.
$horizontal-axis-brush
Color
nullSets the horizontal axis line brush of the sparkline.
$vertical-axis-brush
Color
nullSets the vertical axis line brush of the sparkline.
$normal-range-fill
Color
nullSets the normal range brush of the sparkline.
#

functionaction-strip-themepublicview codeopen_in_new

Action Strip Theme PRIMARY TOKENS: - `$actions-background` — The actions background color. Derived colors are auto-calculated for contrast.

Example

Change the background and icon colors in action strip

$my-action-strip-theme: action-strip-theme($background: black);
// Pass the theme to the tokens() mixin
@include tokens($my-action-strip-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$icon-color
Color
nullThe color used for the actions icons. Auto-derived from actions-background.
$background
Color
nullThe color used for the action strip component content background.
$actions-background
Color
nullThe color used for the actions background. PRIMARY - derives icon-color.
$delete-action
Color
nullThe color used for the delete icon in action strip component.
$actions-border-radius
List
nullThe border radius used for actions container inside action strip component.
#

functionavatar-themepublicview codeopen_in_new

Avatar Theme PRIMARY TOKENS: - `$background` — The avatar background color. Derived colors are auto-calculated for contrast.

Example

Change the background and icon colors in icon avatars

$my-avatar-theme: avatar-theme($icon-background: black, $icon-color: white);
// Pass the theme to the tokens() mixin
@include tokens($my-avatar-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color used of the avatar. PRIMARY - derives color, icon-color.
$color
Color
nullThe text color used of the avatar. Auto-derived from background.
$icon-color
Color
nullThe icon color used of the avatar. Auto-derived from background.
$border-radius
Number
nullThe border-radius used of the avatar.
$size
Number
nullThe size of the avatar.
#

functionbadge-themepublicview codeopen_in_new

Badge Theme PRIMARY TOKENS: - `$background-color` — The badge background color. Setting just `$background-color` will create a complete badge theme with proper text/icon contrast.

Example

Change the text and icon colors in a badge

$my-badge-theme: badge-theme($icon-color: black, $background-color: white);
// Pass the theme to the tokens() mixin
@include tokens($my-badge-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$icon-color
Color
nullThe icon color used. Auto-derived from background-color.
$text-color
Color
nullThe text color used. Auto-derived from background-color.
$border-color
Color
nullThe border color used.
$background-color
Color
nullThe background color used. PRIMARY - derives icon-color and text-color.
$shadow
List
nullSets a shadow to be used for the badge.
$border-radius
Number
nullThe border radius used for badge component.
$size
Number
nullThe size of the badge component.
$dot-size
Number
nullThe size of the dot type badge.
#

functionbanner-themepublicview codeopen_in_new

Banner Theme PRIMARY TOKENS: - `$banner-background` — The banner background color. Derived colors are auto-calculated for contrast.

Example

Change the background in banner

$my-banner-theme: banner-theme($banner-background: #000);
// Pass the theme to the tokens() mixin
@include tokens($my-banner-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$banner-background
Color
nullThe color used for the banner background. PRIMARY - derives message and illustration colors.
$banner-message-color
Color
nullThe color used for the banner label. Auto-derived from banner-background.
$banner-border-color
Color
nullThe color used for the banner border.
$banner-illustration-color
Color
nullThe color used for the banner illustration. Auto-derived from banner-background.
$border-radius
Number
nullThe border-radius for the banner.
#

functionbottom-nav-themepublicview codeopen_in_new

Bottom Navigation Theme PRIMARY TOKENS: - `$background` — The bar background color. - `$label-color` or `$icon-color` - Idle state colors. Either one derives the other, plus disabled colors. - `$label-selected-color` or `$icon-selected-color` - Selected state colors. Either one derives the other. Derived colors are auto-calculated for contrast.

Example

Set a custom background color

$my-bottom-nav-theme: bottom-nav-theme($background: black);
// Pass the theme to the tokens() mixin
@include tokens($my-bottom-nav-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color used for the bar. PRIMARY - derives label-color, icon-color.
$label-color
Color
nullThe label color used in idle state. Auto-derived from background. Derives icon-color if not set.
$icon-color
Color
nullThe icon color used in idle state. Auto-derived from label-color if not set.
$label-selected-color
Color
nullThe label color used in selected state. Derives icon-selected-color if not set.
$icon-selected-color
Color
nullThe icon color used in selected state. Auto-derived from label-selected-color if not set.
$icon-disabled-color
Color
nullThe disabled color of the icon. Auto-derived from label-disabled-color if not set.
$label-disabled-color
Color
nullThe disabled color of the label. Auto-derived from label-color.
$border-color
Color
nullThe border color of the bottom navigation.
$shadow
List | Number
nullSets a shadow to be used for the bar.
#

functionbreadcrumb-themepublicview codeopen_in_new

Breadcrumb Theme PRIMARY TOKENS: - `$text-color` — The text color of the breadcrumb.

Example

Change the text and icon color of the breadcrumb:

$my-breadcrumb-theme: breadcrumb-theme(
$text-color: magenta,
$icon-color: cyan
);
// Pass the theme to the tokens() mixin
@include tokens($my-breadcrumb-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$text-color
Color
nullThe text color of the breadcrumb.
$icon-color
Color
nullThe color of the breadcrumb icon. Auto-derived from text-color.
$current-text-color
Color
nullThe text color of the currently selected breadcrumb item.
$current-icon-color
Color
nullThe icon color of the currently selected breadcrumb item.
$pressed-text-color
Color
nullThe text color of the breadcrumb when pressed. Auto-derived from text-color.
$pressed-icon-color
Color
nullThe color of the breadcrumb icon when pressed. Auto-derived from pressed-text-color.
$hover-text-color
Color
nullThe text color of the breadcrumb when hovered. Auto-derived from text-color.
$hover-icon-color
Color
nullThe color of the breadcrumb icon when hovered. Auto-derived from hover-text-color.
$focus-text-color
Color
nullThe text color of the breadcrumb when focused. Auto-derived from text-color.
$focus-icon-color
Color
nullThe color of the breadcrumb icon when focused. Auto-derived from focus-text-color.
$focus-underline-color
Color
nullThe text underline color of the breadcrumb on focus. Auto-derived from focus-text-color. Only used in the Material theme.
$focus-border-color
Color
nullThe focus border color.
$focus-hover-text-color
Color
nullThe text color of the breadcrumb when focused and hovered. Auto-derived from hover-text-color.
$focus-hover-icon-color
Color
nullThe color of the breadcrumb icon when focused and hovered. Auto-derived from focus-hover-text-color.
$focus-hover-underline-color
Color
nullThe text underline color of the breadcrumb on focus and hover. Auto-derived from focus-hover-text-color. Only used in the Material theme.
$focus-pressed-text-color
Color
nullThe text color of the breadcrumb when focused and pressed. Auto-derived from pressed-text-color.
$focus-pressed-icon-color
Color
nullThe color of the breadcrumb icon when focused and pressed. Auto-derived from focus-pressed-text-color.
$focus-pressed-underline-color
Color
nullThe text underline color of the breadcrumb on focus and pressed. Auto-derived from focus-pressed-text-color. Only used in the Material theme.
$disabled-text-color
Color
nullThe text color of the breadcrumb when disabled.
$disabled-icon-color
Color
nullThe color of the breadcrumb icon when disabled. Auto-derived from disabled-text-color.
$separator-color
Color
nullThe color of the breadcrumb separator.
#

functionbutton-group-themepublicview codeopen_in_new

Button Group Theme PRIMARY TOKENS: - `$item-background` — The base item background. - `$item-selected-background` — The selected item background. Derived colors are auto-calculated for contrast.

Example

Change the background, text, and border colors

$my-button-group-theme: button-group-theme(
$item-text-color: white,
$item-background: rgba(0, 0, 0, .8),
$item-border-color: #dadada
);
// Pass the theme to the tokens() mixin
@include tokens($my-button-group-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$shadow
List
nullThe shadow to be applied for the button group.
$item-text-color
Color
nullThe text color for button group items. Auto-derived from item-background.
$item-icon-color
color
nullThe icon color for button group items. Auto-derived from item-text-color.
$item-background
Color
nullThe background color for button group items. PRIMARY - derives all state colors.
$item-border-color
Color
nullThe border color between button group items. Auto-derived from item-background.
$item-hover-text-color
Color
nullThe hover text color for button group items. Auto-derived from item-hover-background.
$item-hover-icon-color
Color
nullThe hover icon color for button group items. Auto-derived from item-hover-text-color.
$item-hover-background
Color
nullThe hover background color for button group items. Auto-derived from item-background.
$item-hover-border-color
Color
nullThe hover border color between button group items. Auto-derived from item-border-color.
$item-focused-text-color
Color
nullThe focused text color for button group items. Auto-derived from item-focused-background.
$item-focused-background
Color
nullThe focused background color for button group items. Auto-derived from item-hover-background.
$item-focused-border-color
Color
nullThe focused border color for an item from the button group. Auto-derived from item-border-color.
$item-focused-hover-text-color
Color
nullThe focused & hover text color for button group items. Auto-derived from item-focused-text-color.
$item-focused-hover-border-color
Color
nullThe focused & hover border color for an item from the button group. Auto-derived from item-focused-border-color.
$item-focused-hover-background
Color
nullThe focused & hover background color for button group items. Auto-derived from item-focused-background.
$item-active-background
Color
nullThe active background color for button group items. Auto-derived from item-hover-background.
$item-active-border-color
Color
nullThe active border color for button group items. Auto-derived from item-hover-border-color.
$idle-shadow-color
Color
nullThe outline color of focused button group items. Auto-derived from item-background or selected-shadow-color.
$selected-shadow-color
Color
nullThe outline color of focused/selected button group items. Auto-derived from idle-shadow-color.
$disabled-text-color
Color
nullThe text/icon color for a disabled item in the button group. Auto-derived from disabled-background-color.
$disabled-background-color
Color
nullThe background color for a disabled item in the button group. Auto-derived from item-background.
$item-disabled-border
Color
nullThe border color for a disabled item in the button group. Auto-derived from item-border-color.
$item-selected-text-color
Color
nullThe text color for a selected item in the button group. Auto-derived from item-selected-background.
$item-selected-icon-color
Color
nullThe icon color for a selected item in the button group. Auto-derived from item-selected-text-color.
$item-selected-background
Color
nullThe background color for a selected item in the button group. PRIMARY for selected state. Auto-derived from item-background.
$item-selected-border-color
Color
nullThe border color for a selected item from the button group. Auto-derived from item-border-color.
$item-selected-hover-text-color
Color
nullThe text color for a selected item in hover state in the button group. Auto-derived from item-selected-hover-background.
$item-selected-hover-icon-color
Color
nullThe icon color for a selected item in hover state in the button group. Auto-derived from item-selected-hover-text-color.
$item-selected-hover-background
Color
nullThe background color for a selected item in hover state in the button group. Auto-derived from item-selected-background.
$item-selected-hover-border-color
Color
nullThe border color for a selected item in hover state in the button group. Auto-derived from item-border-color.
$item-selected-focus-background
Color
nullThe background color for a selected item in focused state in the button group. Auto-derived from item-selected-background.
$item-selected-focus-hover-background
Color
nullThe background color for a selected item in focused & hover state in the button group. Auto-derived from item-selected-hover-background.
$item-selected-active-background
Color
nullThe active background color for a selected item in the button group. Auto-derived from item-selected-hover-background.
$item-selected-active-border-color
Color
nullThe active border color for a selected item in the button group. Auto-derived from item-selected-hover-border-color.
$disabled-selected-text-color
Color
nullThe disabled text color for a selected item in the button group. Auto-derived from disabled-text-color.
$disabled-selected-icon-color
Color
nullThe disabled icon color for a selected item in the button group. Auto-derived from disabled-selected-text-color.
$disabled-selected-background
Color
nullThe disabled background color for a selected item in the button group. Auto-derived from item-selected-background.
$disabled-selected-border-color
Color
nullThe disabled border color for a selected item from the button group. Auto-derived from item-border-color.
$border-radius
List
nullThe border radius used for button-group component.
#

functionbutton-themepublicview codeopen_in_new

Button Theme PRIMARY TOKENS: - `$background` — The main button background. - `$hover-background` — Hover state background. - `$focus-background` — Focus state background. Setting just `$background` will create a properly contrasted button.

warningDeprecated

Use flat-button-theme(), contained-button-theme(), outlined-button-theme(), or fab-button-theme() instead.

Example

Change the background and text colors in contained buttons

$my-button-theme: contained-button-theme(
$foreground: white,
$background: black
);
// Pass the theme to the tokens() mixin
@include tokens($my-button-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the button. PRIMARY - derives foreground and icon-color.
$foreground
Color
nullThe text color of the button. Auto-derived from background.
$icon-color
Color
nullThe icon color in the button. Auto-derived from background.
$icon-color-hover
Color
nullThe icon color in the button on hover. Auto-derived from hover-foreground.
$hover-background
Color
nullThe hover background color of the button.
$hover-foreground
Color
nullThe hover text color of the button. Auto-derived from hover-background.
$focus-background
Color
nullThe focus background color of the button.
$focus-foreground
Color
nullThe focus text color of the button. Auto-derived from focus-background.
$focus-hover-background
Color
nullThe background color on focus hovered state of the button.
$focus-hover-foreground
Color
nullThe text color on focus hovered state of the button. Auto-derived from focus-hover-background.
$focus-visible-background
Color
nullThe focus-visible background color of the button. Auto-derived from focus-background.
$focus-visible-foreground
Color
nullThe focus-visible text color of the button. Auto-derived from focus-visible-background.
$active-background
Color
nullThe active background of the button.
$active-foreground
Color
nullThe active text color of the button.
$border-radius
List
nullThe border radius of the button.
$border-color
Color
nullThe border color of the button.
$hover-border-color
Color
nullThe hover border color of the button.
$focus-border-color
Color
nullThe focus border color of the button.
$focus-visible-border-color
Color
nullThe focus-visible border color of the button. Auto-derived from focus-border-color.
$active-border-color
Color
nullThe active border color of the button.
$shadow-color
Color
nullThe shadow color of the button.
$resting-shadow
Color
nullThe shadow of the button in its idle state.
$hover-shadow
Color
nullThe shadow of the button in its hover state.
$focus-shadow
Color
nullThe shadow of the button in its focus state.
$active-shadow
Color
nullThe shadow of the button in its active state.
$disabled-background
Color
nullThe disabled background color of the button.
$disabled-foreground
Color
nullThe disabled text color of the button.
$disabled-icon-color
Color
nullThe disabled icon color of the button.
$disabled-border-color
Color
nullThe disabled border color of the button.
#

functioncontained-button-themepublicview codeopen_in_new

Contained Button Theme PRIMARY TOKENS: - `$background` — The background color of the button. - `$foreground` — The text color of the button. Derived colors are auto-calculated for contrast.

Example

Change the background and text colors in contained buttons

$my-button-theme: contained-button-theme(
$foreground: white,
$background: black
);
// Pass the theme to the tokens() mixin
@include tokens($my-button-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the button. PRIMARY - derives foreground, icon-color, hover-background, focus-background, active-background.
$foreground
Color
nullThe text color of the button. Auto-derived from background. PRIMARY for foreground inheritance.
$icon-color
Color
nullThe icon color in the button. Auto-derived from background.
$icon-color-hover
Color
nullThe icon color in the button on hover. Auto-derived from icon-color or hover-background.
$hover-background
Color
nullThe hover background color of the button. Auto-derived from background.
$hover-foreground
Color
nullThe hover text color of the button. Auto-derived from foreground or hover-background.
$focus-background
Color
nullThe focus background color of the button. Auto-derived from background or focus-hover-background.
$focus-foreground
Color
nullThe focus text color of the button. Auto-derived from foreground or focus-background.
$focus-hover-background
Color
nullThe background color on focus hovered state. Auto-derived from hover-background.
$focus-hover-foreground
Color
nullThe text color on focus hovered state. Auto-derived from foreground or focus-hover-background.
$focus-visible-background
Color
nullThe focus-visible background color. Auto-derived from focus-background or background.
$focus-visible-foreground
Color
nullThe focus-visible text color. Auto-derived from foreground or focus-visible-background.
$active-background
Color
nullThe active background of the button. Auto-derived from background, focus-background, or hover-background.
$active-foreground
Color
nullThe active text color of the button. Auto-derived from foreground or active-background.
$border-radius
List
nullThe border radius of the button.
$border-color
Color
nullThe border color of the button.
$hover-border-color
Color
nullThe hover border color of the button.
$focus-border-color
Color
nullThe focus border color of the button.
$focus-visible-border-color
Color
nullThe focus-visible border color. Auto-derived from focus-visible-foreground (fluent).
$active-border-color
Color
nullThe active border color of the button.
$shadow-color
Color
nullThe shadow color of the button. Auto-derived from focus-visible-background (bootstrap/indigo).
$resting-shadow
Color
nullThe shadow of the button in its idle state.
$hover-shadow
Color
nullThe shadow of the button in its hover state.
$focus-shadow
Color
nullThe shadow of the button in its focus state.
$active-shadow
Color
nullThe shadow of the button in its focus state.
$disabled-background
Color
nullThe disabled background color. Auto-derived from background (bootstrap/indigo).
$disabled-foreground
Color
nullThe disabled text color. Auto-derived from disabled-background.
$disabled-icon-color
Color
nullThe disabled icon color. Auto-derived from disabled-foreground.
$disabled-border-color
Color
nullThe disabled border color of the button.
#

functionfab-button-themepublicview codeopen_in_new

FAB Button Theme PRIMARY TOKENS: - `$background` — The background color of the button. - `$foreground` — The text color of the button. Used as fallback for state foreground colors. - `$icon-color` — The icon color in the button. Used as fallback for icon-color-hover. Derived colors are auto-calculated for contrast.

Example

Change the background and text colors in fab buttons

$my-button-theme: fab-button-theme(
$foreground: white,
$background: black
);
// Pass the theme to the tokens() mixin
@include tokens($my-button-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the button. PRIMARY - derives foreground, icon-color, hover-background, focus-background, active-background.
$foreground
Color
nullThe text color of the button. Auto-derived from background.
$icon-color
Color
nullThe icon color in the button. Auto-derived from background.
$icon-color-hover
Color
nullThe icon color in the button on hover. Auto-derived from icon-color or hover-background.
$hover-background
Color
nullThe hover background color. Auto-derived from background.
$hover-foreground
Color
nullThe hover text color. Auto-derived from foreground or hover-background.
$focus-background
Color
nullThe focus background color. Auto-derived from background or focus-hover-background.
$focus-foreground
Color
nullThe focus text color. Auto-derived from foreground or focus-background.
$focus-hover-background
Color
nullThe background color on focus hovered state. Auto-derived from hover-background.
$focus-hover-foreground
Color
nullThe text color on focus hovered state. Auto-derived from foreground or focus-hover-background.
$focus-visible-background
Color
nullThe focus-visible background color. Auto-derived from focus-background or background.
$focus-visible-foreground
Color
nullThe focus-visible text color. Auto-derived from focus-visible-background.
$active-background
Color
nullThe active background. Auto-derived from background, focus-background, or hover-background.
$active-foreground
Color
nullThe active text color. Auto-derived from active-background.
$border-radius
List
nullThe border radius of the button.
$border-color
Color
nullThe border color of the button.
$hover-border-color
Color
nullThe hover border color of the button.
$focus-border-color
Color
nullThe focus border color of the button.
$focus-visible-border-color
Color
nullThe focus-visible border color. Auto-derived from focus-visible-foreground (fluent).
$active-border-color
Color
nullThe active border color of the button.
$shadow-color
Color
nullThe shadow color. Auto-derived from focus-visible-background (bootstrap/indigo).
$resting-shadow
Color
nullThe shadow of the button in its idle state.
$hover-shadow
Color
nullThe shadow of the button in its hover state.
$focus-shadow
Color
nullThe shadow of the button in its focus state.
$active-shadow
Color
nullThe shadow of the button in its focus state.
$disabled-background
Color
nullThe disabled background color. Auto-derived from background (bootstrap/indigo).
$disabled-foreground
Color
nullThe disabled text color. Auto-derived from disabled-background.
$disabled-icon-color
Color
nullThe disabled icon color. Auto-derived from disabled-foreground or disabled-background.
$disabled-border-color
Color
nullThe disabled border color of the button.
#

functionflat-button-themepublicview codeopen_in_new

Flat Button Theme PRIMARY TOKENS: - `$foreground` — The text color of the button. - `$hover-background` — The hover background color. - `$focus-background` — The focus background color. - `$active-background` — The active background color. For flat buttons, the foreground color is the primary token.

Example

Change the text colors in flat buttons

$my-button-theme: flat-button-theme(
$foreground: black,
);
// Pass the theme to the tokens() mixin
@include tokens($my-button-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the button.
$foreground
Color
nullThe text color of the button. PRIMARY - derives hover/focus/active backgrounds and foregrounds.
$icon-color
Color
nullThe icon color in the button.
$icon-color-hover
Color
nullThe icon color in the button on hover. Auto-derived from hover-foreground.
$hover-background
Color
nullThe hover background color of the button. PRIMARY - derives hover-foreground. Auto-derived from foreground.
$hover-foreground
Color
nullThe hover text color of the button. Auto-derived from hover-background.
$focus-background
Color
nullThe focus background color of the button. PRIMARY - derives focus-foreground. Auto-derived from foreground.
$focus-foreground
Color
nullThe focus text color of the button. Auto-derived from focus-background.
$focus-hover-background
Color
nullThe background color on focus hovered state. Auto-derived from foreground.
$focus-hover-foreground
Color
nullThe text color on focus hovered state. Auto-derived from focus-hover-background.
$focus-visible-background
Color
nullThe focus-visible background color. Auto-derived from focus-background or foreground.
$focus-visible-foreground
Color
nullThe focus-visible text color. Auto-derived from focus-visible-background.
$active-background
Color
nullThe active background of the button. Auto-derived from foreground.
$active-foreground
Color
nullThe active text color of the button. Auto-derived from active-background.
$border-radius
List
nullThe border radius of the button.
$border-color
Color
nullThe border color of the button.
$hover-border-color
Color
nullThe hover border color of the button.
$focus-border-color
Color
nullThe focus border color of the button.
$focus-visible-border-color
Color
nullThe focus-visible border color. Auto-derived from focus-border-color or focus-visible-foreground.
$active-border-color
Color
nullThe active border color of the button.
$shadow-color
Color
nullThe shadow color of the button. Auto-derived from focus-visible-foreground.
$disabled-background
Color
nullThe disabled background color of the button.
$disabled-foreground
Color
nullThe disabled text color of the button. Auto-derived from foreground (bootstrap/indigo).
$disabled-icon-color
Color
nullThe disabled icon color of the button. Auto-derived from disabled-foreground.
$disabled-border-color
Color
nullThe disabled border color of the button.
#

functionoutlined-button-themepublicview codeopen_in_new

Outlined Button Theme PRIMARY TOKENS: - `$foreground` — The text color of the button. - `$hover-background` — The hover background color. - `$focus-background` — The focus background color. - `$active-background` — The active background color. For outlined buttons, the foreground color is the primary token.

Example

Change the text colors in outlined buttons

$my-button-theme: outlined-button-theme(
$foreground: black,
);
// Pass the theme to the tokens() mixin
@include tokens($my-button-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the button.
$foreground
Color
nullThe text color of the button. PRIMARY - derives hover/focus/active backgrounds, foregrounds, and borders.
$icon-color
Color
nullThe icon color in the button.
$icon-color-hover
Color
nullThe icon color in the button on hover. Auto-derived from hover-foreground.
$hover-background
Color
nullThe hover background color. PRIMARY - derives hover-foreground. Auto-derived from foreground.
$hover-foreground
Color
nullThe hover text color. Auto-derived from hover-background.
$focus-background
Color
nullThe focus background color. PRIMARY - derives focus-foreground. Auto-derived from foreground.
$focus-foreground
Color
nullThe focus text color. Auto-derived from focus-background.
$focus-hover-background
Color
nullThe background color on focus hovered state. Auto-derived from foreground or hover-background.
$focus-hover-foreground
Color
nullThe text color on focus hovered state. Auto-derived from focus-hover-background.
$focus-visible-background
Color
nullThe focus-visible background color. Auto-derived from focus-background or hover-background.
$focus-visible-foreground
Color
nullThe focus-visible text color. Auto-derived from focus-visible-background or foreground.
$active-background
Color
nullThe active background of the button. Auto-derived from foreground.
$active-foreground
Color
nullThe active text color. Auto-derived from active-background.
$border-radius
List
nullThe border radius of the button.
$border-color
Color
nullThe border color of the button. Auto-derived from foreground.
$hover-border-color
Color
nullThe hover border color. Auto-derived from hover-foreground or hover-background.
$focus-border-color
Color
nullThe focus border color. Auto-derived from focus-foreground or focus-background.
$focus-visible-border-color
Color
nullThe focus-visible border color. Auto-derived from focus-border-color or focus-visible-background.
$active-border-color
Color
nullThe active border color. Auto-derived from active-foreground or active-background.
$shadow-color
Color
nullThe shadow color of the button. Auto-derived from focus-visible-foreground or focus-visible-background.
$disabled-background
Color
nullThe disabled background color of the button.
$disabled-foreground
Color
nullThe disabled text color. Auto-derived from foreground (bootstrap).
$disabled-icon-color
Color
nullThe disabled icon color. Auto-derived from disabled-foreground.
$disabled-border-color
Color
nullThe disabled border color. Auto-derived from disabled-foreground (bootstrap).
#

functioncalendar-themepublicview codeopen_in_new

Calendar Theme PRIMARY TOKENS: - `$header-background` — The main accent color. - `$content-background` — The calendar body background. Text and icon colors are auto-calculated for contrast.

Example

Change the header and content background colors

$my-calendar-theme: calendar-theme(
$header-background: purple,
$content-background: black
);
// Pass the theme to the tokens() mixin
@include tokens($my-calendar-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$size
Number
nullSize of days, months, and years views.
$inner-size
Number
nullInner size for calendar elements.
$weekday-color
Color
nullColor for weekday labels. Auto-derived from content-background.
$actions-divider-color
Color
nullDivider color for date-picker actions.
$border-radius
List
nullBorder radius for calendar container.
$content-background
Color
nullBackground color for calendar. PRIMARY - derives content-foreground, inactive-color, date-hover colors, week-number colors.
$border-color
Color
nullBorder color for calendar container.
$header-background
Color
nullHeader background color. PRIMARY - derives header-foreground and most accent/selection colors.
$header-foreground
Color
nullHeader foreground color. Auto-derived from header-background.
$picker-foreground
Color
nullForeground for the calendar picker. Auto-derived from picker-background.
$picker-background
Color
nullBackground for the calendar picker.
$picker-hover-foreground
Color
null:Hover foreground for the calendar picker. Auto-derived from header-background.
$picker-focus-foreground
Color
null:Focus foreground for the calendar picker. Auto-derived from picker-hover-foreground.
$navigation-color
Color
nullIcon color for month navigation. Auto-derived from picker-background.
$navigation-hover-color
Color
null:Hover color for navigation icons. Auto-derived from picker-hover-foreground.
$navigation-focus-color
Color
null:Focus color for navigation icons. Auto-derived from navigation-hover-color.
$ym-border-radius
List
nullBorder radius for year/month views.
$ym-hover-foreground
Color
null:Hover foreground for year/month. Auto-derived from ym-hover-background.
$ym-hover-background
Color
null:Hover background for year/month. Auto-derived from date-hover-background.
$ym-current-outline-color
Color
nullOutline color for current year/month. Auto-derived from date-current-border-color.
$ym-current-outline-hover-color
Color
null:Hover outline color for current year/month.
$ym-current-outline-focus-color
Color
null:Focus outline color for current year/month.
$ym-current-background
Color
nullBackground for current year/month.
$ym-current-foreground
Color
nullForeground for current year/month. Auto-derived from ym-current-background.
$ym-current-hover-foreground
Color
null:Hover foreground for current year/month.
$ym-current-hover-background
Color
null:Hover background for current year/month.
$ym-selected-outline-color
Color
nullOutline color for selected year/month.
$ym-selected-hover-outline-color
Color
null:Hover outline color for selected year/month.
$ym-selected-focus-outline-color
Color
null:Focus outline color for selected year/month.
$ym-selected-foreground
Color
nullForeground for selected year/month. Auto-derived from ym-selected-background.
$ym-selected-background
Color
nullBackground for selected year/month. Auto-derived from header-background.
$ym-selected-hover-foreground
Color
null:Hover foreground for selected year/month.
$ym-selected-hover-background
Color
null:Hover background for selected year/month.
$ym-selected-current-outline-color
Color
nullOutline color for selected current year/month.
$ym-selected-current-outline-hover-color
Color
null:Hover outline color for selected current year/month.
$ym-selected-current-outline-focus-color
Color
null:Focus outline color for selected current year/month.
$ym-selected-current-foreground
Color
nullForeground for selected current year/month.
$ym-selected-current-background
Color
nullBackground for selected current year/month.
$ym-selected-current-hover-foreground
Color
null:Hover foreground for selected current year/month.
$ym-selected-current-hover-background
Color
null:Hover background for selected current year/month.
$week-number-border-radius
List
nullBorder radius for week number column.
$week-number-foreground
Color
nullForeground for week number column. Auto-derived from week-number-background.
$week-number-background
Color
nullBackground for week number column. Auto-derived from content-background.
$content-foreground
Color
nullThe foreground color for idle dates. Auto-derived from content-background.
$weekend-color
Color
nullColor for weekend days. Auto-derived from content-foreground.
$inactive-color
Color
nullColor for inactive dates (outside current month). Auto-derived from content-background.
$date-border-radius
List
nullBorder radius for date cells.
$date-border-color
Color
nullBorder color for date cells.
$date-hover-border-color
Color
null:Hover border color for date cells.
$date-focus-border-color
Color
null:Focus border color for date cells.
$date-hover-background
Color
null:Hover background for date cells. Auto-derived from content-background.
$date-focus-background
Color
null:Focus background for date cells. Auto-derived from date-hover-background.
$date-hover-foreground
Color
null:Hover foreground for date cells. Auto-derived from date-hover-background.
$date-focus-foreground
Color
null:Focus foreground for date cells. Auto-derived from date-hover-foreground.
$date-selected-border-color
Color
nullBorder color for selected date.
$date-selected-hover-border-color
Color
null:Hover border color for selected date.
$date-selected-focus-border-color
Color
null:Focus border color for selected date.
$date-selected-background
Color
nullBackground for selected date. Auto-derived from header-background.
$date-selected-foreground
Color
nullForeground for selected date. Auto-derived from date-selected-background.
$date-selected-hover-background
Color
null:Hover background for selected date. Auto-derived from date-selected-background.
$date-selected-focus-background
Color
null:Focus background for selected date.
$date-selected-hover-foreground
Color
null:Hover foreground for selected date.
$date-selected-focus-foreground
Color
null:Focus foreground for selected date.
$date-selected-special-border-color
Color
nullBorder color for selected special date.
$date-selected-special-hover-border-color
Color
null:Hover border color for selected special date.
$date-selected-special-focus-border-color
Color
null:Focus border color for selected special date.
$date-selected-special-background
Color
nullBackground for selected special date.
$date-selected-special-foreground
Color
nullForeground for selected special date.
$date-selected-special-hover-background
Color
null:Hover background for selected special date.
$date-selected-special-focus-background
Color
null:Focus background for selected special date.
$date-selected-special-hover-foreground
Color
null:Hover foreground for selected special date.
$date-selected-special-focus-foreground
Color
null:Focus foreground for selected special date.
$date-range-border-radius
List
nullBorder radius for date range selection.
$date-range-border-color
Color
nullBorder color for date range selection.
$date-range-preview-border-color
Color
nullPreview border color for date range selection.
$date-selected-range-foreground
Color
nullForeground for dates in selected range.
$date-selected-range-background
Color
nullBackground for dates in selected range.
$date-selected-range-hover-foreground
Color
null:Hover foreground for dates in selected range.
$date-selected-range-hover-background
Color
null:Hover background for dates in selected range.
$date-selected-range-focus-foreground
Color
null:Focus foreground for dates in selected range.
$date-selected-range-focus-background
Color
null:Focus background for dates in selected range.
$date-selected-current-range-foreground
Color
nullForeground for current date in selected range.
$date-selected-current-range-background
Color
nullBackground for current date in selected range.
$date-selected-current-range-hover-foreground
Color
null:Hover foreground for current date in selected range.
$date-selected-current-range-hover-background
Color
null:Hover background for current date in selected range.
$date-selected-current-range-focus-foreground
Color
null:Focus foreground for current date in selected range.
$date-selected-current-range-focus-background
Color
null:Focus background for current date in selected range.
$date-current-border-radius
List
nullBorder radius for current date.
$date-current-border-color
Color
nullBorder color for current date.
$date-current-hover-border-color
Color
null:Hover border color for current date.
$date-current-focus-border-color
Color
null:Focus border color for current date.
$date-current-background
Color
nullBackground for current date.
$date-current-foreground
Color
nullForeground for current date.
$date-current-hover-background
Color
null:Hover background for current date.
$date-current-focus-background
Color
null:Focus background for current date.
$date-current-hover-foreground
Color
null:Hover foreground for current date.
$date-current-focus-foreground
Color
null:Focus foreground for current date.
$date-selected-current-border-color
Color
nullBorder color for selected current date.
$date-selected-current-hover-border-color
Color
null:Hover border color for selected current date.
$date-selected-current-focus-border-color
Color
null:Focus border color for selected current date.
$date-selected-current-background
Color
nullBackground for selected current date.
$date-selected-current-hover-background
Color
null:Hover background for selected current date.
$date-selected-current-focus-background
Color
null:Focus background for selected current date.
$date-selected-current-foreground
Color
nullForeground for selected current date.
$date-selected-current-hover-foreground
Color
null:Hover foreground for selected current date.
$date-selected-current-focus-foreground
Color
null:Focus foreground for selected current date.
$date-special-border-radius
List
nullBorder radius for special date.
$date-special-border-color
Color
nullBorder color for special date.
$date-special-hover-border-color
Color
null:Hover border color for special date.
$date-special-focus-border-color
Color
null:Focus border color for special date.
$date-special-foreground
Color
nullForeground for special date. Auto-derived from header-background.
$date-special-background
Color
nullBackground for special date.
$date-special-hover-foreground
Color
null:Hover foreground for special date.
$date-special-hover-background
Color
null:Hover background for special date.
$date-special-focus-foreground
Color
null:Focus foreground for special date.
$date-special-focus-background
Color
null:Focus background for special date.
$date-special-range-border-color
Color
nullBorder color for special date in range.
$date-special-range-hover-border-color
Color
null:Hover border color for special date in range.
$date-special-range-focus-border-color
Color
null:Focus border color for special date in range.
$date-special-range-foreground
Color
nullForeground for special date in range.
$date-special-range-hover-foreground
Color
null:Hover foreground for special date in range.
$date-special-range-focus-foreground
Color
null:Focus foreground for special date in range.
$date-special-range-background
Color
nullBackground for special date in range.
$date-special-range-hover-background
Color
null:Hover background for special date in range.
$date-special-range-focus-background
Color
null:Focus background for special date in range.
$date-disabled-foreground
Color
nullForeground for disabled dates.
$date-disabled-range-foreground
Color
nullForeground for disabled dates in selected range.
#

functioncard-themepublicview codeopen_in_new

Card Theme PRIMARY TOKENS: - `$background` — The card background color. Derived colors are auto-calculated for contrast.

Example

Change the background and content text colors in card

$my-card-theme: card-theme($background: #fff);
// Pass the theme to the tokens() mixin
@include tokens($my-card-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe card background color. PRIMARY - derives all text colors.
$outline-color
Color
nullThe color of the outline for outlined type cards.
$header-text-color
Color
nullThe text color of the card title. Auto-derived from background.
$subtitle-text-color
Color
nullThe text color of the card subtitle. Auto-derived from background (muted).
$content-text-color
Color
nullThe text color of the card content. Auto-derived from background (muted).
$actions-text-color
Color
nullThe text color of the card buttons. Auto-derived from background.
$resting-shadow
List
nullThe shadow of the card in its resting state.
$hover-shadow
List
nullThe shadow of the card in its hover state.
$border-radius
List
nullThe border radius used for card component.
#

Carousel Theme PRIMARY TOKENS: - `$button-background` — The nav button background. - `$indicator-background` — The indicator container background. Button colors cascade from button-background through hover and disabled states.

Example

Change the previous/next button colors

$my-carousel-theme: carousel-theme(
$button-background: black,
$button-hover-background: white
);
// Pass the carousel theme to the tokens() mixin
@include tokens($my-carousel-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$slide-background
Color
nullThe slide background color.
$button-background
Color
nullThe previous/next buttons idle background color. PRIMARY - derives arrow, hover, disabled, focus colors.
$button-hover-background
Color
nullThe previous/next buttons hover background color. Auto-derived from button-background.
$button-disabled-background
Color
nullThe previous/next buttons disabled background color. Auto-derived from button-background.
$button-arrow-color
Color
nullThe previous/next buttons idle arrow color. Auto-derived from button-background.
$button-hover-arrow-color
Color
nullThe previous/next buttons hover arrow color. Auto-derived from button-hover-background.
$button-disabled-arrow-color
Color
nullThe previous/next buttons disabled arrow color. Auto-derived from button-disabled-background.
$button-border-color
Color
nullThe previous/next buttons idle border color. Auto-derived from button-background (indigo).
$button-hover-border-color
Color
nullThe previous/next buttons hover border color. Auto-derived from button-border-color.
$button-focus-border-color
Color
nullThe navigation buttons border color on focus. Auto-derived from button-focus-arrow-color or button-background.
$button-disabled-border-color
Color
nullThe previous/next buttons disabled border color.
$indicator-background
Color
nullThe indicators container background color. PRIMARY - derives dot, border, active, focus colors.
$label-indicator-background
Color
nullThe label indicator container background color.
$indicator-dot-color
Color
nullThe idle indicator dot color. Auto-derived from indicator-background.
$indicator-hover-dot-color
Color
nullThe hover indicator dot color. Auto-derived from indicator-dot-color.
$indicator-focus-color
Color
nullThe indicators border and dot color on focus. Auto-derived from indicator-background or button-background.
$indicator-border-color
Color
nullThe idle indicator border color. Auto-derived from indicator-background or indicator-dot-color.
$indicator-active-dot-color
Color
nullThe active indicator dot color. Auto-derived from indicator-background or button-background.
$indicator-active-border-color
Color
nullThe active indicator border color. Auto-derived from indicator-active-dot-color.
$indicator-active-hover-dot-color
Color
nullThe active indicator dot color on hover. Auto-derived from indicator-active-dot-color.
$button-shadow
List
nullShadow underneath the previous/next buttons.
$border-radius
List
nullThe border radius used for carousel component.
#

functionchat-themepublicview codeopen_in_new

Chat Theme PRIMARY TOKENS: - `$header-background` — The background color of the chat header. - `$sent-message-background` — The background color for sent messages. - `$received-message-background` — The background color for received messages. Derived colors are auto-calculated for contrast.

Example

Change background color

$my-chat-theme: chat-theme($background: blue);
// Pass the theme to the tokens() mixin
@include tokens($my-chat-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the chat component.
$header-background
Color
nullThe background color of the chat header.
$header-color
Color
nullThe text color of the chat header. Auto-derived from header-background.
$header-border
Color
nullThe color used for the chat header border.
$sent-message-background
Color
nullThe background color for sent messages.
$sent-message-color
Color
nullThe text color of the chat messages. Auto-derived from sent-message-background.
$received-message-background
Color
nullThe background color for received messages.
$received-message-color
Color
nullThe text color for received messages. Auto-derived from received-message-background.
$message-actions-color
Color
nullThe icon color of the chat received message actions. Auto-derived from received-message-color.
$message-border-radius
Number
nullThe border radius of the chat messages.
$file-background
Color
nullThe background color of the image message container.
$file-icon-color
Color
nullThe color of the attached file icon.
$file-icon-accent-color
Color
nullThe accent color of the attached file icon.
$image-background
Color
nullThe background color of the image message container.
$image-border
Color
nullThe border color of the image message container.
$image-attachment-icon
Color
nullThe color of the message attachment icon.
$chat-input-border
Color
nullThe border color of the chat input area.
$progress-indicator-color
Color
nullThe color of the progress indicator in the chat component.
$code-background
Color
nullThe background color of the code snippets in the chat component.
$code-border
Color
nullThe border color of the code snippets in the chat component.
#

functioncheckbox-themepublicview codeopen_in_new

Checkbox Theme PRIMARY TOKENS: - `$fill-color` — The checked state border and fill color. - `$empty-color` — The unchecked border color. - `$error-color` — The invalid state color. Setting just `$fill-color` will theme all checked states consistently.

Example

Change the checked fill color

$my-checkbox-theme: igx-checkbox-theme($fill-color: magenta);
// Pass the theme to the tokens() mixin
@include tokens($my-checkbox-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$label-color
Color
nullThe text color used for the label text.
$label-color-hover
Color
nullThe text color used for the label text on hover. Auto-derived from label-color.
$empty-color
Color
nullThe unchecked border color. PRIMARY for unchecked states.
$empty-color-hover
Color
nullThe unchecked border color on hover. Auto-derived from empty-color.
$empty-fill-color
Color
nullThe unchecked fill color.
$fill-color
Color
nullThe checked border and fill colors. PRIMARY - derives tick-color, focus colors.
$fill-color-hover
Color
nullThe checked border and fill colors on hover. Auto-derived from fill-color.
$tick-color
Color
nullThe checked mark color. Auto-derived from fill-color (contrast).
$tick-color-hover
Color
nullThe checked mark color on hover.
$tick-width
Number
nullThe checked mark width.
$disabled-color
Color
nullThe disabled border and fill colors.
$disabled-fill-color
Color
nullThe disabled border and fill colors in checked state. Auto-derived from disabled-color (material/fluent) or disabled-indeterminate-color (bootstrap/indigo).
$disabled-tick-color
Color
nullThe checked mark color in disabled state.
$disabled-indeterminate-color
Color
nullThe disabled border and fill colors in indeterminate state. Auto-derived from fill-color.
$disabled-color-label
Color
nullThe disabled label color.
$border-radius
List
nullThe border radius used for checkbox component.
$border-radius-ripple
List
nullThe border radius used for checkbox ripple.
$focus-outline-color
Color
nullThe focus outlined color. Auto-derived from empty-color (indigo) or fill-color (bootstrap).
$focus-outline-color-focused
Color
nullThe focus outlined color for focused state. Auto-derived from fill-color (indigo).
$focus-border-color
Color
nullThe focus border color. Auto-derived from fill-color.
$error-color
Color
nullThe border and fill colors in invalid state. PRIMARY for error states.
$error-color-hover
Color
nullThe border and fill colors in invalid state on hover. Auto-derived from error-color.
$focus-outline-color-error
Color
nullThe focus outline error color. Auto-derived from error-color. Set to light when the surrounding area is dark.
#

functionchip-themepublicview codeopen_in_new

Chip Theme PRIMARY TOKENS: - `$background` — The main chip background. - `$selected-background` — Selected state background. - `$outlined-background` — The outlined chip background. - `$selected-outlined-background` — The outlined selected state background. Setting just `$background` will create a complete chip theme with all states properly derived. Chips with a `variant` (primary, info, success, warning, danger) use the variant colors, which override `$background`, `$text-color` and `$border-color`.

Example

Change the background color

$my-chip-theme: igx-chip-theme($background: black);
// Pass the theme to the tokens() mixin
@include tokens($my-chip-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$border-radius
List
nullThe chip border-radius.
$background
Color
nullThe default (non-outlined) chip background color.
$text-color
Color
nullThe chip text color. Auto-derived from background.
$outlined-background
Color
nullThe outlined chip background color.
$outlined-text-color
Color
nullThe outlined chip text color. Auto-derived from the outlined-background.
$border-color
Color
nullThe outlined chip border color.
$disabled-text-color
Color
nullThe disabled chip text color.
$disabled-background
Color
nullThe disabled chip background color.
$disabled-outlined-background
Color
nullThe disabled outlined chip background color.
$disabled-outlined-text-color
Color
nullThe disabled outlined chip text color.
$disabled-border-color
Color
nullThe disabled outlined chip border color.
$ghost-background
Color
nullThe chip ghost background color. Used only in Ignite UI for Angular.
$ghost-text-color
Color
nullThe chip ghost text color. Used only in Ignite UI for Angular.
$ghost-shadow
List
nullThe chip ghost shadow. Used only in Ignite UI for Angular.
$hover-background
Color
nullThe chip hover background color. Auto-derived from background.
$hover-text-color
Color
nullThe chip text hover color. Auto-derived from hover-background.
$hover-outlined-background
Color
nullThe outlined chip hover background color. Auto-derived from outlined-background.
$hover-outlined-text-color
Color
nullThe outlined chip hover text color. Auto-derived from hover-outlined-background.
$hover-border-color
Color
nullThe outlined chip hover border color. Auto-derived from border-color.
$focus-background
Color
nullThe chip focus background color. Auto-derived from background.
$focus-text-color
Color
nullThe chip text focus color. Auto-derived from focus-background.
$focus-outlined-background
Color
nullThe outlined chip focus background color. Auto-derived from outlined-background.
$focus-outlined-text-color
Color
nullThe outlined chip focus text color. Auto-derived from focus-outlined-background.
$focus-border-color
Color
nullThe outlined chip focus border color. Auto-derived from border-color.
$focus-shadow-color
Color
nullThe chip focus shadow color in Bootstrap and Indigo. Auto-derived from focus-border-color.
$selected-background
Color
nullThe selected chip background color. Auto-derived from background.
$selected-text-color
Color
nullThe selected chip text color. Auto-derived from selected-background.
$selected-outlined-background
Color
nullThe outlined chip background color. Auto-derived from outlined-background.
$selected-outlined-text-color
Color
nullThe outlined chip text color. Auto-derived from selected-outlined-background.
$selected-border-color
Color
nullThe selected outlined chip border color.
$hover-selected-background
Color
nullThe selected chip hover background color. Auto-derived from selected-background.
$hover-selected-text-color
Color
nullThe selected chip hover text color. Auto-derived from hover-selected-background.
$hover-selected-outlined-background
Color
nullThe outlined chip hover background color. Auto-derived from selected-outlined-background.
$hover-selected-outlined-text-color
Color
nullThe outlined chip hover text color. Auto-derived from hover-selected-outlined-background.
$hover-selected-border-color
Color
nullThe selected outlined chip hover border color. Auto-derived from selected-border-color.
$focus-selected-background
Color
nullThe selected chip focus background color. Auto-derived from selected-background.
$focus-selected-text-color
Color
nullThe selected chip text focus color. Auto-derived from focus-selected-background.
$focus-selected-outlined-background
Color
nullThe selected outlined chip focus background color. Auto-derived from selected-outlined-background.
$focus-selected-outlined-text-color
Color
nullThe selected outlined chip focus text color. Auto-derived from focus-selected-outlined-background.
$focus-selected-border-color
Color
nullThe selected outlined chip focus border color. Auto-derived from selected-border-color.
$focus-selected-shadow-color
Color
nullThe selected chip focus shadow color in Bootstrap and Indigo. Auto-derived from focus-selected-border-color.
$disabled-selected-background
Color
nullThe disabled selected chip background color.
$disabled-selected-text-color
Color
nullThe disabled selected chip text color.
$disabled-selected-outlined-text-color
Color
nullThe disabled selected outlined chip text color.
$disabled-selected-outlined-background
Color
nullThe disabled selected outlined chip background color.
$disabled-selected-border-color
Color
nullThe disabled selected outlined chip border color.
$remove-icon-color
Color
nullThe remove icon color for the chip.
$remove-icon-color-focus
Color
nullThe remove icon color on focus for the chip.
#

functioncolor-picker-themepublicview codeopen_in_new

Color Picker Theme PRIMARY TOKENS: - `$anchor-background` — The background color of the color picker trigger. - `$picker-background` — The background color of the color picker dropdown.

Example

Change the anchor and picker background colors

$my-color-picker-theme: color-picker-theme($anchor-background: magenta, $picker-background: cyan);
// Pass the theme to the tokens() mixin
@include tokens($my-color-picker-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$label-color
Color
nullThe color of the color picker label.
$label-color-disabled
Color
nullThe color of the color picker label in disabled state.
$label-color-invalid
Color
nullThe color of the color picker label in invalid state.
$anchor-background
Color
nullThe background color of the color picker trigger.
$anchor-background-hover
Color
nullThe background color of the color picker trigger on hover.
$anchor-background-focus-visible
Color
nullThe background color of the color picker trigger on focus-visible.
$anchor-background-focus-visible-hover
Color
nullThe background color of the color picker trigger in focus-visible + hover state.
$anchor-background-active
Color
nullThe background color of the color picker trigger in active state.
$anchor-background-active-focus-visible
Color
nullThe background color of the color picker trigger in focus-visible + active state.
$anchor-background-disabled
Color
nullThe background color of the color picker trigger in disabled state.
$anchor-border-color
Color
nullThe border color of the color picker trigger.
$anchor-border-color-disabled
Color
nullThe border color of the color picker trigger in disabled state.
$anchor-outline-color
Color
nullThe outline color of the color picker trigger in focus-visible state.
$anchor-border-radius
Number
nullThe border radius of the color picker trigger.
$swatch-preview-border-color
Color
nullThe border color of the color preview inside the trigger.
$picker-canvas-border-color
Color
nullThe border color of the color picker canvas.
$picker-background
Color
nullThe background color of the color picker dropdown.
$picker-border-color
Color
nullThe border color of the color picker dropdown.
$picker-border-radius
Number
nullThe border radius of the color picker dropdown.
$picker-shadow
List
nullThe shadow used for the color picker dropdown.
$slider-track-border-color
Color
nullThe border color of the hue and alpha slider tracks.
$slider-track-border-radius
Number
nullThe border radius of the hue and alpha slider tracks.
$slider-thumb-border-color
Color
nullThe border color of the hue and alpha slider thumbs.
$swatch-border-color
Color
nullThe border color of the predefined color swatches.
$swatch-separator-color
Color
nullThe color of the separator above the swatches.
$swatch-border-radius
Number
nullThe border radius of the predefined color swatches.
$swatch-size
Number
nullThe size of the predefined color swatches.
$transparency-grid-odd
Color
nullThe odd color of the transparency grid.
$transparency-grid-even
Color
nullThe even color of the transparency grid.
$invalid-color
Color
nullThe color used for invalid states.
$marker-size
Number
nullThe size of the color picker canvas marker.
$marker-shadow
List
nullThe shadow used for the color picker canvas marker.
$marker-color
Color
nullThe color of the color picker canvas marker.
#

functioncolumn-actions-themepublicview codeopen_in_new

Column Actions Theme PRIMARY TOKENS: - `$background` — The background color of the panel. Derived colors are auto-calculated for contrast.

Example

Change the title color

$column-actions-theme: igx-column-actions-theme($title-color: black);
// Pass the theme to the tokens() mixin
@include tokens($column-actions-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$title-color
Color
nullThe text color used for the title of the list. Auto-derived from foreground.
$background
Color
nullThe background color of the panel. PRIMARY - derives foreground and title-color.
$foreground
Color
nullThe foreground color for content and icons in the panel. Auto-derived from background.
$accent-color
Color
nullThe accent color used for highlights or active states in the panel.
#

functioncombo-themepublicview codeopen_in_new

Combo Theme PRIMARY TOKENS: - `$toggle-button-background` — The toggle button background. - `$empty-list-background` — The empty list background. - `$clear-button-background-focus` — The clear button focus background. Toggle button colors cascade from toggle-button-background through focus and disabled states.

Example

Change the combo empty list background

$my-combo-theme: combo-theme($empty-list-background: white);
// Pass the theme to the tokens() mixin
@include tokens($my-combo-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$search-separator-border-color
Color
nullThe combo search box separator color.
$empty-list-placeholder-color
Color
nullThe combo placeholder text color. Auto-derived from empty-list-background.
$empty-list-background
Color
nullThe combo list background color. PRIMARY - derives empty-list-placeholder-color.
$toggle-button-background
Color
nullThe combo toggle button background color. PRIMARY - derives all toggle button colors.
$toggle-button-background-focus
Color
nullThe combo toggle button background color when the combo is focused in material box variant. Auto-derived from toggle-button-background.
$toggle-button-background-focus--border
Color
nullThe combo toggle button background color when the combo is focused in material border variant. Auto-derived from toggle-button-background.
$toggle-button-background-disabled
Color
nullThe combo toggle button background color when the combo is disabled. Auto-derived from toggle-button-background.
$toggle-button-foreground
Color
nullThe combo toggle button foreground color. Auto-derived from toggle-button-background.
$toggle-button-foreground-focus
Color
nullThe combo toggle button foreground color when the combo is focused. Auto-derived from toggle-button-background-focus.
$toggle-button-foreground-disabled
Color
nullThe combo toggle button foreground color when the combo is disabled. Auto-derived from toggle-button-background.
$toggle-button-foreground-filled
Color
nullThe combo toggle button foreground color when the combo is filled. Auto-derived from toggle-button-background.
$clear-button-background
Color
nullThe combo clear button background color.
$clear-button-background-focus
Color
nullThe combo clear button background color when the combo is focused. PRIMARY for clear button focus.
$clear-button-foreground
Color
nullThe combo clear button foreground color.
$clear-button-foreground-focus
Color
nullThe combo clear button foreground color when the combo is focused. Auto-derived from clear-button-background-focus.
$case-icon-color
Color
nullThe case sensitive icon color in inactive state for combo search input.
$case-icon-color-active
Color
nullThe case sensitive icon color in active state for combo search input.
#

functiondate-range-picker-themepublicview codeopen_in_new

Date Range Picker Theme NOTE: This component has no automatic token derivation. All tokens are directly passed to the schema without calculations.

Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$label-color
color
nullThe color for date range separator label.
#

functiondialog-themepublicview codeopen_in_new

Dialog Theme PRIMARY TOKENS: - `$background` — The dialog background color. Setting just `$background` will create a complete dialog theme with proper text contrast.

Example

Change the background color

$my-dialog-theme: dialog-theme($background: black);
// Pass the theme to the tokens() mixin
@include tokens($my-dialog-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe dialog background color. PRIMARY - derives title-color, message-color, border-color.
$title-color
Color
nullThe dialog title text color. Auto-derived from background.
$message-color
Color
nullThe dialog message text color. Auto-derived from background (slightly transparent).
$shadow
List
nullThe shadow used for the dialog.
$border-radius
List
nullThe border radius used for dialog component.
$border-color
Color
nullThe border color used for dialog component. Auto-derived from background.
#

functiondivider-themepublicview codeopen_in_new

Divider Theme This theme has no automatic token derivation. All tokens are independent.

Example

Change the color of the divider

$my-divider-theme: divider-theme($color: orange);
// Pass the theme to the tokens() mixin
@include tokens($my-divider-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$color
Color
nullThe color of the divider. (Gradients are not supported for dashed dividers).
$inset
number
nullThe inset value of the divider.
#

functiondock-manager-themepublicview codeopen_in_new

Dock Manager Theme NOTE: This component uses a pass-through pattern with meta.keywords($rest). All tokens are directly passed to the schema without automatic derivation. Each token must be set individually for full customization.

Example

Change the background and icon colors in icon dock-managers

$my-dock-manager-theme: dock-manager-theme();
// Pass the theme to the tokens() mixin
@include tokens($my-dock-manager-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$accent-color
Color
nullSets the pinned header background color, the joystick background and border colors, as well as the context menu background color.
$active-color
Color
nullSets the active text and border colors for tabs, panes, and menus.
$border-color
Color
nullSets the global border color in the dock manager. Also sets the pane content background and the context menu active background colors.
$button-text
Color
nullSets the button text color.
$context-menu-background
Color
nullSets the background color for context menus.
$context-menu-background-active
Color
nullSets the background color for active context menus.
$context-menu-color
Color
nullSets the text color for context menus.
$context-menu-color-active
Color
nullSets the text color for active context menus.
$dock-background
Color
nullSets the background color of the dock manager.
$dock-text
Color
nullSets the text color of the dock manager.
$drop-shadow-background
Color
nullSets the drop-shadow background color.
$floating-pane-border-color
Color
nullSets the border color for floating panes.
$flyout-shadow-color
Color
nullSets the flyout shadow color.
$joystick-background
Color
nullSets the background color of the joystick.
$joystick-background-active
Color
nullSets the background color of the joysticks.
$joystick-border-color
Color
nullSets the border color of the joystick.
$joystick-icon-color
Color
nullSets the color for the joystick icons.
$joystick-icon-color-active
Color
nullSets the color of the active joystick icons.
$pane-content-background
Color
nullSets the background color of the content panes.
$pane-content-text
Color
nullSets the text color of the content panes.
$pane-header-background
Color
nullSets the background color for pane headers.
$pane-header-text
Color
nullSets the text color for pane headers.
$pinned-header-background
Color
nullSets the background colors of pinned headers.
$pinned-header-text
Color
nullSets the text colors of pinned headers.
$background-color
Color
nullSets the base dock manager color as well as the pane headers and tabs background colors.
$splitter-background
Color
nullSets the background color for the splitters.
$splitter-handle
Color
nullSets the background color for the splitter handles.
$tab-background
Color
nullSets the background color for tabs.
$tab-background-active
Color
nullSets the background color for active tabs.
$tab-border-color
Color
nullSets the border color for tabs.
$tab-border-color-active
Color
nullSets the border color for active tabs.
$tab-text
Color
nullSets the text color for tabs.
$tab-text-active
Color
nullSets the text color for active tabs.
$text-color
Color
nullSets the text color for most elements in the dock manager. Used as the default joystick icon color.
#

functiondrop-down-themepublicview codeopen_in_new

Drop-down Theme PRIMARY TOKENS: - `$background-color` — The drop-down background. - `$selected-item-background` — The selected item background. Derived colors are auto-calculated for contrast.

Example

Change the background-color of the dropdown

$my-dropdown-theme: drop-down-theme($background-color: #09f);
// Pass the theme to the tokens() mixin
@include tokens($my-dropdown-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background-color
Color
nullThe drop-down background color. PRIMARY - derives item, hover, focus, selected, disabled colors.
$header-text-color
Color
nullThe drop-down header text color. Auto-derived from background-color.
$item-text-color
Color
nullThe drop-down item text color. Auto-derived from background-color.
$item-icon-color
Color
nullThe drop-down item icon color. Auto-derived from item-text-color.
$hover-item-text-color
Color
nullThe drop-down item hover text color. Auto-derived from item-text-color.
$hover-item-icon-color
Color
nullThe drop-down item hover icon color. Auto-derived from hover-item-text-color.
$hover-item-background
Color
nullThe drop-down hover item background color. Auto-derived from background-color.
$focused-item-background
Color
nullThe drop-down focused item background color. Auto-derived from background-color.
$focused-item-text-color
Color
nullThe drop-down focused item text color. Auto-derived from focused-item-background.
$focused-item-border-color
Color
nullThe drop-down item focused border color. Auto-derived from selected-item-background (indigo).
$selected-item-background
Color
nullThe drop-down selected item background color. PRIMARY - derives selected text/icon and hover/focus states. Auto-derived from background-color.
$selected-item-text-color
Color
nullThe drop-down selected item text color. Auto-derived from selected-item-background.
$selected-item-icon-color
Color
nullThe drop-down selected item icon color. Auto-derived from selected-item-text-color.
$selected-hover-item-background
Color
nullThe drop-down selected item hover background color. Auto-derived from selected-item-background.
$selected-hover-item-text-color
Color
nullThe drop-down selected item hover text color. Auto-derived from selected-hover-item-background.
$selected-hover-item-icon-color
Color
nullThe drop-down selected item hover icon color. Auto-derived from selected-hover-item-text-color.
$selected-focus-item-background
Color
nullThe drop-down selected item focus background color. Auto-derived from selected-item-background.
$selected-focus-item-text-color
Color
nullThe drop-down selected item focus text color. Auto-derived from selected-focus-item-background.
$disabled-item-background
Color
nullThe drop-down disabled item background color.
$disabled-item-text-color
Color
nullThe drop-down disabled item text color. Auto-derived from background-color or disabled-item-background.
$shadow
List
nullSets a shadow to be used for the drop-down.
$border-width
Number
nullThe border width used for drop-down component.
$border-color
Color
nullThe border color used for drop-down component.
$border-radius
List
nullThe border radius used for drop-down component.
$item-border-radius
List
nullThe border radius used for drop-down items.
#

functionexpansion-panel-themepublicview codeopen_in_new

Expansion Panel Theme PRIMARY TOKENS: - `$header-background` — The panel header background. - `$body-background` — The panel body background. Derived colors are auto-calculated for contrast.

Example

Change the header background color

$my-expansion-panel-theme: expansion-panel-theme($header-background: black);
// Pass the theme to the tokens() mixin
@include tokens($my-expansion-panel-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$header-background
Color
nullThe panel header background color. PRIMARY - derives header colors, focus, disabled.
$header-focus-background
Color
nullThe panel header focus background color. Auto-derived from header-background.
$header-title-color
Color
nullThe panel header title text color. Auto-derived from header-background.
$header-description-color
Color
nullThe panel header description text color. Auto-derived from header-background (muted).
$header-icon-color
Color
nullThe panel header icon color. Auto-derived from header-background.
$body-color
Color
nullThe panel body text color. Auto-derived from body-background.
$body-background
Color
nullThe panel body background color. PRIMARY for body - derives body-color.
$disabled-text-color
Color
nullThe panel disabled text color. Auto-derived from header-background.
$disabled-description-color
Color
nullThe panel disabled header description text color. Auto-derived from header-background.
$expanded-margin
Number
nullThe expansion panel margin in expanded state when positioned inside accordion. Used only in Ignite UI for Angular.
$border-radius
List
nullThe border radius used for expansion-panel component.
#

functionaccordion-themepublicview codeopen_in_new

Accordion Theme PRIMARY TOKENS: - `$header-background` — The panel header background. - `$body-background` — The panel body background. Derived colors are auto-calculated for contrast.

#

functionexcel-filtering-themepublicview codeopen_in_new

Excel Filtering Theme PRIMARY TOKENS: - `$background` — The background color for the excel filtering area. - `$foreground` — The foreground/text color for the excel filtering area. - `$accent-color` — The accent color for the excel filtering area and its internal components.

Example

Change excel filtering header color

$my-excel-filtering-theme: excel-filtering-theme($background: blue, $accent-color: orange);
@include tokens($my-excel-filtering-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color for the excel filtering area.
$foreground
Color
nullThe foreground/text color for the excel filtering area.
$accent-color
Color
nullThe accent color for the excel filtering and its internal components.
$secondary-background
Color
nullThe secondary background color for the excel filtering area.
$header-foreground
Color
nullThe excel filtering header text color.
$subheader-foreground
Color
nullThe excel filtering subheader text color.
$actions-foreground
Color
nullThe excel filtering actions text color.
$actions-icon-color
Color
nullThe excel filtering actions icon color.
$actions-hover-foreground
Color
nullThe excel filtering actions hover text color.
$actions-hover-icon-color
Color
nullThe excel filtering actions hover icon color.
$actions-selected-icon-color
Color
nullThe excel filtering actions selected icon color.
$actions-hover-background
Color
nullThe excel filtering actions hover background color.
$actions-disabled-foreground
Color
nullThe excel filtering actions disabled text color.
$border-color
Color
nullThe border color used in the excel style filter.
#

functiongrid-summary-themepublicview codeopen_in_new

Grid Summary Theme PRIMARY TOKENS: - `$background-color` — The summaries background color. - `$label-color` — The summaries label color. Derived colors are auto-calculated for contrast.

Example

Change the summaries background and labels color

$my-summary-theme: grid-summary-theme(
$background-color: black,
$label-color: white
);
// Pass the theme to the tokens() mixin
@include tokens($my-summary-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background-color
Color
nullThe summaries background color. PRIMARY - derives label-color, result-color, border-color, pinned-border-color.
$label-color
Color
nullThe summaries label color. PRIMARY - derives label-hover-color. Auto-derived from background-color.
$result-color
Color
nullThe summaries value/result color. Auto-derived from background-color.
$border-style
String
nullThe summaries border style.
$border-color
Color
nullThe summaries border color. Auto-derived from background-color.
$pinned-border-style
String
nullThe border style of the summary panel.
$pinned-border-color
Color
nullThe border color of the summary panel. Auto-derived from background-color.
$label-hover-color
Color
nullThe summaries hover label color. Auto-derived from label-color.
#

functiongrid-themepublicview codeopen_in_new

Grid Theme PRIMARY TOKENS: - `$background` — Controls the overall background color of the grid, including header and content. - `$foreground` — Controls the overall foreground color of the grid, including text and icons. - `$accent-color` — Controls the accent color used for interactive elements in the grid.

Example

Change the header background color

$my-grid-theme: grid-theme($header-background: black);
// Pass the theme to the tokens() mixin
@include tokens($my-grid-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the grid.
$foreground
Color
nullThe foreground color of the grid.
$accent-color
Color
nullThe accent color used for interactive elements in the grid.
$header-background
Color
nullThe table header background color - derives header-text-color, header-border-color, and many more.
$header-text-color
Color
nullThe table header text color. Auto-derived from header-background.
$header-border-width
String
nullThe border width used for header borders.
$header-border-style
String
nullThe border style used for header borders.
$header-border-color
Color
nullThe color used for header borders. Auto-derived from header-background.
$header-selected-background
Color
nullThe table header background color when selected. Auto-derived from header-background.
$header-selected-text-color
Color
nullThe table header text color when selected. Auto-derived from header-selected-background.
$sorted-header-icon-color
Color
nullThe sort icon color when sorted. Auto-derived from header-background.
$sortable-header-icon-hover-color
color
nullThe icon color on hover when sortable. Auto-derived from sorted-header-icon-color.
$content-background
Color
nullThe table body background color - derives content-text-color, row backgrounds, cell backgrounds, borders.
$content-text-color
Color
nullThe table body text color. Auto-derived from content-background.
$ghost-header-text-color
Color
nullThe dragged header text color. Auto-derived from ghost-header-background.
$ghost-header-icon-color
Color
nullThe dragged header icon color. Auto-derived from ghost-header-background.
$ghost-header-background
Color
nullThe dragged header background color - derives ghost-header-text-color, ghost-header-icon-color.
$row-odd-background
Color
nullThe background color of odd rows. Auto-derived from content-background.
$row-even-background
Color
nullThe background color of even rows. Auto-derived from content-background.
$row-odd-text-color
Color
nullThe text color of odd rows. Auto-derived from row-odd-background.
$row-even-text-color
Color
nullThe text color of even rows. Auto-derived from row-even-background.
$row-selected-background
Color
nullThe selected row background color. Auto-derived from content-background.
$row-selected-hover-background
Color
nullThe selected row hover background color. Auto-derived from row-selected-background.
$row-selected-text-color
Color
nullThe selected row text color. Auto-derived from row-selected-background.
$row-selected-hover-text-color
Color
nullThe selected row hover text color. Auto-derived from row-selected-hover-background.
$row-hover-background
Color
nullThe hover row background color. Auto-derived from content-background.
$row-hover-text-color
Color
nullThe hover row text color. Auto-derived from row-hover-background.
$row-border-width
String
nullThe row bottom border width.
$row-border-style
String
nullThe row bottom border style.
$row-border-color
Color
nullThe row bottom border color. Auto-derived from content-background.
$action-border-color
Color
nullThe color used for action borders.
$pinned-border-width
String
nullThe border width of the pinned border.
$pinned-border-style
String
nullThe CSS border style of the pinned border.
$pinned-border-color
Color
nullThe color of the pinned border. Auto-derived from content-background.
$cell-active-border-width
String
nullThe border width for the active cell.
$cell-active-border-color
Color
nullThe border color for the active cell. Auto-derived from content-background.
$cell-selected-background
Color
nullThe selected cell background color. Auto-derived from content-background.
$cell-selected-text-color
Color
nullThe selected cell text color. Auto-derived from cell-selected-background.
$cell-editing-background
Color
nullThe background of the cell being edited. Auto-derived from content-background.
$cell-editing-foreground
Color
nullThe cell text color in edit mode. Auto-derived from cell-editing-background.
$cell-editing-focus-foreground
Color
nullThe cell text color in edit mode on focus. Auto-derived from cell-editing-background.
$cell-edited-value-color
Color
nullThe text color of an edited cell.
$cell-new-color
Color
nullThe text color of a new cell.
$cell-disabled-color
Color
nullThe text color of a disabled cell.
$cell-selected-within-background
Color
nullThe background of selected cell in selected row. Auto-derived from row-selected-background.
$cell-selected-within-text-color
Color
nullThe color of selected cell in selected row. Auto-derived from cell-selected-within-background.
$edit-mode-color
Color
nullThe color around the row/cell in edit mode. Auto-derived from content-background.
$edited-row-indicator
Color
nullThe edited row indicator line color.
$resize-line-color
Color
nullThe table header resize line color.
$drop-indicator-color
Color
nullThe color of the column drag indicator line.
$grouparea-background
Color
nullThe grid group area background color - derives grouparea-color, drop-area-background. Auto-derived from header-background.
$grouparea-color
Color
nullThe grid group area color. Auto-derived from grouparea-background.
$group-row-background
Color
nullThe grid group row background color - derives expand-icon-color, group-row-selected-background, group-label-text, group-count-background. Auto-derived from header-background.
$group-row-selected-background
Color
nullThe group row selected background. Auto-derived from group-row-background.
$group-label-column-name-text
Color
nullThe grid group row column name text color.
$group-label-icon
Color
nullThe grid group row icon color.
$group-label-text
Color
nullThe grid group row text color. Auto-derived from group-row-background or group-row-selected-background.
$expand-all-icon-color
Color
nullThe header expand all icon color. Auto-derived from header-background.
$expand-all-icon-hover-color
Color
nullThe header expand all icon hover color. Auto-derived from header-background.
$expand-icon-color
Color
nullThe grid row expand icon color. Auto-derived from group-row-background or group-row-selected-background.
$expand-icon-hover-color
Color
nullThe grid row expand icon hover color. Auto-derived from expand-icon-color.
$active-expand-icon-color
Color
nullThe active expand icon color.
$active-expand-icon-hover-color
Color
nullThe active expand icon hover color.
$group-count-background
Color
nullThe group row count badge background. Auto-derived from group-row-background or group-row-selected-background.
$group-count-text-color
Color
nullThe group row count badge text color. Auto-derived from group-count-background.
$drop-area-text-color
Color
nullThe drop area text color. Auto-derived from drop-area-background.
$drop-area-icon-color
Color
nullThe drop area icon color. Auto-derived from drop-area-background.
$drop-area-background
Color
nullThe drop area background color. Auto-derived from grouparea-background.
$drop-area-on-drop-background
Color
nullThe drop area background on drop. Auto-derived from drop-area-background.
$filtering-header-background
Color
nullThe filtered column header background. Auto-derived from header-background.
$filtering-header-text-color
Color
nullThe filtered column header text color. Auto-derived from filtering-header-background.
$filtering-row-background
Color
nullThe filtering row background. Auto-derived from header-background.
$filtering-row-text-color
Color
nullThe filtering row text color. Auto-derived from filtering-row-background.
$filtering-dialog-background
Color
nullThe background color of the advanced filtering dialog.
$excel-filtering-header-foreground
Color
nullThe excel filtering header text color. Auto-derived from filtering-row-background.
$excel-filtering-subheader-foreground
Color
nullThe excel filtering subheader text color. Auto-derived from filtering-row-background.
$excel-filtering-actions-foreground
Color
nullThe excel filtering actions text color. Auto-derived from filtering-row-background.
$excel-filtering-actions-hover-foreground
Color
nullThe excel filtering actions hover text color.
$excel-filtering-actions-disabled-foreground
Color
nullThe excel filtering actions disabled text color. Auto-derived from filtering-row-background.
$excel-filtering-border-color
Color
nullThe border color used in the excel style filter. Auto-derived from foreground and background.
$tree-filtered-text-color
Color
nullGrouping row background color on focus.
$summaries-border-color
Color
nullThe border color of the summaries row.
$summaries-patch-background
Color
nullThe leading summaries patch background.
$row-highlight
Color
nullThe grid row highlight indication color.
$grid-shadow
List
nullThe shadow of the grid.
$drag-shadow
List
nullThe shadow for movable elements.
$row-ghost-background
color
nullThe dragged row background color.
$row-drag-color
color
nullThe row drag handle color.
$grid-border-color
Color
nullThe color of the grid border.
$drop-area-border-radius
List
nullThe border radius for column drop area.
$active-state-border-style
List
nullThe border style used for row active state and cell active state.
$body-column-border-color-odd
Color
nullThe border color used for the body column in odd rows.
$body-column-border-color-even
Color
nullThe border color used for the body column in even rows.
$body-column-hover-border-color
Color
nullThe border color used for the body column when in hovered row.
$body-column-hover-selected-border-color
Color
nullThe border color used for the body column when in hovered + selected row.
$body-column-selected-border-color
Color
nullThe border color used for the body column when in selected row.
#

functiongrid-toolbar-themepublicview codeopen_in_new

Grid Toolbar Theme PRIMARY TOKENS: - `$background` — The toolbar background and drop-down background color. - `$foreground` — The toolbar title and drop-down item text color. - `$accent-color` — The accent color used to derive interactive item backgrounds. - `$dropdown-background` — The toolbar drop-down background color. - `$item-hover-background` — The drop-down item hover background. - `$item-focus-background` — The drop-down item focus background. Derived colors are auto-calculated for contrast.

Example

Change the toolbar background color

$my-toolbar-theme: grid-toolbar-theme(
$background: black
);
// Pass the theme to the tokens() mixin
@include tokens($my-toolbar-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe toolbar background and drop-down background color. PRIMARY - derives title-text-color and dropdown-background.
$foreground
Color
nullThe toolbar title and drop-down item text color. PRIMARY - derives title-text-color and item-text-color.
$accent-color
Color
nullThe accent color used to derive interactive item backgrounds.
$title-text-color
Color
nullThe toolbar title text color. Auto-derived from background.
$dropdown-background
Color
nullThe toolbar drop-down background color. PRIMARY - derives item-text-color.
$item-text-color
Color
nullThe toolbar drop-down item text color. Auto-derived from dropdown-background.
$item-hover-background
Color
nullThe toolbar drop-down item hover background color. PRIMARY - derives item-hover-text-color.
$item-hover-text-color
Color
nullThe toolbar drop-down item hover text color. Auto-derived from dropdown-background or item-hover-background.
$item-focus-background
Color
nullThe toolbar drop-down item focus background color. PRIMARY - derives item-focus-text-color.
$item-focus-text-color
Color
nullThe toolbar drop-down item focus text color. Auto-derived from dropdown-background or item-focus-background.
$size
List
nullThe size used for the grid toolbar min-height.
$border-color
Color
nullThe toolbar border-bottom color.
#

functionpivot-data-selector-themepublicview codeopen_in_new

Pivot Data Selector Theme NOTE: This component has no automatic token derivation. All tokens are directly passed to the schema without calculations.

Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
#

functionhighlight-themepublicview codeopen_in_new

Highlight Theme PRIMARY TOKENS: - `$resting-background` — The resting state background. - `$active-background` — The active state background. Derived colors are auto-calculated for contrast.

Example

Change the background and icon colors in icon highlight

$my-highlight-theme: highlight-theme($resting-background: black, $active-color: white);
// Pass the theme to the tokens() mixin
@include tokens($my-highlight-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$resting-background
Color
nullThe background color used for the highlight in its resting state. PRIMARY - derives resting-color.
$resting-color
Color
nullThe text color used for the highlight in its resting state. Auto-derived from resting-background.
$active-background
Color
nullThe background color used for the highlight in its active state. PRIMARY - derives active-color.
$active-color
Color
nullThe text color used for the highlight in its active state. Auto-derived from active-background.
#

functioncontained-icon-button-themepublicview codeopen_in_new

Contained Icon Button Theme PRIMARY TOKENS: - `$background` — Background color for the contained icon button. - `$foreground` — Foreground (icon) color. Used as fallback for state foreground colors. Auto-derived from background. - `$border-color` — Border color. Derived colors are auto-calculated for contrast.

Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema map or icon-button schema to use.
$background
Color
nullBackground color for the contained icon button. PRIMARY - derives foreground, hover-background, focus-background, active-background.
$foreground
Color
nullForeground (icon) color. Auto-derived from background.
$shadow-color
Color
nullShadow color. Auto-derived from focus-background.
$hover-background
Color
nullBackground color on hover. Auto-derived from background.
$hover-foreground
Color
nullForeground color on hover. Auto-derived from foreground or hover-background.
$focus-background
Color
nullBackground color on focus. Auto-derived from background.
$focus-foreground
Color
nullForeground color on focus. Auto-derived from foreground or focus-background.
$focus-hover-background
Color
nullBackground color on focus + hover. Auto-derived from focus-background.
$focus-hover-foreground
Color
nullForeground color on focus + hover. Auto-derived from foreground or focus-hover-background.
$active-background
Color
nullBackground color when active. Auto-derived from background.
$active-foreground
Color
nullForeground color when active. Auto-derived from foreground or active-background.
$border-radius
Length
nullBorder radius for the icon button.
$border-color
Color
nullBorder color. PRIMARY - derives focus-border-color.
$focus-border-color
Color
nullBorder color on focus. Auto-derived from foreground or border-color.
$disabled-background
Color
nullBackground color when disabled. Auto-derived from background (bootstrap/indigo).
$disabled-foreground
Color
nullForeground color when disabled. Auto-derived from foreground or disabled-background.
$disabled-border-color
Color
nullBorder color when disabled.
$size
Length
nullSize of the icon button.
#

functionflat-icon-button-themepublicview codeopen_in_new

Flat Icon Button Theme PRIMARY TOKENS: - `$foreground` — Foreground (icon) color. - `$hover-background` — Background color on hover. - `$focus-background` — Background color on focus. - `$active-background` — Background color when active. For flat icon buttons, the foreground color is the primary token.

Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema map or icon-button schema to use.
$background
Color
nullBackground color for the flat icon button.
$foreground
Color
nullForeground (icon) color. PRIMARY - derives hover/focus/active backgrounds and foregrounds.
$shadow-color
Color
nullShadow color. Auto-derived from foreground (bootstrap).
$hover-background
Color
nullBackground color on hover. PRIMARY - derives hover-foreground. Auto-derived from foreground.
$hover-foreground
Color
nullForeground color on hover. Auto-derived from hover-background or foreground.
$focus-background
Color
nullBackground color on focus. PRIMARY - derives focus-foreground. Auto-derived from foreground.
$focus-foreground
Color
nullForeground color on focus. Auto-derived from focus-background or foreground.
$focus-hover-background
Color
nullBackground color on focus + hover. Auto-derived from foreground or hover-background.
$focus-hover-foreground
Color
nullForeground color on focus + hover. Auto-derived from focus-hover-background or foreground.
$active-background
Color
nullBackground color when active. Auto-derived from foreground.
$active-foreground
Color
nullForeground color when active. Auto-derived from active-background, foreground, or hover-foreground.
$border-radius
Length
nullBorder radius for the icon button.
$border-color
Color
nullBorder color.
$focus-border-color
Color
nullBorder color on focus. Auto-derived from foreground (indigo).
$disabled-background
Color
nullBackground color when disabled.
$disabled-foreground
Color
nullForeground color when disabled. Auto-derived from foreground (bootstrap/indigo).
$disabled-border-color
Color
nullBorder color when disabled.
$size
Length
nullSize of the icon button.
#

functionicon-button-themepublicview codeopen_in_new

Icon Button Theme PRIMARY TOKENS: - `$background` — Background color for the icon button. - `$hover-background` — Background color on hover. - `$focus-background` — Background color on focus. - `$focus-hover-background` — Background color on focus + hover. Derived colors are auto-calculated for contrast. Generates a theme map for the icon button component.

warningDeprecated

Use flat-icon-button-theme(), contained-icon-button-theme(), or outlined-icon-button-theme() instead.

Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema map or icon-button schema to use.
$background
Color
nullBackground color for the icon button. PRIMARY - derives foreground.
$foreground
Color
nullForeground (icon) color. Auto-derived from background.
$shadow-color
Color
nullShadow color for the icon button.
$hover-background
Color
nullBackground color on hover. PRIMARY - derives hover-foreground.
$hover-foreground
Color
nullForeground color on hover. Auto-derived from hover-background.
$focus-background
Color
nullBackground color on focus. PRIMARY - derives focus-foreground.
$focus-foreground
Color
nullForeground color on focus. Auto-derived from focus-background.
$focus-hover-background
Color
nullBackground color on focus + hover. PRIMARY - derives focus-hover-foreground.
$focus-hover-foreground
Color
nullForeground color on focus + hover. Auto-derived from focus-hover-background.
$active-background
Color
nullBackground color when active.
$active-foreground
Color
nullForeground color when active.
$border-radius
Length
nullBorder radius for the icon button.
$border-color
Color
nullBorder color.
$focus-border-color
Color
nullBorder color on focus.
$disabled-background
Color
nullBackground color when disabled.
$disabled-foreground
Color
nullForeground color when disabled.
$disabled-border-color
Color
nullBorder color when disabled.
$size
Length
nullSize of the icon button.
#

functionoutlined-icon-button-themepublicview codeopen_in_new

Outlined Icon Button Theme PRIMARY TOKENS: - `$foreground` — Foreground (icon) color. - `$hover-background` — Background color on hover. - `$focus-background` — Background color on focus. - `$active-background` — Background color when active. For outlined icon buttons, the foreground color is the primary token.

Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema map or icon-button schema to use.
$background
Color
nullBackground color for the outlined icon button.
$foreground
Color
nullForeground (icon) color. PRIMARY - derives hover/focus/active backgrounds, foregrounds, and borders.
$shadow-color
Color
nullShadow color. Auto-derived from focus-background (bootstrap).
$hover-background
Color
nullBackground color on hover. PRIMARY - derives hover-foreground. Auto-derived from foreground.
$hover-foreground
Color
nullForeground color on hover. Auto-derived from hover-background or foreground.
$focus-background
Color
nullBackground color on focus. PRIMARY - derives focus-foreground. Auto-derived from foreground.
$focus-foreground
Color
nullForeground color on focus. Auto-derived from focus-background or foreground.
$focus-hover-background
Color
nullBackground color on focus + hover. Auto-derived from foreground or focus-background.
$focus-hover-foreground
Color
nullForeground color on focus + hover. Auto-derived from focus-hover-background or foreground.
$active-background
Color
nullBackground color when active. Auto-derived from foreground.
$active-foreground
Color
nullForeground color when active. Auto-derived from active-background or hover-foreground.
$border-radius
Length
nullBorder radius for the icon button.
$border-color
Color
nullBorder color. Auto-derived from foreground.
$focus-border-color
Color
nullBorder color on focus. Auto-derived from foreground or active-background.
$disabled-background
Color
nullBackground color when disabled.
$disabled-foreground
Color
nullForeground color when disabled. Auto-derived from foreground (bootstrap/indigo).
$disabled-border-color
Color
nullBorder color when disabled. Auto-derived from border-color (bootstrap/indigo).
$size
Length
nullSize of the icon button.
#

functionicon-themepublicview codeopen_in_new

Icon Theme This theme has no automatic token derivation. All tokens are independent.

Example

Change the icon color

$my-icon-theme: icon-theme($color: orange);
// Pass the theme to the tokens() mixin
@include tokens($my-icon-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$color
Color
nullThe icon color.
$size
String
nullThe icon size.
$disabled-color
Color
nullThe disabled icon color.
#

functionfile-input-themepublicview codeopen_in_new

File Input Theme PRIMARY TOKENS: - `$file-names-background` — The file names container background color. - `$file-selector-button-background` — The file input selector button background color. Derived colors are auto-calculated for contrast.

Example

Change the focused border and label colors

$my-file-input-theme: file-input-theme($file-names-foreground: #09f);
// Pass the theme to the tokens() mixin
@include tokens($my-file-input-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$file-names-background
Color
nullThe file names container background color. PRIMARY - derives all file-names foreground colors.
$file-names-background--focused
Color
nullThe file names container background color when focused. Auto-derived from file-names-background.
$file-names-background--filled
Color
nullThe file names container background color when filled. Auto-derived from file-names-background.
$file-names-background--disabled
Color
nullThe file names container background color when disabled. Auto-derived from file-names-background.
$file-names-foreground
Color
nullThe file names color. Auto-derived from file-names-background.
$file-names-foreground--focused
Color
nullThe file names color when focused. Auto-derived from file-names-background--focused.
$file-names-foreground--filled
Color
nullThe file names color when filled. Auto-derived from file-names-background--filled.
$file-names-foreground--disabled
Color
nullThe file names color when disabled. Auto-derived from file-names-background--disabled.
$file-selector-button-background
Color
nullThe selector button background color. PRIMARY - derives all selector button foreground colors.
$file-selector-button-background--focused
Color
nullThe selector button background color when focused. Auto-derived from file-selector-button-background.
$file-selector-button-background--filled
Color
nullThe selector button background color when filled. Auto-derived from file-selector-button-background.
$file-selector-button-background--disabled
Color
nullThe selector button background color when disabled. Auto-derived from file-selector-button-background.
$file-selector-button-foreground
Color
nullThe selector button foreground color. Auto-derived from file-selector-button-background.
$file-selector-button-foreground--focused
Color
nullThe selector button foreground color when focused. Auto-derived from file-selector-button-background--focused.
$file-selector-button-foreground--filled
Color
nullThe selector button foreground color when filled. Auto-derived from file-selector-button-background--filled.
$file-selector-button-foreground--disabled
Color
nullThe selector button foreground color when disabled. Auto-derived from file-selector-button-background--disabled.
#

functioninput-group-themepublicview codeopen_in_new

Input Group Theme PRIMARY TOKENS: - `$box-background` — Box type input background. - `$search-background` — Search type input background. - `$border-color` — Border color for border/fluent types. - `$idle-bottom-line-color` — Bottom line color (material). - `$focused-border-color` — Focused state accent color. For Material variant, set `$box-background` for box type inputs.

Example

Change the focused border and label colors

$my-input-group-theme: input-group-theme($focused-secondary-color: pink, $focused-bottom-line-color: pink);
// Pass the theme to the tokens() mixin
@include tokens($my-input-group-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$idle-text-color
Color
nullThe input text color in the idle state. Auto-derived from box/search-background.
$filled-text-color
Color
nullThe input text color in the filled state. Auto-derived from box/search-background.
$filled-text-hover-color
Color
nullThe input text color in the filled state on hover.
$focused-text-color
Color
nullThe input text color in the focused state. Auto-derived from box-background-focus or search-background.
$disabled-text-color
Color
nullThe input text color in the disabled state. Auto-derived from disabled background.
$helper-text-color
Color
nullThe helper text color.
$text-error-color
Color
nullThe color used for the error message.
$icon-error-color
Color
nullThe color used for the error icon.
$input-prefix-color
Color
nullThe input prefix color in the idle state. Auto-derived from box/search-background.
$input-prefix-background
Color
nullThe background color of an input prefix in the idle state. Synced with suffix-background.
$input-prefix-color--filled
Color
nullThe input prefix color in the filled state. Auto-derived from prefix-color or background.
$input-prefix-background--filled
Color
nullThe background color of an input prefix in the filled state.
$input-prefix-color--focused
Color
nullThe input prefix color in the focused state. Auto-derived from prefix-color--filled or background.
$input-prefix-background--focused
Color
nullThe background color of an input prefix in the focused state.
$input-suffix-color
Color
nullThe input suffix color in the idle state. Auto-derived from box/search-background. Synced with prefix-color.
$input-suffix-background
Color
nullThe background color of an input suffix in the idle state. Synced with prefix-background.
$input-suffix-color--filled
Color
nullThe input suffix color in the filled state.
$input-suffix-background--filled
Color
nullThe background color of an input suffix in the filled state.
$input-suffix-color--focused
Color
nullThe input suffix color in the focused state.
$input-suffix-background--focused
Color
nullThe background color of an input suffix in the focused state.
$idle-secondary-color
Color
nullThe label color in the idle state. Auto-derived from box-background or placeholder-color.
$filled-secondary-color
Color
nullThe label color in the filled state. Auto-derived from idle-secondary-color.
$focused-secondary-color
Color
nullThe label color in the focused state. Auto-derived from focused-bottom-line-color or focused-border-color.
$idle-bottom-line-color
Color
nullThe bottom line and border colors in the idle state. PRIMARY for material bottom line.
$hover-bottom-line-color
Color
nullThe bottom line and border colors in the hover state. Auto-derived from idle-bottom-line-color.
$focused-bottom-line-color
Color
nullThe bottom line and border colors in the focused state. Auto-derived from hover-bottom-line-color.
$disabled-bottom-line-color
Color
nullThe bottom line and border colors in the disabled state.
$border-color
Color
nullThe border color for input groups of type border and fluent. PRIMARY for border inputs.
$hover-border-color
Color
nullThe hover input border for input groups of type border and fluent. Auto-derived from border-color.
$focused-border-color
Color
nullThe focused input border color for input groups of type border and fluent. Auto-derived from hover-border-color.
$disabled-border-color
Color
nullThe disabled border color for input groups of type border and fluent.
$box-background
Color
nullThe background color of an input group of type box. PRIMARY for material box inputs.
$box-background-hover
Color
nullThe background color on hover of an input group of type box. Auto-derived from box-background.
$box-background-focus
Color
nullThe background color on focus of an input group of type box. Auto-derived from box-background.
$box-disabled-background
Color
nullThe background color of an input group of type box in the disabled state. Auto-derived from box-background.
$border-background
Color
nullThe background color of an input group of type border.
$border-disabled-background
Color
nullThe background color of an input group of type border in the disabled state.
$search-background
Color
nullThe background color of an input group of type search. PRIMARY for search inputs.
$search-disabled-background
Color
nullThe background color of an input group of type search in the disabled state. Auto-derived from search-background.
$search-resting-shadow
List
nullThe shadow color of an input group of type search in its resting state.
$search-hover-shadow
List
nullThe shadow color of an input group of type search in its hover state.
$search-disabled-shadow
List
nullThe shadow color of an input group of type search in its disabled state.
$success-secondary-color
Color
nullThe success color used in the valid state. Used only in Ignite UI for Angular.
$warning-secondary-color
Color
nullThe warning color used in the warning state. Used only in Ignite UI for Angular.
$success-shadow-color
Color
nullThe shadow color used in the valid state. Used only in Ignite UI for Angular.
$error-secondary-color
Color
nullThe error color used in the error state.
$box-border-radius
List
nullThe border radius used for box input.
$border-border-radius
List
nullThe border radius used for border input.
$search-border-radius
List
nullThe border radius used for search input.
$placeholder-color
Color
nullThe placeholder color of an input group. Auto-derived from box/search-background.
$hover-placeholder-color
Color
nullThe placeholder color of an input group on hover. Auto-derived from box-background-hover or placeholder-color.
$disabled-placeholder-color
Color
nullThe disabled placeholder color of an input group. Auto-derived from disabled background.
#

functiondate-time-input-themepublicview codeopen_in_new

Date Time Input Theme PRIMARY TOKENS: - `$box-background` — Box type input background. - `$search-background` — Search type input background. - `$border-color` — Border color for border/fluent types. - `$idle-bottom-line-color` — Bottom line color (material). - `$focused-border-color` — Focused state accent color. For Material variant, set `$box-background` for box type inputs.

#

functionlabel-themepublicview codeopen_in_new

Label Theme This theme has no automatic token derivation. All tokens are independent.

Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$color
Map
nullThe text color.
$disabled-color
Map
nullThe disabled text color.
#

functionlist-themepublicview codeopen_in_new

List Theme PRIMARY TOKENS: - `$background` or `$item-background` - The list/item background. Auto-derives: header-background, item-background-hover, item-background-active, item-background-selected, all text/action/thumbnail colors. Derived colors are auto-calculated for contrast.

Example

Change the list background color

$my-list-theme: list-theme($background: black);
// Pass the theme to the tokens() mixin
@include tokens($my-list-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe list background color. PRIMARY - derives item-background if not set.
$header-background
Color
nullThe list header background color. Auto-derived from background or item-background.
$header-text-color
Color
nullThe list header text color. Auto-derived from header-background.
$item-background
Color
nullThe list item background color. PRIMARY - derives all item state colors.
$item-background-hover
Color
nullThe list item hover background color. Auto-derived from item-background.
$item-background-active
Color
nullThe active list item background color. Auto-derived from item-background-hover.
$item-background-selected
Color
nullThe selected list item background color. Auto-derived from item-background-active.
$item-text-color
Color
nullThe list item text color. Auto-derived from item-background.
$item-text-color-hover
Color
nullThe list item hover text color. Auto-derived from item-background-hover.
$item-text-color-active
Color
nullThe active list item text color. Auto-derived from item-background-active.
$item-text-color-selected
Color
nullThe selected list item text color. Auto-derived from item-background-selected.
$item-title-color
Color
nullThe list item title color. Auto-derived from item-text-color.
$item-title-color-hover
Color
nullThe list item hover title color. Auto-derived from item-text-color-hover.
$item-title-color-active
Color
nullThe active list item title color. Auto-derived from item-text-color-active.
$item-title-color-selected
Color
nullThe selected list item title color. Auto-derived from item-text-color-selected.
$item-subtitle-color
Color
nullThe list item subtitle color. Auto-derived from item-text-color (muted).
$item-subtitle-color-hover
Color
nullThe list item hover subtitle color. Auto-derived from item-text-color-hover (muted).
$item-subtitle-color-active
Color
nullThe active list item subtitle color. Auto-derived from item-text-color-active (muted).
$item-subtitle-color-selected
Color
nullThe selected list item subtitle color. Auto-derived from item-text-color-selected (muted).
$item-action-color
Color
nullThe list item action color. Auto-derived from item-text-color.
$item-action-color-hover
Color
nullThe list item hover action color. Auto-derived from item-text-color-hover.
$item-action-color-active
Color
nullThe active list item action color. Auto-derived from item-text-color-active.
$item-action-color-selected
Color
nullThe selected list item action color. Auto-derived from item-text-color-selected.
$item-thumbnail-color
Color
nullThe list item thumbnail color. Auto-derived from item-text-color.
$item-thumbnail-color-hover
Color
nullThe list item hover thumbnail color. Auto-derived from item-text-color-hover.
$item-thumbnail-color-active
Color
nullThe active list item thumbnail color. Auto-derived from item-text-color-active.
$item-thumbnail-color-selected
Color
nullThe selected list item thumbnail color. Auto-derived from item-text-color-selected.
$border-radius
List
nullThe border radius used for list component.
$item-border-radius
List
nullThe border radius used for list item.
$border-width
Color
nullThe list border width.
$border-color
Number
nullThe list border color. Auto-derived from item-background (fluent/bootstrap).
#

functionnavbar-themepublicview codeopen_in_new

Navbar Theme PRIMARY TOKENS: - `$background` — The navbar background color. Setting just `$background` will create a complete navbar theme with proper contrast.

Example

Change the background color

$my-navbar-theme: navbar-theme($background: green);
// Pass the theme to the tokens() mixin
@include tokens($my-navbar-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe navbar background color. PRIMARY - derives text-color and icon colors.
$text-color
Color
nullThe navbar text color. Auto-derived from background.
$border-color
Color
nullThe navbar border color. Auto-derived from background (indigo).
$shadow
List
nullThe shadow of the navbar.
$idle-icon-color
Color
nullThe navbar idle icon color. Auto-derived from background.
$hover-icon-color
Color
nullThe navbar hover icon color. Auto-derived from idle-icon-color or background.
$disable-shadow
Bool
trueSets the navbar shadow visibility.
#

functionnavdrawer-themepublicview codeopen_in_new

Navigation Drawer Theme PRIMARY TOKENS: - `$background` — The drawer background color. - `$item-active-background` — The active item background. Derived colors are auto-calculated for contrast.

Example

Change the background and item colors

$navdrawer-theme: navdrawer-theme(
$background: #2d313a,
$item-active-background: #ecc256,
$item-icon-color: #ecc256
);
// Pass the theme to the tokens() mixin
@include tokens($navdrawer-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe navigation drawer background color. PRIMARY - derives all item colors.
$border-color
Color
nullThe navigation drawer right border color.
$item-header-text-color
Color
nullThe header's idle text color. Auto-derived from background.
$item-text-color
Color
nullThe item's idle text color. Auto-derived from background.
$item-icon-color
Color
nullThe item's icon color. Auto-derived from background.
$item-active-text-color
Color
nullThe item's active text color. Auto-derived from item-active-background.
$item-active-background
Color
nullThe item's active background color. PRIMARY for active state - derives active text/icon. Auto-derived from background.
$item-active-icon-color
Color
nullThe item's icon active color. Auto-derived from item-active-background.
$item-hover-background
Color
nullThe item's hover background color. Auto-derived from background.
$item-hover-text-color
Color
nullThe item's hover text color. Auto-derived from background.
$item-hover-icon-color
Color
nullThe item's hover icon color. Auto-derived from background.
$item-disabled-text-color
Color
nullThe item's disabled text color. Auto-derived from background (muted).
$item-disabled-icon-color
Color
nullThe item's disabled icon color. Auto-derived from background (muted).
$shadow
Color
nullSets a custom shadow to be used by the drawer.
$border-radius
List
nullThe border radius used for the navdrawer.
$item-border-radius
List
nullThe border radius used for the navdrawer item.
$size
Number
nullThe width of the navigation drawer in its expanded (full) state.
$size--mini
Number
nullThe width of the navigation drawer in its mini state.
#

functionoverlay-themepublicview codeopen_in_new

Overlay Theme This theme has no automatic token derivation. Only one token: background-color.

Example

Change the background color

$my-overlay-theme: overlay-theme($background-color: rgba(yellow, .74));
// Pass the theme to the tokens() mixin
@include tokens($my-overlay-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background-color
Color
nullThe background color used for modal overlays.
#

functionpaginator-themepublicview codeopen_in_new

Paginator Theme PRIMARY TOKENS: - `$background` — The paginator background. Derived colors are auto-calculated for contrast.

Example

Change the stripes color

$my-paginator-theme: paginator-theme(
$stripes-color: orange
);
// Pass the theme to the tokens() mixin
@include tokens($my-paginator-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$foreground
Color
currentColorThe text color. Auto-derived from background.
$background
Color
rgba(0, 0, 0, .04)The background color of the paging panel. PRIMARY - derives foreground.
$border-color
Color
rgba(0, 0, 0, .26)The border color of the paging panel.
$accent-color
Color
nullThe accent color used for paginator interactive elements.
#

functionprogress-circular-themepublicview codeopen_in_new

Circular Progress Theme This theme has no automatic token derivation. All fill colors are independent. The fill-color-default can accept a single color or a list of two colors for gradient effect.

Example

Change the circle progress color

$my-progress-circular-theme: progress-circular-theme(
$fill-color-default: purple
);
// Pass the theme to the igx-progress-circular component mixin
@include igx-progress-circular($my-progress-circle-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$track-color
Color
nullThe base circle fill color.
$fill-color-default
Color | List<Color>
nullThe progress circle fill color. Can be a single color or list of two colors for gradient.
$fill-color-danger
Color
nullThe track danger fill color.
$fill-color-warning
Color
nullThe track warning fill color.
$fill-color-info
Color
nullThe track info fill color.
$fill-color-success
Color
nullThe track success fill color.
$text-color
Color
nullThe value text color.
$diameter
Number
nullThe progress circle diameter.
#

functionprogress-linear-themepublicview codeopen_in_new

Linear Progress Theme This theme has no automatic token derivation. All tokens are independent. Use the semantic fill colors (danger, warning, info, success) for status-based progress indicators.

Example

Change the stripes color

$my-progress-linear-theme: progress-linear-theme(
$stripes-color: orange
);
// Pass the theme to the tokens() mixin
@include tokens($my-progress-linear-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$track-color
Color
nullThe main track color.
$fill-color-default
Color
nullThe track default fill color.
$fill-color-danger
Color
nullThe track danger fill color.
$fill-color-warning
Color
nullThe track warning fill color.
$fill-color-info
Color
nullThe track info fill color.
$fill-color-success
Color
nullThe track success fill color.
$stripes-color
Color
nullThe track stripes color.
$text-color
Color
nullThe track value text color.
$track-border-radius
List
nullThe border radius fraction, between 0 - 8 to be used fot the progress bar track
$track-height
Number
nullThe linear progress track height.
$strip-size
Number
nullThe linear progress bar strip width.
#

functionqr-code-themepublicview codeopen_in_new

QR Code Theme PRIMARY TOKENS: - `$background` — The QR code background color. - `$dark-color` — The color of the dark (data) modules. `$corner-square-color` and `$corner-dot-color` default to a live `var(--dark-color)` reference in the schema, so they automatically track `$dark-color` - including plain CSS custom property overrides at runtime - unless a caller sets a corner color explicitly.

Example

Change the data module and background colors

$my-qr-code-theme: qr-code-theme($background: white, $dark-color: black);
// Pass the theme to the tokens() mixin
@include tokens($my-qr-code-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the QR code. PRIMARY.
$dark-color
Color
nullThe color used for the dark (data) modules of the QR code. PRIMARY - falls back for corner-square-color, corner-dot-color.
$corner-square-color
Color
nullThe fill color for the outer corner (finder-pattern) squares. Falls back to dark-color.
$corner-dot-color
Color
nullThe fill color for the inner corner (finder-pattern) dots. Falls back to dark-color.
#

functionquery-builder-themepublicview codeopen_in_new

Query Builder Theme PRIMARY TOKENS: - `$background` — The background color. - `$header-background` — The header background color. - `$subquery-header-background` — The subquery header background. - `$subquery-border-color` — The subquery border color. Derived colors are auto-calculated for contrast.

Example

Set custom query-builder colors

$my-query-builder-theme: query-builder-theme($background: red);
// Pass the theme to the tokens() mixin
@include tokens($my-query-builder-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the filtering row. PRIMARY - derives label-foreground, header-background.
$foreground
Color
nullThe foreground color for text and icons in the query builder.
$accent-color
Color
nullThe accent color for highlights and interactive elements in the query builder.
$header-background
Color
nullThe background color of the query builder header. PRIMARY - derives header-foreground, subquery-header-background. Auto-derived from background.
$header-foreground
Color
nullThe foreground color of the query builder header. Auto-derived from header-background.
$header-border
Color
nullThe border color of the query builder header. Auto-derived from subquery-border-color (bootstrap only).
$subquery-header-background
Map
nullThe background color of the subquery header. PRIMARY - derives subquery-border-color. Auto-derived from header-background.
$subquery-border-color
Map
nullThe border color of the query block. PRIMARY - derives separator-color. Auto-derived from subquery-header-background.
$separator-color
Map
nullThe separator color of the query block. Auto-derived from subquery-border-color.
$subquery-border-radius
Number
nullThe border radius of the subquery block.
$label-foreground
Map
nullThe color for query builder labels "from" & "select". Auto-derived from background.
$border-radius
Number
nullThe border radius of the query builder.
$color-expression-group-and
Color
nullThe color of advanced filtering "AND" condition group.
$color-expression-group-or
Color
nullThe color of advanced filtering "OR" condition group.
#

functionradio-themepublicview codeopen_in_new

Radio Theme PRIMARY TOKENS: - `$fill-color` — The checked state border and dot color. - `$empty-color` — The unchecked border color. - `$error-color` — The invalid state color. Setting just `$fill-color` will theme all checked states consistently.

Example

Change the checked dot and border colors

$my-radio-theme: radio-theme($fill-color: magenta);
// Pass the theme to the tokens() mixin
@include tokens($my-radio-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$label-color
Color
nullThe text color used for the label text.
$label-color-hover
Color
nullThe text color used for the label text on hover. Auto-derived from label-color.
$empty-color
Color
nullThe unchecked border color. PRIMARY for unchecked states.
$empty-fill-color
Color
nullThe unchecked radio fill color.
$fill-color
Color
nullThe checked border and dot colors. PRIMARY - derives hover/focus colors.
$disabled-color
Color
nullThe disabled border and dot colors.
$disabled-label-color
Color
nullThe disabled label color.
$disabled-fill-color
Color
nullThe disabled checked border and dot colors.
$hover-color
Color
nullThe border and dot colors on hover. Auto-derived from empty-color.
$fill-color-hover
Color
nullThe checked dot color on hover. Auto-derived from fill-color.
$fill-hover-border-color
Color
nullThe checked border color on hover. Auto-derived from fill-color-hover.
$focus-border-color
Color
nullThe focus border color. Auto-derived from fill-color (bootstrap).
$focus-outline-color
Color
nullThe focus outlined color. Auto-derived from empty-color (indigo) or fill-color (bootstrap).
$focus-outline-color-filled
Color
nullThe focus outline color when radio is filled. Auto-derived from fill-color (indigo).
$error-color
Color
nullThe label, border and dot color in invalid state. PRIMARY for error states.
$error-color-hover
Color
nullThe label, border and dot color in invalid state on hover. Auto-derived from error-color.
$focus-outline-color-error
Color
nullThe focus outline color in invalid state. Auto-derived from error-color.
#

functionrating-themepublicview codeopen_in_new

Rating Theme This theme has no automatic token derivation. All tokens are independent. Use symbol-empty-color and symbol-full-color for text-based symbols. Use symbol-empty-filter and symbol-full-filter for image/SVG-based symbols.

Example

Change the rating filled symbol color

$my-rating-theme: rating-theme($symbol-full-color: red);
// Pass the theme to the tokens() mixin
@include tokens($my-rating-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$label-color
Color
nullsets the color for the label.
$value-label
Color
nullsets the color for the value label.
$symbol-size
Number
nullthe size of the symbols.
$symbol-empty-color
Color
nullsets the idle color for the symbol when it is a plane text.
$symbol-full-color
Color
nullsets the color in selected state for the symbol when it is a plane text.
$symbol-empty-filter
Color
nullthe filter(s) used for the empty symbol.
$symbol-full-filter
Color
nullthe filter(s) used for the filled symbol.
$disabled-label-color
Color
nullsets the color for the label in disabled state.
$disabled-value-label
Color
nullsets the color for the value label in disabled state.
$disabled-empty-symbol-color
Color
nullsets the idle color for the symbol in disabled state when it is a plane text.
$disabled-full-symbol-color
Color
nullsets the color for the symbol in selected/disabled state when it is a plane text.
#

functionripple-themepublicview codeopen_in_new

Ripple Theme This theme has no automatic token derivation. Only one token: color.

Example

Change the color

$my-ripple-theme: igx-ripple-theme($color: yellow);
// Pass the theme to the tokens() mixin
@include tokens($my-ripple-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$color
Color
nullThe color of the ripple.
#

functionscrollbar-themepublicview codeopen_in_new

Scrollbar Theme This theme has no automatic token derivation. All tokens are independent. Configure thumb, track, and corner elements separately.

Example

Change the background and track colors

$my-scrollbar-theme: scrollbar-theme($sb-thumb-bg-color: black, $sb-track-bg-color: gray);
// Pass the theme to the tokens() mixin
@include tokens($my-scrollbar-theme);
Parameters
NameTypeDefaultDescription
$schema
Color
$light-material-schemaThe schema used as basis for styling the component.
$sb-size
String | Number
nullThe size of the scrollbar.
$sb-thumb-min-height
String | Number
nullThe min-height of the thumb.
$sb-thumb-bg-color
Color
nullThe background color of the thumb.
$sb-thumb-bg-color-hover
Color
nullThe :hover background color of the thumb.
$sb-thumb-border-color
Color
nullThe border color of the thumb.
$sb-thumb-border-size
String | Number
nullThe border size of the thumb.
$sb-thumb-border-radius
String | Number
nullThe border radius of the thumb.
$sb-track-bg-color
Color
nullThe background color of the track.
$sb-track-bg-color-hover
Color
nullThe :hover background color of the track.
$sb-track-border-color
Color
nullThe border color of the track.
$sb-track-border-size
String | Number
nullThe border size of the track.
$sb-corner-bg
Color
nullThe background color of the corner.
$sb-corner-border-color
Color
nullThe border color of the corner.
$sb-corner-border-size
String | Number
nullThe border size of the corner.
#

functionselect-themepublicview codeopen_in_new

Select Theme PRIMARY TOKENS: - `$toggle-button-background` — The toggle button background. Toggle button colors cascade from toggle-button-background through focus states.

Example

Change the select empty list background

$my-select-theme: igx-select-theme($empty-list-background);
// Pass the theme to the tokens() mixin
@include tokens($my-select-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$toggle-button-background
Color
nullThe select toggle button background color. PRIMARY - derives all toggle button colors.
$toggle-button-background-focus
Color
nullThe select toggle button background color when the select is focused. Auto-derived from toggle-button-background (variant-dependent).
$toggle-button-background-disabled
Color
nullThe select toggle button background color when the select is disabled.
$toggle-button-foreground
Color
nullThe select toggle button foreground color. Auto-derived from toggle-button-background.
$toggle-button-foreground-focus
Color
nullThe select toggle button foreground color when the select is focused. Auto-derived from toggle-button-background-focus (variant-dependent).
$toggle-button-foreground-disabled
Color
nullThe select toggle button foreground color when the select is disabled.
$toggle-button-foreground-filled
Color
nullThe select toggle button foreground color when the select is filled. Auto-derived from toggle-button-background.
$toggle-button-background-focus--border
Color
nullThe select toggle button background color when the select is focused in material border variant. Auto-derived from toggle-button-background (bootstrap/indigo).
#

functionslider-themepublicview codeopen_in_new

Slider Theme PRIMARY TOKENS: - `$track-color` — The filled track color. - `$base-track-color` — The unfilled track background. - `$thumb-color` — The thumb color (material). Derived colors are auto-calculated for contrast.

Example

Set custom track and thumb on colors

$my-slider-theme: slider-theme($thumb-color: black, $track-color: yellow);
// Pass the theme to the tokens() mixin
@include tokens($my-slider-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$track-color
Color
nullThe color of the track. PRIMARY - derives hover, label, and thumb colors.
$track-step-color
Color
nullThe color of the track steps. Auto-derived from base-track-color.
$track-step-size
Number
nullThe size of the track steps.
$track-hover-color
Color
nullThe color of the track on hover. Auto-derived from track-color.
$thumb-color
Color
nullThe color of the thumb. Auto-derived from track-color (material) or set independently.
$thumb-focus-color
Color
nullThe focus color of the thumb. Auto-derived from thumb-border-color or thumb-color.
$thumb-border-color
Color
nullThe thumb border color. Auto-derived from track-color (fluent/indigo) or thumb-color (bootstrap).
$thumb-border-hover-color
Color
nullThe thumb border color when hovered. Auto-derived from thumb-border-color.
$thumb-border-focus-color
Color
nullThe thumb border color when focused.
$thumb-disabled-border-color
Color
nullThe thumb border color when it's disabled. Auto-derived from thumb-border-color.
$disabled-thumb-color
Color
nullThe thumb color when its disabled. Auto-derived from thumb-color.
$label-background-color
Color
nullThe background color of the bubble label. Auto-derived from track-color or thumb-color.
$label-text-color
Color
nullThe text color of the bubble label. Auto-derived from label-background-color.
$base-track-color
Color
nullThe base background color of the track. PRIMARY for unfilled track. Auto-derived from track-color (material).
$base-track-hover-color
Color
nullThe base background color of the track on hover. Auto-derived from base-track-color.
$disabled-base-track-color
Color
nullThe base background color of the track when is disabled. Auto-derived from base-track-color.
$disabled-fill-track-color
Color
nullThe base background color of the fill track when is disabled. Auto-derived from track-color.
$tick-label-color
Color
nullThe color of the tick label.
$tick-color
Color
nullThe background-color of the tick.
#

functionsnackbar-themepublicview codeopen_in_new

Snackbar Theme PRIMARY TOKENS: - `$background` — The background color. Derived colors are auto-calculated for contrast.

Example

Set a custom background color

$my-snackbar-theme: snackbar-theme($background: white);
// Pass the theme to the tokens() mixin
@include tokens($my-snackbar-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color used in the snackbar. PRIMARY - derives text-color, button-color.
$text-color
Color
nullThe text color used in the snackbar. Auto-derived from background.
$button-color
Color
nullThe button color used in the snackbar. Auto-derived from background.
$shadow
List
nullSets a shadow to be used for the snackbar.
$border-radius
List
nullThe border radius used for the snackbar component.
#

functionsplitter-themepublicview codeopen_in_new

Splitter Theme PRIMARY TOKENS: - `$bar-color` — The bar background color. Derived colors are auto-calculated for contrast.

Example

Set a custom expander color

$my-splitter-theme: splitter-theme($expander-color: red);
// Pass the theme to the tokens() mixin
@include tokens($my-splitter-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$bar-color
Color
nullThe background color of the bar. PRIMARY - derives handle, expander, focus colors.
$handle-color
Color
nullThe color for the bar drag handle. Auto-derived from bar-color.
$expander-color
Color
nullThe color for the arrow expander's. Auto-derived from bar-color.
$border-radius
List
nullthe border radios of the splitter bar drag handle
$focus-color
Color
nullThe color used for focused splitter bar. Auto-derived from bar-color (variant-dependent).
$bar-color-active
Color
nullThe background color of the bar when pressed.
$handle-color-active
Color
nullThe color for the bar drag handle when pressed.
$expander-color-active
Color
nullThe color for the arrow expander's when pressed.
$size
Number
nullThe size of the splitter, its width for vertical and height for horizontal splitter.
#

functionstepper-themepublicview codeopen_in_new

Stepper Theme PRIMARY TOKENS: - `$step-background` — The base step background. - `$indicator-background` — The step indicator background. - `$invalid-indicator-background` — The invalid step indicator. - `$current-indicator-background` — The current step indicator. - `$complete-indicator-background` — The completed step indicator. Derived colors are auto-calculated for contrast.

Example

Set custom stepper colors

$my-stepper-theme: stepper-theme($step-hover-background: red);
// Pass the theme to the tokens() mixin
@include tokens($my-stepper-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$content-foreground
Color
nullThe foreground of the step content.
$step-background
Color
nullThe background of the step header. PRIMARY - derives all step states.
$step-hover-background
Color
nullThe background of the step header on hover. Auto-derived from step-background.
$step-focus-background
Color
nullThe background of the step header on focus. Auto-derived from step-background.
$title-color
Color
nullThe color of the step title. Auto-derived from step-background.
$title-hover-color
Color
nullThe color of the step title on hover. Auto-derived from step-hover-background.
$title-focus-color
Color
nullThe color of the step title on focus. Auto-derived from step-focus-background.
$subtitle-color
Color
nullThe color of the step subtitle. Auto-derived from step-background.
$subtitle-hover-color
Color
nullThe color of the step subtitle on hover. Auto-derived from step-hover-background.
$subtitle-focus-color
Color
nullThe color of the step subtitle on focus. Auto-derived from step-focus-background.
$indicator-color
Color
nullThe text color of the step indicator. Auto-derived from indicator-background.
$indicator-background
Color
nullThe background color of the step indicator. PRIMARY for indicator - derives indicator-color, indicator-outline. Auto-derived from step-background.
$indicator-outline
Color
nullThe outline color of the step indicator. Auto-derived from indicator-background.
$invalid-step-background
Color
nullThe background of the invalid step header. Auto-derived from step-background.
$invalid-step-hover-background
Color
nullThe background of the invalid step header on hover. Auto-derived from invalid-step-background.
$invalid-step-focus-background
Color
nullThe background of the invalid step header on focus. Auto-derived from invalid-step-background.
$invalid-title-color
Color
nullThe color of the invalid step title. Auto-derived from invalid-indicator-background.
$invalid-title-hover-color
Color
nullThe color of the invalid step title on hover. Auto-derived from invalid-indicator-background.
$invalid-title-focus-color
Color
nullThe color of the invalid step title on focus. Auto-derived from invalid-indicator-background.
$invalid-subtitle-color
Color
nullThe color of the invalid step subtitle. Auto-derived from invalid-indicator-background.
$invalid-subtitle-hover-color
Color
nullThe color of the invalid step subtitle on hover. Auto-derived from invalid-indicator-background.
$invalid-subtitle-focus-color
Color
nullThe color of the invalid step subtitle on focus. Auto-derived from invalid-indicator-background.
$invalid-indicator-color
Color
nullThe color of the invalid step indicator. Auto-derived from invalid-indicator-background.
$invalid-indicator-background
Color
nullThe background color of the invalid step indicator. PRIMARY for invalid state.
$invalid-indicator-outline
Color
nullThe outline color of the invalid step indicator. Auto-derived from invalid-indicator-background.
$current-step-background
Color
nullThe background of the current step header. Auto-derived from step-background.
$current-step-hover-background
Color
nullThe background of the current step header on hover. Auto-derived from current-step-background.
$current-step-focus-background
Color
nullThe background of the current step header on focus. Auto-derived from current-step-background.
$current-title-color
Color
nullThe color of the current step title. Auto-derived from current-step-background.
$current-title-hover-color
Color
nullThe color of the current step title on hover. Auto-derived from current-step-hover-background.
$current-title-focus-color
Color
nullThe color of the current step title on focus. Auto-derived from current-step-focus-background.
$current-subtitle-color
Color
nullThe color of the current step subtitle. Auto-derived from current-step-background.
$current-subtitle-hover-color
Color
nullThe color of the current step subtitle on hover. Auto-derived from current-step-hover-background.
$current-subtitle-focus-color
Color
nullThe color of the current step subtitle on focus. Auto-derived from current-step-focus-background.
$current-indicator-color
Color
nullThe color of the current step indicator. Auto-derived from current-indicator-background.
$current-indicator-background
Color
nullThe background color of the current step indicator. PRIMARY for current state. Auto-derived from current-step-background.
$current-indicator-outline
Color
nullThe outline color of the current step indicator. Auto-derived from current-indicator-background.
$complete-step-background
Color
nullThe background of the complete step header. Auto-derived from step-background.
$complete-step-hover-background
Color
nullThe background of the complete step header on hover. Auto-derived from complete-step-background.
$complete-step-focus-background
Color
nullThe background of the complete step header on focus. Auto-derived from complete-step-background.
$complete-title-color
Color
nullThe color of the complete step title. Auto-derived from complete-step-background.
$complete-title-hover-color
Color
nullThe color of the complete step title on hover. Auto-derived from complete-step-hover-background.
$complete-title-focus-color
Color
nullThe color of the complete step title on focus. Auto-derived from complete-step-focus-background.
$complete-subtitle-color
Color
nullThe color of the complete step subtitle. Auto-derived from complete-step-background.
$complete-subtitle-hover-color
Color
nullThe color of the complete step subtitle on hover. Auto-derived from complete-step-hover-background.
$complete-subtitle-focus-color
Color
nullThe color of the complete step subtitle on focus. Auto-derived from complete-step-focus-background.
$complete-indicator-color
Color
nullThe color of the completed step indicator. Auto-derived from complete-indicator-background.
$complete-indicator-background
Color
nullThe background color of the completed step indicator. PRIMARY for complete state. Auto-derived from complete-step-background.
$complete-indicator-outline
Color
nullThe outline color of the completed step indicator.
$disabled-title-color
Color
nullThe title color of the disabled step. Auto-derived from step-background.
$disabled-subtitle-color
Color
nullThe subtitle color of the disabled step. Auto-derived from step-background.
$disabled-indicator-color
Color
nullThe indicator color of the disabled step. Auto-derived from disabled-indicator-background.
$disabled-indicator-background
Color
nullThe indicator background of the disabled step. Auto-derived from step-background.
$disabled-indicator-outline
Color
nullThe indicator outline color of the disabled step. Auto-derived from disabled-indicator-background.
$step-separator-color
Color
nullThe separator border-color of between the steps. Auto-derived from step-background or indicator-background.
$complete-step-separator-color
Color
nullThe separator border-color between the completed steps.
$step-separator-style
Color
nullThe separator border-style of between the steps.
$complete-step-separator-style
Color
nullThe separator border-style between the completed steps.
$border-radius-indicator
List
nullThe border-radius of the step indicator.
$border-radius-step-header
List
nullThe border-radius of the step header.
#

functionswitch-themepublicview codeopen_in_new

Switch Theme PRIMARY TOKENS: - `$track-on-color` — The ON state track color. - `$track-off-color` — The OFF state track color. Derived colors are auto-calculated for contrast.

Example

Set custom track and thumb on colors

$my-switch-theme: switch-theme($thumb-on-color: black, $track-on-color: yellow);
// Pass the theme to the tokens() mixin
@include tokens($my-switch-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$thumb-on-color
Color
nullThe color of the thumb when the switch is on. Auto-derived from track-on-color (non-material) or bidirectional with track-on-color (material).
$track-on-color
Color
nullThe color of the track when the switch is on. PRIMARY for ON state.
$track-on-hover-color
Color
nullThe color of the track when the switch is on and hovered. Auto-derived from track-on-color.
$thumb-off-color
Color
nullThe color of the thumb when the switch is off. Auto-derived from track-off-color or border-color.
$thumb-off-hover-color
Color
nullThe color of the thumb when the switch is off and hovered. Auto-derived from thumb-off-color.
$track-off-color
Color
nullThe color of the track when the switch is off. PRIMARY for OFF state.
$thumb-disabled-color
Color
nullThe color of the thumb when the switch is disabled. Auto-derived from thumb-off-color.
$thumb-on-disabled-color
Color
nullThe color of the thumb when the switch is on and disabled. Auto-derived from thumb-on-color.
$track-disabled-color
Color
nullThe color of the track when the switch is disabled. Auto-derived from track-off-color.
$track-on-disabled-color
Color
nullThe color of the track when the switch is on and disabled. Auto-derived from track-on-color.
$label-color
Color
nullThe color of the switch label
$label-hover-color
Color
nullThe color of the switch label on hover.
$label-disabled-color
Color
nullThe color of the switch label when the switch is disabled
$resting-shadow
List
nullThe shadow used for the thumb in resting state of the switch.
$hover-shadow
List
nullThe shadow used for the thumb in hover state of the switch.
$disabled-shadow
List
nullThe shadow used for the thumb in disable state of the switch.
$border-radius-track
List
nullThe border radius used for switch track.
$border-radius-thumb
List
nullThe border radius used for switch thumb.
$border-radius-ripple
List
nullThe border radius used for switch ripple.
$border-color
Color
nullThe border color of the switch. Auto-derived from thumb-off-color.
$border-hover-color
Color
nullThe border color of the switch on hover. Auto-derived from track-off-color or border-color.
$border-disabled-color
Color
nullThe border color of the switch when it is disabled. Auto-derived from border-color.
$border-on-color
Color
nullThe border color when the switch is on. Auto-derived from track-on-color.
$border-on-hover-color
Color
nullThe border color when the switch is on and hovered. Auto-derived from border-on-color.
$focus-outline-color
Color
nullThe focus outlined color. Auto-derived from border-color (indigo) or track-on-color (bootstrap).
$focus-outline-color-focused
Color
nullThe focus outlined color for focused state. Auto-derived from border-on-color (indigo).
$focus-fill-color
Color
nullThe focus fill color. Auto-derived from track-on-color (bootstrap).
$focus-fill-hover-color
Color
nullThe focus fill color on hover. Auto-derived from focus-fill-color.
#

functiontabs-themepublicview codeopen_in_new

Tabs Theme PRIMARY TOKENS: - `$item-background` — The tab items background. - `$item-active-color` — The active tab text color. Setting just `$item-background` will theme all tab states consistently, including the header behind the items, which follows it unless `$header-background` is set.

Example

Set a custom background color

$my-tabs-theme: tabs-theme(
$item-background: orange
);
// Pass the theme to the tokens() mixin
@include tokens($my-tabs-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$item-text-color
Color
nullThe color used for the tab text color. Auto-derived from item-background or synced with item-icon-color.
$item-background
Color
nullThe background color used for the tab items. PRIMARY - derives most colors.
$header-background
Color
nullThe background color of the tabs header, behind the tab items. Auto-derived from item-background.
$item-hover-background
Color
nullThe background used for the tabs on hover. Auto-derived from item-background.
$item-hover-color
Color
nullThe text color used for the tabs on hover. Auto-derived from item-text-color or item-hover-background.
$item-icon-color
Color
nullThe color used for the tab icon. Auto-derived from item-background or synced with item-text-color.
$item-active-icon-color
Color
nullThe color used for the active tab icon. Auto-derived from item-active-color or item-active-background.
$item-active-hover-icon-color
Color
nullThe color used for the active tab icon on hover and focus. Auto-derived from item-active-icon-color.
$item-hover-icon-color
Color
nullThe color used for the tab icon on hover. Auto-derived from item-icon-color or item-hover-background.
$item-disabled-icon-color
Color
nullThe color used for the disabled tab icon.
$item-active-color
Color
nullThe color used for the active tabs text. PRIMARY for active/indicator - derives indicator-color.
$item-active-hover-color
Color
nullThe color used for the active tabs text on hover and focus. Auto-derived from item-active-color.
$item-active-background
Color
nullThe color used for the active tab background. Auto-derived from item-background.
$item-active-hover-background
Color
nullThe color used for the active tab background on hover and focus. Auto-derived from item-active-background.
$item-disabled-color
Color
nullThe color used for the disabled tabs text.
$indicator-color
Color
nullThe color used for the active tab indicator. Auto-derived from item-active-color.
$button-color
Color
nullThe color used for the button icon/text color. Auto-derived from button-background or item-text-color.
$button-hover-color
Color
nullThe color used for the button icon/text color on hover. Auto-derived from button-color or button-hover-background.
$button-disabled-color
Color
nullThe color used for the disabled button icon/text. Auto-derived from button-color.
$button-background
Color
nullThe color used for the button background. Auto-derived from item-background.
$button-hover-background
Color
nullThe color used for the button background on hover. Auto-derived from item-background or button-background.
$border-radius
List
nullThe border radius for the tabs.
$border-color
Color
nullThe border color of the tabs. Auto-derived from item-background (bootstrap).
$border-color--hover
Color
nullThe border color of the tabs on hover. Auto-derived from border-color.
$tab-ripple-color
Color
nullThe color used for the tab ripple effect. Auto-derived from item-active-background or item-background. Used only in Ignite UI for Angular.
$button-ripple-color
Color
nullThe color used for the button ripple effect. Auto-derived from button-color. Used only in Ignite UI for Angular.
#

functiontile-manager-themepublicview codeopen_in_new

Tile Manager Theme PRIMARY TOKENS: - `$tile-background` — The background color of the tiles. Derives header/content backgrounds and text colors. Derived colors are auto-calculated for contrast.

Example

Change the tile manager and tile backgrounds

$my-tile-manager-theme: tile-manager-theme($background: #eee, $tile-background: white);
// Pass the theme to the tokens() mixin
@include tokens($my-tile-manager-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the tile manager component.
$tile-background
Color
nullThe background color of the tile component. PRIMARY - derives header/content backgrounds and text colors.
$title-color
Color
nullThe title color of the tile component. Auto-derived from header-background.
$header-background
Color
nullThe background color of the tile header. Auto-derived from tile-background.
$content-background
Color
nullThe background color of the tile content. Auto-derived from tile-background.
$content-color
Color
nullThe text color of the tile content. Auto-derived from content-background.
$border-color
Color
nullThe border color of the tile component.
$hover-border-color
Color
nullThe border color of the tile component on hover.
$placeholder-background
Color
nullThe background color of the ghost element that appears during drag and drop and while resizing.
$overlay-background
Color
nullThe background color of the ghost element that appears on top of the tile that will be swapped.
$ghost-border
Color
nullThe border color of the ghost element that appears during drag and drop and while resizing.
$divider-color
Color
nullThe color of the divider inside the tile header.
$border-radius
Number
nullThe border radius of the tile component.
$resting-shadow
List
nullThe shadow of the tile component in its resting state.
$drag-shadow
List
nullThe shadow of the tile component while being dragged.
#

functiontime-picker-themepublicview codeopen_in_new

Time Picker Theme PRIMARY TOKENS: - `$background-color` — The picker panel background. - `$selected-text-color` or `$active-item-background` - The selected/active accent color. These derive from each other and from header-background. - `$header-background` — The header background. Derived colors are auto-calculated for contrast.

Example

Change the background and text colors in time picker

$my-time-picker-theme: time-picker-theme(
$text-color: white,
$background-color: black
);
// Pass the theme to the tokens() mixin
@include tokens($my-time-picker-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$text-color
Color
nullThe text color of a open time picker. Auto-derived from background-color.
$hover-text-color
Color
nullThe hover text color of a open time picker. Auto-derived from text-color.
$selected-text-color
Color
nullThe text color of a selected item in time picker. Auto-derived from background-color or active-item-background.
$active-item-background
Color
nullThe background color for current item in focused column inside the time picker. Auto-derived from selected-text-color or background-color.
$active-item-foreground
Color
nullThe foreground color for current item in focused column inside the time picker. Auto-derived from active-item-background.
$disabled-text-color
Color
nullThe text color for disabled values. Auto-derived from disabled-item-background.
$disabled-item-background
Color
nullThe background color for disabled values.
$header-background
Color
nullThe header background color of a time picker. Auto-derived from selected-text-color or background-color.
$header-hour-text-color
Color
nullThe header hour text color of a time picker. Auto-derived from header-background.
$background-color
Color
nullThe time-picker panel background color. PRIMARY - derives text, selected, active, border colors.
$time-item-size
Number
nullThe height of the time item.
$divider-color
Color
nullThe color for the actions area divider. Auto-derived from border-color.
$border-color
Color
nullThe border color around the time picker. Auto-derived from background-color.
$modal-shadow
List
nullThe custom shadow to be used for the time picker in modal mode.
$dropdown-shadow
List
nullThe custom shadow to be used for the time picker in dropdown mode.
$border-radius
List
nullThe border radius used for the outline of the picker.
$active-item-border-radius
List
nullThe border radius used for the outline of the currently active item (hours, minutes, AM/PM).
#

functiontoast-themepublicview codeopen_in_new

Toast Theme PRIMARY TOKENS: - `$background` — The background color. Derived colors are auto-calculated for contrast.

Example

Set a custom background color

$my-toast-theme: toast-theme($background: green);
// Pass the theme to the tokens() mixin
@include tokens($my-toast-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color used for the toast. PRIMARY - derives text-color, border-color.
$text-color
Color
nullThe text-color used for the toast. Auto-derived from background.
$border-color
Color
nullThe border-color used for the toast. Auto-derived from text-color.
$border-radius
List
nullThe border radius used for the toast component.
$shadow
List
nullSets a shadow to be used for the toast.
#

functiontooltip-themepublicview codeopen_in_new

Tooltip Theme PRIMARY TOKENS: - `$background` — The background color. Derived colors are auto-calculated for contrast.

Example

Change the tooltip background

$my-tooltip-theme: tooltip-theme($background: magenta);
// Pass the theme to the tokens() mixin
@include tokens($my-tooltip-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color of the tooltip. PRIMARY - derives text-color.
$text-color
Color
nullThe text color of the tooltip. Auto-derived from background.
$border-radius
List
nullThe border radius used for the tooltip component.
$shadow
List
nullSets a shadow to be used for the tooltip component.
#

functiontree-themepublicview codeopen_in_new

Tree Theme PRIMARY TOKENS: - `$background` — The node background. - `$background-selected` — The selected node background. - `$background-active` — The active node background. Derived colors are auto-calculated for contrast.

Example

Change the tree background

$my-tree-theme: tree-theme($background: magenta);
// Pass the theme to the tokens() mixin
@include tokens($my-tree-theme);
Parameters
NameTypeDefaultDescription
$schema
Map
$light-material-schemaThe schema used as basis for styling the component.
$background
Color
nullThe background color used for the tree node. PRIMARY - derives all state colors.
$foreground
Color
nullThe color used for the tree node content. Auto-derived from background.
$icon-color
Color
nullThe color used for the tree node icon.
$background-selected
Color
nullThe background color used for the selected tree node. Auto-derived from background.
$foreground-selected
Color
nullThe color used for the content of the selected tree node. Auto-derived from background-selected.
$background-active
Color
nullThe background color used for the active tree node. Auto-derived from background.
$foreground-active
Color
nullThe color used for the content of the active tree node. Auto-derived from background-active.
$background-active-selected
Color
nullThe background color used for the active selected tree node. Auto-derived from background-active.
$foreground-active-selected
Color
nullThe color used for the content of the active selected tree node. Auto-derived from background-active-selected.
$background-disabled
Color
nullThe background color used for the tree node in disabled state. Auto-derived from background.
$foreground-disabled
Color
nullThe color used for the content of the disabled tree node. Auto-derived from background-disabled.
$drop-area-color
Color
nullThe background color used for the tree node drop aria. Used only in Ignite UI for Angular.
$border-color
Color
nullThe outline shadow color used for tree node in focus state.
$hover-color
Color
nullThe background color used for the tree node on hover. Auto-derived from background.
$hover-selected-color
Color
nullThe background color used for the selected tree node on hover. Auto-derived from background-selected.
#

mixincorepublicview codeopen_in_new

Parameters
NameTypeDefaultDescription
$print-layout
boolean
trueActivates the printing styles of the components.
$enhanced-accesibility
boolean
falseSwitches component colors and other properties to more accessible values.
#

mixintokenspublicview codeopen_in_new

Generates CSS variable tokens from an Ignite UI component theme. Supports two modes via the `$mode` parameter: **`'global'` (default):** Generates universal CSS variable tokens with the `ig` prefix. Rewrites local CSS variable references (e.g., `var(--background)`) to global token references (e.g., `var(--ig-avatar-background)`) so that derived values like `adaptive-contrast` and `dynamic-shade` resolve correctly at any scope. - **Limitation:** Properties whose values contain `sizable()` expressions (e.g., `size`) are silently skipped when they reference component-scoped variables (`--is-large`, `--is-medium`, `--is-small`). These variables are set by the `sizable()` mixin at the component level and cannot be resolved at global scope. CSS custom properties resolve at the declaration scope, so a `sizable()` expression at `:root` would always evaluate to the largest size. To override `size` as a global token, pass a concrete value (e.g., `$size: 2rem`) instead of a `sizable()` expression. - **Note:** If theme values reference `adaptive-contrast()` derived colors, ensure the `adaptive-contrast()` mixin is included at the scope where tokens are declared so that the `--y-contrast` variable is available. **`'scoped'`:** Generates component-scoped CSS variables using the configured `variable-prefix` (e.g., `igx`). Handles selector scoping and `is-root()` branching. Includes a universal `--ig-*` fallback chain so that global tokens can override component-scoped variables. Emits the `--ig-theme` and `--ig-theme-variant` markers through `theme-markers()`. When nested, the parent selector receives the tokens only if it matches the component selector.

Example

Generate universal avatar tokens (global mode)

:root {
@include tokens(avatar-theme($background: red));
}
// Output:
// :root {
// --ig-avatar-background: red;
// --ig-avatar-color: hsla(from color(from var(--ig-avatar-background) ...) ...);
// ...
// }
Example

Override size with a concrete value (global mode)

:root {
@include tokens(avatar-theme($size: 2rem));
}
// Output:
// :root {
// --ig-avatar-size: 2rem;
// ...
// }
Example

Generate scoped component tokens (scoped mode)

@include tokens(avatar-theme($schema: $schema), $mode: 'scoped');
Example

Generate scoped component tokens with a custom scope

@include tokens(dialog-theme($schema: $schema), $mode: 'scoped', $scope: '.igx-dialog');
Example

Generate scoped component tokens inside another selector

.dark-theme {
@include tokens(tooltip-theme($schema: $schema), $mode: 'scoped', $scope: '.igx-tooltip');
}
// Output:
// .dark-theme .igx-tooltip,
// .dark-theme:where(.igx-tooltip) {
// --background: ...;
// ...
// }
Parameters
NameTypeDefaultDescription
$theme*
Map
-The component theme map to generate tokens from.
$mode
String
'global'The generation mode: 'global' for universal tokens, 'scoped' for component-level CSS variables.
$scope
String
nullOnly used in 'scoped' mode. Overrides the selector from the theme map.
$ignored
Map
$ignored-keysA list of ignored keywords to be excluded when generating tokens.
#

mixincss-varspublicview codeopen_in_new

Add theme colors as CSS variables to a given scope.

warningDeprecated

Use `tokens($theme, $mode: 'scoped')` instead.

Example

Convert grid theme colors to css variables

$my-grid-theme: grid-theme(
$header-background: red,
$content-background: #222
);
.my-grid {
@include css-vars($my-grid-theme);
}
Parameters
NameTypeDefaultDescription
$theme*
map
-The component theme to be used.
$scope
map
nullThe CSS variables scope to be used..
#

mixinsizablepublicview codeopen_in_new

Adds the required CSS properties so that the scope can react to size changes.

Example

Sample usage

.my-component {
@include sizable();
}
#

mixintheme-markerspublicview codeopen_in_new

Declares the `--ig-theme` and `--ig-theme-variant` markers in the current scope. The markers inherit, so every element inside the scope reads them, including nested components. Include it where the active theme is declared, such as `:root`, or on an element whose subtree uses another theme. `null` and values that aren't strings are skipped.

Example

Declare the active theme on the root

:root {
@include theme-markers(material, light);
}
// Output:
// :root {
// --ig-theme: material;
// --ig-theme-variant: light;
// }
Parameters
NameTypeDefaultDescription
$theme
String
nullThe theme name, e.g. `material`, `bootstrap`, `fluent` or `indigo`.
$variant
String
nullThe theme variant, `light` or `dark`.
#

mixinthemepublicview codeopen_in_new

Generates an Ignite UI for Angular global theme.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$schema
Map
$light-material-schemaThe schema used as basis for styling the components.
$exclude
List
( )A list of igx components to be excluded from the global theme styles.
$roundness
Number
nullSets the global roundness factor (the value can be any decimal fraction between 0 and 1) for all components.
$elevation
Boolean
trueTurns on/off elevations for all components in the theme.
$elevations
Map
$elevationsThe elevation map to be used by all component themes.
#

mixinlight-themepublicview codeopen_in_new

A wrapper around the theme mixin. Creates a global material theme that can be used with light backgrounds.

warningDeprecated

- Use the theme mixin instead.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$exclude
List
( )A list of ig components to be excluded from the global theme styles.
#

mixindark-themepublicview codeopen_in_new

A wrapper around the theme mixin. Creates a global material theme that can be used with dark backgrounds.

warningDeprecated

- Use the theme mixin instead.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$exclude
List
( )A list of igx components to be excluded from the global theme styles.
#

mixinbootstrap-light-themepublicview codeopen_in_new

A wrapper around the theme mixin. Creates a global bootstrap-like theme that can be used with light backgrounds.

warningDeprecated

- Use the theme mixin instead.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$exclude
List
( )A list of ig components to be excluded from the global theme styles.
#

mixinbootstrap-dark-themepublicview codeopen_in_new

A wrapper around the theme mixin. Creates a global bootstrap-like theme that can be used with dark backgrounds.

warningDeprecated

- Use the theme mixin instead.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$exclude
List
( )A list of ig components to be excluded from the global theme styles.
#

mixinfluent-light-themepublicview codeopen_in_new

A wrapper around the theme mixin. Creates a global fluent theme that can be used with light backgrounds.

warningDeprecated

- Use the theme mixin instead.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$exclude
List
( )A list of ig components to be excluded from the global theme styles.
#

mixinfluent-dark-themepublicview codeopen_in_new

A wrapper around the theme mixin. Creates a global fluent theme that can be used with dark backgrounds.

warningDeprecated

- Use the theme mixin instead.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$exclude
List
( )A list of ig components to be excluded from the global theme styles.
#

mixinindigo-light-themepublicview codeopen_in_new

A wrapper around the theme mixin. Creates a global indigo theme that can be used with light backgrounds.

warningDeprecated

- Use the theme mixin instead.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$exclude
List
( )A list of ig components to be excluded from the global theme styles.
#

mixinindigo-dark-themepublicview codeopen_in_new

A wrapper around the theme mixin. Creates a global indigo theme that can be used with dark backgrounds.

warningDeprecated

- Use the theme mixin instead.

Parameters
NameTypeDefaultDescription
$palette*
Map
-An palette to be used by the global theme.
$exclude
List
( )A list of ig components to be excluded from the global theme styles.

Search Documentation