@volverjs/style 0.1.12-beta.2 → 0.1.12-beta.3

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
@@ -24,7 +24,7 @@
24
24
  "bugs": {
25
25
  "url": "https://github.com/volverjs/style/issues"
26
26
  },
27
- "version": "0.1.12-beta.2",
27
+ "version": "0.1.12-beta.3",
28
28
  "engines": {
29
29
  "node": ">= 12.x"
30
30
  },
@@ -114,8 +114,6 @@
114
114
  "./scss/utilities": "./src/utilities/index.scss",
115
115
  "./utilities/grid": "./dist/utilities/grid.css",
116
116
  "./scss/utilities/grid": "./src/utilities/grid.scss",
117
- "./utilities/gradients": "./dist/utilities/gradients.css",
118
- "./scss/utilities/gradients": "./src/utilities/gradients.scss",
119
117
  "./utilities/flexbox": "./dist/utilities/flexbox.css",
120
118
  "./scss/utilities/flexbox": "./src/utilities/flexbox.scss",
121
119
  "./utilities/filters": "./dist/utilities/filters.css",
@@ -144,8 +142,6 @@
144
142
  "./scss/props/input": "./src/props/input.scss",
145
143
  "./props": "./dist/props.css",
146
144
  "./scss/props": "./src/props/index.scss",
147
- "./props/gradient": "./dist/props/gradient.css",
148
- "./scss/props/gradient": "./src/props/gradient.scss",
149
145
  "./props/filters": "./dist/props/filters.css",
150
146
  "./scss/props/filters": "./src/props/filters.scss",
151
147
  "./props/effects": "./dist/props/effects.css",
package/src/export.scss CHANGED
@@ -247,19 +247,6 @@
247
247
 
248
248
  // #endregion
249
249
 
250
- // #region GRADIENT
251
- @each $size, $value in $gradient {
252
- gradient__#{$size}: $value;
253
- }
254
- @each $size, $value in $noise {
255
- noise__#{$size}: $value;
256
- }
257
- @each $size, $value in $noise-filter {
258
- noise-filter__#{$size}: $value;
259
- }
260
-
261
- // #endregion
262
-
263
250
  // ============================================================== */
264
251
  // #region SPACING
265
252
  // spacing & spacing-dynamic
@@ -458,6 +445,10 @@
458
445
  #{'background-image__' + $key}: $value;
459
446
  }
460
447
 
448
+ @each $key, $value in $gradient {
449
+ #{'gradient__' + $key}: $value;
450
+ }
451
+
461
452
  // #endregion
462
453
 
463
454
  // ============================================================== */
@@ -509,6 +500,11 @@
509
500
  #{'brightness__' + $key}: $value;
510
501
  }
511
502
 
503
+ // contrast
504
+ @each $key, $value in $contrast {
505
+ #{'contrast__' + $key}: $value;
506
+ }
507
+
512
508
  // saturation
513
509
  @each $key, $value in $saturation {
514
510
  #{'saturation__' + $key}: $value;
@@ -2,4 +2,5 @@
2
2
 
3
3
  :where(:host, :root, .theme) {
4
4
  @include spread-map-into-props($background-image, $prefix: bg);
5
+ @include spread-map-into-props($gradient, $prefix: gradient);
5
6
  }
@@ -4,7 +4,6 @@
4
4
  @use 'colors';
5
5
  @use 'effects';
6
6
  @use 'filters';
7
- @use 'gradient';
8
7
  @use 'input';
9
8
  @use 'layout';
10
9
  @use 'media';
@@ -58,4 +58,230 @@ $background-image: (
58
58
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(#{hex-to-rgb($color-word)})' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='5' y1='12' x2='19' y2='12'%3E%3C/line%3E%3C/svg%3E"),
59
59
  close:
60
60
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='rgb(#{hex-to-rgb($color-word)})' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 20L4 4m16 0L4 20'/%3E%3C/svg%3E"),
61
+ noise-1:
62
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
63
+ noise-2:
64
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
65
+ noise-3:
66
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.25' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
67
+ noise-4:
68
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
69
+ noise-5:
70
+ url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
71
+ ) !default;
72
+
73
+ // gradient
74
+ $gradient: (
75
+ brand:
76
+ linear-gradient(
77
+ to bottom right,
78
+ var(--color-brand-darken-3),
79
+ var(--color-brand),
80
+ var(--color-brand-lighten-3)
81
+ ),
82
+ accent:
83
+ linear-gradient(
84
+ to bottom right,
85
+ var(--color-accent-darken-3),
86
+ var(--color-accent),
87
+ var(--color-accent-lighten-3)
88
+ ),
89
+ info:
90
+ linear-gradient(
91
+ to bottom right,
92
+ var(--color-info-darken-3),
93
+ var(--color-info),
94
+ var(--color-info-lighten-3)
95
+ ),
96
+ success:
97
+ linear-gradient(
98
+ to bottom right,
99
+ var(--color-success-darken-3),
100
+ var(--color-success),
101
+ var(--color-success-lighten-3)
102
+ ),
103
+ warning:
104
+ linear-gradient(
105
+ to bottom right,
106
+ var(--color-warning-darken-3),
107
+ var(--color-warning),
108
+ var(--color-warning-lighten-3)
109
+ ),
110
+ danger:
111
+ linear-gradient(
112
+ to bottom right,
113
+ var(--color-danger-darken-3),
114
+ var(--color-danger),
115
+ var(--color-danger-lighten-3)
116
+ ),
117
+ gray:
118
+ linear-gradient(
119
+ to bottom right,
120
+ var(--color-gray-darken-3),
121
+ var(--color-gray),
122
+ var(--color-gray-lighten-3)
123
+ ),
124
+ 1:
125
+ linear-gradient(
126
+ to bottom right,
127
+ #1f005c,
128
+ #5b0060,
129
+ #870160,
130
+ #ac255e,
131
+ #ca485c,
132
+ #e16b5c,
133
+ #f39060,
134
+ #ffb56b
135
+ ),
136
+ 2: linear-gradient(to bottom right, #48005c, #8300e2, #a269ff),
137
+ 3: #{radial-gradient(
138
+ circle at top right,
139
+ hsl(180deg 100% 50%),
140
+ hsl(180deg 100% 50% / 0%)
141
+ ),
142
+ radial-gradient(
143
+ circle at bottom left,
144
+ hsl(328deg 100% 54%),
145
+ hsl(328deg 100% 54% / 0%)
146
+ )},
147
+ 4: linear-gradient(to bottom right, #00f5a0, #00d9f5),
148
+ 5: conic-gradient(from -270deg at 75% 110%, fuchsia, floralwhite),
149
+ 6: conic-gradient(from -90deg at top left, black, white),
150
+ 7: linear-gradient(to bottom right, #72c6ef, #004e8f),
151
+ 8: conic-gradient(from 90deg at 50% 0%, #111, 50%, #222, #111),
152
+ 9: conic-gradient(from 0.5turn at bottom center, lightblue, white),
153
+ 10:
154
+ conic-gradient(
155
+ from 90deg at 40% -25%,
156
+ #ffd700,
157
+ #f79d03,
158
+ #ee6907,
159
+ #e6390a,
160
+ #de0d0d,
161
+ #d61039,
162
+ #cf1261,
163
+ #c71585,
164
+ #cf1261,
165
+ #d61039,
166
+ #de0d0d,
167
+ #ee6907,
168
+ #f79d03,
169
+ #ffd700,
170
+ #ffd700,
171
+ #ffd700
172
+ ),
173
+ 11: conic-gradient(at bottom left, deeppink, cyan),
174
+ 12:
175
+ conic-gradient(
176
+ from 90deg at 25% -10%,
177
+ #ff4500,
178
+ #d3f340,
179
+ #7bee85,
180
+ #afeeee,
181
+ #7bee85
182
+ ),
183
+ 13:
184
+ radial-gradient(
185
+ circle at 50% 200%,
186
+ #000142,
187
+ #3b0083,
188
+ #b300c3,
189
+ #ff059f,
190
+ #ff4661,
191
+ #ffad86,
192
+ #fff3c7
193
+ ),
194
+ 14: conic-gradient(at top right, lime, cyan),
195
+ 15: linear-gradient(to bottom right, #c7d2fe, #fecaca, #fef3c7),
196
+ 16: radial-gradient(circle at 50% -250%, #374151, #111827, #000),
197
+ 17: conic-gradient(from -90deg at 50% -25%, blue, blueviolet),
198
+ 18: #{linear-gradient(
199
+ 0deg,
200
+ hsla(0deg 100% 50% / 80%),
201
+ hsla(0deg 100% 50% / 0%) 75%
202
+ ),
203
+ linear-gradient(
204
+ 60deg,
205
+ hsla(60deg 100% 50% / 80%),
206
+ hsla(60deg 100% 50% / 0%) 75%,
207
+ ),
208
+ linear-gradient(
209
+ 120deg,
210
+ hsla(120deg 100% 50% / 80%),
211
+ hsla(120deg 100% 50% / 0%) 75%,
212
+ ),
213
+ linear-gradient(
214
+ 180deg,
215
+ hsla(180deg 100% 50% / 80%),
216
+ hsla(180deg 100% 50% / 0%) 75%,
217
+ ),
218
+ linear-gradient(
219
+ 240deg,
220
+ hsla(240deg 100% 50% / 80%),
221
+ hsla(240deg 100% 50% / 0%) 75%,
222
+ ),
223
+ linear-gradient(
224
+ 300deg,
225
+ hsla(300deg 100% 50% / 80%),
226
+ hsla(300deg 100% 50% / 0%) 75%
227
+ )},
228
+ 19: linear-gradient(to bottom right, #ffe259, #ffa751),
229
+ 20:
230
+ conic-gradient(
231
+ from -135deg at -10% center,
232
+ #ffa500,
233
+ #ff7715,
234
+ #ff522a,
235
+ #ff3f47,
236
+ #ff5482,
237
+ #ff69b4
238
+ ),
239
+ 21:
240
+ conic-gradient(
241
+ from -90deg at 25% 115%,
242
+ #f00,
243
+ #f06,
244
+ #f0c,
245
+ #c0f,
246
+ #60f,
247
+ #00f,
248
+ #00f,
249
+ #00f,
250
+ #00f
251
+ ),
252
+ 22: linear-gradient(to bottom right, #acb6e5, #86fde8),
253
+ 23: linear-gradient(to bottom right, #536976, #292e49),
254
+ 24:
255
+ conic-gradient(
256
+ from 0.5turn at 0% 0%,
257
+ #00c476,
258
+ 10%,
259
+ #82b0ff,
260
+ 90%,
261
+ #00c476
262
+ ),
263
+ 25: conic-gradient(at 125% 50%, #b78cf7, #ff7c94, #ffcf0d, #ff7c94, #b78cf7),
264
+ 26: linear-gradient(to bottom right, #9796f0, #fbc7d4),
265
+ 27: conic-gradient(from 0.5turn at bottom left, deeppink, rebeccapurple),
266
+ 28: conic-gradient(from -90deg at 50% 105%, white, orchid),
267
+ 29: #{radial-gradient(
268
+ circle at top right,
269
+ hsl(250deg 100% 85%),
270
+ hsl(250deg 100% 85% / 0%)
271
+ ),
272
+ radial-gradient(
273
+ circle at bottom left,
274
+ hsl(220deg 90% 75%),
275
+ hsl(220deg 90% 75% / 0%)
276
+ )},
277
+ 30: #{radial-gradient(
278
+ circle at top right,
279
+ hsl(150deg 100% 50%),
280
+ hsl(150deg 100% 50% / 0%)
281
+ ),
282
+ radial-gradient(
283
+ circle at bottom left,
284
+ hsl(150deg 100% 84%),
285
+ hsl(150deg 100% 84% / 0%)
286
+ )},
61
287
  ) !default;
@@ -23,6 +23,21 @@ $brightness: (
23
23
  125: brightness(1.25),
24
24
  150: brightness(1.5),
25
25
  200: brightness(2),
26
+ 250: brightness(2.5),
27
+ 500: brightness(5),
28
+ 1000: brightness(10),
29
+ ) !default;
30
+
31
+ // contrast
32
+ $contrast: (
33
+ 0: contrast(0),
34
+ 50: contrast(0.5),
35
+ 75: contrast(0.75),
36
+ 100: contrast(1),
37
+ 125: contrast(1.25),
38
+ 150: contrast(1.5),
39
+ 200: brightness(2),
40
+ 300: brightness(3),
26
41
  ) !default;
27
42
 
28
43
  // saturation
@@ -6,7 +6,6 @@
6
6
  @forward 'effects';
7
7
  @forward 'filters';
8
8
  @forward 'flexbox';
9
- @forward 'gradient';
10
9
  @forward 'grid';
11
10
  @forward 'input';
12
11
  @forward 'interactivity';
@@ -37,9 +37,11 @@ $vv-dropdown: (
37
37
  display: block,
38
38
  min-width: 0,
39
39
  align-items: center,
40
- min-height: var(--spacing-50),
40
+ min-height: var(--input-min-height),
41
41
  background-color: var(--color-surface-2),
42
- padding: var(--spacing-sm),
42
+ padding: var(--input-spacing-top) var(--input-spacing-right)
43
+ var(--input-spacing-bottom) var(--input-spacing-left),
44
+ font-size: var(--input-font-size),
43
45
  pseudo: (
44
46
  search-cancel-button: (
45
47
  -webkit-appearance: none,
@@ -3,7 +3,7 @@
3
3
  // background-attachment
4
4
  @include spread-map-into-utilities(
5
5
  $map: $background-attachment,
6
- $class: 'bg',
6
+ $class: bg,
7
7
  $attribute: 'background-attachment',
8
8
  $zero-specificity: $zero-specificity-for-utilities
9
9
  );
@@ -11,7 +11,7 @@
11
11
  // background-clip
12
12
  @include spread-map-into-utilities(
13
13
  $map: $background-clip,
14
- $class: 'bg-clip',
14
+ $class: bg-clip,
15
15
  $attribute: 'background-clip',
16
16
  $zero-specificity: $zero-specificity-for-utilities
17
17
  );
@@ -19,7 +19,7 @@
19
19
  // background-origin
20
20
  @include spread-map-into-utilities(
21
21
  $map: $background-origin,
22
- $class: 'bg-origin',
22
+ $class: bg-origin,
23
23
  $attribute: 'background-origin',
24
24
  $zero-specificity: $zero-specificity-for-utilities
25
25
  );
@@ -27,7 +27,7 @@
27
27
  // background-position
28
28
  @include spread-map-into-utilities(
29
29
  $map: $background-position,
30
- $class: 'bg',
30
+ $class: bg,
31
31
  $attribute: 'background-position',
32
32
  $zero-specificity: $zero-specificity-for-utilities
33
33
  );
@@ -55,3 +55,12 @@
55
55
  $attribute: background-image,
56
56
  $zero-specificity: $zero-specificity-for-utilities
57
57
  );
58
+
59
+ // background gradients
60
+ @include spread-map-into-utilities(
61
+ $map: $gradient,
62
+ $class: bg-gradient,
63
+ $attribute: background-image,
64
+ $prop: gradient,
65
+ $zero-specificity: $zero-specificity-for-utilities
66
+ );
@@ -4,7 +4,6 @@
4
4
  @forward 'effects';
5
5
  @forward 'filters';
6
6
  @forward 'flexbox';
7
- @forward 'gradients';
8
7
  @forward 'grid';
9
8
  @forward 'interactivity';
10
9
  @forward 'layout';
@@ -1 +0,0 @@
1
- :where(:host,:root,.theme){--gradient-brand: linear-gradient(to bottom right, var(--color-brand-darken-3), var(--color-brand), var(--color-brand-lighten-3));--gradient-accent: linear-gradient(to bottom right, var(--color-accent-darken-3), var(--color-accent), var(--color-accent-lighten-3));--gradient-1: linear-gradient(to bottom right, #1f005c, #5b0060, #870160, #ac255e, #ca485c, #e16b5c, #f39060, #ffb56b);--gradient-2: linear-gradient(to bottom right, #48005c, #8300e2, #a269ff);--gradient-3: radial-gradient(circle at top right, hsl(180, 100%, 50%), hsla(180, 100%, 50%, 0)), radial-gradient(circle at bottom left, hsl(328, 100%, 54%), hsla(328, 100%, 54%, 0));--gradient-4: linear-gradient(to bottom right, #00f5a0, #00d9f5);--gradient-5: conic-gradient(from -270deg at 75% 110%, fuchsia, floralwhite);--gradient-6: conic-gradient(from -90deg at top left, black, white);--gradient-7: linear-gradient(to bottom right, #72c6ef, #004e8f);--gradient-8: conic-gradient(from 90deg at 50% 0%, #111, 50%, #222, #111);--gradient-9: conic-gradient(from .5turn at bottom center, lightblue, white);--gradient-10: conic-gradient(from 90deg at 40% -25%, #ffd700, #f79d03, #ee6907, #e6390a, #de0d0d, #d61039, #cf1261, #c71585, #cf1261, #d61039, #de0d0d, #ee6907, #f79d03, #ffd700, #ffd700, #ffd700);--gradient-11: conic-gradient(at bottom left, deeppink, cyan);--gradient-12: conic-gradient(from 90deg at 25% -10%, #ff4500, #d3f340, #7bee85, #afeeee, #7bee85);--gradient-13: radial-gradient(circle at 50% 200%, #000142, #3b0083, #b300c3, #ff059f, #ff4661, #ffad86, #fff3c7);--gradient-14: conic-gradient(at top right, lime, cyan);--gradient-15: linear-gradient(to bottom right, #c7d2fe, #fecaca, #fef3c7);--gradient-16: radial-gradient(circle at 50% -250%, #374151, #111827, #000);--gradient-17: conic-gradient(from -90deg at 50% -25%, blue, blueviolet);--gradient-18: linear-gradient(0deg, hsla(0, 100%, 50%, .8), hsla(0, 100%, 50%, 0) 75%), linear-gradient(60deg, hsla(60, 100%, 50%, .8), hsla(60, 100%, 50%, 0) 75%), linear-gradient(120deg, hsla(120, 100%, 50%, .8), hsla(120, 100%, 50%, 0) 75%), linear-gradient(180deg, hsla(180, 100%, 50%, .8), hsla(180, 100%, 50%, 0) 75%), linear-gradient(240deg, hsla(240, 100%, 50%, .8), hsla(240, 100%, 50%, 0) 75%), linear-gradient(300deg, hsla(300, 100%, 50%, .8), hsla(300, 100%, 50%, 0) 75%);--gradient-19: linear-gradient(to bottom right, #ffe259, #ffa751);--gradient-20: conic-gradient(from -135deg at -10% center, #ffa500, #ff7715, #ff522a, #ff3f47, #ff5482, #ff69b4);--gradient-21: conic-gradient(from -90deg at 25% 115%, #f00, #f06, #f0c, #c0f, #60f, #00f, #00f, #00f, #00f);--gradient-22: linear-gradient(to bottom right, #acb6e5, #86fde8);--gradient-23: linear-gradient(to bottom right, #536976, #292e49);--gradient-24: conic-gradient(from .5turn at 0% 0%, #00c476, 10%, #82b0ff, 90%, #00c476);--gradient-25: conic-gradient(at 125% 50%, #b78cf7, #ff7c94, #ffcf0d, #ff7c94, #b78cf7);--gradient-26: linear-gradient(to bottom right, #9796f0, #fbc7d4);--gradient-27: conic-gradient(from .5turn at bottom left, deeppink, #639);--gradient-28: conic-gradient(from -90deg at 50% 105%, white, orchid);--gradient-29: radial-gradient(circle at top right, hsl(250, 100%, 85%), hsla(250, 100%, 85%, 0)), radial-gradient(circle at bottom left, hsl(220, 90%, 75%), hsla(220, 90%, 75%, 0));--gradient-30: radial-gradient(circle at top right, hsl(150, 100%, 50%), hsla(150, 100%, 50%, 0)), radial-gradient(circle at bottom left, hsl(150, 100%, 84%), hsla(150, 100%, 84%, 0));--noise-1: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");--noise-2: url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");--noise-3: url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.25' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");--noise-4: url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");--noise-5: url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");--noise-filter-1: contrast(300%) brightness(100%);--noise-filter-2: contrast(200%) brightness(150%);--noise-filter-3: contrast(200%) brightness(250%);--noise-filter-4: contrast(200%) brightness(500%);--noise-filter-5: contrast(200%) brightness(1000%)}
@@ -1 +0,0 @@
1
- :where(.bg-gradient-brand){background:var(--gradient-brand, linear-gradient(to bottom right, var(--color-brand-darken-3), var(--color-brand), var(--color-brand-lighten-3)))}:where(.bg-gradient-accent){background:var(--gradient-accent, linear-gradient(to bottom right, var(--color-accent-darken-3), var(--color-accent), var(--color-accent-lighten-3)))}:where(.bg-gradient-1){background:var(--gradient-1, linear-gradient(to bottom right, #1f005c, #5b0060, #870160, #ac255e, #ca485c, #e16b5c, #f39060, #ffb56b))}:where(.bg-gradient-2){background:var(--gradient-2, linear-gradient(to bottom right, #48005c, #8300e2, #a269ff))}:where(.bg-gradient-3){background:var(--gradient-3, radial-gradient(circle at top right, hsl(180, 100%, 50%), hsla(180, 100%, 50%, 0)), radial-gradient(circle at bottom left, hsl(328, 100%, 54%), hsla(328, 100%, 54%, 0)))}:where(.bg-gradient-4){background:var(--gradient-4, linear-gradient(to bottom right, #00f5a0, #00d9f5))}:where(.bg-gradient-5){background:var(--gradient-5, conic-gradient(from -270deg at 75% 110%, fuchsia, floralwhite))}:where(.bg-gradient-6){background:var(--gradient-6, conic-gradient(from -90deg at top left, black, white))}:where(.bg-gradient-7){background:var(--gradient-7, linear-gradient(to bottom right, #72c6ef, #004e8f))}:where(.bg-gradient-8){background:var(--gradient-8, conic-gradient(from 90deg at 50% 0%, #111, 50%, #222, #111))}:where(.bg-gradient-9){background:var(--gradient-9, conic-gradient(from .5turn at bottom center, lightblue, white))}:where(.bg-gradient-10){background:var(--gradient-10, conic-gradient(from 90deg at 40% -25%, #ffd700, #f79d03, #ee6907, #e6390a, #de0d0d, #d61039, #cf1261, #c71585, #cf1261, #d61039, #de0d0d, #ee6907, #f79d03, #ffd700, #ffd700, #ffd700))}:where(.bg-gradient-11){background:var(--gradient-11, conic-gradient(at bottom left, deeppink, cyan))}:where(.bg-gradient-12){background:var(--gradient-12, conic-gradient(from 90deg at 25% -10%, #ff4500, #d3f340, #7bee85, #afeeee, #7bee85))}:where(.bg-gradient-13){background:var(--gradient-13, radial-gradient(circle at 50% 200%, #000142, #3b0083, #b300c3, #ff059f, #ff4661, #ffad86, #fff3c7))}:where(.bg-gradient-14){background:var(--gradient-14, conic-gradient(at top right, lime, cyan))}:where(.bg-gradient-15){background:var(--gradient-15, linear-gradient(to bottom right, #c7d2fe, #fecaca, #fef3c7))}:where(.bg-gradient-16){background:var(--gradient-16, radial-gradient(circle at 50% -250%, #374151, #111827, #000))}:where(.bg-gradient-17){background:var(--gradient-17, conic-gradient(from -90deg at 50% -25%, blue, blueviolet))}:where(.bg-gradient-18){background:var(--gradient-18, linear-gradient(0deg, hsla(0, 100%, 50%, .8), hsla(0, 100%, 50%, 0) 75%), linear-gradient(60deg, hsla(60, 100%, 50%, .8), hsla(60, 100%, 50%, 0) 75%), linear-gradient(120deg, hsla(120, 100%, 50%, .8), hsla(120, 100%, 50%, 0) 75%), linear-gradient(180deg, hsla(180, 100%, 50%, .8), hsla(180, 100%, 50%, 0) 75%), linear-gradient(240deg, hsla(240, 100%, 50%, .8), hsla(240, 100%, 50%, 0) 75%), linear-gradient(300deg, hsla(300, 100%, 50%, .8), hsla(300, 100%, 50%, 0) 75%))}:where(.bg-gradient-19){background:var(--gradient-19, linear-gradient(to bottom right, #ffe259, #ffa751))}:where(.bg-gradient-20){background:var(--gradient-20, conic-gradient(from -135deg at -10% center, #ffa500, #ff7715, #ff522a, #ff3f47, #ff5482, #ff69b4))}:where(.bg-gradient-21){background:var(--gradient-21, conic-gradient(from -90deg at 25% 115%, #f00, #f06, #f0c, #c0f, #60f, #00f, #00f, #00f, #00f))}:where(.bg-gradient-22){background:var(--gradient-22, linear-gradient(to bottom right, #acb6e5, #86fde8))}:where(.bg-gradient-23){background:var(--gradient-23, linear-gradient(to bottom right, #536976, #292e49))}:where(.bg-gradient-24){background:var(--gradient-24, conic-gradient(from .5turn at 0% 0%, #00c476, 10%, #82b0ff, 90%, #00c476))}:where(.bg-gradient-25){background:var(--gradient-25, conic-gradient(at 125% 50%, #b78cf7, #ff7c94, #ffcf0d, #ff7c94, #b78cf7))}:where(.bg-gradient-26){background:var(--gradient-26, linear-gradient(to bottom right, #9796f0, #fbc7d4))}:where(.bg-gradient-27){background:var(--gradient-27, conic-gradient(from .5turn at bottom left, deeppink, #639))}:where(.bg-gradient-28){background:var(--gradient-28, conic-gradient(from -90deg at 50% 105%, white, orchid))}:where(.bg-gradient-29){background:var(--gradient-29, radial-gradient(circle at top right, hsl(250, 100%, 85%), hsla(250, 100%, 85%, 0)), radial-gradient(circle at bottom left, hsl(220, 90%, 75%), hsla(220, 90%, 75%, 0)))}:where(.bg-gradient-30){background:var(--gradient-30, radial-gradient(circle at top right, hsl(150, 100%, 50%), hsla(150, 100%, 50%, 0)), radial-gradient(circle at bottom left, hsl(150, 100%, 84%), hsla(150, 100%, 84%, 0)))}
@@ -1,7 +0,0 @@
1
- @use '../context' as *;
2
-
3
- :where(:host, :root, .theme) {
4
- @include spread-map-into-props($gradient, $prefix: gradient);
5
- @include spread-map-into-props($noise, $prefix: noise);
6
- @include spread-map-into-props($noise-filter, $prefix: noise-filter);
7
- }
@@ -1,201 +0,0 @@
1
- // Noise
2
- $noise: (
3
- 1:
4
- url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.005' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
5
- 2:
6
- url("data:image/svg+xml,%3Csvg viewBox='0 0 300 300' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.05' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
7
- 3:
8
- url("data:image/svg+xml,%3Csvg viewBox='0 0 1024 1024' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.25' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
9
- 4:
10
- url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.5' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
11
- 5:
12
- url("data:image/svg+xml,%3Csvg viewBox='0 0 2056 2056' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
13
- ) !default;
14
-
15
- // Noise filter
16
- $noise-filter: (
17
- 1: contrast(300%) brightness(100%),
18
- 2: contrast(200%) brightness(150%),
19
- 3: contrast(200%) brightness(250%),
20
- 4: contrast(200%) brightness(500%),
21
- 5: contrast(200%) brightness(1000%),
22
- ) !default;
23
- $gradient: (
24
- brand:
25
- linear-gradient(
26
- to bottom right,
27
- var(--color-brand-darken-3),
28
- var(--color-brand),
29
- var(--color-brand-lighten-3)
30
- ),
31
- accent:
32
- linear-gradient(
33
- to bottom right,
34
- var(--color-accent-darken-3),
35
- var(--color-accent),
36
- var(--color-accent-lighten-3)
37
- ),
38
- 1:
39
- linear-gradient(
40
- to bottom right,
41
- #1f005c,
42
- #5b0060,
43
- #870160,
44
- #ac255e,
45
- #ca485c,
46
- #e16b5c,
47
- #f39060,
48
- #ffb56b
49
- ),
50
- 2: linear-gradient(to bottom right, #48005c, #8300e2, #a269ff),
51
- 3: #{radial-gradient(
52
- circle at top right,
53
- hsl(180deg 100% 50%),
54
- hsl(180deg 100% 50% / 0%)
55
- ),
56
- radial-gradient(
57
- circle at bottom left,
58
- hsl(328deg 100% 54%),
59
- hsl(328deg 100% 54% / 0%)
60
- )},
61
- 4: linear-gradient(to bottom right, #00f5a0, #00d9f5),
62
- 5: conic-gradient(from -270deg at 75% 110%, fuchsia, floralwhite),
63
- 6: conic-gradient(from -90deg at top left, black, white),
64
- 7: linear-gradient(to bottom right, #72c6ef, #004e8f),
65
- 8: conic-gradient(from 90deg at 50% 0%, #111, 50%, #222, #111),
66
- 9: conic-gradient(from 0.5turn at bottom center, lightblue, white),
67
- 10:
68
- conic-gradient(
69
- from 90deg at 40% -25%,
70
- #ffd700,
71
- #f79d03,
72
- #ee6907,
73
- #e6390a,
74
- #de0d0d,
75
- #d61039,
76
- #cf1261,
77
- #c71585,
78
- #cf1261,
79
- #d61039,
80
- #de0d0d,
81
- #ee6907,
82
- #f79d03,
83
- #ffd700,
84
- #ffd700,
85
- #ffd700
86
- ),
87
- 11: conic-gradient(at bottom left, deeppink, cyan),
88
- 12:
89
- conic-gradient(
90
- from 90deg at 25% -10%,
91
- #ff4500,
92
- #d3f340,
93
- #7bee85,
94
- #afeeee,
95
- #7bee85
96
- ),
97
- 13:
98
- radial-gradient(
99
- circle at 50% 200%,
100
- #000142,
101
- #3b0083,
102
- #b300c3,
103
- #ff059f,
104
- #ff4661,
105
- #ffad86,
106
- #fff3c7
107
- ),
108
- 14: conic-gradient(at top right, lime, cyan),
109
- 15: linear-gradient(to bottom right, #c7d2fe, #fecaca, #fef3c7),
110
- 16: radial-gradient(circle at 50% -250%, #374151, #111827, #000),
111
- 17: conic-gradient(from -90deg at 50% -25%, blue, blueviolet),
112
- 18: #{linear-gradient(
113
- 0deg,
114
- hsla(0deg 100% 50% / 80%),
115
- hsla(0deg 100% 50% / 0%) 75%
116
- ),
117
- linear-gradient(
118
- 60deg,
119
- hsla(60deg 100% 50% / 80%),
120
- hsla(60deg 100% 50% / 0%) 75%,
121
- ),
122
- linear-gradient(
123
- 120deg,
124
- hsla(120deg 100% 50% / 80%),
125
- hsla(120deg 100% 50% / 0%) 75%,
126
- ),
127
- linear-gradient(
128
- 180deg,
129
- hsla(180deg 100% 50% / 80%),
130
- hsla(180deg 100% 50% / 0%) 75%,
131
- ),
132
- linear-gradient(
133
- 240deg,
134
- hsla(240deg 100% 50% / 80%),
135
- hsla(240deg 100% 50% / 0%) 75%,
136
- ),
137
- linear-gradient(
138
- 300deg,
139
- hsla(300deg 100% 50% / 80%),
140
- hsla(300deg 100% 50% / 0%) 75%
141
- )},
142
- 19: linear-gradient(to bottom right, #ffe259, #ffa751),
143
- 20:
144
- conic-gradient(
145
- from -135deg at -10% center,
146
- #ffa500,
147
- #ff7715,
148
- #ff522a,
149
- #ff3f47,
150
- #ff5482,
151
- #ff69b4
152
- ),
153
- 21:
154
- conic-gradient(
155
- from -90deg at 25% 115%,
156
- #f00,
157
- #f06,
158
- #f0c,
159
- #c0f,
160
- #60f,
161
- #00f,
162
- #00f,
163
- #00f,
164
- #00f
165
- ),
166
- 22: linear-gradient(to bottom right, #acb6e5, #86fde8),
167
- 23: linear-gradient(to bottom right, #536976, #292e49),
168
- 24:
169
- conic-gradient(
170
- from 0.5turn at 0% 0%,
171
- #00c476,
172
- 10%,
173
- #82b0ff,
174
- 90%,
175
- #00c476
176
- ),
177
- 25: conic-gradient(at 125% 50%, #b78cf7, #ff7c94, #ffcf0d, #ff7c94, #b78cf7),
178
- 26: linear-gradient(to bottom right, #9796f0, #fbc7d4),
179
- 27: conic-gradient(from 0.5turn at bottom left, deeppink, rebeccapurple),
180
- 28: conic-gradient(from -90deg at 50% 105%, white, orchid),
181
- 29: #{radial-gradient(
182
- circle at top right,
183
- hsl(250deg 100% 85%),
184
- hsl(250deg 100% 85% / 0%)
185
- ),
186
- radial-gradient(
187
- circle at bottom left,
188
- hsl(220deg 90% 75%),
189
- hsl(220deg 90% 75% / 0%)
190
- )},
191
- 30: #{radial-gradient(
192
- circle at top right,
193
- hsl(150deg 100% 50%),
194
- hsl(150deg 100% 50% / 0%)
195
- ),
196
- radial-gradient(
197
- circle at bottom left,
198
- hsl(150deg 100% 84%),
199
- hsl(150deg 100% 84% / 0%)
200
- )},
201
- ) !default;
@@ -1,11 +0,0 @@
1
- @use 'sass:map';
2
- @use '../context' as *;
3
-
4
- // background gradients
5
- @include spread-map-into-utilities(
6
- $map: $gradient,
7
- $class: bg-gradient,
8
- $attribute: background,
9
- $prop: gradient,
10
- $zero-specificity: $zero-specificity-for-utilities
11
- );