@volverjs/style 0.1.12-beta.2 → 0.1.12-beta.21
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 +1 -1
- package/README.md +5 -5
- package/dist/base.css +1 -1
- package/dist/components/vv-accordion-group.css +1 -1
- package/dist/components/vv-accordion.css +1 -1
- package/dist/components/vv-alert-group.css +1 -1
- package/dist/components/vv-alert.css +1 -1
- package/dist/components/vv-avatar-group.css +1 -1
- package/dist/components/vv-avatar.css +1 -1
- package/dist/components/vv-badge.css +1 -1
- package/dist/components/vv-breadcrumb.css +1 -1
- package/dist/components/vv-button-group.css +1 -1
- package/dist/components/vv-button.css +1 -1
- package/dist/components/vv-card.css +1 -1
- package/dist/components/vv-checkbox-group.css +1 -1
- package/dist/components/vv-checkbox.css +1 -1
- package/dist/components/vv-dialog.css +1 -1
- package/dist/components/vv-dropdown-action.css +1 -1
- package/dist/components/vv-dropdown-optgroup.css +1 -1
- package/dist/components/vv-dropdown-option.css +1 -1
- package/dist/components/vv-dropdown.css +1 -1
- package/dist/components/vv-input-file.css +1 -0
- package/dist/components/vv-input-text.css +1 -1
- package/dist/components/vv-nav.css +1 -1
- package/dist/components/vv-progress.css +1 -1
- package/dist/components/vv-radio-group.css +1 -1
- package/dist/components/vv-radio.css +1 -1
- package/dist/components/vv-select.css +1 -1
- package/dist/components/vv-skeleton.css +1 -1
- package/dist/components/vv-tab.css +1 -1
- package/dist/components/vv-table.css +1 -1
- package/dist/components/vv-text.css +1 -1
- package/dist/components/vv-textarea.css +1 -1
- package/dist/components/vv-tooltip.css +1 -1
- package/dist/components.css +1 -1
- package/dist/export.css +1 -1
- package/dist/props/background.css +1 -1
- package/dist/props/colors.css +1 -1
- package/dist/props/filters.css +1 -1
- package/dist/props/input.css +1 -1
- package/dist/props/layout.css +1 -1
- package/dist/props/spacing.css +1 -1
- package/dist/props/transitions.css +1 -1
- package/dist/props/typography.css +1 -1
- package/dist/props.css +1 -1
- package/dist/reset.css +1 -1
- package/dist/themes/dark/components.css +1 -1
- package/dist/themes/dark/props.css +1 -1
- package/dist/themes/dark/volver.css +1 -1
- package/dist/utilities/backgrounds.css +1 -1
- package/dist/utilities/colors.css +1 -1
- package/dist/utilities/effects.css +1 -1
- package/dist/utilities/filters.css +1 -1
- package/dist/utilities/interactivity.css +1 -1
- package/dist/utilities/layout.css +1 -1
- package/dist/utilities/sizing.css +1 -1
- package/dist/utilities/transforms.css +1 -1
- package/dist/utilities/typography.css +1 -1
- package/dist/utilities.css +1 -1
- package/dist/volver.css +1 -1
- package/package.json +44 -44
- package/src/_config.scss +10 -9
- package/src/_preflight.scss +35 -1
- package/src/components/index.scss +1 -0
- package/src/components/vv-button-group.scss +6 -6
- package/src/components/vv-button.scss +1 -12
- package/src/components/vv-input-file.scss +93 -0
- package/src/components/vv-input-text.scss +54 -11
- package/src/components/vv-select.scss +53 -10
- package/src/components/vv-textarea.scss +53 -10
- package/src/components/vv-tooltip.scss +1 -1
- package/src/export.scss +33 -59
- package/src/props/background.scss +1 -0
- package/src/props/breakpoints.scss +5 -4
- package/src/props/index.scss +0 -1
- package/src/props/spacing.scss +2 -2
- package/src/props/transitions.scss +19 -0
- package/src/props/typography.scss +3 -2
- package/src/settings/_background.scss +228 -0
- package/src/settings/_colors.scss +26 -63
- package/src/settings/_effects.scss +3 -21
- package/src/settings/_filters.scss +15 -0
- package/src/settings/_index.scss +1 -1
- package/src/settings/_input.scss +4 -3
- package/src/settings/_interactivity.scss +14 -0
- package/src/settings/_layout.scss +1 -0
- package/src/settings/_transitions.scss +1 -0
- package/src/settings/_typography.scss +9 -1
- package/src/settings/components/_vv-accordion-group.scss +2 -2
- package/src/settings/components/_vv-accordion.scss +6 -5
- package/src/settings/components/_vv-alert-group.scss +14 -4
- package/src/settings/components/_vv-alert.scss +9 -9
- package/src/settings/components/_vv-avatar-group.scss +1 -0
- package/src/settings/components/_vv-avatar.scss +54 -52
- package/src/settings/components/_vv-badge.scss +67 -27
- package/src/settings/components/_vv-breadcrumb.scss +1 -0
- package/src/settings/components/_vv-button.scss +11 -5
- package/src/settings/components/_vv-card.scss +2 -0
- package/src/settings/components/_vv-checkbox-group.scss +3 -0
- package/src/settings/components/_vv-checkbox.scss +6 -0
- package/src/settings/components/_vv-dialog.scss +4 -0
- package/src/settings/components/_vv-dropdown-option.scss +2 -2
- package/src/settings/components/_vv-dropdown.scss +93 -7
- package/src/settings/components/_vv-input-file.scss +503 -0
- package/src/settings/components/_vv-input-text.scss +5 -1
- package/src/settings/components/_vv-nav.scss +10 -9
- package/src/settings/components/_vv-progress.scss +2 -0
- package/src/settings/components/_vv-radio.scss +3 -2
- package/src/settings/components/_vv-select.scss +6 -1
- package/src/settings/components/_vv-table.scss +19 -1
- package/src/settings/components/_vv-text.scss +1 -0
- package/src/settings/components/_vv-textarea.scss +6 -1
- package/src/themes/dark/components/_vv-avatar.scss +22 -0
- package/src/themes/dark/components/_vv-badge.scss +22 -0
- package/src/themes/dark/components/_vv-dropdown-action.scss +22 -0
- package/src/themes/dark/components/_vv-dropdown-option.scss +22 -0
- package/src/themes/dark/components/_vv-nav.scss +22 -0
- package/src/themes/dark/components/index.scss +6 -1
- package/src/themes/dark/settings/_background.scss +2 -0
- package/src/themes/dark/settings/_colors.scss +10 -44
- package/src/themes/dark/settings/_index.scss +6 -1
- package/src/themes/dark/settings/components/_vv-alert.scss +1 -1
- package/src/themes/dark/settings/components/_vv-avatar.scss +27 -0
- package/src/themes/dark/settings/components/_vv-badge.scss +50 -0
- package/src/themes/dark/settings/components/_vv-button.scss +13 -8
- package/src/themes/dark/settings/components/_vv-dropdown-action.scss +3 -0
- package/src/themes/dark/settings/components/_vv-dropdown-option.scss +19 -0
- package/src/themes/dark/settings/components/_vv-nav.scss +15 -0
- package/src/tools/_breakpoints.scss +13 -4
- package/src/tools/_functions.scss +125 -38
- package/src/tools/_mixins.scss +97 -26
- package/src/utilities/backgrounds.scss +14 -4
- package/src/utilities/flexbox.scss +6 -1
- package/src/utilities/index.scss +0 -1
- package/src/utilities/interactivity.scss +17 -1
- package/src/utilities/layout.scss +9 -3
- package/src/utilities/sizing.scss +10 -2
- package/src/utilities/spacing.scss +10 -1
- package/src/utilities/transforms.scss +2 -2
- package/src/utilities/typography.scss +21 -0
- package/dist/props/gradient.css +0 -1
- package/dist/utilities/gradients.css +0 -1
- package/src/props/gradient.scss +0 -7
- package/src/settings/_gradient.scss +0 -201
- package/src/utilities/gradients.scss +0 -11
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
|
+
@use 'sass:list';
|
|
2
3
|
@use '../context' as *;
|
|
3
4
|
|
|
4
5
|
$component-name: map.get($components-names, vv-textarea);
|
|
@@ -15,34 +16,76 @@ $component-selector: '.#{ $component-name}';
|
|
|
15
16
|
|
|
16
17
|
// disabled and readonly
|
|
17
18
|
@each $state in ('disabled', 'readonly') {
|
|
19
|
+
$selector: '#{$component-selector}:has(textarea[#{$state}])';
|
|
18
20
|
@include wrap-with-where(
|
|
19
|
-
$selector:
|
|
21
|
+
$selector: $selector,
|
|
20
22
|
$enabled: $zero-specificity-for-components
|
|
21
23
|
) {
|
|
22
24
|
@extend %#{$component-name}--#{$state} !optional;
|
|
23
25
|
}
|
|
24
26
|
|
|
27
|
+
// element
|
|
25
28
|
@if map.get($component-map, 'state', $state, 'element') {
|
|
26
29
|
@each $element,
|
|
27
30
|
$map in map.get($component-map, 'state', $state, 'element')
|
|
28
31
|
{
|
|
32
|
+
$element-selector: (
|
|
33
|
+
'#{$selector} #{$component-selector}__#{$element}'
|
|
34
|
+
);
|
|
35
|
+
$alias: map.get($component-map, 'element', $element, '_alias');
|
|
36
|
+
@if $alias {
|
|
37
|
+
$element-selector: list.append(
|
|
38
|
+
$element-selector,
|
|
39
|
+
('#{$selector} #{$alias}')
|
|
40
|
+
);
|
|
41
|
+
}
|
|
42
|
+
|
|
29
43
|
@include wrap-with-where(
|
|
30
|
-
$selector:
|
|
31
|
-
'#{$component-selector}:has(textarea:#{$state}) #{$component-selector}__#{$element}',
|
|
44
|
+
$selector: $element-selector,
|
|
32
45
|
$enabled: $zero-specificity-for-components
|
|
33
46
|
) {
|
|
34
47
|
@extend %#{$component-name}-state-#{$state}__#{$element}
|
|
35
48
|
!optional;
|
|
36
49
|
}
|
|
37
50
|
|
|
51
|
+
// element state
|
|
38
52
|
@each $elementState, $elementMap in map.get($map, 'state') {
|
|
39
|
-
@
|
|
40
|
-
$selector:
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
53
|
+
@if $elementState {
|
|
54
|
+
$element-selector-state: ();
|
|
55
|
+
@each $item in $element-selector {
|
|
56
|
+
$element-selector-state: list.append(
|
|
57
|
+
$element-selector-state,
|
|
58
|
+
('#{$item}:#{$elementState}')
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
@include wrap-with-where(
|
|
63
|
+
$selector: $element-selector-state,
|
|
64
|
+
$enabled: $zero-specificity-for-components
|
|
65
|
+
) {
|
|
66
|
+
@extend %#{$component-name}-state-#{$state}-element-#{$element}--#{$elementState}
|
|
67
|
+
!optional;
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
// element pseudo
|
|
73
|
+
@each $pseudo, $pseudoMap in map.get($map, 'pseudo') {
|
|
74
|
+
@if $pseudo {
|
|
75
|
+
$element-selector-pseudo: ();
|
|
76
|
+
@each $item in $element-selector {
|
|
77
|
+
$element-selector-pseudo: list.append(
|
|
78
|
+
$element-selector-pseudo,
|
|
79
|
+
('#{$item}::#{$pseudo}')
|
|
80
|
+
);
|
|
81
|
+
}
|
|
82
|
+
@include wrap-with-where(
|
|
83
|
+
$selector: $element-selector-pseudo,
|
|
84
|
+
$enabled: $zero-specificity-for-components
|
|
85
|
+
) {
|
|
86
|
+
@extend %#{$component-name}-state-#{$state}-element-#{$element}--#{$pseudo}
|
|
87
|
+
!optional;
|
|
88
|
+
}
|
|
46
89
|
}
|
|
47
90
|
}
|
|
48
91
|
}
|
package/src/export.scss
CHANGED
|
@@ -11,19 +11,21 @@
|
|
|
11
11
|
// #region CUSTOMIZATION
|
|
12
12
|
// colors
|
|
13
13
|
@each $key, $value in $colors {
|
|
14
|
-
@if type-of($value) == 'map' {
|
|
14
|
+
@if meta.type-of($value) == 'map' {
|
|
15
15
|
@each $subKey, $subValue in $value {
|
|
16
|
-
@if type-of($value) not 'map' {
|
|
16
|
+
@if meta.type-of($value) not 'map' {
|
|
17
17
|
@if not
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
18
|
+
string.index($subKey, 'hue') and not
|
|
19
|
+
string.index($subKey, 'saturation') and not
|
|
20
|
+
string.index($subKey, 'lightness')
|
|
21
21
|
{
|
|
22
22
|
@if '' + $key == $subKey {
|
|
23
23
|
#{'colors__' + $key}: $subValue;
|
|
24
24
|
} @else {
|
|
25
25
|
#{'colors__' + $key + '-' + $subKey}: $subValue;
|
|
26
26
|
}
|
|
27
|
+
} @else {
|
|
28
|
+
#{'colors-values__' + $key + '-' + $subKey}: $subValue;
|
|
27
29
|
}
|
|
28
30
|
}
|
|
29
31
|
}
|
|
@@ -32,49 +34,27 @@
|
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
@if type-of($value) == 'map' {
|
|
37
|
+
@each $key, $value in $dark-colors {
|
|
38
|
+
@if meta.type-of($value) == 'map' {
|
|
38
39
|
@each $subKey, $subValue in $value {
|
|
39
|
-
@if type-of($value) not 'map' {
|
|
40
|
+
@if meta.type-of($value) not 'map' {
|
|
40
41
|
@if not
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
string.index($subKey, 'hue') and not
|
|
43
|
+
string.index($subKey, 'saturation') and not
|
|
44
|
+
string.index($subKey, 'lightness')
|
|
44
45
|
{
|
|
45
46
|
@if '' + $key == $subKey {
|
|
46
|
-
#{'
|
|
47
|
+
#{'dark-colors__' + $key}: $subValue;
|
|
47
48
|
} @else {
|
|
48
|
-
#{'
|
|
49
|
+
#{'dark-colors__' + $key + '-' + $subKey}: $subValue;
|
|
49
50
|
}
|
|
51
|
+
} @else {
|
|
52
|
+
#{'dark-colors-values__' + $key + '-' + $subKey}: $subValue;
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
}
|
|
53
56
|
} @else if $key != 'scheme' {
|
|
54
|
-
#{'
|
|
55
|
-
}
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
// dark colors exported with no vars
|
|
59
|
-
@each $key, $value in $dark-colors-computed {
|
|
60
|
-
@if type-of($value) == 'map' {
|
|
61
|
-
@each $subKey, $subValue in $value {
|
|
62
|
-
@if type-of($value) not 'map' {
|
|
63
|
-
@if not
|
|
64
|
-
str-index($subKey, 'hue') and not
|
|
65
|
-
str-index($subKey, 'saturation') and not
|
|
66
|
-
str-index($subKey, 'lightness')
|
|
67
|
-
{
|
|
68
|
-
@if '' + $key == $subKey {
|
|
69
|
-
#{'dark-colors-computed__' + $key}: $subValue;
|
|
70
|
-
} @else {
|
|
71
|
-
#{'dark-colors-computed__' + $key + '-' + $subKey}: $subValue;
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
} @else if $key != 'scheme' {
|
|
77
|
-
#{'dark-colors-computed__' + $key}: $value;
|
|
57
|
+
#{'dark-colors__' + $key}: $value;
|
|
78
58
|
}
|
|
79
59
|
}
|
|
80
60
|
|
|
@@ -247,29 +227,17 @@
|
|
|
247
227
|
|
|
248
228
|
// #endregion
|
|
249
229
|
|
|
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
230
|
// ============================================================== */
|
|
264
231
|
// #region SPACING
|
|
265
232
|
// spacing & spacing-dynamic
|
|
266
233
|
@each $size, $value in $spacing {
|
|
267
234
|
spacing__#{$size}: $value;
|
|
268
235
|
}
|
|
236
|
+
|
|
269
237
|
@each $size, $value in $spacing-dynamic {
|
|
270
|
-
@if type-of($value) == 'map' {
|
|
238
|
+
@if meta.type-of($value) == 'map' {
|
|
271
239
|
@each $subKey, $subValue in $value {
|
|
272
|
-
@if type-of($value) not 'map' {
|
|
240
|
+
@if meta.type-of($value) not 'map' {
|
|
273
241
|
spacing-dynamic__#{$size}__#{$subKey}: $subValue;
|
|
274
242
|
}
|
|
275
243
|
}
|
|
@@ -280,10 +248,11 @@
|
|
|
280
248
|
@each $size, $value in $font-size {
|
|
281
249
|
font-size__#{$size}: $value;
|
|
282
250
|
}
|
|
251
|
+
|
|
283
252
|
@each $size, $value in $font-size-dynamic {
|
|
284
|
-
@if type-of($value) == 'map' {
|
|
253
|
+
@if meta.type-of($value) == 'map' {
|
|
285
254
|
@each $subKey, $subValue in $value {
|
|
286
|
-
@if type-of($value) not 'map' {
|
|
255
|
+
@if meta.type-of($value) not 'map' {
|
|
287
256
|
font-size-dynamic__#{$size}__#{$subKey}: $subValue;
|
|
288
257
|
}
|
|
289
258
|
}
|
|
@@ -458,6 +427,10 @@
|
|
|
458
427
|
#{'background-image__' + $key}: $value;
|
|
459
428
|
}
|
|
460
429
|
|
|
430
|
+
@each $key, $value in $gradient {
|
|
431
|
+
#{'gradient__' + $key}: $value;
|
|
432
|
+
}
|
|
433
|
+
|
|
461
434
|
// #endregion
|
|
462
435
|
|
|
463
436
|
// ============================================================== */
|
|
@@ -476,10 +449,6 @@
|
|
|
476
449
|
#{'box-shadow__' + $key}: $value;
|
|
477
450
|
}
|
|
478
451
|
|
|
479
|
-
@each $key, $value in $box-shadow-no-vars {
|
|
480
|
-
#{'box-shadow-no-vars__' + $key}: $value;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
452
|
// opacity
|
|
484
453
|
@each $key, $value in $opacity {
|
|
485
454
|
#{'opacity__' + $key}: $value;
|
|
@@ -509,6 +478,11 @@
|
|
|
509
478
|
#{'brightness__' + $key}: $value;
|
|
510
479
|
}
|
|
511
480
|
|
|
481
|
+
// contrast
|
|
482
|
+
@each $key, $value in $contrast {
|
|
483
|
+
#{'contrast__' + $key}: $value;
|
|
484
|
+
}
|
|
485
|
+
|
|
512
486
|
// saturation
|
|
513
487
|
@each $key, $value in $saturation {
|
|
514
488
|
#{'saturation__' + $key}: $value;
|
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
@use '../context' as *;
|
|
3
3
|
|
|
4
4
|
:where(:host, :root, .theme) {
|
|
5
|
+
@include spread-map-into-props(
|
|
6
|
+
$map: map.remove($breakpoints, 'xxs'),
|
|
7
|
+
$prefix: breakpoint
|
|
8
|
+
);
|
|
9
|
+
|
|
5
10
|
@each $breakpoint, $breakpoint-value in $breakpoints {
|
|
6
11
|
@media screen and (min-width: $breakpoint-value) {
|
|
7
12
|
--breakpoint-key: #{$breakpoint};
|
|
8
13
|
--breakpoint-value: #{$breakpoint-value};
|
|
9
14
|
}
|
|
10
15
|
}
|
|
11
|
-
@include spread-map-into-props(
|
|
12
|
-
$map: map.remove($breakpoints, 'xxs'),
|
|
13
|
-
$prefix: breakpoint
|
|
14
|
-
);
|
|
15
16
|
}
|
package/src/props/index.scss
CHANGED
package/src/props/spacing.scss
CHANGED
|
@@ -10,12 +10,12 @@
|
|
|
10
10
|
// dynamic
|
|
11
11
|
@each $name, $sizes in $spacing-dynamic {
|
|
12
12
|
@each $breakpoint, $size in $sizes {
|
|
13
|
-
@if map
|
|
13
|
+
@if map.has-key($breakpoints, $breakpoint) {
|
|
14
14
|
@include media-breakpoint-up($breakpoint, $breakpoints) {
|
|
15
15
|
$var: $size;
|
|
16
16
|
|
|
17
17
|
// if is a static spacing
|
|
18
|
-
@if map
|
|
18
|
+
@if map.has-key($spacing, $size) {
|
|
19
19
|
$var: var(--spacing-#{$size});
|
|
20
20
|
}
|
|
21
21
|
|
|
@@ -145,3 +145,22 @@
|
|
|
145
145
|
background-position-x: -200%;
|
|
146
146
|
}
|
|
147
147
|
}
|
|
148
|
+
|
|
149
|
+
@keyframes clippath {
|
|
150
|
+
0%,
|
|
151
|
+
100% {
|
|
152
|
+
clip-path: inset(0 0 95% 0);
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
25% {
|
|
156
|
+
clip-path: inset(0 95% 0 0);
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
50% {
|
|
160
|
+
clip-path: inset(95% 0 0 0);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
75% {
|
|
164
|
+
clip-path: inset(0 0 0 95%);
|
|
165
|
+
}
|
|
166
|
+
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
@use 'sass:map';
|
|
1
2
|
@use '../context' as *;
|
|
2
3
|
|
|
3
4
|
:where(:host, :root, .theme) {
|
|
@@ -21,12 +22,12 @@
|
|
|
21
22
|
// font-size dynamic
|
|
22
23
|
@each $name, $sizes in $font-size-dynamic {
|
|
23
24
|
@each $breakpoint, $size in $sizes {
|
|
24
|
-
@if map
|
|
25
|
+
@if map.has-key($breakpoints, $breakpoint) {
|
|
25
26
|
@include media-breakpoint-up($breakpoint, $breakpoints) {
|
|
26
27
|
$var: $size;
|
|
27
28
|
|
|
28
29
|
// if is a static font-size
|
|
29
|
-
@if map
|
|
30
|
+
@if map.has-key($font-size, $size) {
|
|
30
31
|
$var: var(--text-#{$size});
|
|
31
32
|
}
|
|
32
33
|
|
|
@@ -50,6 +50,8 @@ $background-image: (
|
|
|
50
50
|
none: none,
|
|
51
51
|
chevron:
|
|
52
52
|
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%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E"),
|
|
53
|
+
chessboard:
|
|
54
|
+
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' version='1.1' width='200' height='400'%3E%3Cdefs%3E%3Cpattern id='grid' width='20' height='20' patternUnits='userSpaceOnUse'%3E%3Crect fill='black' x='0' y='0' width='10' height='10' opacity='0.1'/%3E%3Crect fill='white' x='10' y='0' width='10' height='10'/%3E%3Crect fill='black' x='10' y='10' width='10' height='10' opacity='0.1'/%3E%3Crect fill='white' x='0' y='10' width='10' height='10'/%3E%3C/pattern%3E%3C/defs%3E%3Crect fill='url(%23grid)' x='0' y='0' width='100%25' height='100%25'/%3E%3C/svg%3E"),
|
|
53
55
|
grid:
|
|
54
56
|
url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32' fill='none' stroke='rgb(51 65 85 / 0.25)'%3E%3Cpath d='M0 .5H31.5V32'/%3E%3C/svg%3E"),
|
|
55
57
|
check:
|
|
@@ -58,4 +60,230 @@ $background-image: (
|
|
|
58
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='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
61
|
close:
|
|
60
62
|
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"),
|
|
63
|
+
noise-1:
|
|
64
|
+
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"),
|
|
65
|
+
noise-2:
|
|
66
|
+
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"),
|
|
67
|
+
noise-3:
|
|
68
|
+
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"),
|
|
69
|
+
noise-4:
|
|
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.5' numOctaves='1' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
|
|
71
|
+
noise-5:
|
|
72
|
+
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"),
|
|
73
|
+
) !default;
|
|
74
|
+
|
|
75
|
+
// gradient
|
|
76
|
+
$gradient: (
|
|
77
|
+
brand:
|
|
78
|
+
linear-gradient(
|
|
79
|
+
to bottom right,
|
|
80
|
+
var(--color-brand-darken-3),
|
|
81
|
+
var(--color-brand),
|
|
82
|
+
var(--color-brand-lighten-3)
|
|
83
|
+
),
|
|
84
|
+
accent:
|
|
85
|
+
linear-gradient(
|
|
86
|
+
to bottom right,
|
|
87
|
+
var(--color-accent-darken-3),
|
|
88
|
+
var(--color-accent),
|
|
89
|
+
var(--color-accent-lighten-3)
|
|
90
|
+
),
|
|
91
|
+
info:
|
|
92
|
+
linear-gradient(
|
|
93
|
+
to bottom right,
|
|
94
|
+
var(--color-info-darken-3),
|
|
95
|
+
var(--color-info),
|
|
96
|
+
var(--color-info-lighten-3)
|
|
97
|
+
),
|
|
98
|
+
success:
|
|
99
|
+
linear-gradient(
|
|
100
|
+
to bottom right,
|
|
101
|
+
var(--color-success-darken-3),
|
|
102
|
+
var(--color-success),
|
|
103
|
+
var(--color-success-lighten-3)
|
|
104
|
+
),
|
|
105
|
+
warning:
|
|
106
|
+
linear-gradient(
|
|
107
|
+
to bottom right,
|
|
108
|
+
var(--color-warning-darken-3),
|
|
109
|
+
var(--color-warning),
|
|
110
|
+
var(--color-warning-lighten-3)
|
|
111
|
+
),
|
|
112
|
+
danger:
|
|
113
|
+
linear-gradient(
|
|
114
|
+
to bottom right,
|
|
115
|
+
var(--color-danger-darken-3),
|
|
116
|
+
var(--color-danger),
|
|
117
|
+
var(--color-danger-lighten-3)
|
|
118
|
+
),
|
|
119
|
+
gray:
|
|
120
|
+
linear-gradient(
|
|
121
|
+
to bottom right,
|
|
122
|
+
var(--color-gray-darken-3),
|
|
123
|
+
var(--color-gray),
|
|
124
|
+
var(--color-gray-lighten-3)
|
|
125
|
+
),
|
|
126
|
+
1:
|
|
127
|
+
linear-gradient(
|
|
128
|
+
to bottom right,
|
|
129
|
+
#1f005c,
|
|
130
|
+
#5b0060,
|
|
131
|
+
#870160,
|
|
132
|
+
#ac255e,
|
|
133
|
+
#ca485c,
|
|
134
|
+
#e16b5c,
|
|
135
|
+
#f39060,
|
|
136
|
+
#ffb56b
|
|
137
|
+
),
|
|
138
|
+
2: linear-gradient(to bottom right, #48005c, #8300e2, #a269ff),
|
|
139
|
+
3: #{radial-gradient(
|
|
140
|
+
circle at top right,
|
|
141
|
+
hsl(180deg 100% 50%),
|
|
142
|
+
hsl(180deg 100% 50% / 0%)
|
|
143
|
+
),
|
|
144
|
+
radial-gradient(
|
|
145
|
+
circle at bottom left,
|
|
146
|
+
hsl(328deg 100% 54%),
|
|
147
|
+
hsl(328deg 100% 54% / 0%)
|
|
148
|
+
)},
|
|
149
|
+
4: linear-gradient(to bottom right, #00f5a0, #00d9f5),
|
|
150
|
+
5: conic-gradient(from -270deg at 75% 110%, fuchsia, floralwhite),
|
|
151
|
+
6: conic-gradient(from -90deg at top left, black, white),
|
|
152
|
+
7: linear-gradient(to bottom right, #72c6ef, #004e8f),
|
|
153
|
+
8: conic-gradient(from 90deg at 50% 0%, #111, 50%, #222, #111),
|
|
154
|
+
9: conic-gradient(from 0.5turn at bottom center, lightblue, white),
|
|
155
|
+
10:
|
|
156
|
+
conic-gradient(
|
|
157
|
+
from 90deg at 40% -25%,
|
|
158
|
+
#ffd700,
|
|
159
|
+
#f79d03,
|
|
160
|
+
#ee6907,
|
|
161
|
+
#e6390a,
|
|
162
|
+
#de0d0d,
|
|
163
|
+
#d61039,
|
|
164
|
+
#cf1261,
|
|
165
|
+
#c71585,
|
|
166
|
+
#cf1261,
|
|
167
|
+
#d61039,
|
|
168
|
+
#de0d0d,
|
|
169
|
+
#ee6907,
|
|
170
|
+
#f79d03,
|
|
171
|
+
#ffd700,
|
|
172
|
+
#ffd700,
|
|
173
|
+
#ffd700
|
|
174
|
+
),
|
|
175
|
+
11: conic-gradient(at bottom left, deeppink, cyan),
|
|
176
|
+
12:
|
|
177
|
+
conic-gradient(
|
|
178
|
+
from 90deg at 25% -10%,
|
|
179
|
+
#ff4500,
|
|
180
|
+
#d3f340,
|
|
181
|
+
#7bee85,
|
|
182
|
+
#afeeee,
|
|
183
|
+
#7bee85
|
|
184
|
+
),
|
|
185
|
+
13:
|
|
186
|
+
radial-gradient(
|
|
187
|
+
circle at 50% 200%,
|
|
188
|
+
#000142,
|
|
189
|
+
#3b0083,
|
|
190
|
+
#b300c3,
|
|
191
|
+
#ff059f,
|
|
192
|
+
#ff4661,
|
|
193
|
+
#ffad86,
|
|
194
|
+
#fff3c7
|
|
195
|
+
),
|
|
196
|
+
14: conic-gradient(at top right, lime, cyan),
|
|
197
|
+
15: linear-gradient(to bottom right, #c7d2fe, #fecaca, #fef3c7),
|
|
198
|
+
16: radial-gradient(circle at 50% -250%, #374151, #111827, #000),
|
|
199
|
+
17: conic-gradient(from -90deg at 50% -25%, blue, blueviolet),
|
|
200
|
+
18: #{linear-gradient(
|
|
201
|
+
0deg,
|
|
202
|
+
hsla(0deg 100% 50% / 80%),
|
|
203
|
+
hsla(0deg 100% 50% / 0%) 75%
|
|
204
|
+
),
|
|
205
|
+
linear-gradient(
|
|
206
|
+
60deg,
|
|
207
|
+
hsla(60deg 100% 50% / 80%),
|
|
208
|
+
hsla(60deg 100% 50% / 0%) 75%,
|
|
209
|
+
),
|
|
210
|
+
linear-gradient(
|
|
211
|
+
120deg,
|
|
212
|
+
hsla(120deg 100% 50% / 80%),
|
|
213
|
+
hsla(120deg 100% 50% / 0%) 75%,
|
|
214
|
+
),
|
|
215
|
+
linear-gradient(
|
|
216
|
+
180deg,
|
|
217
|
+
hsla(180deg 100% 50% / 80%),
|
|
218
|
+
hsla(180deg 100% 50% / 0%) 75%,
|
|
219
|
+
),
|
|
220
|
+
linear-gradient(
|
|
221
|
+
240deg,
|
|
222
|
+
hsla(240deg 100% 50% / 80%),
|
|
223
|
+
hsla(240deg 100% 50% / 0%) 75%,
|
|
224
|
+
),
|
|
225
|
+
linear-gradient(
|
|
226
|
+
300deg,
|
|
227
|
+
hsla(300deg 100% 50% / 80%),
|
|
228
|
+
hsla(300deg 100% 50% / 0%) 75%
|
|
229
|
+
)},
|
|
230
|
+
19: linear-gradient(to bottom right, #ffe259, #ffa751),
|
|
231
|
+
20:
|
|
232
|
+
conic-gradient(
|
|
233
|
+
from -135deg at -10% center,
|
|
234
|
+
#ffa500,
|
|
235
|
+
#ff7715,
|
|
236
|
+
#ff522a,
|
|
237
|
+
#ff3f47,
|
|
238
|
+
#ff5482,
|
|
239
|
+
#ff69b4
|
|
240
|
+
),
|
|
241
|
+
21:
|
|
242
|
+
conic-gradient(
|
|
243
|
+
from -90deg at 25% 115%,
|
|
244
|
+
#f00,
|
|
245
|
+
#f06,
|
|
246
|
+
#f0c,
|
|
247
|
+
#c0f,
|
|
248
|
+
#60f,
|
|
249
|
+
#00f,
|
|
250
|
+
#00f,
|
|
251
|
+
#00f,
|
|
252
|
+
#00f
|
|
253
|
+
),
|
|
254
|
+
22: linear-gradient(to bottom right, #acb6e5, #86fde8),
|
|
255
|
+
23: linear-gradient(to bottom right, #536976, #292e49),
|
|
256
|
+
24:
|
|
257
|
+
conic-gradient(
|
|
258
|
+
from 0.5turn at 0% 0%,
|
|
259
|
+
#00c476,
|
|
260
|
+
10%,
|
|
261
|
+
#82b0ff,
|
|
262
|
+
90%,
|
|
263
|
+
#00c476
|
|
264
|
+
),
|
|
265
|
+
25: conic-gradient(at 125% 50%, #b78cf7, #ff7c94, #ffcf0d, #ff7c94, #b78cf7),
|
|
266
|
+
26: linear-gradient(to bottom right, #9796f0, #fbc7d4),
|
|
267
|
+
27: conic-gradient(from 0.5turn at bottom left, deeppink, rebeccapurple),
|
|
268
|
+
28: conic-gradient(from -90deg at 50% 105%, white, orchid),
|
|
269
|
+
29: #{radial-gradient(
|
|
270
|
+
circle at top right,
|
|
271
|
+
hsl(250deg 100% 85%),
|
|
272
|
+
hsl(250deg 100% 85% / 0%)
|
|
273
|
+
),
|
|
274
|
+
radial-gradient(
|
|
275
|
+
circle at bottom left,
|
|
276
|
+
hsl(220deg 90% 75%),
|
|
277
|
+
hsl(220deg 90% 75% / 0%)
|
|
278
|
+
)},
|
|
279
|
+
30: #{radial-gradient(
|
|
280
|
+
circle at top right,
|
|
281
|
+
hsl(150deg 100% 50%),
|
|
282
|
+
hsl(150deg 100% 50% / 0%)
|
|
283
|
+
),
|
|
284
|
+
radial-gradient(
|
|
285
|
+
circle at bottom left,
|
|
286
|
+
hsl(150deg 100% 84%),
|
|
287
|
+
hsl(150deg 100% 84% / 0%)
|
|
288
|
+
)},
|
|
61
289
|
) !default;
|