@@ -31,128 +31,6 @@ $text:
31
31
--light-dividers : $light-dividers ,
32
32
--light-focused : $light-focused ) !default ;
33
33
34
- $default-foreground : (
35
- // LIGHT
36
- --palette-foreground-base : public-color-util .hex-to-rgb (#000000 ),
37
- --palette-foreground-base-alpha : 1 ,
38
- --palette-foreground-divider : public-color-util .hex-to-rgb (#000000 ),
39
- --palette-foreground-divider-alpha : 0.12 ,
40
- --palette-foreground-dividers : public-color-util .hex-to-rgb (#000000 ),
41
- --palette-foreground-dividers-alpha : 0.12 ,
42
- --palette-foreground-disabled : public-color-util .hex-to-rgb (#000000 ),
43
- --palette-foreground-disabled-alpha : 0.38 ,
44
- --palette-foreground-disabled-button : public-color-util .hex-to-rgb (#000000 ),
45
- --palette-foreground-disabled-button-alpha : 0.26 ,
46
- --palette-foreground-disabled-text : public-color-util .hex-to-rgb (#000000 ),
47
- --palette-foreground-disabled-text-alpha : 0.38 ,
48
- --palette-foreground-hint-text : public-color-util .hex-to-rgb (#000000 ),
49
- --palette-foreground-hint-text-alpha : 0.38 ,
50
- --palette-foreground-secondary-text : public-color-util .hex-to-rgb (#000000 ),
51
- --palette-foreground-secondary-text-alpha : 0.54 ,
52
- --palette-foreground-icon : public-color-util .hex-to-rgb (#000000 ),
53
- --palette-foreground-icon-alpha : 0.54 ,
54
- --palette-foreground-icons : public-color-util .hex-to-rgb (#000000 ),
55
- --palette-foreground-icons-alpha : 0.54 ,
56
- --palette-foreground-text : public-color-util .hex-to-rgb (#000000 ),
57
- --palette-foreground-text-alpha : 0.87 ,
58
- --palette-foreground-slider-min : public-color-util .hex-to-rgb (#000000 ),
59
- --palette-foreground-slider-min-alpha : 0.87 ,
60
- --palette-foreground-slider-off : public-color-util .hex-to-rgb (#000000 ),
61
- --palette-foreground-slider-off-alpha : 0.26 ,
62
- --palette-foreground-slider-off-active : public-color-util .hex-to-rgb (#000000 ),
63
- --palette-foreground-slider-off-active-alpha : 0.38 ,
64
- // DARK
65
- --palette-foreground-base-dark : public-color-util .hex-to-rgb (#ffffff ),
66
- --palette-foreground-base-dark-alpha : 1 ,
67
- --palette-foreground-divider-dark : public-color-util .hex-to-rgb (#ffffff ),
68
- --palette-foreground-divider-dark-alpha : 0.12 ,
69
- --palette-foreground-dividers-dark : public-color-util .hex-to-rgb (#ffffff ),
70
- --palette-foreground-dividers-dark-alpha : 0.12 ,
71
- --palette-foreground-disabled-dark : public-color-util .hex-to-rgb (#ffffff ),
72
- --palette-foreground-disabled-dark-alpha : 0.5 ,
73
- --palette-foreground-disabled-button-dark : public-color-util .hex-to-rgb (#ffffff ),
74
- --palette-foreground-disabled-button-dark-alpha : 0.3 ,
75
- --palette-foreground-disabled-text-dark : public-color-util .hex-to-rgb (#ffffff ),
76
- --palette-foreground-disabled-text-dark-alpha : 0.5 ,
77
- --palette-foreground-hint-text-dark : public-color-util .hex-to-rgb (#ffffff ),
78
- --palette-foreground-hint-text-dark-alpha : 0.5 ,
79
- --palette-foreground-secondary-text-dark : public-color-util .hex-to-rgb (#ffffff ),
80
- --palette-foreground-secondary-text-dark-alpha : 0.7 ,
81
- --palette-foreground-icon-dark : public-color-util .hex-to-rgb (#ffffff ),
82
- --palette-foreground-icon-dark-alpha : 1 ,
83
- --palette-foreground-icons-dark : public-color-util .hex-to-rgb (#ffffff ),
84
- --palette-foreground-icons-dark-alpha : 1 ,
85
- --palette-foreground-text-dark : public-color-util .hex-to-rgb (#ffffff ),
86
- --palette-foreground-text-dark-alpha : 1 ,
87
- --palette-foreground-slider-min-dark : public-color-util .hex-to-rgb (#ffffff ),
88
- --palette-foreground-slider-min-dark-alpha : 1 ,
89
- --palette-foreground-slider-off-dark : public-color-util .hex-to-rgb (#ffffff ),
90
- --palette-foreground-slider-off-dark-alpha : 0.3 ,
91
- --palette-foreground-slider-off-active-dark : public-color-util .hex-to-rgb (#ffffff ),
92
- --palette-foreground-slider-off-active-dark-alpha : 0.38
93
- ) !default ;
94
-
95
- $default-background : (
96
- // LIGHT
97
- --palette-background-status-bar : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 300 )),
98
- --palette-background-app-bar : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 100 )),
99
- --palette-background-background : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 50 )),
100
- --palette-background-hover : public-color-util .hex-to-rgb (#000000 ),
101
- --palette-background-hover-alpha : 0.04 ,
102
- --palette-background-card : public-color-util .hex-to-rgb (#ffffff ),
103
- --palette-background-dialog : public-color-util .hex-to-rgb (#ffffff ),
104
- --palette-background-disabled-button : public-color-util .hex-to-rgb (#000000 ),
105
- --palette-background-disabled-button-alpha : 0.12 ,
106
- --palette-background-raised-button : public-color-util .hex-to-rgb (#ffffff ),
107
- --palette-background-focused-button : public-color-util .hex-to-rgb (#000000 ),
108
- --palette-background-focused-button-alpha : 0.12 ,
109
- --palette-background-selected-button : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 300 )),
110
- --palette-background-selected-disabled-button : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 400 )),
111
- --palette-background-disabled-button-toggle : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 200 )),
112
- --palette-background-disabled-list-option : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 200 )),
113
- --palette-background-tooltip : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 700 )),
114
- // DARK
115
- --palette-background-status-bar-dark : public-color-util .hex-to-rgb (#000 ),
116
- --palette-background-app-bar-dark : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 900 )),
117
- --palette-background-background-dark : public-color-util .hex-to-rgb (#303030 ),
118
- --palette-background-hover-dark : public-color-util .hex-to-rgb (#ffffff ),
119
- --palette-background-hover-dark-alpha : 0.04 ,
120
- --palette-background-card-dark : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 800 )),
121
- --palette-background-dialog-dark : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 800 )),
122
- --palette-background-disabled-button-dark : public-color-util .hex-to-rgb (#ffffff ),
123
- --palette-background-disabled-button-dark-alpha : 0.12 ,
124
- --palette-background-raised-button-dark : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 800 )),
125
- --palette-background-focused-button-dark : public-color-util .hex-to-rgb (#ffffff ),
126
- --palette-background-focused-button-dark-alpha : 0.12 ,
127
- --palette-background-selected-button-dark : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 900 )),
128
- --palette-background-selected-disabled-button-dark : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 800 )),
129
- --palette-background-disabled-button-toggle-dark : public-color-util .hex-to-rgb (#000000 ),
130
- --palette-background-disabled-list-option-dark : public-color-util .hex-to-rgb (#000000 ),
131
- --palette-background-tooltip-dark : public-color-util .hex-to-rgb (map_get (mat .$grey-palette , 700 )),
132
- ) !default ;
133
-
134
- $text : map-merge (
135
- map-merge (
136
- ( --dark-primary-text-no-rgb : #{0 , 0 , 0 } ,
137
- --light-primary-text-no-rgb : #{255 , 255 , 255 } ,
138
- --dark-primary-text : public-color-util .hex-to-rgba ($dark-primary-text ),
139
- --dark-secondary-text : public-color-util .hex-to-rgba ($dark-secondary-text ),
140
- --dark-accent-text : public-color-util .hex-to-rgba ($dark-primary-text ),
141
- --dark-warn-text : public-color-util .hex-to-rgba ($dark-primary-text ),
142
- --dark-disabled-text : public-color-util .hex-to-rgba ($dark-disabled-text ),
143
- --dark-dividers : public-color-util .hex-to-rgba ($dark-dividers ),
144
- --dark-focused : public-color-util .hex-to-rgba ($dark-focused ),
145
- --light-primary-text : public-color-util .hex-to-rgba ($light-primary-text ),
146
- --light-secondary-text : public-color-util .hex-to-rgba ($light-secondary-text ),
147
- --light-accent-text : public-color-util .hex-to-rgba ($light-primary-text ),
148
- --light-warn-text : public-color-util .hex-to-rgba ($light-primary-text ),
149
- --light-disabled-text : public-color-util .hex-to-rgba ($light-disabled-text ),
150
- --light-dividers : public-color-util .hex-to-rgba ($light-dividers ),
151
- --light-focused : public-color-util .hex-to-rgba ($light-focused )),
152
- $default-background
153
- ),
154
- $default-foreground ) !default ;
155
-
156
34
$default-light-theme :
157
35
(
158
36
// PRIMARY
0 commit comments