@volverjs/style 0.1.11 → 0.1.12-beta.10
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/README.md +6 -4
- 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-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-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/transitions.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/filters.css +1 -1
- package/dist/utilities/layout.css +1 -1
- package/dist/utilities/transforms.css +1 -1
- package/dist/utilities/transitions.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 +30 -27
- package/src/_config.scss +10 -9
- package/src/_preflight.scss +15 -0
- 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/export.scss +17 -32
- package/src/props/background.scss +1 -0
- package/src/props/transitions.scss +28 -9
- package/src/settings/_background.scss +228 -0
- package/src/settings/_colors.scss +16 -53
- package/src/settings/_effects.scss +0 -18
- package/src/settings/_filters.scss +15 -0
- package/src/settings/_index.scss +1 -0
- package/src/settings/_input.scss +5 -4
- package/src/settings/_layout.scss +1 -0
- package/src/settings/_transitions.scss +2 -1
- package/src/settings/components/_vv-accordion.scss +10 -10
- package/src/settings/components/_vv-alert-group.scss +24 -21
- package/src/settings/components/_vv-alert.scss +83 -83
- package/src/settings/components/_vv-avatar.scss +52 -54
- package/src/settings/components/_vv-badge.scss +65 -27
- package/src/settings/components/_vv-breadcrumb.scss +1 -1
- package/src/settings/components/_vv-button.scss +10 -5
- package/src/settings/components/_vv-checkbox-group.scss +1 -0
- package/src/settings/components/_vv-checkbox.scss +2 -2
- package/src/settings/components/_vv-dialog.scss +8 -5
- package/src/settings/components/_vv-dropdown-option.scss +2 -2
- package/src/settings/components/_vv-dropdown.scss +95 -9
- package/src/settings/components/_vv-input-file.scss +474 -0
- package/src/settings/components/_vv-input-text.scss +8 -7
- 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 +5 -4
- package/src/settings/components/_vv-select.scss +9 -7
- 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 +7 -6
- package/src/settings/components/_vv-tooltip.scss +11 -8
- 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 +4 -38
- 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/_functions.scss +26 -13
- package/src/tools/_mixins.scss +44 -2
- package/src/utilities/backgrounds.scss +14 -4
- package/src/utilities/transforms.scss +9 -9
- package/src/utilities/typography.scss +10 -0
package/src/export.scss
CHANGED
|
@@ -24,6 +24,8 @@
|
|
|
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,8 +34,7 @@
|
|
|
32
34
|
}
|
|
33
35
|
}
|
|
34
36
|
|
|
35
|
-
|
|
36
|
-
@each $key, $value in $colors-computed {
|
|
37
|
+
@each $key, $value in $dark-colors {
|
|
37
38
|
@if type-of($value) == 'map' {
|
|
38
39
|
@each $subKey, $subValue in $value {
|
|
39
40
|
@if type-of($value) not 'map' {
|
|
@@ -43,38 +44,17 @@
|
|
|
43
44
|
str-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
|
|
|
@@ -445,6 +425,10 @@
|
|
|
445
425
|
#{'background-image__' + $key}: $value;
|
|
446
426
|
}
|
|
447
427
|
|
|
428
|
+
@each $key, $value in $gradient {
|
|
429
|
+
#{'gradient__' + $key}: $value;
|
|
430
|
+
}
|
|
431
|
+
|
|
448
432
|
// #endregion
|
|
449
433
|
|
|
450
434
|
// ============================================================== */
|
|
@@ -463,10 +447,6 @@
|
|
|
463
447
|
#{'box-shadow__' + $key}: $value;
|
|
464
448
|
}
|
|
465
449
|
|
|
466
|
-
@each $key, $value in $box-shadow-no-vars {
|
|
467
|
-
#{'box-shadow-no-vars__' + $key}: $value;
|
|
468
|
-
}
|
|
469
|
-
|
|
470
450
|
// opacity
|
|
471
451
|
@each $key, $value in $opacity {
|
|
472
452
|
#{'opacity__' + $key}: $value;
|
|
@@ -496,6 +476,11 @@
|
|
|
496
476
|
#{'brightness__' + $key}: $value;
|
|
497
477
|
}
|
|
498
478
|
|
|
479
|
+
// contrast
|
|
480
|
+
@each $key, $value in $contrast {
|
|
481
|
+
#{'contrast__' + $key}: $value;
|
|
482
|
+
}
|
|
483
|
+
|
|
499
484
|
// saturation
|
|
500
485
|
@each $key, $value in $saturation {
|
|
501
486
|
#{'saturation__' + $key}: $value;
|
|
@@ -48,39 +48,39 @@
|
|
|
48
48
|
// keyframes
|
|
49
49
|
@keyframes indeterminate {
|
|
50
50
|
0% {
|
|
51
|
-
|
|
51
|
+
scale: 0 1;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
50% {
|
|
55
|
-
|
|
55
|
+
scale: 1;
|
|
56
56
|
transform-origin: left;
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
51% {
|
|
60
|
-
|
|
60
|
+
scale: 1;
|
|
61
61
|
transform-origin: center right;
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
100% {
|
|
65
|
-
|
|
65
|
+
scale: 0 1;
|
|
66
66
|
transform-origin: center right;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
@keyframes spin {
|
|
71
71
|
from {
|
|
72
|
-
|
|
72
|
+
rotate: 0deg;
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
to {
|
|
76
|
-
|
|
76
|
+
rotate: 360deg;
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
@keyframes ping {
|
|
81
81
|
75%,
|
|
82
82
|
100% {
|
|
83
|
-
|
|
83
|
+
scale: 2;
|
|
84
84
|
opacity: 0;
|
|
85
85
|
}
|
|
86
86
|
}
|
|
@@ -99,12 +99,12 @@
|
|
|
99
99
|
@keyframes bounce {
|
|
100
100
|
0%,
|
|
101
101
|
100% {
|
|
102
|
-
|
|
102
|
+
translate: 0 -25%;
|
|
103
103
|
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
|
104
104
|
}
|
|
105
105
|
|
|
106
106
|
50% {
|
|
107
|
-
|
|
107
|
+
translate: 0;
|
|
108
108
|
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
@@ -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
|
+
}
|
|
@@ -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;
|
|
@@ -7,7 +7,7 @@ $color-scheme: light !default;
|
|
|
7
7
|
$color-transparent: transparent !default;
|
|
8
8
|
$color-black: #000 !default;
|
|
9
9
|
$color-white: #fff !default;
|
|
10
|
-
$color-brand: #
|
|
10
|
+
$color-brand: #166abd !default;
|
|
11
11
|
$color-accent: #9c27b0 !default;
|
|
12
12
|
$color-success: #178230 !default;
|
|
13
13
|
$color-danger: #af2323 !default;
|
|
@@ -15,7 +15,7 @@ $color-info: #31ccec !default;
|
|
|
15
15
|
$color-warning: #e7b735 !default;
|
|
16
16
|
$color-gray: hsl(color.hue($color-brand) 15% 50%) !default;
|
|
17
17
|
$color-word: hsl(color.hue($color-brand) 15% 10%) !default;
|
|
18
|
-
$color-surface: hsl(color.hue($color-brand) 10%
|
|
18
|
+
$color-surface: hsl(color.hue($color-brand) 10% 100%) !default;
|
|
19
19
|
$color-surface-palette: (
|
|
20
20
|
brand: hsl(var(--color-brand-hue) var(--color-brand-saturation) 90%),
|
|
21
21
|
accent: hsl(var(--color-accent-hue) var(--color-accent-saturation) 90%),
|
|
@@ -34,67 +34,23 @@ $color-surface-palette-no-vars: (
|
|
|
34
34
|
) !default;
|
|
35
35
|
$color-shadow: hsl(color.hue($color-brand) 50% 20%) !default;
|
|
36
36
|
$color-backdrop: hsla(color.hue($color-brand) 50% 20% / 20%) !default;
|
|
37
|
-
$color-alpha:
|
|
37
|
+
$color-alpha: hsl(0deg 0% 0% / 0%) !default;
|
|
38
38
|
|
|
39
39
|
// colors map
|
|
40
40
|
$colors: (
|
|
41
41
|
scheme: $color-scheme,
|
|
42
42
|
transparent: $color-transparent,
|
|
43
|
-
black: hsla-map($color-black, 'black'),
|
|
44
|
-
white: hsla-map($color-white, 'white'),
|
|
45
|
-
brand: color-shades-map($color-brand, 'brand'),
|
|
46
|
-
accent: color-shades-map($color-accent, 'accent'),
|
|
47
|
-
success: color-shades-map($color-success, 'success'),
|
|
48
|
-
danger: color-shades-map($color-danger, 'danger'),
|
|
49
|
-
info: color-shades-map($color-info, 'info'),
|
|
50
|
-
warning: color-shades-map($color-warning, 'warning'),
|
|
51
|
-
gray: color-shades-map($color-gray, 'gray', $scale: 15%),
|
|
52
|
-
word: color-lighten-map($color-word, 'word', $scale: 12%, $fixed: true),
|
|
53
|
-
surface:
|
|
54
|
-
map.merge(
|
|
55
|
-
color-darken-map(
|
|
56
|
-
$color-surface,
|
|
57
|
-
'surface',
|
|
58
|
-
$scale: 2%,
|
|
59
|
-
$fixed: true
|
|
60
|
-
),
|
|
61
|
-
$color-surface-palette
|
|
62
|
-
),
|
|
63
43
|
shadow: hsla-map($color-shadow, 'shadow'),
|
|
64
44
|
backdrop: hsla-map($color-backdrop, 'backdrop'),
|
|
65
|
-
|
|
66
|
-
)
|
|
67
|
-
|
|
68
|
-
// colors-computed map
|
|
69
|
-
$colors-computed: (
|
|
70
|
-
scheme: $color-scheme,
|
|
71
|
-
transparent: $color-transparent,
|
|
72
|
-
black: hsla-map($color-black, 'black', $noVarExport: true),
|
|
73
|
-
white: hsla-map($color-white, 'white', $noVarExport: true),
|
|
74
|
-
shadow: hsla-map($color-shadow, 'shadow', $noVarExport: true),
|
|
75
|
-
backdrop: hsla-map($color-backdrop, 'backdrop', $noVarExport: true),
|
|
76
|
-
alpha:
|
|
77
|
-
color-alpha-map(
|
|
78
|
-
$color-alpha,
|
|
79
|
-
'alpha',
|
|
80
|
-
$steps: 5,
|
|
81
|
-
$scale: 5%,
|
|
82
|
-
$noVarExport: true
|
|
83
|
-
),
|
|
84
|
-
brand: color-shades-map($color-brand, 'brand', $noVarExport: true),
|
|
85
|
-
accent: color-shades-map($color-accent, 'accent', $noVarExport: true),
|
|
86
|
-
success: color-shades-map($color-success, 'success', $noVarExport: true),
|
|
87
|
-
danger: color-shades-map($color-danger, 'danger', $noVarExport: true),
|
|
88
|
-
info: color-shades-map($color-info, 'info', $noVarExport: true),
|
|
89
|
-
warning: color-shades-map($color-warning, 'warning', $noVarExport: true),
|
|
90
|
-
gray: color-shades-map($color-gray, 'gray', $scale: 15%, $noVarExport: true),
|
|
45
|
+
black: hsla-map($color-black, 'black'),
|
|
46
|
+
white: hsla-map($color-white, 'white'),
|
|
91
47
|
word:
|
|
92
48
|
color-lighten-map(
|
|
93
49
|
$color-word,
|
|
94
50
|
'word',
|
|
95
51
|
$scale: 12%,
|
|
96
52
|
$fixed: true,
|
|
97
|
-
$
|
|
53
|
+
$inverted: false
|
|
98
54
|
),
|
|
99
55
|
surface:
|
|
100
56
|
map.merge(
|
|
@@ -102,9 +58,16 @@ $colors-computed: (
|
|
|
102
58
|
$color-surface,
|
|
103
59
|
'surface',
|
|
104
60
|
$scale: 2%,
|
|
105
|
-
$fixed: true
|
|
106
|
-
$noVarExport: true
|
|
61
|
+
$fixed: true
|
|
107
62
|
),
|
|
108
|
-
$color-surface-palette
|
|
63
|
+
$color-surface-palette
|
|
109
64
|
),
|
|
65
|
+
alpha: color-alpha-map($color-alpha, 'alpha', $steps: 5, $scale: 0.05),
|
|
66
|
+
brand: color-shades-map($color-brand, 'brand'),
|
|
67
|
+
accent: color-shades-map($color-accent, 'accent'),
|
|
68
|
+
success: color-shades-map($color-success, 'success'),
|
|
69
|
+
danger: color-shades-map($color-danger, 'danger'),
|
|
70
|
+
info: color-shades-map($color-info, 'info'),
|
|
71
|
+
warning: color-shades-map($color-warning, 'warning'),
|
|
72
|
+
gray: color-shades-map($color-gray, 'gray', $scale: 15%),
|
|
110
73
|
) !default;
|
|
@@ -26,24 +26,6 @@ $color-shadow-hue: color.hue(colors.$color-shadow);
|
|
|
26
26
|
$color-shadow-saturation: color.saturation(colors.$color-shadow);
|
|
27
27
|
$color-shadow-lightness: color.lightness(colors.$color-shadow);
|
|
28
28
|
|
|
29
|
-
$box-shadow-no-vars: (
|
|
30
|
-
sm:
|
|
31
|
-
'0 1px 2px 0 hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 5%)',
|
|
32
|
-
shadow:
|
|
33
|
-
'0 1px 3px 0 hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 10%), 0 1px 2px -1px hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 10%)',
|
|
34
|
-
md:
|
|
35
|
-
'0 4px 6px -1px hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 10%), 0 2px 4px -2px hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 10%)',
|
|
36
|
-
lg:
|
|
37
|
-
'0 10px 15px -3px hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 10%), 0 4px 6px -4px hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 10%)',
|
|
38
|
-
xl:
|
|
39
|
-
'0 20px 25px -5px hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 10%), 0 8px 10px -6px hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 10%)',
|
|
40
|
-
2xl:
|
|
41
|
-
'0 25px 50px -12px hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 25%)',
|
|
42
|
-
inner:
|
|
43
|
-
'inset 0 2px 4px 0 hsla(#{$color-shadow-hue} #{$color-shadow-saturation} #{$color-shadow-lightness} / 5%)',
|
|
44
|
-
none: '0 0 #0000'
|
|
45
|
-
) !default;
|
|
46
|
-
|
|
47
29
|
// opacity
|
|
48
30
|
$opacity: (
|
|
49
31
|
0: 0,
|
|
@@ -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
|
package/src/settings/_index.scss
CHANGED
|
@@ -38,6 +38,7 @@
|
|
|
38
38
|
@forward 'components/vv-radio-group';
|
|
39
39
|
@forward 'components/vv-avatar';
|
|
40
40
|
@forward 'components/vv-avatar-group';
|
|
41
|
+
@forward 'components/vv-input-file';
|
|
41
42
|
@forward 'components/vv-input-text';
|
|
42
43
|
@forward 'components/vv-nav';
|
|
43
44
|
@forward 'components/vv-progress';
|
package/src/settings/_input.scss
CHANGED
|
@@ -11,15 +11,16 @@ $input: (
|
|
|
11
11
|
line-height: var(--leading-normal),
|
|
12
12
|
min-height: var(--spacing-52),
|
|
13
13
|
min-width: 0,
|
|
14
|
+
spacing-top: var(--spacing-sm),
|
|
15
|
+
spacing-right: var(--spacing-sm),
|
|
14
16
|
spacing-bottom: var(--spacing-sm),
|
|
15
17
|
spacing-left: var(--spacing-sm),
|
|
16
|
-
spacing-right: var(--spacing-sm),
|
|
17
|
-
spacing-top: var(--spacing-sm),
|
|
18
18
|
text-overflow: ellipsis,
|
|
19
19
|
label: (
|
|
20
20
|
color: var(--color-word-2),
|
|
21
21
|
display: inline,
|
|
22
|
-
font-size: var(--text-
|
|
22
|
+
font-size: var(--text-14),
|
|
23
|
+
font-weight: var(--font-normal),
|
|
23
24
|
gap: var(--spacing-xs),
|
|
24
25
|
max-width: 100%,
|
|
25
26
|
overflow: hidden,
|
|
@@ -55,7 +56,7 @@ $input: (
|
|
|
55
56
|
padding-bottom: calc(var(--input-spacing-bottom) - 0.55em),
|
|
56
57
|
label: (
|
|
57
58
|
font-size: var(--text-12),
|
|
58
|
-
|
|
59
|
+
translate: 0 -0.8em,
|
|
59
60
|
),
|
|
60
61
|
),
|
|
61
62
|
) !default;
|
|
@@ -6,7 +6,7 @@ $transition-property: (
|
|
|
6
6
|
'color, background-color, border-color, text-decoration-color, fill, stroke',
|
|
7
7
|
opacity: opacity,
|
|
8
8
|
shadow: box-shadow,
|
|
9
|
-
transform: transform,
|
|
9
|
+
transform: 'transform, scale, rotate, translate, skew',
|
|
10
10
|
) !default;
|
|
11
11
|
|
|
12
12
|
// transition duration and transition delay
|
|
@@ -39,4 +39,5 @@ $animation: (
|
|
|
39
39
|
pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite,
|
|
40
40
|
bounce: bounce 1s infinite,
|
|
41
41
|
shine: shine 1.5s infinite,
|
|
42
|
+
clippath: clippath 3s infinite,
|
|
42
43
|
) !default;
|