Boolean
$divider-disable-everything: false !default;
Boolean
$divider-disable-vertical: false !default;
Boolean
$divider-disable-inset: false !default;
Number
$divider-size: 0.0625em !default;
Number
$divider-border-size: $size * 2 !default;
Number
$divider-max-size: 100% !default;
Number
$divider-inset: 4rem !default;
Number
$divider-spacing: spacing.get-var(xs) auto !default;
Number
$divider-vertical-spacing: auto spacing.get-var(xs) !default;
Color
$divider-light-theme-color: rgba(colors.$black, 0.12) !default;
Color
$divider-dark-theme-color: rgba(colors.$white, 0.12) !default;
Color
$divider-color: theme.get-default-color($light-theme-color, $dark-theme-color) !default;
List
$divider-variables: (
size,
border-size,
color,
spacing,
vertical-spacing,
inset,
max-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 border-style($position: null) { … }
mixin
@mixin variables { … }
mixin
@mixin styles($disable-layer: false) { … }
function
@function get-var($name, $fallback: null) { … }
String
Set to true
to disable all the styles
Set to true
if the vertical
prop will never be enabled on the Divider
component.
Set to true
if the inset
prop will never be enabled on the Divider
component.
The default height
while horizontal or width
while vertical.
The default border-width
when using the divider-border-style
mixin.
The max-width
while horizontal or max-height
while vertical.
The default margin-left
to apply when the inset
prop is enabled.
The default margin to apply to the horizontal Divider
.
The default margin to apply to the vertical Divider
.
The Divider
color in light themes.
The Divider
color in dark themes.
The default Divider
color
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
This should be one of left
, right
,
top
, bottom
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