@materializecss/materialize 2.2.1 → 2.2.2

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.
Files changed (49) hide show
  1. package/README.md +8 -11
  2. package/dist/css/materialize.css +2790 -2140
  3. package/dist/css/materialize.min.css +3 -5
  4. package/dist/css/materialize.min.css.map +1 -1
  5. package/dist/js/materialize.cjs.js +528 -215
  6. package/dist/js/materialize.d.ts +115 -13
  7. package/dist/js/materialize.js +528 -215
  8. package/dist/js/materialize.min.js +3 -3
  9. package/dist/js/materialize.mjs +528 -215
  10. package/package.json +5 -3
  11. package/sass/components/_badges.scss +1 -1
  12. package/sass/components/_breadcrumb.scss +27 -0
  13. package/sass/components/_buttons.scss +60 -167
  14. package/sass/components/_cards.scss +36 -17
  15. package/sass/components/_carousel.scss +16 -18
  16. package/sass/components/_chips.scss +6 -14
  17. package/sass/components/_collapsible.scss +8 -5
  18. package/sass/components/_collection.scss +2 -3
  19. package/sass/components/_color-variables.scss +35 -3
  20. package/sass/components/_datepicker.scss +95 -48
  21. package/sass/components/_dropdown.scss +11 -7
  22. package/sass/components/_global.scss +22 -111
  23. package/sass/components/_grid.scss +3 -1
  24. package/sass/components/_materialbox.scss +5 -6
  25. package/sass/components/_modal.scss +11 -4
  26. package/sass/components/_navbar.scss +17 -16
  27. package/sass/components/_pagination.scss +47 -0
  28. package/sass/components/_preloader.scss +3 -1
  29. package/sass/components/_pulse.scss +3 -3
  30. package/sass/components/_sidenav.scss +15 -17
  31. package/sass/components/_slider.scss +2 -4
  32. package/sass/components/_tabs.scss +45 -33
  33. package/sass/components/_tapTarget.scss +10 -11
  34. package/sass/components/_timepicker.scss +62 -47
  35. package/sass/components/_toast.scss +3 -0
  36. package/sass/components/_tooltip.scss +0 -8
  37. package/sass/components/_transitions.scss +2 -3
  38. package/sass/components/_typography.scss +5 -5
  39. package/sass/components/_variables.scss +3 -2
  40. package/sass/components/forms/_checkboxes.scss +1 -2
  41. package/sass/components/forms/_file-input.scss +7 -9
  42. package/sass/components/forms/_forms.scss +8 -14
  43. package/sass/components/forms/_input-fields.scss +17 -11
  44. package/sass/components/forms/_range.scss +6 -1
  45. package/sass/components/forms/_select.scss +11 -103
  46. package/sass/components/forms/_switches.scss +2 -0
  47. package/sass/components/mixins.module.scss +159 -0
  48. package/sass/materialize.scss +39 -43
  49. package/sass/components/_color-classes.scss +0 -32
@@ -1,4 +1,6 @@
1
- // Progress Bar
1
+ @use './variables' as *;
2
+ @use './colors.module.scss' as *;
3
+
2
4
  .progress {
3
5
  position: relative;
4
6
  height: 4px;
@@ -1,4 +1,7 @@
1
1
  .pulse {
2
+ overflow: visible;
3
+ position: relative;
4
+
2
5
  &::before {
3
6
  content: '';
4
7
  display: block;
@@ -14,9 +17,6 @@
14
17
  animation: pulse-animation 1s cubic-bezier(0.24, 0, 0.38, 1) infinite;
15
18
  z-index: -1;
16
19
  }
17
-
18
- overflow: visible;
19
- position: relative;
20
20
  }
21
21
 
22
22
  @keyframes pulse-animation {
@@ -1,4 +1,6 @@
1
- /* This should be an UL-Element*/
1
+ @use './variables' as *;
2
+ @use './global' as *;
3
+
2
4
  .sidenav {
3
5
  --sidenav-width: 300px;
4
6
  --sidenav-font-size: 14px;
@@ -67,7 +69,6 @@
67
69
  margin: 0 12px;
68
70
  padding: 0 var(--sidenav-padding);
69
71
  //padding-left: var(--sidenav-padding);
70
-
71
72
  // Truncate too long text
72
73
  /*
73
74
  min-width: 0;
@@ -75,7 +76,6 @@
75
76
  overflow: hidden;
76
77
  text-overflow: ellipsis;
77
78
  */
78
-
79
79
  display: flex;
80
80
  height: var(--sidenav-item-height);
81
81
  font-size: var(--sidenav-font-size);
@@ -86,7 +86,6 @@
86
86
 
87
87
  &:not(.btn):not(.btn-flat):not(.btn-large):not(.btn-floating) {
88
88
  color: var(--md-sys-color-on-secondary-container);
89
- //color: $sidenav-font-color;
90
89
  &:hover {
91
90
  //color: var(--md-sys-color-on-secondary-container);
92
91
  //md.sys.color.on-secondary-container
@@ -103,7 +102,6 @@
103
102
  & > .material-symbols-rounded, & > .material-symbols-sharp {
104
103
  display: inline-flex;
105
104
  vertical-align: middle;
106
- //color: $sidenav-icon-color;
107
105
  margin-right: 12px;
108
106
  }
109
107
  }
@@ -115,7 +113,7 @@
115
113
  .subheader {
116
114
  cursor: initial;
117
115
  pointer-events: none;
118
- color: red; //$sidenav-subheader-color;
116
+ color: red;
119
117
  font-size: var(--sidenav-font-size);
120
118
  font-weight: 500;
121
119
  line-height: var(--sidenav-line-height);
@@ -128,12 +126,12 @@
128
126
  margin-bottom: calc(var(--sidenav-padding) * 0.5);
129
127
 
130
128
  & > a {
129
+ height: auto;
130
+ padding: 0;
131
+
131
132
  &:hover {
132
133
  background-color: transparent;
133
134
  }
134
-
135
- height: auto;
136
- padding: 0;
137
135
  }
138
136
 
139
137
  .background {
@@ -175,27 +173,27 @@
175
173
 
176
174
  // Touch interaction
177
175
  .drag-target {
178
- // Right Align
179
- &.right-aligned {
180
- right: 0;
181
- }
182
176
  height: 100%;
183
177
  position: fixed;
184
178
  top: 0;
185
179
  left: 0;
186
180
  z-index: 998;
181
+
182
+ &.right-aligned {
183
+ right: 0;
184
+ }
187
185
  }
188
186
 
189
187
  // Fixed Sidenav shown
190
188
  .sidenav.sidenav-fixed {
191
- // Right Align
189
+ left: 0;
190
+ transform: translateX(0);
191
+ position: fixed;
192
+
192
193
  &.right-aligned {
193
194
  right: 0;
194
195
  left: auto;
195
196
  }
196
- left: 0;
197
- transform: translateX(0);
198
- position: fixed;
199
197
  }
200
198
 
201
199
  // Fixed Sidenav hide on smaller
@@ -103,9 +103,10 @@
103
103
  position: absolute;
104
104
  top: 0;
105
105
  left: 0;
106
+ width: 100%;
107
+ height: 100%;
106
108
  cursor: pointer;
107
109
  background-color: var(--md-sys-color-shadow-light);
108
-
109
110
  transition: background-color .3s;
110
111
  border-radius: 50%;
111
112
  border-width: 0;
@@ -113,9 +114,6 @@
113
114
  &.active {
114
115
  background-color: var(--md-sys-color-primary);
115
116
  }
116
-
117
- width: 100%;
118
- height: 100%;
119
117
  }
120
118
  }
121
119
  }
@@ -1,6 +1,15 @@
1
+ @use './variables' as *;
2
+
1
3
  .tabs {
2
4
  padding-left: 0;
3
5
  list-style-type: none;
6
+ position: relative;
7
+ overflow-x: auto;
8
+ overflow-y: hidden;
9
+ width: 100%;
10
+ background-color: var(--md-sys-color-surface);
11
+ margin: 0 auto;
12
+ white-space: nowrap;
4
13
 
5
14
  &.tabs-transparent {
6
15
  background-color: transparent;
@@ -37,32 +46,25 @@
37
46
 
38
47
  &.tabs-fixed-width {
39
48
  display: flex;
49
+
40
50
  .tab {
41
51
  flex-grow: 1;
42
52
  }
43
53
  }
44
54
 
45
- position: relative;
46
- overflow-x: auto;
47
- overflow-y: hidden;
48
- width: 100%;
49
- background-color: var(--md-sys-color-surface);
50
- margin: 0 auto;
51
- white-space: nowrap;
52
-
53
55
  .tab {
54
56
  padding-left: 0;
55
57
  list-style-type: none;
56
58
  display: inline-block;
57
59
  text-align: center;
58
- line-height: 48px;
60
+ line-height: 48px;
59
61
  padding: 0;
60
62
  margin: 0;
61
63
 
62
64
  i.material-icons {
63
65
  position: relative;
64
- top: 8px;
65
- vertical-align: middle;
66
+ top: 8px;
67
+ vertical-align: middle;
66
68
  }
67
69
 
68
70
  span {
@@ -71,6 +73,18 @@
71
73
  }
72
74
 
73
75
  a {
76
+ color: var(--md-sys-color-on-surface-variant);
77
+ display: flex;
78
+ flex-direction: column;
79
+ width: 100%;
80
+ height: 100%;
81
+ min-height: 48px; //needed for only-icons tabs
82
+ padding: 0 24px;
83
+ font-size: 14px;
84
+ text-overflow: ellipsis;
85
+ overflow: hidden;
86
+ transition: color .28s ease, background-color .28s ease;
87
+
74
88
  &.active {
75
89
  background-color: transparent;
76
90
  }
@@ -85,33 +99,29 @@
85
99
  background-color: rgba(var(--md-sys-color-primary-numeric), 0.06);
86
100
  }
87
101
 
88
- &:focus,
102
+ &:focus {
103
+ background-color: var(--md-sys-color-primary-container);
104
+ }
105
+
89
106
  &.active {
90
107
  background-color: rgba(var(--md-sys-color-primary-numeric), 0.18);
91
- outline: none;
92
108
  }
93
109
 
94
- color: var(--md-sys-color-on-surface-variant);
95
- display: flex;
96
- flex-direction: column;
97
- width: 100%;
98
- height: 100%;
99
- min-height: 48px; //needed for only-icons tabs
100
- padding: 0 24px;
101
- font-size: 14px;
102
- text-overflow: ellipsis;
103
- overflow: hidden;
104
- transition: color .28s ease, background-color .28s ease;
110
+ &:focus,
111
+ &.active {
112
+ outline: none;
113
+ }
105
114
  }
106
115
 
107
116
  &.disabled a,
108
117
  &.disabled a:hover {
109
- &:not(:focus) {
110
- background-color: transparent;
111
- }
112
118
  color: var(--md-sys-color-on-surface);
113
119
  cursor: default;
114
120
  background-color: transparent;
121
+
122
+ &:not(:focus) {
123
+ background-color: transparent;
124
+ }
115
125
  }
116
126
  }
117
127
 
@@ -123,19 +133,19 @@
123
133
  will-change: left, right;
124
134
  border-radius: 3px 3px 0 0;
125
135
  }
126
-
127
- &.tabs-horizontal .tab {
136
+
137
+ &.tabs-horizontal .tab {
128
138
  height: 48px;
129
139
 
130
140
  a {
131
141
  display: block;
132
142
  }
133
-
143
+
134
144
  i.material-icons {
135
145
  padding: 0 4px;
136
- position: relative;
137
- top: -2px;
138
- vertical-align: middle;
146
+ position: relative;
147
+ top: -2px;
148
+ vertical-align: middle;
139
149
  }
140
150
  }
141
151
  }
@@ -145,8 +155,10 @@
145
155
  @media #{$medium-and-down} {
146
156
  .tabs {
147
157
  display: flex;
158
+
148
159
  .tab {
149
160
  flex-grow: 1;
161
+
150
162
  a {
151
163
  padding: 0 12px;
152
164
  }
@@ -53,6 +53,10 @@
53
53
  }
54
54
 
55
55
  .tap-target-wave {
56
+ position: absolute;
57
+ border-radius: 50%;
58
+ z-index: 10001;
59
+
56
60
  &::before,
57
61
  &::after {
58
62
  content: '';
@@ -75,24 +79,19 @@
75
79
  visibility 0s;
76
80
  z-index: -1;
77
81
  }
78
-
79
- position: absolute;
80
- border-radius: 50%;
81
- z-index: 10001;
82
82
  }
83
83
 
84
84
  .tap-target-origin {
85
- &:not(.btn),
86
- &:not(.btn):hover {
87
- background: none;
88
- }
89
-
90
85
  top: 50%;
91
86
  left: 50%;
92
- transform: translate(-50%,-50%);
93
-
94
87
  z-index: 10002;
95
88
  position: absolute !important;
89
+ transform: translate(-50%,-50%);
90
+
91
+ &:not(.btn),
92
+ &:not(.btn):hover {
93
+ background: none;
94
+ }
96
95
  }
97
96
 
98
97
  @media only screen and (max-width: 600px) {
@@ -1,37 +1,35 @@
1
- /* Timepicker Containers */
2
- .timepicker-modal {
3
- max-width: 325px;
4
- max-height: none;
5
- }
1
+ @use './variables' as *;
6
2
 
7
- .timepicker-container.modal-content {
3
+ .timepicker-container {
8
4
  display: flex;
9
5
  flex-direction: column;
6
+ max-width: 325px;
10
7
  padding: 0;
8
+ background-color: var(--md-sys-color-inverse-on-surface);
11
9
  }
12
10
 
13
11
  .text-primary {
14
12
  color: var(--md-sys-color-on-primary);
15
13
  }
16
14
 
17
-
18
15
  /* Clock Digital Display */
19
16
  .timepicker-digital-display {
20
17
  width: auto;
21
18
  flex: 1 auto;
22
- background-color: var(--md-sys-color-primary);;
19
+ // background-color: var(--md-sys-color-surface);
23
20
  padding: 2rem .67rem .67rem .67rem;
24
21
  font-weight: 300;
25
22
  }
26
23
 
27
24
  .timepicker-text-container {
25
+ display: flex;
28
26
  font-size: 4rem;
29
27
  text-align: left;
30
28
  color: var(--font-on-primary-color-medium);
31
29
  font-weight: 400;
32
- position: relative;
30
+ /*position: relative;*/
33
31
  user-select: none;
34
- padding: 1rem 1rem 1.5rem 1rem;
32
+ padding: 1rem 1rem 1.3rem 1rem;
35
33
 
36
34
  input[type=text]{
37
35
  height: 4rem;
@@ -46,10 +44,15 @@
46
44
  display: inline-flex;
47
45
  }
48
46
 
47
+ .timepicker-display-digital-clock {
48
+ flex-grow: 1;
49
+ display: inline-flex;
50
+ }
51
+
49
52
  .timepicker-input-hours-wrapper,
50
53
  .timepicker-input-minutes-wrapper {
51
54
  width: 6.9rem;
52
- height: 5.2rem;
55
+ height: 5.75rem;
53
56
  }
54
57
 
55
58
  .timepicker-input-hours,
@@ -61,9 +64,15 @@
61
64
  input[type=text].timepicker-input-hours,
62
65
  input[type=text].timepicker-input-minutes {
63
66
  height: 100%;
64
- padding: .8rem;
67
+ padding: 1.33rem .8rem;
65
68
  border: 0;
66
69
  text-align: center;
70
+ color: var(--md-sys-color-on-background);
71
+ background-color: var(--md-sys-color-surface-variant);
72
+
73
+ &:focus {
74
+ background-color: var(--md-sys-color-primary-container);
75
+ }
67
76
  }
68
77
 
69
78
  .timepicker-input-divider-wrapper {
@@ -71,42 +80,42 @@ input[type=text].timepicker-input-minutes {
71
80
  text-align: center;
72
81
  }
73
82
 
74
- input[type=text].text-primary {
83
+ /*input[type=text].text-primary {
75
84
  color: var(--md-sys-color-on-background);
76
- }
85
+ }*/
77
86
 
78
87
  .timepicker-display-am-pm {
79
88
  font-size: 1.3rem;
80
- position: absolute;
89
+ /*position: absolute;
81
90
  top: 1rem;
82
- right: 1rem;
91
+ right: 1rem;*/
83
92
  font-weight: 400;
84
93
  }
85
94
 
86
95
  .timepicker-span-am-pm {
87
- height: 5.2rem;
96
+ height: 5.75rem;
88
97
  max-width: 3.5rem;
89
98
  }
90
99
 
91
- .timepicker-modal .am-btn,
92
- .timepicker-modal .pm-btn {
100
+ .timepicker-container .am-btn,
101
+ .timepicker-container .pm-btn {
93
102
  width: 3.6rem;
94
103
  height: 50%;
95
- padding-left: calc(var(--btn-padding) / 1.6);
96
- padding-right: calc(var(--btn-padding) / 1.6);
104
+ padding-left: calc(var(--btn-padding) / 1.8);
105
+ padding-right: calc(var(--btn-padding) / 1.8);
97
106
  line-height: 2rem;
98
107
  vertical-align: middle;
99
108
  text-align: center;
100
- background-color: transparent;
109
+ // background-color: transparent;
101
110
  border: 1px solid var(--md-sys-color-outline);
102
111
  }
103
112
 
104
- .timepicker-modal .am-btn {
113
+ .timepicker-container .am-btn {
105
114
  border-bottom-right-radius: 0;
106
115
  border-bottom-left-radius: 0;
107
116
  }
108
117
 
109
- .timepicker-modal .pm-btn {
118
+ .timepicker-container .pm-btn {
110
119
  border-top: 0;
111
120
  border-top-left-radius: 0;
112
121
  border-top-right-radius: 0;
@@ -116,17 +125,17 @@ input[type=text].text-primary {
116
125
  .timepicker-analog-display {
117
126
  flex: 2.5 auto;
118
127
  padding: .67rem;
119
- background-color: var(--md-sys-color-surface);
128
+ // background-color: var(--md-sys-color-surface);
120
129
  }
121
130
 
122
131
  .timepicker-plate {
123
- background-color: rgba(0, 0, 0, 0.09);
132
+ background-color: var(--md-sys-color-surface-variant);
124
133
  border-radius: 50%;
125
134
  width: 260px;
126
135
  height: 260px;
127
136
  overflow: visible;
128
137
  position: relative;
129
- margin: 2rem 1.6rem 1.6rem 1.6rem;
138
+ margin: 0 1.6rem 1.6rem 1.6rem;
130
139
  user-select: none;
131
140
  }
132
141
 
@@ -165,6 +174,8 @@ input[type=text].text-primary {
165
174
  }
166
175
 
167
176
  .timepicker-dial-out {
177
+ opacity: 0;
178
+
168
179
  &.timepicker-hours {
169
180
  transform: scale(1.1, 1.1);
170
181
  }
@@ -172,8 +183,6 @@ input[type=text].text-primary {
172
183
  &.timepicker-minutes {
173
184
  transform: scale(.8, .8);
174
185
  }
175
-
176
- opacity: 0;
177
186
  }
178
187
 
179
188
  .timepicker-canvas {
@@ -224,12 +233,12 @@ input[type=text].text-primary {
224
233
 
225
234
  /* Media Queries */
226
235
  @media #{$large-and-up} {
227
- .timepicker-modal {
236
+ .timepicker-container {
228
237
  width: auto;
229
238
  max-width: 620px;
230
239
  }
231
240
 
232
- .timepicker-container.modal-content {
241
+ .timepicker-container {
233
242
  flex-direction: row;
234
243
  }
235
244
 
@@ -238,42 +247,48 @@ input[type=text].text-primary {
238
247
  }
239
248
 
240
249
  .timepicker-text-container {
241
- top: 31%;
250
+ /*top: 31%;*/
251
+ flex-direction: column;
252
+ margin-top: 4.8rem;
242
253
  text-align: center;
243
254
  }
244
255
 
256
+ .timepicker-display-column {
257
+ padding: 0 3%;
258
+ }
259
+
245
260
  .timepicker-display-am-pm {
246
- position: relative;
247
- top: auto;
248
- right: auto;
249
- text-align: center;
250
- margin-top: 1.2rem;
261
+ margin-top: 1.1rem;
251
262
  }
252
263
 
253
264
  .timepicker-span-am-pm {
265
+ display: flex;
266
+ flex-grow: 1;
254
267
  max-width: unset;
255
268
  }
256
269
 
257
- .timepicker-modal .am-btn,
258
- .timepicker-modal .pm-btn {
259
- width: auto;
260
- padding-left: var(--btn-padding);
261
- padding-right: var(--btn-padding);
270
+ .timepicker-container .am-btn,
271
+ .timepicker-container .pm-btn {
272
+ flex-grow: 1;
273
+ /*width: auto;*/
274
+ padding-left: calc(var(--btn-padding) / .565);
275
+ padding-right: calc(var(--btn-padding) / .565);
262
276
  border-radius: var(--btn-border-radius);
263
277
  border: 1px solid var(--md-sys-color-outline);
264
- line-height: inherit;
265
- vertical-align: top;
266
- text-align: inherit;
267
278
  }
268
279
 
269
- .timepicker-modal .am-btn {
280
+ .timepicker-container .am-btn {
270
281
  border-top-right-radius: 0;
271
282
  border-bottom-right-radius: 0;
272
283
  }
273
284
 
274
- .timepicker-modal .pm-btn {
285
+ .timepicker-container .pm-btn {
275
286
  border-left: 0;
276
287
  border-bottom-left-radius: 0;
277
288
  border-top-left-radius: 0;
278
289
  }
290
+
291
+ .timepicker-plate {
292
+ margin-top: 1.6rem;
293
+ }
279
294
  }
@@ -1,3 +1,6 @@
1
+ @use './variables' as *;
2
+ @use './global' as *;
3
+
1
4
  #toast-container {
2
5
  display:block;
3
6
  position: fixed;
@@ -1,36 +1,28 @@
1
1
  .material-tooltip {
2
2
  padding: 0 8px;
3
3
  border-radius: 4px;
4
-
5
4
  color: var(--md-sys-color-inverse-on-surface);
6
5
  background-color: var(--md-sys-color-inverse-surface);
7
-
8
6
  font-family: var(--md-sys-typescale-body-small-font-family-name);
9
7
  font-size: var(--md-sys-typescale-body-small-font-size);
10
8
  line-height: var(--md-sys-typescale-body-small-line-height);
11
9
  font-weight: var(--md-sys-typescale-body-small-font-weight);
12
-
13
10
  min-height: 24px;
14
11
  opacity: 0;
15
-
16
12
  padding-top: 6px;
17
13
  padding-bottom: 6px;
18
-
19
14
  font-size: 12px;
20
15
  line-height: 16px;
21
16
  font-weight: 400;
22
17
  letter-spacing: 0.4px;
23
-
24
18
  position: absolute;
25
19
  max-width: 300px;
26
20
  overflow: hidden;
27
21
  left: 0;
28
22
  top: 0;
29
23
  pointer-events: none;
30
-
31
24
  display: flex;
32
25
  align-items: center;
33
-
34
26
  visibility: hidden;
35
27
  z-index: 2000;
36
28
  }
@@ -1,5 +1,6 @@
1
- // Scale transition
2
1
  .scale-transition {
2
+ transition: transform .3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;
3
+
3
4
  &.scale-out {
4
5
  transform: scale(0);
5
6
  transition: transform .2s !important;
@@ -8,6 +9,4 @@
8
9
  &.scale-in {
9
10
  transform: scale(1);
10
11
  }
11
-
12
- transition: transform .3s cubic-bezier(0.53, 0.01, 0.36, 1.63) !important;
13
12
  }
@@ -1,5 +1,6 @@
1
1
 
2
2
  @use "sass:math";
3
+ @use './variables' as *;
3
4
 
4
5
  a {
5
6
  text-decoration: none;
@@ -7,6 +8,9 @@ a {
7
8
 
8
9
  html{
9
10
  // line-height: 1.5;
11
+ font-family: $font-stack;
12
+ font-weight: normal;
13
+ color: $text-color;
10
14
 
11
15
  @media only screen and (min-width: 0) {
12
16
  font-size: 14px;
@@ -19,10 +23,6 @@ html{
19
23
  @media only screen and (min-width: $large-screen-up) {
20
24
  font-size: 15px;
21
25
  }
22
-
23
- font-family: $font-stack;
24
- font-weight: normal;
25
- color: $text-color;
26
26
  }
27
27
 
28
28
  h1, h2, h3, h4, h5, h6 {
@@ -49,7 +49,7 @@ small { font-size: 75%; }
49
49
  .flow-text{
50
50
  $i: 0;
51
51
  @while $i <= $intervals {
52
- @media only screen and (min-width : 360 + ($i * $interval-size)) {
52
+ @media only screen and (min-width : (360 + ($i * $interval-size))) {
53
53
  font-size: 1.2rem * (1 + (.02 * $i));
54
54
  }
55
55
  $i: $i + 1;
@@ -2,10 +2,11 @@
2
2
  $md_sys_typescale_body-large_size: 16px;
3
3
 
4
4
  @use "sass:math";
5
+ @use "./_color-variables";
5
6
 
6
7
  // Colors
7
- $success-color: color("green", "base") !default;
8
- $link-color: color("light-blue", "darken-1") !default;
8
+ $success-color: colorFunc("green", "base") !default;
9
+ $link-color: colorFunc("light-blue", "darken-1") !default;
9
10
 
10
11
  // Floating buttons
11
12
  $button-floating-background: var(--md-sys-color-secondary) !default;