Boolean
$overlay-disable-everything: false !default;
Color
$overlay-background-color: rgba(colors.$black, 0.4) !default;
Number
$overlay-z-index: utils.$temporary-element-z-index !default;
Number
$overlay-transition-duration: transition.$linear-duration !default;
Number
$overlay-transition-timing-function: transition.$linear-timing-function !default;
List
$overlay-variables: (background-color, z-index);
mixin
@mixin set-var($name, $value) { … }
mixin
@mixin use-var($property, $name: $property, $fallback: 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.
The default Overlay
background color.
The default Overlay
z-index.
The default Overlay
enter/exit transition duration
The default Overlay
enter/exit transition timing function
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
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