Boolean$divider-disable-everything: false !default;Set to true to disable all the styles
Boolean$divider-disable-vertical: false !default;Set to true if the vertical prop will never be enabled on the Divider
component.
Boolean$divider-disable-inset: false !default;Set to true if the inset prop will never be enabled on the Divider
component.
Number$divider-size: 0.0625em !default;The default height while horizontal or width while vertical.
Number$divider-border-size: $size * 2 !default;The default border-width when using the divider-border-style mixin.
Number$divider-max-size: 100% !default;The max-width while horizontal or max-height while vertical.
Number$divider-inset: 4rem !default;The default margin-left to apply when the inset prop is enabled.
Number$divider-spacing: spacing.get-var(xs) auto !default;The default margin to apply to the horizontal Divider.
Number$divider-vertical-spacing: auto spacing.get-var(xs) !default;The default margin to apply to the vertical Divider.
Color$divider-light-theme-color: rgba(colors.$black, 0.12) !default;The Divider color in light themes.
Color$divider-dark-theme-color: rgba(colors.$white, 0.12) !default;The Divider color in dark themes.
Color$divider-color: theme.get-default-color($light-theme-color, $dark-theme-color) !default;The default Divider color
List$divider-variables: (
size,
border-size,
color,
spacing,
vertical-spacing,
inset,
max-size
);The available configurable css variables and mostly used internally for the
get-var, set-var, and use-var utils.
mixin@mixin set-var($name, $value) { … }| Name | Description | Type | Default Value |
|---|---|---|---|
$name | The supported variable name | String | — |
$value | The value to set the variable to. Supports | any | — |
mixin@mixin use-var($property, $name: $property, $fallback: null) { … }mixin@mixin use-light-theme { … }Applies the light the variables based on feature flags
mixin@mixin use-dark-theme { … }Applies the dark the variables based on feature flags
mixin@mixin border-style($position: null) { … }| Name | Description | Type | Default Value |
|---|---|---|---|
$position | This should be one of | String | null |
mixin@mixin variables { … }Conditionally applies the css variables based on feature flags
mixin@mixin styles($disable-layer: false) { … }Generates all the styles based on feature flags.
| Name | Description | Type | Default Value |
|---|---|---|---|
$disable-layer | Set this to | Boolean | false |
function@function get-var($name, $fallback: null) { … }Stringa var() statement
| Name | Description | Type | Default Value |
|---|---|---|---|
$name | The supported variable name | String | — |
$fallback | An optional fallback value | any | null |