@@ -9,16 +9,20 @@ export default {
9
9
"rmd-sheet-overlay-z-index" : 30 ,
10
10
"rmd-sheet-elevation" : 2 ,
11
11
"rmd-sheet-raised-elevation" : 16 ,
12
- "rmd-sheet-light-background-color" : "rmd-dialog-theme-var(background-color)" ,
12
+ "rmd-sheet-light-background-color" :
13
+ "var(--rmd-dialog-background-color, var(--rmd-theme-surface, #fff))" ,
13
14
"rmd-sheet-dark-elevation-background-color" : "#242424" ,
14
- "rmd-sheet-dark-background-color" : "rmd-dialog-theme-var(background-color)" ,
15
- "rmd-sheet-background-color" : "rmd-dialog-theme-var(background-color)" ,
15
+ "rmd-sheet-dark-background-color" :
16
+ "var(--rmd-dialog-background-color, var(--rmd-theme-surface, #fff))" ,
17
+ "rmd-sheet-background-color" :
18
+ "var(--rmd-dialog-background-color, var(--rmd-theme-surface, #fff))" ,
16
19
"rmd-sheet-raised-light-background-color" :
17
- "rmd-dialog-theme- var(background-color )" ,
20
+ "var(-- rmd-dialog-background-color, var(--rmd-theme-surface, #fff) )" ,
18
21
"rmd-sheet-raised-dark-elevation-background-color" : "#353535" ,
19
22
"rmd-sheet-raised-dark-background-color" :
20
- "rmd-dialog-theme-var(background-color)" ,
21
- "rmd-sheet-raised-background-color" : "rmd-dialog-theme-var(background-color)" ,
23
+ "var(--rmd-dialog-background-color, var(--rmd-theme-surface, #fff))" ,
24
+ "rmd-sheet-raised-background-color" :
25
+ "var(--rmd-dialog-background-color, var(--rmd-theme-surface, #fff))" ,
22
26
"rmd-sheet-enter-duration" : "0.2s" ,
23
27
"rmd-sheet-leave-duration" : "0.15s" ,
24
28
"rmd-sheet-touch-margin" : "3.5rem" ,
@@ -31,8 +35,10 @@ export default {
31
35
"rmd-sheet-positions" : [ "top" , "right" , "bottom" , "left" ] ,
32
36
"rmd-sheet-enabled-positions" : [ "top" , "right" , "bottom" , "left" ] ,
33
37
"rmd-sheet-theme-values" : {
34
- "background-color" : "rmd-dialog-theme-var(background-color)" ,
35
- "raised-background-color" : "rmd-dialog-theme-var(background-color)" ,
38
+ "background-color" :
39
+ "var(--rmd-dialog-background-color, var(--rmd-theme-surface, #fff))" ,
40
+ "raised-background-color" :
41
+ "var(--rmd-dialog-background-color, var(--rmd-theme-surface, #fff))" ,
36
42
"touch-width" : "calc(100vw - 3.5rem)" ,
37
43
"static-width" : "16rem" ,
38
44
"touchable-max-height" : "calc(100% - 3.5rem)" ,
0 commit comments