Boolean
$icon-disable-font: false !default;
@use "@react-md/core" with (
$disable-svg: true,
$disable-symbol: true
);
Boolean
$icon-disable-svg: false !default;
@use "@react-md/core" with (
$disable-font: true,
$disable-symbol: true
);
Boolean
$icon-disable-symbol: false !default;
@use "@react-md/core" with (
$disable-font: true,
$disable-svg: true
);
Boolean
$icon-disable-dense: false !default;
Boolean
$icon-disable-inline: false !default;
Boolean
$icon-disable-current-color: false !default;
Boolean
$icon-disable-spacing-before: false !default;
Boolean
$icon-disable-spacing-after: false !default;
Boolean
$icon-disable-spacing-above: false !default;
Boolean
$icon-disable-spacing-below: false !default;
Boolean
$icon-disable-rotator: false !default;
Color
$icon-light-theme-color: color.adjust(#000, $lightness: 46%) !default;
Color
$icon-dark-theme-color: color.adjust(#fff, $lightness: -30%) !default;
Color
$icon-color: theme.get-default-color($light-theme-color, $dark-theme-color) !default;
Number
$icon-size: 1.5rem !default;
Number
$icon-dense-size: 1.25rem !default;
Number
$icon-symbol-fill: 0 !default;
Number
$icon-symbol-weight: 400 !default;
Number
$icon-symbol-grade: 0 !default;
Number
$icon-symbol-optical-size: 48 !default;
Number
$icon-spacing: spacing.get-var(sm) !default;
String
$icon-rotate-from: 0deg !default;
String
$icon-rotate-to: 180deg !default;
Number
$icon-rotate-duration: transition.$linear-duration !default;
List
$icon-variables: (
color,
size,
dense-size,
spacing,
rotate-from,
rotate-to,
symbol-fill,
symbol-grade,
symbol-weight,
symbol-optical-size
);
mixin
@mixin set-var($name, $value) { … }
mixin
@mixin use-var($property, $name: $property, $fallback: null) { … }
mixin
@mixin use-light-theme { … }
mixin
@mixin use-dark-theme { … }
mixin
@mixin variables { … }
mixin
@mixin styles($disable-layer: false) { … }
function
@function get-var($name, $fallback: null) { … }
String
Set to true
to disable the font icon styles. You normally want to only have one icon type enabled.
Set to true
to disable the svg icon styles. You normally want to only have one icon type enabled.
Set to true
to disable the symbol icon styles. You normally want to only have one icon type enabled.
Set to true
to disable the dense icon sizes
Set to true
to disable the styles for aligning icons within inline text blocks (like paragraphs).
Set to true
to disable the styles for inheriting the current color.
Set to true
to disable the .rmd-icon--before
styles with the
TextIconSpacing
component.
Set to true
to disable the .rmd-icon--after
styles with the
TextIconSpacing
component.
Set to true
to disable the .rmd-icon--above
styles with the
TextIconSpacing
component.
Set to true
to disable the .rmd-icon--below
styles with the
TextIconSpacing
component.
Set to true
to disable the icon rotator styles
The default icon color when using the global light theme
The default icon color when using the global dark theme
The default icon color
The default icon size
The default icon dense size
This is the default material symbol fill value. It should be one of:
0
1
This is the default material symbol weight value. It should be one of:
100
200
300
400
500
600
700
This is the default material symbol grade value. It should be one of:
-25
0
200
This is the default material symbol fill value. It should be one of:
20
24
40
48
The default spacing for the TextIconSpacing
component or anytime icons should be separated from other content.
The default IconRotator
starting position
The default IconRotator
ending position
The default IconRotator
transition duration
The available configurable css variables and mostly used internally for the
get-var
, set-var
, and use-var
utils.
The supported variable name
The value to set the variable to. Supports null
which will just be a no-op.
The css property to apply the variable to
The supported variable name
An optional fallback value if the variable has not been set
Applies the light the variables based on feature flags
Applies the dark the variables based on feature flags
Conditionally applies the css variables based on feature flags
Generates all the styles based on feature flags.
Set this to true
to disable the layer behavior
a var()
statement
The supported variable name
An optional fallback value