@volverjs/style 0.1.2-beta.22 → 0.1.2-beta.24

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.
Files changed (117) hide show
  1. package/README.md +16 -15
  2. package/dist/components/vv-badge.css +1 -1
  3. package/dist/components/vv-button.css +1 -1
  4. package/dist/components/vv-input-checkbox-group.css +1 -1
  5. package/dist/components/vv-input-checkbox.css +1 -1
  6. package/dist/components/vv-input-radio-group.css +1 -1
  7. package/dist/components/vv-input-radio.css +1 -1
  8. package/dist/components/vv-input-text.css +1 -1
  9. package/dist/components/vv-nav.css +1 -1
  10. package/dist/components/vv-select.css +1 -1
  11. package/dist/components/vv-table.css +1 -1
  12. package/dist/components/vv-textarea.css +1 -1
  13. package/dist/components/vv-toast.css +1 -1
  14. package/dist/components.css +1 -1
  15. package/dist/export.css +1 -1
  16. package/dist/props/input.css +1 -1
  17. package/dist/props.css +1 -1
  18. package/dist/themes/dark/components.css +1 -1
  19. package/dist/themes/dark/volver.css +1 -1
  20. package/dist/utilities/effects.css +1 -1
  21. package/dist/utilities/layout.css +1 -1
  22. package/dist/utilities/sizing.css +1 -1
  23. package/dist/utilities/transitions.css +1 -0
  24. package/dist/utilities/typography.css +1 -1
  25. package/dist/utilities.css +1 -1
  26. package/dist/volver.css +1 -1
  27. package/package.json +15 -13
  28. package/src/_context.scss +3 -3
  29. package/src/_preflight.scss +1 -0
  30. package/src/components/index.scss +24 -24
  31. package/src/components/vv-accordion.scss +3 -2
  32. package/src/components/vv-alert.scss +3 -2
  33. package/src/components/vv-avatar.scss +3 -2
  34. package/src/components/vv-badge.scss +3 -2
  35. package/src/components/vv-breadcrumb.scss +3 -2
  36. package/src/components/vv-button-group.scss +3 -2
  37. package/src/components/vv-button.scss +3 -2
  38. package/src/components/vv-card.scss +3 -2
  39. package/src/components/vv-dialog.scss +3 -2
  40. package/src/components/vv-dropdown.scss +3 -2
  41. package/src/components/vv-input-checkbox-group.scss +3 -2
  42. package/src/components/vv-input-checkbox.scss +3 -2
  43. package/src/components/vv-input-radio-group.scss +3 -2
  44. package/src/components/vv-input-radio.scss +3 -2
  45. package/src/components/vv-input-text.scss +3 -2
  46. package/src/components/vv-nav.scss +3 -2
  47. package/src/components/vv-progress.scss +3 -2
  48. package/src/components/vv-select.scss +3 -2
  49. package/src/components/vv-tab.scss +3 -2
  50. package/src/components/vv-table.scss +3 -2
  51. package/src/components/vv-text.scss +3 -2
  52. package/src/components/vv-textarea.scss +3 -2
  53. package/src/components/vv-toast.scss +3 -2
  54. package/src/components/vv-tooltip.scss +3 -2
  55. package/src/export.scss +41 -4
  56. package/src/props/animation.scss +1 -1
  57. package/src/props/background.scss +1 -1
  58. package/src/props/borders.scss +1 -1
  59. package/src/props/colors.scss +1 -1
  60. package/src/props/effects.scss +1 -1
  61. package/src/props/filters.scss +1 -1
  62. package/src/props/index.scss +12 -12
  63. package/src/props/input.scss +1 -1
  64. package/src/props/layout.scss +1 -1
  65. package/src/props/media.scss +1 -1
  66. package/src/props/sizing.scss +1 -1
  67. package/src/props/spacing.scss +2 -2
  68. package/src/props/typography.scss +2 -2
  69. package/src/settings/_background.scss +3 -0
  70. package/src/settings/_breakpoints.scss +2 -0
  71. package/src/settings/_colors.scss +1 -0
  72. package/src/settings/_effects.scss +47 -2
  73. package/src/settings/_index.scss +39 -38
  74. package/src/settings/_input.scss +1 -0
  75. package/src/settings/_transitions.scss +41 -0
  76. package/src/settings/components/_vv-badge.scss +10 -3
  77. package/src/settings/components/_vv-button.scss +8 -6
  78. package/src/settings/components/_vv-input-checkbox-group.scss +1 -0
  79. package/src/settings/components/_vv-input-checkbox.scss +1 -0
  80. package/src/settings/components/_vv-input-radio-group.scss +2 -0
  81. package/src/settings/components/_vv-input-radio.scss +1 -0
  82. package/src/settings/components/_vv-input-text.scss +13 -1
  83. package/src/settings/components/_vv-nav.scss +0 -1
  84. package/src/settings/components/_vv-select.scss +1 -0
  85. package/src/settings/components/_vv-table.scss +6 -0
  86. package/src/settings/components/_vv-textarea.scss +1 -0
  87. package/src/settings/components/_vv-toast.scss +0 -1
  88. package/src/themes/dark/_context.scss +4 -4
  89. package/src/themes/dark/components/_vv-button.scss +1 -1
  90. package/src/themes/dark/components/index.scss +1 -2
  91. package/src/themes/dark/props/_background.scss +1 -1
  92. package/src/themes/dark/props/_colors.scss +1 -1
  93. package/src/themes/dark/props/index.scss +2 -2
  94. package/src/themes/dark/settings/_background.scss +3 -0
  95. package/src/themes/dark/settings/_colors.scss +2 -0
  96. package/src/themes/dark/settings/_index.scss +3 -4
  97. package/src/themes/dark/volver.scss +2 -2
  98. package/src/tools/_breakpoints.scss +7 -7
  99. package/src/tools/_index.scss +3 -3
  100. package/src/tools/_mixins.scss +50 -19
  101. package/src/utilities/animation.scss +3 -2
  102. package/src/utilities/backgrounds.scss +15 -8
  103. package/src/utilities/borders.scss +17 -9
  104. package/src/utilities/colors.scss +9 -5
  105. package/src/utilities/effects.scss +23 -5
  106. package/src/utilities/filters.scss +7 -4
  107. package/src/utilities/flexbox.scss +15 -8
  108. package/src/utilities/grid.scss +17 -9
  109. package/src/utilities/index.scss +13 -12
  110. package/src/utilities/layout.scss +26 -14
  111. package/src/utilities/sizing.scss +15 -8
  112. package/src/utilities/spacing.scss +1 -1
  113. package/src/utilities/transitions.scss +30 -0
  114. package/src/utilities/typography.scss +33 -17
  115. package/src/volver.scss +4 -4
  116. package/src/themes/dark/components/_vv-input-checkbox.scss +0 -22
  117. package/src/themes/dark/settings/components/_vv-input-checkbox.scss +0 -26
@@ -1,12 +1,12 @@
1
- @import 'animation';
2
- @import 'background';
3
- @import 'borders';
4
- @import 'colors';
5
- @import 'effects';
6
- @import 'filters';
7
- @import 'layout';
8
- @import 'media';
9
- @import 'spacing';
10
- @import 'typography';
11
- @import 'sizing';
12
- @import 'input';
1
+ @use 'animation';
2
+ @use 'background';
3
+ @use 'borders';
4
+ @use 'colors';
5
+ @use 'effects';
6
+ @use 'filters';
7
+ @use 'layout';
8
+ @use 'media';
9
+ @use 'spacing';
10
+ @use 'typography';
11
+ @use 'sizing';
12
+ @use 'input';
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  :where(:host, :root, .theme) {
4
4
  @include spread-map-into-props($map: $input, $prefix: input);
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  :where(:host, :root, .theme) {
4
4
  @include spread-map-into-props($map: $aspect-ratio, $prefix: aspect);
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  // motion
4
4
  @custom-media --motion-ok (prefers-reduced-motion: no-preference);
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  :where(:host, :root, .theme) {
4
4
  @include spread-map-into-props($width, $prefix: w);
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @import '../context';
2
+ @use '../context' as *;
3
3
 
4
4
  :where(:host, :root, .theme) {
5
5
  // static
@@ -11,7 +11,7 @@
11
11
  @each $name, $sizes in $spacing-dynamic {
12
12
  @each $breakpoint, $size in $sizes {
13
13
  @if map-has-key($breakpoints, $breakpoint) {
14
- @include media-breakpoint-up($breakpoint) {
14
+ @include media-breakpoint-up($breakpoint, $breakpoints) {
15
15
  $var: $size;
16
16
 
17
17
  // if is a static spacing
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  :where(:host, :root, .theme) {
4
4
  // font-family
@@ -22,7 +22,7 @@
22
22
  @each $name, $sizes in $font-size-dynamic {
23
23
  @each $breakpoint, $size in $sizes {
24
24
  @if map-has-key($breakpoints, $breakpoint) {
25
- @include media-breakpoint-up($breakpoint) {
25
+ @include media-breakpoint-up($breakpoint, $breakpoints) {
26
26
  $var: $size;
27
27
 
28
28
  // if is a static font-size
@@ -1,3 +1,6 @@
1
+ @use 'colors' as *;
2
+ @use '../tools/functions' as *;
3
+
1
4
  // background-attachment
2
5
  $background-attachment: (fixed, local, scroll) !default;
3
6
 
@@ -1,3 +1,5 @@
1
+ @use '../tools/mixins' as *;
2
+
1
3
  $breakpoints: (
2
4
  xxs: 0,
3
5
  xs: 360px,
@@ -1,5 +1,6 @@
1
1
  @use 'sass:color';
2
2
  @use 'sass:map';
3
+ @use '../tools/functions' as *;
3
4
 
4
5
  // color variables
5
6
  $color-scheme: light !default;
@@ -17,8 +17,33 @@ $box-shadow: (
17
17
  none: '0 0 #0000',
18
18
  ) !default;
19
19
 
20
- // blend-mode
21
- $blend-mode: (
20
+ // opacity
21
+ $opacity: (
22
+ 0: 0,
23
+ 5: 0.05,
24
+ 10: 0.1,
25
+ 15: 0.15,
26
+ 20: 0.2,
27
+ 25: 0.25,
28
+ 30: 0.3,
29
+ 35: 0.35,
30
+ 40: 0.4,
31
+ 45: 0.45,
32
+ 50: 0.5,
33
+ 55: 0.55,
34
+ 60: 0.6,
35
+ 65: 0.65,
36
+ 70: 0.7,
37
+ 75: 0.75,
38
+ 80: 0.8,
39
+ 85: 0.85,
40
+ 90: 0.9,
41
+ 95: 0.95,
42
+ 100: 1,
43
+ ) !default;
44
+
45
+ // mix blend-mode
46
+ $mix-blend-mode: (
22
47
  normal,
23
48
  multiply,
24
49
  screen,
@@ -37,3 +62,23 @@ $blend-mode: (
37
62
  luminosity,
38
63
  plus-lighter
39
64
  ) !default;
65
+
66
+ // background blend-mode
67
+ $background-blend-mode: (
68
+ normal,
69
+ multiply,
70
+ screen,
71
+ overlay,
72
+ darken,
73
+ lighten,
74
+ color-dodge,
75
+ color-burn,
76
+ hard-light,
77
+ soft-light,
78
+ difference,
79
+ exclusion,
80
+ hue,
81
+ saturation,
82
+ color,
83
+ luminosity
84
+ ) !default;
@@ -1,41 +1,42 @@
1
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';
2
+ @forward 'animation';
3
+ @forward 'borders';
4
+ @forward 'breakpoints';
5
+ @forward 'colors';
6
+ @forward 'layout';
7
+ @forward 'filters';
8
+ @forward 'flexbox';
9
+ @forward 'grid';
10
+ @forward 'sizing';
11
+ @forward 'spacing';
12
+ @forward 'typography';
13
+ @forward 'background';
14
+ @forward 'effects';
15
+ @forward 'input';
16
+ @forward 'transitions';
16
17
 
17
18
  // components
18
- @import 'components/vv-accordion';
19
- @import 'components/vv-alert';
20
- @import 'components/vv-badge';
21
- @import 'components/vv-breadcrumb';
22
- @import 'components/vv-button';
23
- @import 'components/vv-button-group';
24
- @import 'components/vv-card';
25
- @import 'components/vv-dialog';
26
- @import 'components/vv-dropdown';
27
- @import 'components/vv-input-checkbox-group';
28
- @import 'components/vv-input-checkbox';
29
- @import 'components/vv-input-radio-group';
30
- @import 'components/vv-input-radio';
31
- @import 'components/vv-avatar';
32
- @import 'components/vv-input-text';
33
- @import 'components/vv-nav';
34
- @import 'components/vv-progress';
35
- @import 'components/vv-select';
36
- @import 'components/vv-tab';
37
- @import 'components/vv-table';
38
- @import 'components/vv-text';
39
- @import 'components/vv-textarea';
40
- @import 'components/vv-toast';
41
- @import 'components/vv-tooltip';
19
+ @forward 'components/vv-accordion';
20
+ @forward 'components/vv-alert';
21
+ @forward 'components/vv-badge';
22
+ @forward 'components/vv-breadcrumb';
23
+ @forward 'components/vv-button';
24
+ @forward 'components/vv-button-group';
25
+ @forward 'components/vv-card';
26
+ @forward 'components/vv-dialog';
27
+ @forward 'components/vv-dropdown';
28
+ @forward 'components/vv-input-checkbox-group';
29
+ @forward 'components/vv-input-checkbox';
30
+ @forward 'components/vv-input-radio-group';
31
+ @forward 'components/vv-input-radio';
32
+ @forward 'components/vv-avatar';
33
+ @forward 'components/vv-input-text';
34
+ @forward 'components/vv-nav';
35
+ @forward 'components/vv-progress';
36
+ @forward 'components/vv-select';
37
+ @forward 'components/vv-tab';
38
+ @forward 'components/vv-table';
39
+ @forward 'components/vv-text';
40
+ @forward 'components/vv-textarea';
41
+ @forward 'components/vv-toast';
42
+ @forward 'components/vv-tooltip';
@@ -12,6 +12,7 @@ $input: (
12
12
  line-height: var(--leading-normal),
13
13
  font-size: var(--text-16),
14
14
  min-height: var(--spacing-50),
15
+ min-width: 0,
15
16
  label: (
16
17
  color: var(--color-word-3),
17
18
  display: block,
@@ -0,0 +1,41 @@
1
+ // transition property
2
+ $transition-property: (
3
+ none: none,
4
+ all: all,
5
+ transition:
6
+ 'color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter',
7
+ colors:
8
+ 'color, background-color, border-color, text-decoration-color, fill, stroke',
9
+ opacity: opacity,
10
+ shadow: box-shadow,
11
+ transform: transform,
12
+ ) !default;
13
+
14
+ // transition duration and transition delay
15
+ $transition-duration-delay: (
16
+ 75: 75ms,
17
+ 100: 100ms,
18
+ 150: 150ms,
19
+ 200: 200ms,
20
+ 300: 300ms,
21
+ 500: 500ms,
22
+ 700: 700ms,
23
+ 1000: 1000ms,
24
+ ) !default;
25
+
26
+ // transition timing function
27
+ $transition-timing-function: (
28
+ linear: linear,
29
+ in: cubic-bezier(0.4, 0, 1, 1),
30
+ out: cubic-bezier(0, 0, 0.2, 1),
31
+ in-out: cubic-bezier(0.4, 0, 0.2, 1),
32
+ ) !default;
33
+
34
+ // animation
35
+ $animation: (
36
+ none: none,
37
+ spin: spin 1s linear infinite,
38
+ ping: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite,
39
+ pulse: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite,
40
+ bounce: bounce 1s infinite,
41
+ ) !default;
@@ -10,7 +10,6 @@ $vv-badge: (
10
10
  [border-color]: var(--badge-background-color),
11
11
  border-style: solid,
12
12
  border-radius: 0.5em,
13
- line-height: 2em,
14
13
  min-height: 2em,
15
14
  min-width: 2em,
16
15
  padding: 0 0.5em,
@@ -50,11 +49,19 @@ $vv-badge: (
50
49
  [color]: var(--badge-background-color),
51
50
  ),
52
51
  white: (
53
- --badge-background-color: alpha-color('white', 80%),
52
+ --badge-background-color:
53
+ hsla(
54
+ var(--color-white-hue) var(--color-white-saturation)
55
+ var(--color-white-lightness) / 80%
56
+ ),
54
57
  --badge-color: var(--color-black),
55
58
  ),
56
59
  black: (
57
- --badge-background-color: alpha-color('black', 80%),
60
+ --badge-background-color:
61
+ hsla(
62
+ var(--color-black-hue) var(--color-black-saturation)
63
+ var(--color-black-lightness) / 80%
64
+ ),
58
65
  --badge-color: var(--color-white),
59
66
  ),
60
67
  danger: (
@@ -1,16 +1,17 @@
1
1
  $vv-button: (
2
2
  --button-border-width: var(--border-2),
3
+ --button-line-height: var(--leading-normal),
4
+ [border-width]: var(--button-border-width),
5
+ [line-height]: var(--button-line-height),
3
6
  position: relative,
4
7
  background: var(--color-brand),
5
8
  border-radius: 0.5ch,
6
- [border-width]: var(--button-border-width),
7
9
  border-style: solid,
8
10
  border-color: var(--color-brand),
9
11
  color: var(--color-white),
10
12
  font-family: var(--font-sans),
11
13
  font-weight: var(--font-semibold),
12
14
  gap: 1ch,
13
- line-height: var(--leading-normal),
14
15
  padding-block: 0.75ch,
15
16
  padding-inline: 1.75ch,
16
17
  text-shadow: 0 1px 0 var(--color-gray-darken-5),
@@ -51,6 +52,7 @@ $vv-button: (
51
52
  flex-shrink: 0,
52
53
  stroke-linecap: round,
53
54
  stroke-linejoin: round,
55
+ [min-height]: calc(var(--button-line-height) * 1em),
54
56
  ),
55
57
  label: (
56
58
  white-space: nowrap,
@@ -99,7 +101,7 @@ $vv-button: (
99
101
  background: var(--color-gray-lighten-3),
100
102
  ),
101
103
  selected: (
102
- background: var(--color-gray-lighten-3),
104
+ background: var(--color-gray-lighten-4),
103
105
  ),
104
106
  ),
105
107
  ),
@@ -216,14 +218,14 @@ $vv-button: (
216
218
  ),
217
219
  action: (
218
220
  --button-border-width: var(--border),
219
- font-size: 0.875em,
221
+ --button-line-height: var(--leading-snug),
222
+ font-size: var(--text-14),
220
223
  background: var(--color-surface-1),
221
224
  color: var(--color-word-1),
222
225
  border-color: var(--color-word-5),
223
226
  font-weight: var(--font-normal),
224
227
  padding-inline: 0.75ch,
225
228
  padding-block: 0.5ch,
226
- line-height: var(--leading-snug),
227
229
  text-shadow: none,
228
230
  state: (
229
231
  focus-visible: (
@@ -251,6 +253,7 @@ $vv-button: (
251
253
  ),
252
254
  action-quiet: (
253
255
  --button-border-width: var(--border),
256
+ --button-line-height: var(--leading-snug),
254
257
  font-size: var(--text-14),
255
258
  background: transparent,
256
259
  color: var(--color-word-1),
@@ -258,7 +261,6 @@ $vv-button: (
258
261
  font-weight: var(--font-normal),
259
262
  padding-inline: 0.75ch,
260
263
  padding-block: 0.5ch,
261
- line-height: var(--leading-snug),
262
264
  text-shadow: none,
263
265
  state: (
264
266
  focus-visible: (
@@ -2,6 +2,7 @@ $vv-input-checkbox-group: (
2
2
  display: var(--input-display),
3
3
  flex: var(--input-flex),
4
4
  flex-direction: var(--input-flex-direction),
5
+ min-width: var(--input-min-width),
5
6
  element: (
6
7
  legend: (
7
8
  _alias: '> legend',
@@ -8,6 +8,7 @@ $vv-input-checkbox: (
8
8
  color: var(--input-color),
9
9
  font-size: var(--input-font-size),
10
10
  line-height: var(--input-line-height),
11
+ min-width: var(--input-min-width),
11
12
  state: (
12
13
  disabled: (
13
14
  opacity: 0.3,
@@ -1 +1,3 @@
1
+ @use 'vv-input-checkbox-group' as *;
2
+
1
3
  $vv-input-radio-group: $vv-input-checkbox-group !default;
@@ -8,6 +8,7 @@ $vv-input-radio: (
8
8
  color: var(--input-color),
9
9
  font-size: var(--input-font-size),
10
10
  line-height: var(--input-line-height),
11
+ min-width: var(--input-min-width),
11
12
  state: (
12
13
  disabled: (
13
14
  opacity: 0.3,
@@ -5,6 +5,7 @@ $vv-input-text: (
5
5
  margin-bottom: var(--input-gap),
6
6
  font-size: var(--input-font-size),
7
7
  line-height: var(--input-line-height),
8
+ min-width: var(--input-min-width),
8
9
  element: (
9
10
  label: (
10
11
  _alias: '> label',
@@ -66,6 +67,7 @@ $vv-input-text: (
66
67
  [padding]: var(--input-padding-top) var(--input-padding-right)
67
68
  var(--input-padding-bottom) var(--input-padding-left),
68
69
  min-height: var(--input-min-height),
70
+ min-width: 0,
69
71
  pseudo: (
70
72
  placeholder: (
71
73
  color: var(--input-placeholder-color),
@@ -78,7 +80,11 @@ $vv-input-text: (
78
80
  opacity: 0,
79
81
  ),
80
82
  search-cancel-button: (
81
- display: none,
83
+ position: absolute,
84
+ padding: var(--spacing-sm),
85
+ top: 0,
86
+ right: 0,
87
+ opacity: 0,
82
88
  ),
83
89
  color-swatch: (
84
90
  height: var(--spacing-20),
@@ -90,6 +96,12 @@ $vv-input-text: (
90
96
  inner-spin-button: (
91
97
  display: none,
92
98
  ),
99
+ datetime-edit-fields-wrapper: (
100
+ padding: 0,
101
+ ),
102
+ datetime-edit-day-field: (
103
+ padding: 0,
104
+ ),
93
105
  ),
94
106
  state: (
95
107
  disabled: (
@@ -13,7 +13,6 @@ $vv-nav: (
13
13
  _alias: 'li',
14
14
  ),
15
15
  heading-label: (
16
- _alias: '[aria-hidden="true"]',
17
16
  display: block,
18
17
  font-weight: var(--font-semibold),
19
18
  [padding]: var(--nav-item-padding),
@@ -6,6 +6,7 @@ $vv-select: (
6
6
  font-size: var(--input-font-size),
7
7
  line-height: var(--input-line-height),
8
8
  user-select: none,
9
+ min-width: var(--input-min-width),
9
10
  element: (
10
11
  label: (
11
12
  _alias: '> label',
@@ -4,6 +4,10 @@ $vv-table: (
4
4
  border-collapse: collapse,
5
5
  border-color: var(--color-surface-5),
6
6
  element: (
7
+ caption: (
8
+ _alias: 'caption',
9
+ caption-side: bottom,
10
+ ),
7
11
  tr: (
8
12
  _alias: 'tr',
9
13
  border-width: 0 0 1px 0,
@@ -24,12 +28,14 @@ $vv-table: (
24
28
  font-weight: semibold,
25
29
  font-size: var(--text-sm),
26
30
  color: var(--color-word-2),
31
+ vertical-align: middle,
27
32
  [padding]: var(--table-cell-padding),
28
33
  ),
29
34
  td: (
30
35
  _alias: 'td',
31
36
  border-style: solid,
32
37
  font-size: var(--text-xs),
38
+ vertical-align: middle,
33
39
  [padding]: var(--table-cell-padding),
34
40
  ),
35
41
  ),
@@ -5,6 +5,7 @@ $vv-textarea: (
5
5
  margin-bottom: var(--input-gap),
6
6
  font-size: var(--input-font-size),
7
7
  line-height: var(--input-line-height),
8
+ min-width: var(--input-min-width),
8
9
  element: (
9
10
  label: (
10
11
  _alias: '> label',
@@ -93,7 +93,6 @@ $vv-toast: (
93
93
  [animation]: pie-masks var(--toast-pie-animation-duration)
94
94
  steps(1, end) reverse,
95
95
  z-index: 1,
96
- opactiy: 1,
97
96
  ),
98
97
  ),
99
98
  modifier: (
@@ -1,11 +1,11 @@
1
1
  // configuration
2
- @import '../../config';
2
+ @forward '../../config';
3
3
 
4
4
  // tools (mixins, functions, recipes)
5
- @import '../../tools';
5
+ @forward '../../tools';
6
6
 
7
7
  // main settings
8
- @import '../../settings';
8
+ @forward '../../settings';
9
9
 
10
10
  // theme settings
11
- @import 'settings';
11
+ @forward 'settings';
@@ -1,5 +1,5 @@
1
1
  @use 'sass:map';
2
- @import '../context';
2
+ @use '../context' as *;
3
3
 
4
4
  $component-name: map.get($components-names, vv-button);
5
5
  $component-map: $dark-vv-button;
@@ -1,2 +1 @@
1
- @import 'vv-button';
2
- @import 'vv-input-checkbox';
1
+ @use 'vv-button';
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  @mixin theme-dark-bg {
4
4
  @include spread-map-into-props($dark-background-image, 'bg');
@@ -1,4 +1,4 @@
1
- @import '../context';
1
+ @use '../context' as *;
2
2
 
3
3
  @mixin theme-dark-colors {
4
4
  @include spread-map-into-props($dark-colors, 'color');
@@ -1,2 +1,2 @@
1
- @import 'background';
2
- @import 'colors';
1
+ @use 'background';
2
+ @use 'colors';
@@ -1,3 +1,6 @@
1
+ @use 'colors' as *;
2
+ @use '../../../tools/functions' as *;
3
+
1
4
  // background-image
2
5
  $dark-background-image: (
3
6
  none: none,
@@ -1,5 +1,7 @@
1
1
  @use 'sass:color';
2
2
  @use 'sass:map';
3
+ @use '../../../tools/functions' as *;
4
+ @use '../../../settings/colors' as *;
3
5
 
4
6
  $dark-color-scheme: dark !default;
5
7
  $dark-color-brand: #1976d2 !default;
@@ -1,5 +1,4 @@
1
- @import 'colors';
2
- @import 'background';
1
+ @forward 'colors';
2
+ @forward 'background';
3
3
 
4
- @import 'components/vv-button';
5
- @import 'components/vv-input-checkbox';
4
+ @forward 'components/vv-button';
@@ -1,5 +1,5 @@
1
1
  // props
2
- @import 'props';
2
+ @use 'props';
3
3
 
4
4
  // components
5
- @import 'components';
5
+ @use 'components';