@nuvoui/core 1.3.4 → 1.4.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/LICENSE +21 -0
- package/dist/nuvoui.css +424 -342
- package/dist/nuvoui.css.map +1 -1
- package/dist/nuvoui.min.css +23 -1
- package/dist/nuvoui.min.css.map +1 -1
- package/package.json +1 -1
- package/src/styles/base/_base.scss +148 -147
- package/src/styles/base/_reset.scss +41 -49
- package/src/styles/build.scss +25 -1
- package/src/styles/components/_tooltips.scss +271 -0
- package/src/styles/config/_borders.scss +15 -0
- package/src/styles/config/_breakpoints.scss +11 -0
- package/src/styles/config/_colors.scss +192 -0
- package/src/styles/config/_constants.scss +1 -0
- package/src/styles/config/_container-queries.scss +1 -0
- package/src/styles/config/_feature-flags.scss +33 -0
- package/src/styles/config/_layouts.scss +13 -0
- package/src/styles/config/_shadows.scss +9 -0
- package/src/styles/config/_spacing.scss +41 -0
- package/src/styles/config/_theme-validation.scss +59 -0
- package/src/styles/config/_typography.scss +45 -0
- package/src/styles/functions/_breakpoints.scss +15 -0
- package/src/styles/functions/_colors.scss +280 -0
- package/src/styles/functions/_css-vars.scss +33 -0
- package/src/styles/functions/_feature-flags.scss +20 -0
- package/src/styles/functions/_math.scss +72 -0
- package/src/styles/functions/_strings.scss +68 -0
- package/src/styles/functions/_types.scss +104 -0
- package/src/styles/functions/_units.scss +83 -0
- package/src/styles/index.scss +26 -5
- package/src/styles/layouts/_container.scss +28 -27
- package/src/styles/layouts/_flex.scss +340 -341
- package/src/styles/layouts/_grid.scss +131 -128
- package/src/styles/mixins-map.json +484 -479
- package/src/styles/mixins-map.scss +1 -1
- package/src/styles/themes/_theme.scss +230 -211
- package/src/styles/tools/_accessibility.scss +50 -0
- package/src/styles/tools/_container-queries.scss +98 -0
- package/src/styles/tools/_feature-support.scss +46 -0
- package/src/styles/tools/_media-queries.scss +70 -0
- package/src/styles/tools/_modern-layout.scss +49 -0
- package/src/styles/utilities/_alignment.scss +35 -34
- package/src/styles/utilities/_animations.scss +312 -311
- package/src/styles/utilities/_backdrop-filters.scss +194 -193
- package/src/styles/utilities/_borders.scss +243 -237
- package/src/styles/utilities/_colors.scss +16 -136
- package/src/styles/utilities/_cursor.scss +10 -10
- package/src/styles/utilities/_display.scss +192 -191
- package/src/styles/utilities/_helpers.scss +106 -106
- package/src/styles/utilities/_opacity.scss +27 -25
- package/src/styles/utilities/_position.scss +124 -121
- package/src/styles/utilities/_shadows.scss +171 -169
- package/src/styles/utilities/_sizing.scss +197 -194
- package/src/styles/utilities/_spacing.scss +231 -224
- package/src/styles/utilities/_transforms.scss +235 -234
- package/src/styles/utilities/_transitions.scss +136 -135
- package/src/styles/utilities/_typography.scss +242 -239
- package/src/styles/utilities/_z-index.scss +69 -68
- package/src/styles/abstracts/_config.scss +0 -253
- package/src/styles/abstracts/_functions.scss +0 -626
- package/src/styles/themes/refactored_borders.ipynb +0 -37
- package/src/styles/utilities/_container-queries.scss +0 -95
- package/src/styles/utilities/_media-queries.scss +0 -189
- package/src/styles/utilities/_tooltips.scss +0 -258
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
@use "sass:meta";
|
|
3
|
-
@use "../
|
|
4
|
-
@use "../
|
|
3
|
+
@use "../config/feature-flags" as config-flags;
|
|
4
|
+
@use "../config/breakpoints" as config-breakpoint;
|
|
5
|
+
@use "../functions/feature-flags" as fn-flags;
|
|
5
6
|
|
|
6
7
|
// Backdrop Filter Utilities
|
|
7
8
|
// Provides utility classes and mixins for backdrop-filter effects.
|
|
@@ -12,303 +13,303 @@
|
|
|
12
13
|
|
|
13
14
|
// Blur values
|
|
14
15
|
$backdrop-blur-values: (
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
16
|
+
"none": 0,
|
|
17
|
+
"sm": 2px,
|
|
18
|
+
"md": 4px,
|
|
19
|
+
"lg": 8px,
|
|
20
|
+
"xl": 16px,
|
|
21
|
+
"2xl": 32px,
|
|
21
22
|
);
|
|
22
23
|
|
|
23
24
|
// Brightness values
|
|
24
25
|
$backdrop-brightness-values: (
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
"none": 100%,
|
|
27
|
+
"75": 75%,
|
|
28
|
+
"90": 90%,
|
|
29
|
+
"110": 110%,
|
|
30
|
+
"125": 125%,
|
|
31
|
+
"150": 150%,
|
|
31
32
|
);
|
|
32
33
|
|
|
33
34
|
// Contrast values
|
|
34
35
|
$backdrop-contrast-values: (
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
36
|
+
"none": 100%,
|
|
37
|
+
"75": 75%,
|
|
38
|
+
"90": 90%,
|
|
39
|
+
"110": 110%,
|
|
40
|
+
"125": 125%,
|
|
41
|
+
"150": 150%,
|
|
41
42
|
);
|
|
42
43
|
|
|
43
44
|
// Grayscale values
|
|
44
45
|
$backdrop-grayscale-values: (
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
46
|
+
"none": 0,
|
|
47
|
+
"25": 25%,
|
|
48
|
+
"50": 50%,
|
|
49
|
+
"75": 75%,
|
|
50
|
+
"100": 100%,
|
|
50
51
|
);
|
|
51
52
|
|
|
52
53
|
// Saturate values
|
|
53
54
|
$backdrop-saturate-values: (
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
55
|
+
"none": 100%,
|
|
56
|
+
"50": 50%,
|
|
57
|
+
"75": 75%,
|
|
58
|
+
"125": 125%,
|
|
59
|
+
"150": 150%,
|
|
60
|
+
"200": 200%,
|
|
60
61
|
);
|
|
61
62
|
|
|
62
63
|
// Sepia values
|
|
63
64
|
$backdrop-sepia-values: (
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
65
|
+
"none": 0,
|
|
66
|
+
"25": 25%,
|
|
67
|
+
"50": 50%,
|
|
68
|
+
"75": 75%,
|
|
69
|
+
"100": 100%,
|
|
69
70
|
);
|
|
70
71
|
|
|
71
72
|
// Hue-rotate values
|
|
72
73
|
$backdrop-hue-rotate-values: (
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
74
|
+
"0": 0deg,
|
|
75
|
+
"90": 90deg,
|
|
76
|
+
"180": 180deg,
|
|
77
|
+
"270": 270deg,
|
|
77
78
|
);
|
|
78
79
|
|
|
79
80
|
// Invert values
|
|
80
81
|
$backdrop-invert-values: (
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
82
|
+
"none": 0,
|
|
83
|
+
"25": 25%,
|
|
84
|
+
"50": 50%,
|
|
85
|
+
"75": 75%,
|
|
86
|
+
"100": 100%,
|
|
86
87
|
);
|
|
87
88
|
|
|
88
89
|
// Common backdrop-filter presets
|
|
89
90
|
$backdrop-filter-presets: (
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
91
|
+
"frosted": blur(8px) saturate(90%) brightness(120%),
|
|
92
|
+
"glass": blur(8px) saturate(120%) contrast(90%),
|
|
93
|
+
"dark-glass": blur(8px) saturate(180%) brightness(70%) contrast(90%),
|
|
94
|
+
"crystal": blur(8px) saturate(150%),
|
|
95
|
+
"matte": blur(20px) saturate(90%) brightness(90%),
|
|
95
96
|
);
|
|
96
97
|
|
|
97
98
|
// Base backdrop-filter
|
|
98
99
|
@mixin backdrop-filter($value) {
|
|
99
|
-
|
|
100
|
+
backdrop-filter: $value;
|
|
100
101
|
}
|
|
101
102
|
|
|
102
103
|
// Base layer mixin that initializes the CSS variables
|
|
103
104
|
@mixin backdrop-layer {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
105
|
+
--backdrop-blur: blur(0);
|
|
106
|
+
--backdrop-brightness: brightness(100%);
|
|
107
|
+
--backdrop-contrast: contrast(100%);
|
|
108
|
+
--backdrop-grayscale: grayscale(0);
|
|
109
|
+
--backdrop-hue-rotate: hue-rotate(0deg);
|
|
110
|
+
--backdrop-invert: invert(0);
|
|
111
|
+
--backdrop-saturate: saturate(100%);
|
|
112
|
+
--backdrop-sepia: sepia(0);
|
|
113
|
+
|
|
114
|
+
backdrop-filter: var(--backdrop-blur) var(--backdrop-brightness) var(--backdrop-contrast) var(--backdrop-grayscale) var(--backdrop-hue-rotate) var(--backdrop-invert) var(--backdrop-saturate) var(--backdrop-sepia);
|
|
114
115
|
}
|
|
115
116
|
|
|
116
117
|
// Specific filter mixins - now they set CSS variables instead of the backdrop-filter property
|
|
117
118
|
@mixin backdrop-blur($value) {
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
119
|
+
@if map.has-key($backdrop-blur-values, $value) {
|
|
120
|
+
--backdrop-blur: blur(#{map.get($backdrop-blur-values, $value)});
|
|
121
|
+
} @else {
|
|
122
|
+
--backdrop-blur: blur(#{$value});
|
|
123
|
+
}
|
|
123
124
|
}
|
|
124
125
|
|
|
125
126
|
@mixin backdrop-brightness($value) {
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
127
|
+
@if map.has-key($backdrop-brightness-values, $value) {
|
|
128
|
+
--backdrop-brightness: brightness(#{map.get($backdrop-brightness-values, $value)});
|
|
129
|
+
} @else {
|
|
130
|
+
--backdrop-brightness: brightness(#{$value});
|
|
131
|
+
}
|
|
131
132
|
}
|
|
132
133
|
|
|
133
134
|
@mixin backdrop-contrast($value) {
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
135
|
+
@if map.has-key($backdrop-contrast-values, $value) {
|
|
136
|
+
--backdrop-contrast: contrast(#{map.get($backdrop-contrast-values, $value)});
|
|
137
|
+
} @else {
|
|
138
|
+
--backdrop-contrast: contrast(#{$value});
|
|
139
|
+
}
|
|
139
140
|
}
|
|
140
141
|
|
|
141
142
|
@mixin backdrop-grayscale($value) {
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
143
|
+
@if map.has-key($backdrop-grayscale-values, $value) {
|
|
144
|
+
--backdrop-grayscale: grayscale(#{map.get($backdrop-grayscale-values, $value)});
|
|
145
|
+
} @else {
|
|
146
|
+
--backdrop-grayscale: grayscale(#{$value});
|
|
147
|
+
}
|
|
147
148
|
}
|
|
148
149
|
|
|
149
150
|
@mixin backdrop-hue-rotate($value) {
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
151
|
+
@if map.has-key($backdrop-hue-rotate-values, $value) {
|
|
152
|
+
--backdrop-hue-rotate: hue-rotate(#{map.get($backdrop-hue-rotate-values, $value)});
|
|
153
|
+
} @else {
|
|
154
|
+
--backdrop-hue-rotate: hue-rotate(#{$value});
|
|
155
|
+
}
|
|
155
156
|
}
|
|
156
157
|
|
|
157
158
|
@mixin backdrop-invert($value) {
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
159
|
+
@if map.has-key($backdrop-invert-values, $value) {
|
|
160
|
+
--backdrop-invert: invert(#{map.get($backdrop-invert-values, $value)});
|
|
161
|
+
} @else {
|
|
162
|
+
--backdrop-invert: invert(#{$value});
|
|
163
|
+
}
|
|
163
164
|
}
|
|
164
165
|
|
|
165
166
|
@mixin backdrop-saturate($value) {
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
167
|
+
@if map.has-key($backdrop-saturate-values, $value) {
|
|
168
|
+
--backdrop-saturate: saturate(#{map.get($backdrop-saturate-values, $value)});
|
|
169
|
+
} @else {
|
|
170
|
+
--backdrop-saturate: saturate(#{$value});
|
|
171
|
+
}
|
|
171
172
|
}
|
|
172
173
|
|
|
173
174
|
@mixin backdrop-sepia($value) {
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
175
|
+
@if map.has-key($backdrop-sepia-values, $value) {
|
|
176
|
+
--backdrop-sepia: sepia(#{map.get($backdrop-sepia-values, $value)});
|
|
177
|
+
} @else {
|
|
178
|
+
--backdrop-sepia: sepia(#{$value});
|
|
179
|
+
}
|
|
179
180
|
}
|
|
180
181
|
|
|
181
182
|
// Preset backdrop effects
|
|
182
183
|
@mixin backdrop-frosted {
|
|
183
|
-
|
|
184
|
+
backdrop-filter: #{map.get($backdrop-filter-presets, "frosted")};
|
|
184
185
|
}
|
|
185
186
|
|
|
186
187
|
@mixin backdrop-glass {
|
|
187
|
-
|
|
188
|
+
backdrop-filter: #{map.get($backdrop-filter-presets, "glass")};
|
|
188
189
|
}
|
|
189
190
|
|
|
190
191
|
@mixin backdrop-dark-glass {
|
|
191
|
-
|
|
192
|
+
backdrop-filter: #{map.get($backdrop-filter-presets, "dark-glass")};
|
|
192
193
|
}
|
|
193
194
|
|
|
194
195
|
@mixin backdrop-crystal {
|
|
195
|
-
|
|
196
|
+
backdrop-filter: #{map.get($backdrop-filter-presets, "crystal")};
|
|
196
197
|
}
|
|
197
198
|
|
|
198
199
|
@mixin backdrop-matte {
|
|
199
|
-
|
|
200
|
+
backdrop-filter: #{map.get($backdrop-filter-presets, "matte")};
|
|
200
201
|
}
|
|
201
202
|
|
|
202
203
|
// Reset filter
|
|
203
204
|
@mixin backdrop-none {
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
205
|
+
backdrop-filter: none;
|
|
206
|
+
|
|
207
|
+
--backdrop-blur: none;
|
|
208
|
+
--backdrop-brightness: none;
|
|
209
|
+
--backdrop-contrast: none;
|
|
210
|
+
--backdrop-grayscale: none;
|
|
211
|
+
--backdrop-hue-rotate: none;
|
|
212
|
+
--backdrop-invert: none;
|
|
213
|
+
--backdrop-saturate: none;
|
|
214
|
+
--backdrop-sepia: none;
|
|
214
215
|
}
|
|
215
216
|
|
|
216
217
|
// Generate utility classes
|
|
217
218
|
@mixin generate-backdrop-filter-utilities($breakpoint: null) {
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
// Basic backdrop utilities
|
|
226
|
-
#{VAR.$parent-selector} .backdrop-none#{$suffix} {
|
|
227
|
-
@include backdrop-none;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
// Blur utilities
|
|
231
|
-
@each $key, $value in $backdrop-blur-values {
|
|
232
|
-
#{VAR.$parent-selector} .backdrop-blur-#{$key}#{$suffix} {
|
|
233
|
-
@include backdrop-blur($key);
|
|
219
|
+
$suffix: if($breakpoint, "\\@#{$breakpoint}", "");
|
|
220
|
+
|
|
221
|
+
// Base layer class
|
|
222
|
+
#{config-flags.$parent-selector} .backdrop-layer#{$suffix} {
|
|
223
|
+
@include backdrop-layer;
|
|
234
224
|
}
|
|
235
|
-
}
|
|
236
225
|
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
@include backdrop-brightness($key);
|
|
226
|
+
// Basic backdrop utilities
|
|
227
|
+
#{config-flags.$parent-selector} .backdrop-none#{$suffix} {
|
|
228
|
+
@include backdrop-none;
|
|
241
229
|
}
|
|
242
|
-
}
|
|
243
230
|
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
231
|
+
// Blur utilities
|
|
232
|
+
@each $key, $value in $backdrop-blur-values {
|
|
233
|
+
#{config-flags.$parent-selector} .backdrop-blur-#{$key}#{$suffix} {
|
|
234
|
+
@include backdrop-blur($key);
|
|
235
|
+
}
|
|
248
236
|
}
|
|
249
|
-
}
|
|
250
237
|
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
238
|
+
// Brightness utilities
|
|
239
|
+
@each $key, $value in $backdrop-brightness-values {
|
|
240
|
+
#{config-flags.$parent-selector} .backdrop-brightness-#{$key}#{$suffix} {
|
|
241
|
+
@include backdrop-brightness($key);
|
|
242
|
+
}
|
|
255
243
|
}
|
|
256
|
-
}
|
|
257
244
|
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
245
|
+
// Contrast utilities
|
|
246
|
+
@each $key, $value in $backdrop-contrast-values {
|
|
247
|
+
#{config-flags.$parent-selector} .backdrop-contrast-#{$key}#{$suffix} {
|
|
248
|
+
@include backdrop-contrast($key);
|
|
249
|
+
}
|
|
262
250
|
}
|
|
263
|
-
}
|
|
264
251
|
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
252
|
+
// Grayscale utilities
|
|
253
|
+
@each $key, $value in $backdrop-grayscale-values {
|
|
254
|
+
#{config-flags.$parent-selector} .backdrop-grayscale-#{$key}#{$suffix} {
|
|
255
|
+
@include backdrop-grayscale($key);
|
|
256
|
+
}
|
|
269
257
|
}
|
|
270
|
-
}
|
|
271
258
|
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
259
|
+
// Saturate utilities
|
|
260
|
+
@each $key, $value in $backdrop-saturate-values {
|
|
261
|
+
#{config-flags.$parent-selector} .backdrop-saturate-#{$key}#{$suffix} {
|
|
262
|
+
@include backdrop-saturate($key);
|
|
263
|
+
}
|
|
276
264
|
}
|
|
277
|
-
}
|
|
278
265
|
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
266
|
+
// Sepia utilities
|
|
267
|
+
@each $key, $value in $backdrop-sepia-values {
|
|
268
|
+
#{config-flags.$parent-selector} .backdrop-sepia-#{$key}#{$suffix} {
|
|
269
|
+
@include backdrop-sepia($key);
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// Hue-rotate utilities
|
|
274
|
+
@each $key, $value in $backdrop-hue-rotate-values {
|
|
275
|
+
#{config-flags.$parent-selector} .backdrop-hue-#{$key}#{$suffix} {
|
|
276
|
+
@include backdrop-hue-rotate($key);
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
|
|
280
|
+
// Invert utilities
|
|
281
|
+
@each $key, $value in $backdrop-invert-values {
|
|
282
|
+
#{config-flags.$parent-selector} .backdrop-invert-#{$key}#{$suffix} {
|
|
283
|
+
@include backdrop-invert($key);
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// Preset utilities (these override the CSS variables approach)
|
|
288
|
+
#{config-flags.$parent-selector} .backdrop-frosted#{$suffix} {
|
|
289
|
+
@include backdrop-frosted;
|
|
290
|
+
}
|
|
291
|
+
#{config-flags.$parent-selector} .backdrop-glass#{$suffix} {
|
|
292
|
+
@include backdrop-glass;
|
|
293
|
+
}
|
|
294
|
+
#{config-flags.$parent-selector} .backdrop-dark-glass#{$suffix} {
|
|
295
|
+
@include backdrop-dark-glass;
|
|
296
|
+
}
|
|
297
|
+
#{config-flags.$parent-selector} .backdrop-crystal#{$suffix} {
|
|
298
|
+
@include backdrop-crystal;
|
|
299
|
+
}
|
|
300
|
+
#{config-flags.$parent-selector} .backdrop-matte#{$suffix} {
|
|
301
|
+
@include backdrop-matte;
|
|
283
302
|
}
|
|
284
|
-
}
|
|
285
|
-
|
|
286
|
-
// Preset utilities (these override the CSS variables approach)
|
|
287
|
-
#{VAR.$parent-selector} .backdrop-frosted#{$suffix} {
|
|
288
|
-
@include backdrop-frosted;
|
|
289
|
-
}
|
|
290
|
-
#{VAR.$parent-selector} .backdrop-glass#{$suffix} {
|
|
291
|
-
@include backdrop-glass;
|
|
292
|
-
}
|
|
293
|
-
#{VAR.$parent-selector} .backdrop-dark-glass#{$suffix} {
|
|
294
|
-
@include backdrop-dark-glass;
|
|
295
|
-
}
|
|
296
|
-
#{VAR.$parent-selector} .backdrop-crystal#{$suffix} {
|
|
297
|
-
@include backdrop-crystal;
|
|
298
|
-
}
|
|
299
|
-
#{VAR.$parent-selector} .backdrop-matte#{$suffix} {
|
|
300
|
-
@include backdrop-matte;
|
|
301
|
-
}
|
|
302
303
|
}
|
|
303
304
|
|
|
304
|
-
@if
|
|
305
|
-
|
|
306
|
-
|
|
305
|
+
@if fn-flags.feature-enabled("backdrops") {
|
|
306
|
+
// Generate base utilities
|
|
307
|
+
@include generate-backdrop-filter-utilities;
|
|
307
308
|
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
309
|
+
// Generate responsive variants
|
|
310
|
+
@each $breakpoint, $width in config-breakpoint.$breakpoints {
|
|
311
|
+
@media (min-width: #{$width}) {
|
|
312
|
+
@include generate-backdrop-filter-utilities($breakpoint);
|
|
313
|
+
}
|
|
312
314
|
}
|
|
313
|
-
}
|
|
314
315
|
}
|