@volverjs/style 0.0.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/README.md +139 -0
- package/package.json +158 -0
- package/src/_config.scss +32 -0
- package/src/_context.scss +11 -0
- package/src/assets/24consulting.svg +63 -0
- package/src/assets/volverjs.svg +15 -0
- package/src/components/index.scss +17 -0
- package/src/components/vv-badge.scss +12 -0
- package/src/components/vv-button-group.scss +115 -0
- package/src/components/vv-button.scss +57 -0
- package/src/components/vv-card.scss +12 -0
- package/src/components/vv-collapse.scss +12 -0
- package/src/components/vv-dialog.scss +12 -0
- package/src/components/vv-dropdown.scss +12 -0
- package/src/components/vv-input-checkbox-group.scss +12 -0
- package/src/components/vv-input-checkbox.scss +28 -0
- package/src/components/vv-input-radio-group.scss +12 -0
- package/src/components/vv-input-radio.scss +20 -0
- package/src/components/vv-input-text.scss +49 -0
- package/src/components/vv-progress.scss +12 -0
- package/src/components/vv-select.scss +49 -0
- package/src/components/vv-table.scss +12 -0
- package/src/components/vv-text.scss +12 -0
- package/src/components/vv-textarea.scss +49 -0
- package/src/export.scss +411 -0
- package/src/preflight.scss +281 -0
- package/src/props/animation.scss +80 -0
- package/src/props/background.scss +5 -0
- package/src/props/borders.scss +6 -0
- package/src/props/colors.scss +5 -0
- package/src/props/effects.scss +5 -0
- package/src/props/filters.scss +6 -0
- package/src/props/index.scss +12 -0
- package/src/props/input.scss +5 -0
- package/src/props/layout.scss +6 -0
- package/src/props/media.scss +49 -0
- package/src/props/sizing.scss +6 -0
- package/src/props/spacing.scss +27 -0
- package/src/props/typography.scss +38 -0
- package/src/reset.scss +88 -0
- package/src/settings/_animation.scss +9 -0
- package/src/settings/_background.scss +56 -0
- package/src/settings/_borders.scss +24 -0
- package/src/settings/_breakpoints.scss +13 -0
- package/src/settings/_colors.scss +39 -0
- package/src/settings/_effects.scss +39 -0
- package/src/settings/_filters.scss +26 -0
- package/src/settings/_flexbox.scss +66 -0
- package/src/settings/_grid.scss +104 -0
- package/src/settings/_index.scss +34 -0
- package/src/settings/_input.scss +51 -0
- package/src/settings/_layout.scss +109 -0
- package/src/settings/_sizing.scss +99 -0
- package/src/settings/_spacing.scss +77 -0
- package/src/settings/_typography.scss +179 -0
- package/src/settings/components/_vv-badge.scss +43 -0
- package/src/settings/components/_vv-button-group.scss +20 -0
- package/src/settings/components/_vv-button.scss +214 -0
- package/src/settings/components/_vv-card.scss +74 -0
- package/src/settings/components/_vv-collapse.scss +111 -0
- package/src/settings/components/_vv-dialog.scss +183 -0
- package/src/settings/components/_vv-dropdown.scss +37 -0
- package/src/settings/components/_vv-input-checkbox-group.scss +60 -0
- package/src/settings/components/_vv-input-checkbox.scss +92 -0
- package/src/settings/components/_vv-input-radio-group.scss +1 -0
- package/src/settings/components/_vv-input-radio.scss +60 -0
- package/src/settings/components/_vv-input-text.scss +327 -0
- package/src/settings/components/_vv-progress.scss +45 -0
- package/src/settings/components/_vv-select.scss +216 -0
- package/src/settings/components/_vv-table.scss +29 -0
- package/src/settings/components/_vv-text.scss +42 -0
- package/src/settings/components/_vv-textarea.scss +275 -0
- package/src/style.scss +14 -0
- package/src/themes/dark/_context.scss +8 -0
- package/src/themes/dark/components/_vv-button.scss +24 -0
- package/src/themes/dark/components/_vv-input-checkbox.scss +24 -0
- package/src/themes/dark/components/index.scss +2 -0
- package/src/themes/dark/props/_background.scss +15 -0
- package/src/themes/dark/props/_colors.scss +15 -0
- package/src/themes/dark/props/index.scss +2 -0
- package/src/themes/dark/settings/_background.scss +12 -0
- package/src/themes/dark/settings/_colors.scss +15 -0
- package/src/themes/dark/settings/_index.scss +5 -0
- package/src/themes/dark/settings/components/_vv-button.scss +58 -0
- package/src/themes/dark/settings/components/_vv-input-checkbox.scss +26 -0
- package/src/themes/dark/style.scss +5 -0
- package/src/tools/_breakpoints.scss +126 -0
- package/src/tools/_functions.scss +138 -0
- package/src/tools/_index.scss +3 -0
- package/src/tools/_mixins.scss +902 -0
- package/src/utilities/animation.scss +8 -0
- package/src/utilities/backgrounds.scss +50 -0
- package/src/utilities/borders.scss +79 -0
- package/src/utilities/colors.scss +33 -0
- package/src/utilities/effects.scss +15 -0
- package/src/utilities/filters.scss +22 -0
- package/src/utilities/flexbox.scss +113 -0
- package/src/utilities/grid.scss +68 -0
- package/src/utilities/index.scss +12 -0
- package/src/utilities/layout.scss +188 -0
- package/src/utilities/sizing.scss +80 -0
- package/src/utilities/spacing.scss +109 -0
- package/src/utilities/typography.scss +226 -0
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
// grid template columns
|
|
2
|
+
$grid-template-columns: (
|
|
3
|
+
1: repeat(1, minmax(0, 1fr)),
|
|
4
|
+
2: repeat(2, minmax(0, 1fr)),
|
|
5
|
+
3: repeat(3, minmax(0, 1fr)),
|
|
6
|
+
4: repeat(4, minmax(0, 1fr)),
|
|
7
|
+
5: repeat(5, minmax(0, 1fr)),
|
|
8
|
+
6: repeat(6, minmax(0, 1fr)),
|
|
9
|
+
7: repeat(7, minmax(0, 1fr)),
|
|
10
|
+
8: repeat(8, minmax(0, 1fr)),
|
|
11
|
+
9: repeat(9, minmax(0, 1fr)),
|
|
12
|
+
10: repeat(10, minmax(0, 1fr)),
|
|
13
|
+
11: repeat(11, minmax(0, 1fr)),
|
|
14
|
+
12: repeat(12, minmax(0, 1fr)),
|
|
15
|
+
none: none,
|
|
16
|
+
) !default;
|
|
17
|
+
|
|
18
|
+
// grid column
|
|
19
|
+
$grid-column: (
|
|
20
|
+
auto: auto,
|
|
21
|
+
span-1: span 1 / span 1,
|
|
22
|
+
span-2: span 2 / span 2,
|
|
23
|
+
span-3: span 3 / span 3,
|
|
24
|
+
span-4: span 4 / span 4,
|
|
25
|
+
span-5: span 5 / span 5,
|
|
26
|
+
span-6: span 6 / span 6,
|
|
27
|
+
span-7: span 7 / span 7,
|
|
28
|
+
span-8: span 8 / span 8,
|
|
29
|
+
span-9: span 9 / span 9,
|
|
30
|
+
span-10: span 10 / span 10,
|
|
31
|
+
span-11: span 11 / span 11,
|
|
32
|
+
span-12: span 12 / span 12,
|
|
33
|
+
span-full: 1 #{'/'} -1,
|
|
34
|
+
) !default;
|
|
35
|
+
|
|
36
|
+
// grid column start/end
|
|
37
|
+
$grid-column-start-end: (
|
|
38
|
+
1: 1,
|
|
39
|
+
2: 2,
|
|
40
|
+
3: 3,
|
|
41
|
+
4: 4,
|
|
42
|
+
5: 5,
|
|
43
|
+
6: 6,
|
|
44
|
+
7: 7,
|
|
45
|
+
8: 8,
|
|
46
|
+
9: 9,
|
|
47
|
+
10: 10,
|
|
48
|
+
11: 11,
|
|
49
|
+
12: 12,
|
|
50
|
+
13: 13,
|
|
51
|
+
auto: auto,
|
|
52
|
+
) !default;
|
|
53
|
+
|
|
54
|
+
// grid template rows
|
|
55
|
+
$grid-template-rows: (
|
|
56
|
+
1: repeat(1, minmax(0, 1fr)),
|
|
57
|
+
2: repeat(2, minmax(0, 1fr)),
|
|
58
|
+
3: repeat(3, minmax(0, 1fr)),
|
|
59
|
+
4: repeat(4, minmax(0, 1fr)),
|
|
60
|
+
5: repeat(5, minmax(0, 1fr)),
|
|
61
|
+
6: repeat(6, minmax(0, 1fr)),
|
|
62
|
+
none: none,
|
|
63
|
+
) !default;
|
|
64
|
+
|
|
65
|
+
// grid row
|
|
66
|
+
$grid-row: (
|
|
67
|
+
auto: auto,
|
|
68
|
+
span-1: span 1 / span 1,
|
|
69
|
+
span-2: span 2 / span 2,
|
|
70
|
+
span-3: span 3 / span 3,
|
|
71
|
+
span-4: span 4 / span 4,
|
|
72
|
+
span-5: span 5 / span 5,
|
|
73
|
+
span-6: span 6 / span 6,
|
|
74
|
+
span-full: 1 #{'/'} -1,
|
|
75
|
+
) !default;
|
|
76
|
+
|
|
77
|
+
// grid row start/end
|
|
78
|
+
$grid-row-start-end: (
|
|
79
|
+
1: 1,
|
|
80
|
+
2: 2,
|
|
81
|
+
3: 3,
|
|
82
|
+
4: 4,
|
|
83
|
+
5: 5,
|
|
84
|
+
6: 6,
|
|
85
|
+
7: 7,
|
|
86
|
+
auto: auto,
|
|
87
|
+
) !default;
|
|
88
|
+
|
|
89
|
+
// grid auto flow
|
|
90
|
+
$grid-auto-flow: (
|
|
91
|
+
row: row,
|
|
92
|
+
col: column,
|
|
93
|
+
dense: dense,
|
|
94
|
+
row-dense: row dense,
|
|
95
|
+
col-dense: column dense,
|
|
96
|
+
) !default;
|
|
97
|
+
|
|
98
|
+
// grid auto rows/columns
|
|
99
|
+
$grid-auto-rows-columns: (
|
|
100
|
+
auto: auto,
|
|
101
|
+
min: min-content,
|
|
102
|
+
max: max-content,
|
|
103
|
+
fr: minmax(0, 1fr),
|
|
104
|
+
) !default;
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// utilities and custom props
|
|
2
|
+
@import 'animation';
|
|
3
|
+
@import 'borders';
|
|
4
|
+
@import 'breakpoints';
|
|
5
|
+
@import 'colors';
|
|
6
|
+
@import 'layout';
|
|
7
|
+
@import 'filters';
|
|
8
|
+
@import 'flexbox';
|
|
9
|
+
@import 'grid';
|
|
10
|
+
@import 'sizing';
|
|
11
|
+
@import 'spacing';
|
|
12
|
+
@import 'typography';
|
|
13
|
+
@import 'background';
|
|
14
|
+
@import 'effects';
|
|
15
|
+
@import 'input';
|
|
16
|
+
|
|
17
|
+
// components
|
|
18
|
+
@import 'components/vv-badge';
|
|
19
|
+
@import 'components/vv-button';
|
|
20
|
+
@import 'components/vv-button-group';
|
|
21
|
+
@import 'components/vv-progress';
|
|
22
|
+
@import 'components/vv-collapse';
|
|
23
|
+
@import 'components/vv-dialog';
|
|
24
|
+
@import 'components/vv-dropdown';
|
|
25
|
+
@import 'components/vv-input-checkbox';
|
|
26
|
+
@import 'components/vv-input-checkbox-group';
|
|
27
|
+
@import 'components/vv-input-radio';
|
|
28
|
+
@import 'components/vv-input-radio-group';
|
|
29
|
+
@import 'components/vv-input-text';
|
|
30
|
+
@import 'components/vv-textarea';
|
|
31
|
+
@import 'components/vv-select';
|
|
32
|
+
@import 'components/vv-table';
|
|
33
|
+
@import 'components/vv-card';
|
|
34
|
+
@import 'components/vv-text';
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
$input: (
|
|
2
|
+
display: flex,
|
|
3
|
+
flex: 1,
|
|
4
|
+
flex-direction: column,
|
|
5
|
+
padding-top: var(--spacing-sm),
|
|
6
|
+
padding-right: var(--spacing-sm),
|
|
7
|
+
padding-bottom: var(--spacing-sm),
|
|
8
|
+
padding-left: var(--spacing-sm),
|
|
9
|
+
color: var(--color-word),
|
|
10
|
+
background-color: var(--color-surface-1),
|
|
11
|
+
gap: var(--spacing-md),
|
|
12
|
+
line-height: var(--leading-normal),
|
|
13
|
+
font-size: var(--text-16),
|
|
14
|
+
label: (
|
|
15
|
+
color: var(--color-word-3),
|
|
16
|
+
display: block,
|
|
17
|
+
font-size: var(--text-xs),
|
|
18
|
+
gap: var(--spacing-xs),
|
|
19
|
+
white-space: nowrap,
|
|
20
|
+
text-overflow: ellipsis,
|
|
21
|
+
overflow: hidden,
|
|
22
|
+
max-width: 100%,
|
|
23
|
+
),
|
|
24
|
+
icon: (
|
|
25
|
+
position: absolute,
|
|
26
|
+
width: 1em,
|
|
27
|
+
height: calc(var(--input-icon-width) * var(--input-line-height)),
|
|
28
|
+
padding: calc((var(--input-icon-height) - var(--input-icon-width)) / 2)
|
|
29
|
+
0,
|
|
30
|
+
pointer-events: none,
|
|
31
|
+
),
|
|
32
|
+
hint: (
|
|
33
|
+
display: block,
|
|
34
|
+
font-size: var(--text-12),
|
|
35
|
+
color: var(--color-word-4),
|
|
36
|
+
gap: var(--spacing-8),
|
|
37
|
+
white-space: nowrap,
|
|
38
|
+
text-overflow: ellipsis,
|
|
39
|
+
overflow: hidden,
|
|
40
|
+
max-width: 100%,
|
|
41
|
+
),
|
|
42
|
+
placeholder: (
|
|
43
|
+
color: var(--color-word-4),
|
|
44
|
+
),
|
|
45
|
+
valid: (
|
|
46
|
+
color: var(--color-success),
|
|
47
|
+
),
|
|
48
|
+
invalid: (
|
|
49
|
+
color: var(--color-danger),
|
|
50
|
+
),
|
|
51
|
+
) !default;
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
// aspect-ratio
|
|
2
|
+
$aspect-ratio: (
|
|
3
|
+
auto: auto,
|
|
4
|
+
square: '1/1',
|
|
5
|
+
photo: '3/2',
|
|
6
|
+
tv: '4/3',
|
|
7
|
+
wide: '16/9',
|
|
8
|
+
ultrawide: '21/9',
|
|
9
|
+
) !default;
|
|
10
|
+
|
|
11
|
+
// columns
|
|
12
|
+
$columns: (1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12) !default;
|
|
13
|
+
|
|
14
|
+
// break-after
|
|
15
|
+
$break-after: (
|
|
16
|
+
auto,
|
|
17
|
+
avoid,
|
|
18
|
+
all,
|
|
19
|
+
avoid-page,
|
|
20
|
+
page,
|
|
21
|
+
left,
|
|
22
|
+
right,
|
|
23
|
+
column
|
|
24
|
+
) !default;
|
|
25
|
+
|
|
26
|
+
// break-before
|
|
27
|
+
$break-before: (
|
|
28
|
+
auto,
|
|
29
|
+
avoid,
|
|
30
|
+
all,
|
|
31
|
+
avoid-page,
|
|
32
|
+
page,
|
|
33
|
+
left,
|
|
34
|
+
right,
|
|
35
|
+
column
|
|
36
|
+
) !default;
|
|
37
|
+
|
|
38
|
+
// break-inside
|
|
39
|
+
$break-inside: (auto, avoid, avoid-page, avoid-column) !default;
|
|
40
|
+
|
|
41
|
+
// display-without-breakpoints
|
|
42
|
+
$display-without-breakpoints: (
|
|
43
|
+
table,
|
|
44
|
+
inline-table,
|
|
45
|
+
table-caption,
|
|
46
|
+
table-cell,
|
|
47
|
+
table-column,
|
|
48
|
+
table-column-group,
|
|
49
|
+
table-footer-group,
|
|
50
|
+
table-header-group,
|
|
51
|
+
table-row-group,
|
|
52
|
+
table-row,
|
|
53
|
+
flow-root,
|
|
54
|
+
contents,
|
|
55
|
+
list-item
|
|
56
|
+
) !default;
|
|
57
|
+
|
|
58
|
+
// display-with-breakpoints
|
|
59
|
+
$display-with-breakpoints: (
|
|
60
|
+
block,
|
|
61
|
+
inline-block,
|
|
62
|
+
inline,
|
|
63
|
+
flex,
|
|
64
|
+
inline-flex,
|
|
65
|
+
grid,
|
|
66
|
+
inline-grid,
|
|
67
|
+
none
|
|
68
|
+
) !default;
|
|
69
|
+
|
|
70
|
+
// object-fit
|
|
71
|
+
$object-fit: (fill, contain, cover, none, scale-down) !default;
|
|
72
|
+
|
|
73
|
+
// object-position
|
|
74
|
+
$object-position: (
|
|
75
|
+
bottom: bottom,
|
|
76
|
+
center: center,
|
|
77
|
+
left: left,
|
|
78
|
+
left-bottom: left bottom,
|
|
79
|
+
left-top: left top,
|
|
80
|
+
right: right,
|
|
81
|
+
right-bottom: right bottom,
|
|
82
|
+
right-top: right top,
|
|
83
|
+
top: top,
|
|
84
|
+
) !default;
|
|
85
|
+
|
|
86
|
+
// position
|
|
87
|
+
$position: (static, fixed, absolute, relative, sticky) !default;
|
|
88
|
+
|
|
89
|
+
// visibility
|
|
90
|
+
$visibility: (
|
|
91
|
+
visible: visible,
|
|
92
|
+
invisible: hidden,
|
|
93
|
+
) !default;
|
|
94
|
+
|
|
95
|
+
// z-index
|
|
96
|
+
$z-index: (
|
|
97
|
+
dropdown: 1000,
|
|
98
|
+
sticky: 1020,
|
|
99
|
+
fixed: 1030,
|
|
100
|
+
modal-backdrop: 1040,
|
|
101
|
+
modal: 1050,
|
|
102
|
+
confirm-backdrop: 1060,
|
|
103
|
+
confirm: 1070,
|
|
104
|
+
popover: 1060,
|
|
105
|
+
tooltip: 1070,
|
|
106
|
+
toast: 1080,
|
|
107
|
+
notification-alert: 1090,
|
|
108
|
+
auto: 'auto',
|
|
109
|
+
) !default;
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
// width
|
|
2
|
+
$width: (
|
|
3
|
+
auto: auto,
|
|
4
|
+
1\/2: 50%,
|
|
5
|
+
1\/3: 33.3333%,
|
|
6
|
+
2\/3: 66.6667%,
|
|
7
|
+
1\/4: 25%,
|
|
8
|
+
2\/4: 50%,
|
|
9
|
+
3\/4: 75%,
|
|
10
|
+
1\/5: 20%,
|
|
11
|
+
2\/5: 40%,
|
|
12
|
+
3\/5: 60%,
|
|
13
|
+
4\/5: 80%,
|
|
14
|
+
1\/6: 16.6667%,
|
|
15
|
+
2\/6: 33.3333%,
|
|
16
|
+
3\/6: 50%,
|
|
17
|
+
4\/6: 66.6667%,
|
|
18
|
+
5\/6: 83.3333%,
|
|
19
|
+
1\/12: 8.3333%,
|
|
20
|
+
2\/12: 16.6667%,
|
|
21
|
+
3\/12: 25%,
|
|
22
|
+
4\/12: 33.3333%,
|
|
23
|
+
5\/12: 41.6667%,
|
|
24
|
+
6\/12: 50%,
|
|
25
|
+
7\/12: 58.3333%,
|
|
26
|
+
8\/12: 66.6667%,
|
|
27
|
+
9\/12: 75%,
|
|
28
|
+
10\/12: 83.3333%,
|
|
29
|
+
11\/12: 91.6667%,
|
|
30
|
+
full: 100%,
|
|
31
|
+
screen: 100vw,
|
|
32
|
+
min: min-content,
|
|
33
|
+
max: max-content,
|
|
34
|
+
fit: fit-content,
|
|
35
|
+
) !default;
|
|
36
|
+
|
|
37
|
+
// height
|
|
38
|
+
$height: (
|
|
39
|
+
auto: auto,
|
|
40
|
+
1\/2: 50%,
|
|
41
|
+
1\/3: 33.3333%,
|
|
42
|
+
2\/3: 66.6667%,
|
|
43
|
+
1\/4: 25%,
|
|
44
|
+
2\/4: 50%,
|
|
45
|
+
3\/4: 75%,
|
|
46
|
+
1\/5: 20%,
|
|
47
|
+
2\/5: 40%,
|
|
48
|
+
3\/5: 60%,
|
|
49
|
+
4\/5: 80%,
|
|
50
|
+
1\/6: 16.6667%,
|
|
51
|
+
2\/6: 33.3333%,
|
|
52
|
+
3\/6: 50%,
|
|
53
|
+
4\/6: 66.6667%,
|
|
54
|
+
5\/6: 83.3333%,
|
|
55
|
+
full: 100%,
|
|
56
|
+
screen: 100vh,
|
|
57
|
+
min: min-content,
|
|
58
|
+
max: max-content,
|
|
59
|
+
fit: fit-content,
|
|
60
|
+
) !default;
|
|
61
|
+
|
|
62
|
+
// max-width
|
|
63
|
+
$max-width: (
|
|
64
|
+
0: 0px,
|
|
65
|
+
none: none,
|
|
66
|
+
full: 100%,
|
|
67
|
+
min: min-content,
|
|
68
|
+
max: max-content,
|
|
69
|
+
fit: fit-content,
|
|
70
|
+
prose: 65ch,
|
|
71
|
+
) !default;
|
|
72
|
+
|
|
73
|
+
// max-height
|
|
74
|
+
$max-height: (
|
|
75
|
+
full: 100%,
|
|
76
|
+
screen: 100vh,
|
|
77
|
+
min: min-content,
|
|
78
|
+
max: max-content,
|
|
79
|
+
fit: fit-content,
|
|
80
|
+
) !default;
|
|
81
|
+
|
|
82
|
+
// min-width
|
|
83
|
+
$min-width: (
|
|
84
|
+
0: 0px,
|
|
85
|
+
full: 100%,
|
|
86
|
+
min: min-content,
|
|
87
|
+
max: max-content,
|
|
88
|
+
fit: fit-content,
|
|
89
|
+
) !default;
|
|
90
|
+
|
|
91
|
+
// min-height
|
|
92
|
+
$min-height: (
|
|
93
|
+
0: 0px,
|
|
94
|
+
full: 100%,
|
|
95
|
+
screen: 100vh,
|
|
96
|
+
min: min-content,
|
|
97
|
+
max: max-content,
|
|
98
|
+
fit: fit-content,
|
|
99
|
+
) !default;
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
// static spacing
|
|
2
|
+
$spacing: (
|
|
3
|
+
0: 0,
|
|
4
|
+
px: 1px,
|
|
5
|
+
1: 0.0625rem,
|
|
6
|
+
2: 0.125rem,
|
|
7
|
+
4: 0.25rem,
|
|
8
|
+
6: 0.375rem,
|
|
9
|
+
8: 0.5rem,
|
|
10
|
+
10: 0.625rem,
|
|
11
|
+
12: 0.75rem,
|
|
12
|
+
14: 0.875rem,
|
|
13
|
+
16: 1rem,
|
|
14
|
+
20: 1.25rem,
|
|
15
|
+
22: 1.375rem,
|
|
16
|
+
24: 1.5rem,
|
|
17
|
+
26: 1.625rem,
|
|
18
|
+
28: 1.75rem,
|
|
19
|
+
32: 2rem,
|
|
20
|
+
34: 2.125rem,
|
|
21
|
+
36: 2.25rem,
|
|
22
|
+
38: 2.375rem,
|
|
23
|
+
40: 2.5rem,
|
|
24
|
+
44: 2.75rem,
|
|
25
|
+
48: 3rem,
|
|
26
|
+
50: 3.125rem,
|
|
27
|
+
56: 3.5rem,
|
|
28
|
+
64: 4rem,
|
|
29
|
+
80: 5rem,
|
|
30
|
+
96: 6rem,
|
|
31
|
+
100: 6.25rem,
|
|
32
|
+
112: 7rem,
|
|
33
|
+
128: 8rem,
|
|
34
|
+
144: 9rem,
|
|
35
|
+
150: 9.375rem,
|
|
36
|
+
160: 10rem,
|
|
37
|
+
176: 11rem,
|
|
38
|
+
192: 12rem,
|
|
39
|
+
208: 13rem,
|
|
40
|
+
224: 14rem,
|
|
41
|
+
240: 15rem,
|
|
42
|
+
256: 16rem,
|
|
43
|
+
288: 18rem,
|
|
44
|
+
300: 18.75rem,
|
|
45
|
+
320: 20rem,
|
|
46
|
+
384: 24rem,
|
|
47
|
+
) !default;
|
|
48
|
+
|
|
49
|
+
// dynamic spacing
|
|
50
|
+
// could be a static reference or a custom value
|
|
51
|
+
$spacing-dynamic: (
|
|
52
|
+
xs: (
|
|
53
|
+
xxs: 6,
|
|
54
|
+
sm: 8,
|
|
55
|
+
lg: 10,
|
|
56
|
+
),
|
|
57
|
+
sm: (
|
|
58
|
+
xxs: 10,
|
|
59
|
+
sm: 12,
|
|
60
|
+
lg: 14,
|
|
61
|
+
),
|
|
62
|
+
md: (
|
|
63
|
+
xxs: 12,
|
|
64
|
+
sm: 14,
|
|
65
|
+
lg: 16,
|
|
66
|
+
),
|
|
67
|
+
lg: (
|
|
68
|
+
xxs: 16,
|
|
69
|
+
sm: 22,
|
|
70
|
+
lg: 36,
|
|
71
|
+
),
|
|
72
|
+
xl: (
|
|
73
|
+
xxs: 24,
|
|
74
|
+
sm: 36,
|
|
75
|
+
lg: 48,
|
|
76
|
+
),
|
|
77
|
+
) !default;
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
// font-variables
|
|
2
|
+
$font-family-sans: 'ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"' !default;
|
|
3
|
+
$font-family-serif: 'ui-serif, Georgia, Cambria, "Times New Roman", Times, serif' !default;
|
|
4
|
+
$font-family-mono: 'ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace' !default;
|
|
5
|
+
|
|
6
|
+
// font-family
|
|
7
|
+
$font-family: (
|
|
8
|
+
sans: $font-family-sans,
|
|
9
|
+
serif: $font-family-serif,
|
|
10
|
+
mono: $font-family-mono,
|
|
11
|
+
) !default;
|
|
12
|
+
|
|
13
|
+
// font-size static
|
|
14
|
+
$font-size: (
|
|
15
|
+
smaller: smaller,
|
|
16
|
+
larger: larger,
|
|
17
|
+
6: 0.375rem,
|
|
18
|
+
8: 0.5rem,
|
|
19
|
+
10: 0.625rem,
|
|
20
|
+
12: 0.75rem,
|
|
21
|
+
14: 0.875rem,
|
|
22
|
+
16: 1rem,
|
|
23
|
+
18: 1.125rem,
|
|
24
|
+
20: 1.25rem,
|
|
25
|
+
22: 1.375rem,
|
|
26
|
+
24: 1.5rem,
|
|
27
|
+
26: 1.625rem,
|
|
28
|
+
28: 1.75rem,
|
|
29
|
+
30: 1.875rem,
|
|
30
|
+
32: 2rem,
|
|
31
|
+
34: 2.125rem,
|
|
32
|
+
36: 2.25rem,
|
|
33
|
+
48: 3rem,
|
|
34
|
+
60: 3.75rem,
|
|
35
|
+
72: 4.5rem,
|
|
36
|
+
96: 6rem,
|
|
37
|
+
128: 8rem,
|
|
38
|
+
) !default;
|
|
39
|
+
|
|
40
|
+
// font-size dynamic
|
|
41
|
+
// could be a static reference or a custom value
|
|
42
|
+
$font-size-dynamic: (
|
|
43
|
+
xs: (
|
|
44
|
+
xxs: 10,
|
|
45
|
+
sm: 12,
|
|
46
|
+
lg: 14,
|
|
47
|
+
),
|
|
48
|
+
sm: (
|
|
49
|
+
xxs: 12,
|
|
50
|
+
sm: 14,
|
|
51
|
+
lg: 16,
|
|
52
|
+
),
|
|
53
|
+
md: (
|
|
54
|
+
xxs: 14,
|
|
55
|
+
sm: 16,
|
|
56
|
+
lg: 18,
|
|
57
|
+
),
|
|
58
|
+
lg: (
|
|
59
|
+
xxs: 16,
|
|
60
|
+
sm: 18,
|
|
61
|
+
lg: 20,
|
|
62
|
+
),
|
|
63
|
+
xl: (
|
|
64
|
+
xxs: 18,
|
|
65
|
+
sm: 20,
|
|
66
|
+
lg: 22,
|
|
67
|
+
),
|
|
68
|
+
) !default;
|
|
69
|
+
|
|
70
|
+
// font-weight
|
|
71
|
+
$font-weight: (
|
|
72
|
+
thin: 100,
|
|
73
|
+
extralight: 200,
|
|
74
|
+
light: 300,
|
|
75
|
+
normal: 400,
|
|
76
|
+
medium: 500,
|
|
77
|
+
semibold: 600,
|
|
78
|
+
bold: 700,
|
|
79
|
+
extrabold: 800,
|
|
80
|
+
black: 900,
|
|
81
|
+
) !default;
|
|
82
|
+
|
|
83
|
+
// line-height (leading)
|
|
84
|
+
$line-height: (
|
|
85
|
+
none: 1,
|
|
86
|
+
tight: 1.25,
|
|
87
|
+
snug: 1.375,
|
|
88
|
+
normal: 1.5,
|
|
89
|
+
relaxed: 1.625,
|
|
90
|
+
loose: 2,
|
|
91
|
+
) !default;
|
|
92
|
+
|
|
93
|
+
// letter-spacing (tracking)
|
|
94
|
+
$letter-spacing: (
|
|
95
|
+
tighter: -0.05em,
|
|
96
|
+
tight: -0.025em,
|
|
97
|
+
normal: 0em,
|
|
98
|
+
wide: 0.025em,
|
|
99
|
+
wider: 0.05em,
|
|
100
|
+
widest: 0.1em,
|
|
101
|
+
) !default;
|
|
102
|
+
|
|
103
|
+
// font-variant-numeric
|
|
104
|
+
$font-variant-numeric: (
|
|
105
|
+
normal-nums: normal,
|
|
106
|
+
ordinal: ordinal,
|
|
107
|
+
slashed-zero: slashed-zero,
|
|
108
|
+
lining-nums: lining-nums,
|
|
109
|
+
oldstyle-nums: oldstyle-nums,
|
|
110
|
+
proportional-nums: proportional-nums,
|
|
111
|
+
tabular-nums: tabular-nums,
|
|
112
|
+
diagonal-fractions: diagonal-fractions,
|
|
113
|
+
stacked-fractions: stacked-fractions,
|
|
114
|
+
) !default;
|
|
115
|
+
|
|
116
|
+
// list-style-type
|
|
117
|
+
$list-style-type: (none, disc, decimal) !default;
|
|
118
|
+
|
|
119
|
+
// list-style-position
|
|
120
|
+
$list-style-position: (inside, outside) !default;
|
|
121
|
+
|
|
122
|
+
// text-align
|
|
123
|
+
$text-align: (left, center, right, justify, start, end) !default;
|
|
124
|
+
|
|
125
|
+
// text-decorator-line
|
|
126
|
+
$text-decorator-line: (
|
|
127
|
+
underline: underline,
|
|
128
|
+
overline: overline,
|
|
129
|
+
line-through: line-through,
|
|
130
|
+
no-underline: none,
|
|
131
|
+
) !default;
|
|
132
|
+
|
|
133
|
+
// text-decorator-style
|
|
134
|
+
$text-decorator-style: (solid, double, dotted, dashed, wavy) !default;
|
|
135
|
+
|
|
136
|
+
// text-decorator-thickness
|
|
137
|
+
$text-decorator-thickness: (
|
|
138
|
+
auto: auto,
|
|
139
|
+
from-font: from-font,
|
|
140
|
+
0: 0px,
|
|
141
|
+
1: 1px,
|
|
142
|
+
2: 2px,
|
|
143
|
+
4: 4px,
|
|
144
|
+
8: 8px,
|
|
145
|
+
) !default;
|
|
146
|
+
|
|
147
|
+
// text-underline-offset
|
|
148
|
+
$text-underline-offset: (
|
|
149
|
+
auto: auto,
|
|
150
|
+
from-font: from-font,
|
|
151
|
+
0: 0px,
|
|
152
|
+
1: 1px,
|
|
153
|
+
2: 2px,
|
|
154
|
+
4: 4px,
|
|
155
|
+
8: 8px,
|
|
156
|
+
) !default;
|
|
157
|
+
|
|
158
|
+
// text-transform
|
|
159
|
+
$text-transform: (
|
|
160
|
+
uppercase: uppercase,
|
|
161
|
+
lowercase: lowercase,
|
|
162
|
+
capitalize: capitalize,
|
|
163
|
+
normal-case: none,
|
|
164
|
+
) !default;
|
|
165
|
+
|
|
166
|
+
// vertical-align
|
|
167
|
+
$vertical-align: (
|
|
168
|
+
baseline,
|
|
169
|
+
top,
|
|
170
|
+
middle,
|
|
171
|
+
bottom,
|
|
172
|
+
text-top,
|
|
173
|
+
text-bottom,
|
|
174
|
+
sub,
|
|
175
|
+
super
|
|
176
|
+
) !default;
|
|
177
|
+
|
|
178
|
+
// white-space
|
|
179
|
+
$white-space: (normal, nowrap, pre, pre-line, pre-wrap) !default;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
$vv-badge: (
|
|
2
|
+
border-radius: 1.0465em,
|
|
3
|
+
background: var(--color-brand),
|
|
4
|
+
color: var(--color-white),
|
|
5
|
+
font-size: 0.6em,
|
|
6
|
+
height: 2.093em,
|
|
7
|
+
min-width: 2.093em,
|
|
8
|
+
padding: 0.37em 0.475em,
|
|
9
|
+
display: inline-flex,
|
|
10
|
+
justify-content: center,
|
|
11
|
+
font-weight: normal,
|
|
12
|
+
font-family: var(--font-sans),
|
|
13
|
+
text-shadow: none,
|
|
14
|
+
state: (
|
|
15
|
+
empty: (
|
|
16
|
+
font-size: inherit,
|
|
17
|
+
width: 0.5em,
|
|
18
|
+
height: 0.5em,
|
|
19
|
+
min-width: 0,
|
|
20
|
+
border-radius: 0.25em,
|
|
21
|
+
padding: 0,
|
|
22
|
+
),
|
|
23
|
+
),
|
|
24
|
+
modifier: (
|
|
25
|
+
white: (
|
|
26
|
+
background: alpha-color('white', 80%),
|
|
27
|
+
color: var(--color-black),
|
|
28
|
+
),
|
|
29
|
+
black: (
|
|
30
|
+
background: alpha-color('black', 80%),
|
|
31
|
+
color: var(--color-white),
|
|
32
|
+
),
|
|
33
|
+
danger: (
|
|
34
|
+
background: var(--color-danger),
|
|
35
|
+
),
|
|
36
|
+
success: (
|
|
37
|
+
background: var(--color-success),
|
|
38
|
+
),
|
|
39
|
+
warning: (
|
|
40
|
+
background: var(--color-warning),
|
|
41
|
+
),
|
|
42
|
+
),
|
|
43
|
+
) !default;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
$vv-button-group: (
|
|
2
|
+
display: inline-flex,
|
|
3
|
+
align-items: center,
|
|
4
|
+
gap: var(--spacing-4),
|
|
5
|
+
modifier: (
|
|
6
|
+
block: (
|
|
7
|
+
display: flex,
|
|
8
|
+
width: 100%,
|
|
9
|
+
),
|
|
10
|
+
vertical: (
|
|
11
|
+
display: inline-flex,
|
|
12
|
+
flex-direction: column,
|
|
13
|
+
align-items: normal,
|
|
14
|
+
),
|
|
15
|
+
compact: (
|
|
16
|
+
gap: 0,
|
|
17
|
+
align-items: normal,
|
|
18
|
+
),
|
|
19
|
+
),
|
|
20
|
+
) !default;
|