material 0.9.27 → 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "material",
3
- "version": "0.9.27",
3
+ "version": "1.0.0",
4
4
  "description": "A lightweight implementation of Material Design Components for the web - ES6",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -0,0 +1,30 @@
1
+ // Material Design color variables with defaults
2
+ // These can be overridden by consumers using @use "variables" with (...)
3
+
4
+ // Background colors
5
+ $background-color: #ffffff !default;
6
+ $background-color-dark: #202124 !default;
7
+
8
+ // Surface colors
9
+ $surface-color: #ffffff !default;
10
+ $surface-color-dark: #333333 !default;
11
+
12
+ // Default colors
13
+ $default-color: rgba(0, 0, 0, 1) !default;
14
+ $default-color-dark: rgba(255, 255, 255, 1) !default;
15
+ $default-color-text: rgba(0, 0, 0, 0.87) !default;
16
+ $default-color-text-dark: rgba(255, 255, 255, 0.87) !default;
17
+ $default-color-button: rgba(0, 0, 0, 0.47) !default;
18
+ $default-color-icon: rgba(0, 0, 0, 0.67) !default;
19
+
20
+ // Primary colors
21
+ $primary-color: #6200ee !default;
22
+ $primary-color-dark: #bb86fc !default;
23
+ $primary-color-text: rgba(255, 255, 255, 0.87) !default;
24
+ $primary-color-text-dark: rgba(255, 255, 255, 0.87) !default;
25
+
26
+ // Secondary colors
27
+ $secondary-color: #03dac6 !default;
28
+ $secondary-color-dark: #03dac6 !default;
29
+ $secondary-color-text: rgba(0, 0, 0, 0.87) !default;
30
+ $secondary-color-text-dark: rgba(0, 0, 0, 0.87) !default;
@@ -1,8 +1,10 @@
1
+ @use "../variables" as *;
2
+ @use "sass:color";
1
3
 
2
4
  // type action
3
5
  .button.type-action {
4
6
  min-width: 36px;
5
- transition: box-shadow .2s;
7
+ transition: box-shadow 0.2s;
6
8
  box-shadow: none;
7
9
  border-radius: 50%;
8
10
  padding: 6px;
@@ -13,11 +15,11 @@
13
15
  margin-left: 0;
14
16
  svg {
15
17
  fill: $default-color-text;
16
-
17
- // styles
18
18
  }
19
19
  }
20
20
  }
21
+
22
+ // styles
21
23
  .button.type-action {
22
24
  &.style-dense,
23
25
  &.style-compact {
@@ -32,28 +34,18 @@
32
34
  width: 20px;
33
35
  height: 20px;
34
36
  viewbox: 0 0 20 20;
35
-
36
-
37
- // states
38
37
  }
39
38
  }
40
39
  }
41
40
  }
42
- .button.type-action {
43
- &:hover {
44
- //background-color: #E0E0E0;
45
- }
46
-
47
- &:focus {
48
- //background-color: darken(rgba(255, 255, 255, 0.95), 5%)
49
- }
50
41
 
42
+ // states
43
+ .button.type-action {
51
44
  .material-ripple {
52
- //background-color: rgba(255, 255, 255, 1)
53
-
54
- // color
55
45
  }
56
46
  }
47
+
48
+ // color
57
49
  .button.type-action {
58
50
  &.primary-color {
59
51
  background-color: $primary-color;
@@ -64,7 +56,7 @@
64
56
  }
65
57
  }
66
58
  &:focus {
67
- background-color: lighten($primary-color, 10%);
59
+ background-color: color.adjust($primary-color, $lightness: 10%);
68
60
  color: $primary-color-text;
69
61
  }
70
62
  }
@@ -77,18 +69,15 @@
77
69
  }
78
70
  }
79
71
  &:focus {
80
- background-color: lighten($secondary-color, 5%);
72
+ background-color: color.adjust($secondary-color, $lightness: 5%);
81
73
  color: $secondary-color-text;
82
-
83
-
84
- // theme
85
74
  }
86
75
  }
87
76
  }
77
+
78
+ // theme
88
79
  .dark-mode .button.type-action,
89
80
  .button.type-action.dark-mode {
90
-
91
- //background-color: rgba(255, 255, 255, 0.95)
92
81
  color: $primary-color-text-dark;
93
82
 
94
83
  &.primary-color {
@@ -1,3 +1,5 @@
1
+ @use "../variables" as *;
2
+
1
3
  .button {
2
4
  display: flex;
3
5
  -webkit-font-smoothing: antialiased;
@@ -64,20 +66,19 @@
64
66
  }
65
67
  .button-label {
66
68
  order: 1;
67
-
68
- // states
69
69
  }
70
70
  }
71
71
  }
72
+
73
+ // states
72
74
  .button {
73
75
  &.is-disabled {
74
76
  pointer-events: none;
75
- opacity: .3;
77
+ opacity: 0.3;
76
78
  }
77
79
 
78
80
  &:focus {
79
- //transition-delay: .2s
80
- transition-duration: .3s;
81
+ transition-duration: 0.3s;
81
82
  background-color: rgba($default-color-text, 0.05);
82
83
  &:hover {
83
84
  background-color: rgba($default-color-text, 0.05);
@@ -85,24 +86,21 @@
85
86
  }
86
87
 
87
88
  &:active {
88
- transition-duration: .2s;
89
- &:focus {
90
- //transition-delay: .2s
91
- }
89
+ transition-duration: 0.2s;
92
90
  }
93
91
 
94
92
  &:hover {
95
- transition-duration: .2s;
93
+ transition-duration: 0.2s;
96
94
  background-color: rgba($default-color-text, 0.03);
97
95
  }
98
96
 
99
97
  &:disabled {
100
98
  pointer-events: none;
101
- opacity: .3;
102
-
103
- // styles
99
+ opacity: 0.3;
104
100
  }
105
101
  }
102
+
103
+ // styles
106
104
  .button {
107
105
  &.style-compact {
108
106
  > .button-label {
@@ -117,22 +115,22 @@
117
115
  font-size: 0.8125rem;
118
116
  padding-top: 2px;
119
117
  padding-bottom: 2px;
120
-
121
- // color
122
118
  }
123
119
  }
124
120
  }
121
+
122
+ // color
125
123
  .button {
126
124
  &.primary-color {
127
125
  color: $primary-color;
128
126
  &:focus {
129
- background-color: rgba($primary-color, .1);
127
+ background-color: rgba($primary-color, 0.1);
130
128
  &:hover {
131
- background-color: rgba($primary-color, .1);
129
+ background-color: rgba($primary-color, 0.1);
132
130
  }
133
131
  }
134
132
  &:hover {
135
- background-color: rgba($primary-color, .05);
133
+ background-color: rgba($primary-color, 0.05);
136
134
  }
137
135
 
138
136
  .button-icon {
@@ -142,7 +140,7 @@
142
140
  }
143
141
 
144
142
  .material-ripple {
145
- background-color: rgba($primary-color, .1);
143
+ background-color: rgba($primary-color, 0.1);
146
144
  }
147
145
  }
148
146
 
@@ -154,21 +152,21 @@
154
152
  }
155
153
  }
156
154
  .material-ripple {
157
- background-color: rgba($secondary-color, .1);
155
+ background-color: rgba($secondary-color, 0.1);
158
156
  }
159
157
  &:focus {
160
- background-color: rgba($secondary-color, .10);
158
+ background-color: rgba($secondary-color, 0.1);
161
159
  &:hover {
162
- background-color: rgba($secondary-color, .10);
160
+ background-color: rgba($secondary-color, 0.1);
163
161
  }
164
162
  }
165
163
  &:hover {
166
- background-color: rgba($secondary-color, .05);
167
-
168
- // theme
164
+ background-color: rgba($secondary-color, 0.05);
169
165
  }
170
166
  }
171
167
  }
168
+
169
+ // theme
172
170
  .dark-mode .button,
173
171
  .button.dark-mode {
174
172
  color: $default-color-text-dark;
@@ -178,21 +176,14 @@
178
176
  }
179
177
  }
180
178
  .material-ripple {
181
- background-color: rgba($default-color-text-dark, .1);
182
- }
183
- &:focus {
184
- //background-color: rgba($default-color-text-dark, .1)
185
- &:hover {
186
- //background-color: rgba($default-color-text-dark, .1)
187
- }
179
+ background-color: rgba($default-color-text-dark, 0.1);
188
180
  }
189
181
  &:hover {
190
- background-color: rgba($default-color-text-dark, .05);
182
+ background-color: rgba($default-color-text-dark, 0.05);
183
+ }
191
184
 
192
185
  // primary color
193
- }
194
186
  &.primary-color {
195
- //background-color: $primary-color;
196
187
  color: $primary-color-dark;
197
188
  .button-icon {
198
189
  svg {
@@ -200,20 +191,20 @@
200
191
  }
201
192
  }
202
193
  .material-ripple {
203
- background-color: rgba($primary-color-dark, .3);
194
+ background-color: rgba($primary-color-dark, 0.3);
204
195
  }
205
196
  &:focus {
206
- background-color: rgba($primary-color-dark, .2);
197
+ background-color: rgba($primary-color-dark, 0.2);
207
198
  &:hover {
208
- background-color: rgba($primary-color-dark, .2);
199
+ background-color: rgba($primary-color-dark, 0.2);
209
200
  }
210
201
  }
211
202
  &:hover {
212
- background-color: rgba($primary-color-dark, .1);
213
-
214
- // secondary color
203
+ background-color: rgba($primary-color-dark, 0.1);
215
204
  }
216
205
  }
206
+
207
+ // secondary color
217
208
  &.secondary-color {
218
209
  color: $secondary-color-dark;
219
210
  .button-icon {
@@ -222,18 +213,18 @@
222
213
  }
223
214
  }
224
215
  .material-ripple {
225
- background-color: rgba($secondary-color-dark, .3);
216
+ background-color: rgba($secondary-color-dark, 0.3);
226
217
  }
227
218
 
228
219
  &:focus {
229
- background-color: rgba($secondary-color-dark, .2);
220
+ background-color: rgba($secondary-color-dark, 0.2);
230
221
  &:hover {
231
- background-color: rgba($secondary-color-dark, .2);
222
+ background-color: rgba($secondary-color-dark, 0.2);
232
223
  }
233
224
  }
234
225
 
235
226
  &:hover {
236
- background-color: rgba($secondary-color-dark, .1);
227
+ background-color: rgba($secondary-color-dark, 0.1);
237
228
  }
238
229
  }
239
230
  }
@@ -1,12 +1,17 @@
1
+ @use "../variables" as *;
2
+ @use "sass:color";
1
3
 
2
4
  // type floating
3
5
  .button.type-floating {
4
6
  min-width: 56px;
5
7
  min-height: 56px;
6
- transition: box-shadow .2s;
8
+ transition: box-shadow 0.2s;
7
9
  border-radius: 28px;
8
10
  padding: 6px;
9
- box-shadow: 0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
11
+ box-shadow:
12
+ 0px 3px 5px -1px rgba(0, 0, 0, 0.2),
13
+ 0px 6px 10px 0px rgba(0, 0, 0, 0.14),
14
+ 0px 1px 18px 0px rgba(0, 0, 0, 0.12);
10
15
  .button-label {
11
16
  display: none;
12
17
  }
@@ -20,12 +25,12 @@
20
25
  }
21
26
  }
22
27
  .material-ripple {
23
- opacity: .1;
28
+ opacity: 0.1;
24
29
  background-color: rgba(0, 0, 0, 1);
25
-
26
- // states
27
30
  }
28
31
  }
32
+
33
+ // states
29
34
  .button.type-floating {
30
35
  background-color: rgba(0, 0, 0, 0.05);
31
36
  &:focus {
@@ -38,11 +43,14 @@
38
43
  background-color: rgba(0, 0, 0, 0.1);
39
44
  }
40
45
  &:active {
41
- box-shadow: 0px 7px 8px -4px rgba(0, 0, 0, 0.2), 0px 12px 17px 2px rgba(0, 0, 0, 0.14), 0px 5px 22px 4px rgba(0, 0, 0, 0.12);
42
-
43
- // color
46
+ box-shadow:
47
+ 0px 7px 8px -4px rgba(0, 0, 0, 0.2),
48
+ 0px 12px 17px 2px rgba(0, 0, 0, 0.14),
49
+ 0px 5px 22px 4px rgba(0, 0, 0, 0.12);
44
50
  }
45
51
  }
52
+
53
+ // color
46
54
  .button.type-floating {
47
55
  &.primary-color {
48
56
  background-color: $primary-color;
@@ -53,18 +61,18 @@
53
61
  }
54
62
  }
55
63
  .material-ripple {
56
- opacity: .3;
64
+ opacity: 0.3;
57
65
  background-color: $default-color-dark;
58
66
  }
59
67
 
60
68
  &:focus {
61
- background-color: lighten($primary-color, 15%);
69
+ background-color: color.adjust($primary-color, $lightness: 15%);
62
70
  &:hover {
63
- background-color: lighten($primary-color, 15%);
71
+ background-color: color.adjust($primary-color, $lightness: 15%);
64
72
  }
65
73
  }
66
74
  &:hover {
67
- background-color: lighten($primary-color, 7%);
75
+ background-color: color.adjust($primary-color, $lightness: 7%);
68
76
  }
69
77
  }
70
78
 
@@ -77,26 +85,26 @@
77
85
  }
78
86
  }
79
87
  .material-ripple {
80
- opacity: .3;
88
+ opacity: 0.3;
81
89
  background-color: $default-color-dark;
82
90
  }
83
91
  &:focus {
84
- background-color: lighten($secondary-color, 10%);
92
+ background-color: color.adjust($secondary-color, $lightness: 10%);
85
93
  &:hover {
86
- background-color: lighten($secondary-color, 10%);
94
+ background-color: color.adjust($secondary-color, $lightness: 10%);
87
95
  }
88
96
  }
89
97
  &:hover {
90
- background-color: lighten($secondary-color, 5%);
91
-
92
- // theme
98
+ background-color: color.adjust($secondary-color, $lightness: 5%);
93
99
  }
94
100
  }
95
101
  }
102
+
103
+ // theme
96
104
  .dark-mode .button.type-floating,
97
105
  .button.type-floating.dark-mode {
98
106
  .material-ripple {
99
- opacity: .1;
107
+ opacity: 0.1;
100
108
  background-color: rgba(255, 255, 255, 1);
101
109
  }
102
110
  background-color: rgba(255, 255, 255, 0.1);
@@ -108,7 +116,6 @@
108
116
  }
109
117
  &:hover {
110
118
  background-color: rgba(255, 255, 255, 0.15);
111
- //background-color: rgba(255, 255, 255, 0.95)
112
119
  }
113
120
  color: $primary-color-text-dark;
114
121
  .button-icon {
@@ -125,13 +132,13 @@
125
132
  }
126
133
  }
127
134
  &:focus {
128
- background-color: lighten($primary-color, 15%);
135
+ background-color: color.adjust($primary-color, $lightness: 15%);
129
136
  &:hover {
130
- background-color: lighten($primary-color, 15%);
137
+ background-color: color.adjust($primary-color, $lightness: 15%);
131
138
  }
132
139
  }
133
140
  &:hover {
134
- background-color: lighten($primary-color, 7%);
141
+ background-color: color.adjust($primary-color, $lightness: 7%);
135
142
  }
136
143
  }
137
144
 
@@ -144,13 +151,13 @@
144
151
  }
145
152
  }
146
153
  &:focus {
147
- background-color: lighten($secondary-color, 10%);
154
+ background-color: color.adjust($secondary-color, $lightness: 10%);
148
155
  &:hover {
149
- background-color: lighten($secondary-color, 10%);
156
+ background-color: color.adjust($secondary-color, $lightness: 10%);
150
157
  }
151
158
  }
152
159
  &:hover {
153
- background-color: lighten($secondary-color, 5%);
160
+ background-color: color.adjust($secondary-color, $lightness: 5%);
154
161
  }
155
162
  }
156
163
  }
@@ -1,16 +1,21 @@
1
+ @use "../variables" as *;
2
+ @use "sass:color";
1
3
 
2
4
  // type raised
3
5
  .button.type-raised {
4
6
  min-width: 36px;
5
- transition: box-shadow .2s;
6
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
7
+ transition: box-shadow 0.2s;
8
+ box-shadow:
9
+ 0 2px 2px 0 rgba(0, 0, 0, 0.14),
10
+ 0 3px 1px -2px rgba(0, 0, 0, 0.2),
11
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12);
7
12
  .material-ripple {
8
- opacity: .1;
13
+ opacity: 0.1;
9
14
  background-color: rgba(0, 0, 0, 1);
10
-
11
- // states
12
15
  }
13
16
  }
17
+
18
+ // states
14
19
  .button.type-raised {
15
20
  background-color: rgba(0, 0, 0, 0.05);
16
21
  &:focus {
@@ -23,11 +28,14 @@
23
28
  background-color: rgba(0, 0, 0, 0.1);
24
29
  }
25
30
  &:active {
26
- box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.2), 0px 6px 8px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
27
-
28
- // color
31
+ box-shadow:
32
+ 0px 4px 4px -3px rgba(0, 0, 0, 0.2),
33
+ 0px 6px 8px 1px rgba(0, 0, 0, 0.14),
34
+ 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
29
35
  }
30
36
  }
37
+
38
+ // color
31
39
  .button.type-raised {
32
40
  &.primary-color {
33
41
  background-color: $primary-color;
@@ -38,18 +46,18 @@
38
46
  }
39
47
  }
40
48
  .material-ripple {
41
- opacity: .3;
49
+ opacity: 0.3;
42
50
  background-color: $default-color-dark;
43
51
  }
44
52
 
45
53
  &:focus {
46
- background-color: lighten($primary-color, 15%);
54
+ background-color: color.adjust($primary-color, $lightness: 15%);
47
55
  &:hover {
48
- background-color: lighten($primary-color, 15%);
56
+ background-color: color.adjust($primary-color, $lightness: 15%);
49
57
  }
50
58
  }
51
59
  &:hover {
52
- background-color: lighten($primary-color, 7%);
60
+ background-color: color.adjust($primary-color, $lightness: 7%);
53
61
  }
54
62
  }
55
63
 
@@ -62,26 +70,26 @@
62
70
  }
63
71
  }
64
72
  .material-ripple {
65
- opacity: .3;
73
+ opacity: 0.3;
66
74
  background-color: $default-color-dark;
67
75
  }
68
76
  &:focus {
69
- background-color: lighten($secondary-color, 10%);
77
+ background-color: color.adjust($secondary-color, $lightness: 10%);
70
78
  &:hover {
71
- background-color: lighten($secondary-color, 10%);
79
+ background-color: color.adjust($secondary-color, $lightness: 10%);
72
80
  }
73
81
  }
74
82
  &:hover {
75
- background-color: lighten($secondary-color, 5%);
76
-
77
- // theme
83
+ background-color: color.adjust($secondary-color, $lightness: 5%);
78
84
  }
79
85
  }
80
86
  }
87
+
88
+ // theme
81
89
  .dark-mode .button.type-raised,
82
90
  .button.type-raised.dark-mode {
83
91
  .material-ripple {
84
- opacity: .1;
92
+ opacity: 0.1;
85
93
  background-color: rgba(255, 255, 255, 1);
86
94
  }
87
95
  background-color: rgba(255, 255, 255, 0.1);
@@ -93,7 +101,6 @@
93
101
  }
94
102
  &:hover {
95
103
  background-color: rgba(255, 255, 255, 0.15);
96
- //background-color: rgba(255, 255, 255, 0.95)
97
104
  }
98
105
  color: $primary-color-text-dark;
99
106
  .button-icon {
@@ -110,13 +117,13 @@
110
117
  }
111
118
  }
112
119
  &:focus {
113
- background-color: lighten($primary-color, 15%);
120
+ background-color: color.adjust($primary-color, $lightness: 15%);
114
121
  &:hover {
115
- background-color: lighten($primary-color, 15%);
122
+ background-color: color.adjust($primary-color, $lightness: 15%);
116
123
  }
117
124
  }
118
125
  &:hover {
119
- background-color: lighten($primary-color, 7%);
126
+ background-color: color.adjust($primary-color, $lightness: 7%);
120
127
  }
121
128
  }
122
129
 
@@ -129,13 +136,13 @@
129
136
  }
130
137
  }
131
138
  &:focus {
132
- background-color: lighten($secondary-color, 10%);
139
+ background-color: color.adjust($secondary-color, $lightness: 10%);
133
140
  &:hover {
134
- background-color: lighten($secondary-color, 10%);
141
+ background-color: color.adjust($secondary-color, $lightness: 10%);
135
142
  }
136
143
  }
137
144
  &:hover {
138
- background-color: lighten($secondary-color, 5%);
145
+ background-color: color.adjust($secondary-color, $lightness: 5%);
139
146
  }
140
147
  }
141
148
  }
@@ -1,31 +1,36 @@
1
+ @use "../variables" as *;
2
+ @use "sass:color";
1
3
 
2
4
  // type stroked
3
5
  .button.type-stroked {
4
6
  min-width: 36px;
5
- transition: box-shadow .2s;
6
- box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.14), 0 3px 1px -2px rgba(0, 0, 0, 0.2), 0 1px 5px 0 rgba(0, 0, 0, 0.12);
7
+ transition: box-shadow 0.2s;
8
+ box-shadow:
9
+ 0 2px 2px 0 rgba(0, 0, 0, 0.14),
10
+ 0 3px 1px -2px rgba(0, 0, 0, 0.2),
11
+ 0 1px 5px 0 rgba(0, 0, 0, 0.12);
7
12
  .material-ripple {
8
- background-color: rgba(255, 255, 255, .3);
9
-
10
- // states
13
+ background-color: rgba(255, 255, 255, 0.3);
11
14
  }
12
15
  }
16
+
17
+ // states
13
18
  .button.type-stroked {
14
- &:hover {
15
- //background-color: #E0E0E0;
16
- }
17
19
  &:focus {
18
- background-color: darken(rgba(255, 255, 255, 0.95), 5%);
20
+ background-color: color.adjust(rgba(255, 255, 255, 0.95), $lightness: -5%);
19
21
  &:active {
20
22
  background-color: transparent;
21
23
  }
22
24
  }
23
25
  &:active {
24
- box-shadow: 0px 4px 4px -3px rgba(0, 0, 0, 0.2), 0px 6px 8px 1px rgba(0, 0, 0, 0.14), 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
25
-
26
- // color
26
+ box-shadow:
27
+ 0px 4px 4px -3px rgba(0, 0, 0, 0.2),
28
+ 0px 6px 8px 1px rgba(0, 0, 0, 0.14),
29
+ 0px 3px 14px 2px rgba(0, 0, 0, 0.12);
27
30
  }
28
31
  }
32
+
33
+ // color
29
34
  .button.type-stroked {
30
35
  &.primary-color {
31
36
  background-color: $primary-color;
@@ -36,7 +41,7 @@
36
41
  }
37
42
  }
38
43
  &:focus {
39
- background-color: lighten($primary-color, 10%);
44
+ background-color: color.adjust($primary-color, $lightness: 10%);
40
45
  color: $primary-color-text;
41
46
  &:active {
42
47
  background-color: $primary-color;
@@ -54,20 +59,18 @@
54
59
  }
55
60
 
56
61
  &:focus {
57
- background-color: lighten($secondary-color, 5%);
62
+ background-color: color.adjust($secondary-color, $lightness: 5%);
58
63
  color: $secondary-color-text;
59
64
  &:active {
60
65
  background-color: $secondary-color;
61
-
62
- // theme
63
66
  }
64
67
  }
65
68
  }
66
69
  }
70
+
71
+ // theme
67
72
  .dark-mode .button.type-stroked,
68
73
  .button.type-stroked.dark-mode {
69
-
70
- //background-color: rgba(255, 255, 255, 0.95)
71
74
  color: $primary-color-text-dark;
72
75
  .button-icon {
73
76
  svg {
@@ -1,3 +1,5 @@
1
+ @use "../variables" as *;
2
+
1
3
  .material-component {
2
4
  background-color: $background-color;
3
5
  }