-
-
Notifications
You must be signed in to change notification settings - Fork 303
/
_variables.scss
36 lines (31 loc) · 1.09 KB
/
_variables.scss
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
////
/// @group overlay
////
@import '~@react-md/transition/dist/variables';
@import '~@react-md/theme/dist/color-palette';
@import '~@react-md/theme/dist/helpers';
/// The z-index for overlays.
///
/// @require $rmd-utils-temporary-element-z-index
/// @type Number
$rmd-overlay-z-index: $rmd-utils-temporary-element-z-index !default;
/// The transition duration for overlays entering and leaving.
///
/// @require $rmd-transition-standard-time
/// @type Number
$rmd-overlay-transition-duration: $rmd-transition-standard-time !default;
/// The background color for the overlay. It is recommended to make sure that an
/// opacity is applied instead of a static color.
///
/// @require $rmd-black-base
/// @type Color
$rmd-overlay-color: rgba($rmd-black-base, 0.4) !default;
/// A Map of all the "themeable" parts of the overlay package. Every key in this
/// map will be used to create a css variable to dynamically update the values
/// of the overlay as needed.
/// @type Map
$rmd-overlay-theme-values: (
background-color: $rmd-overlay-color,
active-opacity: 1,
z-index: $rmd-overlay-z-index,
) !default;