Boolean$disable-transitions: false !default;Set to true to disable all transition styles.
Boolean$disable-collapse-transition: $disable-transitions !default;Set to true to disable the collapse transition styles.
Boolean$disable-cross-fade-transition: $disable-transitions !default;Set to true to disable the cross-fade transition styles.
Boolean$disable-scale-transition: $disable-transitions !default;Set to true to disable the scale transition styles.
Boolean$disable-scale-y-transition: $disable-scale-transition !default;Set to true to disable the scale-y transition styles.
Boolean$disable-skeleton-placeholder: $disable-transitions !default;Set to true to disable the skeleton placeholder transition styles.
Boolean$disable-slide-transition: $disable-transitions !default;Set to true to disable the slide transition styles.
Boolean$disable-max-width-transition: $disable-transitions !default;Set to true to disable the max-width transition styles.
Boolean$disable-max-width-transition-gap: $disable-max-width-transition !default;Set to true to disable the max-width transition gap styles.
Number$linear-duration: 0.15s !default;The default transition duration for linear transitions. i.e. a transition that has the same enter and leave duration.
Number$enter-duration: 0.2s !default;The default transition duration when an element enters less quickly than it leaves.
Number$leave-duration: 0.15s !default;The default transition duration when an element leaves more quickly than it enters.
String$sharp-timing-function: cubic-bezier(0.4, 0, 0.6, 1) !default;A default transition-timing-function to use when an element should appear quickly.
String$linear-timing-function: cubic-bezier(0.4, 0, 0.2, 1) !default;A default transition-timing-function to use when an element should appear and exit at the same speed.
String$acceleration-timing-function: cubic-bezier(0.4, 0, 1, 1) !default;A default transition-timing-function to use when an element should accelerate during the transition.
String$deceleration-timing-function: cubic-bezier(0, 0, 0.2, 1) !default;A default transition-timing-function to use when an element should decelerate during the transition.
Number$cross-fade-translate-distance: -1rem !default;The starting position for the CrossFade transition.
Number$cross-fade-transition-duration: 0.3s !default;The cross fade transition duration.
Number$scale-transition-enter-duration: $enter-duration !default;The scale transition enter duration.
Number$scale-transition-leave-duration: $leave-duration !default;The scale transition leave duration.
Number$scale-y-transition-enter-duration: $enter-duration !default;The scale transition y (vertical) enter duration.
Number$scale-y-transition-leave-duration: $leave-duration !default;The scale transition y (vertical) leave duration.
Number$skeleton-placeholder-height: 1.125em !default;The default skeleton placeholder height.
Number$skeleton-placeholder-width: 43% !default;The default skeleton placeholder width`.
Number$skeleton-placeholder-border-radius: border-radius.get-var(xs) !default;The default skeleton placeholder border-radius.
Color $skeleton-placeholder-light-background-color: #000 !default;The default light theme skeleton placeholder background color.
Color $skeleton-placeholder-dark-background-color: colors.$grey-300 !default;The default dark theme skeleton placeholder background color.
Color $skeleton-placeholder-background-color: theme.get-default-color(
$skeleton-placeholder-dark-background-color,
$skeleton-placeholder-light-background-color
) !default;The default skeleton placeholder background color
Map$skeleton-placeholder-animation: (
0%: (
opacity: 0.06,
),
60%: (
opacity: 0.1,
),
80%: (
opacity: 0.08,
),
100%: (
opacity: 0.06,
),
) !default;The default skeleton placeholder @keyframes styles.
Number$skeleton-placeholder-animation-duration: 1.8s !default;The default skeleton placeholder animation duration.
String$skeleton-placeholder-animation-timing-function: ease-in-out !default;The default skeleton placeholder animation timing function.
Number$slide-duration: $linear-duration !default;The default slide transition duration.
String$slide-timing-function: $linear-timing-function !default;The default slide transition timing function.
Number$max-width-transition-duration: $linear-duration !default;The default max width transition duration.
Number$max-width-transition-timing-function: $linear-timing-function !default;The default max width transition timing function.
Number$max-width-transition-default: 100% !default;The default max width transition's max-width
List$transition-variables: (
skeleton-placeholder-background-color,
skeleton-placeholder-height,
skeleton-placeholder-width,
slide-duration,
max-width,
max-width-gap
);The available configurable css variables and mostly used internally for the
get-var, set-var, and use-var utils.
mixin@mixin transition-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 transition-use-var($property, $name: $property, $fallback: null) { … }mixin@mixin transition-use-light-theme { … }Applies the light the variables based on feature flags
mixin@mixin transition-use-dark-theme { … }Applies the dark the variables based on feature flags
mixin@mixin collapse-transition { … }This should only be used if not using the transition-styles mixin.
mixin@mixin cross-fade-transition { … }This should only be used if not using the transition-styles mixin.
mixin@mixin scale-transition { … }This should not be used if the transition-styles mixin is used.
mixin@mixin scale-y-transition { … }This should not be used if the transition-styles mixin is used.
mixin@mixin skeleton-placeholder-animation { … }This should not be used if the transition-styles mixin is used.
mixin@mixin slide-transition { … }This should not be used if the transition-styles mixin is used.
mixin@mixin transition-variables { … }Conditionally applies the css variables based on feature flags
mixin@mixin transition-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 transition-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 |