@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.
Files changed (115) hide show
  1. package/README.md +6 -4
  2. package/dist/base.css +1 -1
  3. package/dist/components/vv-accordion-group.css +1 -1
  4. package/dist/components/vv-accordion.css +1 -1
  5. package/dist/components/vv-alert-group.css +1 -1
  6. package/dist/components/vv-alert.css +1 -1
  7. package/dist/components/vv-avatar-group.css +1 -1
  8. package/dist/components/vv-avatar.css +1 -1
  9. package/dist/components/vv-badge.css +1 -1
  10. package/dist/components/vv-breadcrumb.css +1 -1
  11. package/dist/components/vv-button-group.css +1 -1
  12. package/dist/components/vv-button.css +1 -1
  13. package/dist/components/vv-card.css +1 -1
  14. package/dist/components/vv-checkbox-group.css +1 -1
  15. package/dist/components/vv-checkbox.css +1 -1
  16. package/dist/components/vv-dialog.css +1 -1
  17. package/dist/components/vv-dropdown-option.css +1 -1
  18. package/dist/components/vv-dropdown.css +1 -1
  19. package/dist/components/vv-input-file.css +1 -0
  20. package/dist/components/vv-input-text.css +1 -1
  21. package/dist/components/vv-nav.css +1 -1
  22. package/dist/components/vv-progress.css +1 -1
  23. package/dist/components/vv-radio-group.css +1 -1
  24. package/dist/components/vv-radio.css +1 -1
  25. package/dist/components/vv-select.css +1 -1
  26. package/dist/components/vv-table.css +1 -1
  27. package/dist/components/vv-text.css +1 -1
  28. package/dist/components/vv-textarea.css +1 -1
  29. package/dist/components/vv-tooltip.css +1 -1
  30. package/dist/components.css +1 -1
  31. package/dist/export.css +1 -1
  32. package/dist/props/background.css +1 -1
  33. package/dist/props/colors.css +1 -1
  34. package/dist/props/filters.css +1 -1
  35. package/dist/props/input.css +1 -1
  36. package/dist/props/layout.css +1 -1
  37. package/dist/props/transitions.css +1 -1
  38. package/dist/props.css +1 -1
  39. package/dist/reset.css +1 -1
  40. package/dist/themes/dark/components.css +1 -1
  41. package/dist/themes/dark/props.css +1 -1
  42. package/dist/themes/dark/volver.css +1 -1
  43. package/dist/utilities/backgrounds.css +1 -1
  44. package/dist/utilities/colors.css +1 -1
  45. package/dist/utilities/filters.css +1 -1
  46. package/dist/utilities/layout.css +1 -1
  47. package/dist/utilities/transforms.css +1 -1
  48. package/dist/utilities/transitions.css +1 -1
  49. package/dist/utilities/typography.css +1 -1
  50. package/dist/utilities.css +1 -1
  51. package/dist/volver.css +1 -1
  52. package/package.json +30 -27
  53. package/src/_config.scss +10 -9
  54. package/src/_preflight.scss +15 -0
  55. package/src/components/index.scss +1 -0
  56. package/src/components/vv-button-group.scss +6 -6
  57. package/src/components/vv-button.scss +1 -12
  58. package/src/components/vv-input-file.scss +93 -0
  59. package/src/components/vv-input-text.scss +54 -11
  60. package/src/components/vv-select.scss +53 -10
  61. package/src/components/vv-textarea.scss +53 -10
  62. package/src/export.scss +17 -32
  63. package/src/props/background.scss +1 -0
  64. package/src/props/transitions.scss +28 -9
  65. package/src/settings/_background.scss +228 -0
  66. package/src/settings/_colors.scss +16 -53
  67. package/src/settings/_effects.scss +0 -18
  68. package/src/settings/_filters.scss +15 -0
  69. package/src/settings/_index.scss +1 -0
  70. package/src/settings/_input.scss +5 -4
  71. package/src/settings/_layout.scss +1 -0
  72. package/src/settings/_transitions.scss +2 -1
  73. package/src/settings/components/_vv-accordion.scss +10 -10
  74. package/src/settings/components/_vv-alert-group.scss +24 -21
  75. package/src/settings/components/_vv-alert.scss +83 -83
  76. package/src/settings/components/_vv-avatar.scss +52 -54
  77. package/src/settings/components/_vv-badge.scss +65 -27
  78. package/src/settings/components/_vv-breadcrumb.scss +1 -1
  79. package/src/settings/components/_vv-button.scss +10 -5
  80. package/src/settings/components/_vv-checkbox-group.scss +1 -0
  81. package/src/settings/components/_vv-checkbox.scss +2 -2
  82. package/src/settings/components/_vv-dialog.scss +8 -5
  83. package/src/settings/components/_vv-dropdown-option.scss +2 -2
  84. package/src/settings/components/_vv-dropdown.scss +95 -9
  85. package/src/settings/components/_vv-input-file.scss +474 -0
  86. package/src/settings/components/_vv-input-text.scss +8 -7
  87. package/src/settings/components/_vv-nav.scss +10 -9
  88. package/src/settings/components/_vv-progress.scss +2 -0
  89. package/src/settings/components/_vv-radio.scss +5 -4
  90. package/src/settings/components/_vv-select.scss +9 -7
  91. package/src/settings/components/_vv-table.scss +19 -1
  92. package/src/settings/components/_vv-text.scss +1 -0
  93. package/src/settings/components/_vv-textarea.scss +7 -6
  94. package/src/settings/components/_vv-tooltip.scss +11 -8
  95. package/src/themes/dark/components/_vv-avatar.scss +22 -0
  96. package/src/themes/dark/components/_vv-badge.scss +22 -0
  97. package/src/themes/dark/components/_vv-dropdown-action.scss +22 -0
  98. package/src/themes/dark/components/_vv-dropdown-option.scss +22 -0
  99. package/src/themes/dark/components/_vv-nav.scss +22 -0
  100. package/src/themes/dark/components/index.scss +6 -1
  101. package/src/themes/dark/settings/_background.scss +2 -0
  102. package/src/themes/dark/settings/_colors.scss +4 -38
  103. package/src/themes/dark/settings/_index.scss +6 -1
  104. package/src/themes/dark/settings/components/_vv-alert.scss +1 -1
  105. package/src/themes/dark/settings/components/_vv-avatar.scss +27 -0
  106. package/src/themes/dark/settings/components/_vv-badge.scss +50 -0
  107. package/src/themes/dark/settings/components/_vv-button.scss +13 -8
  108. package/src/themes/dark/settings/components/_vv-dropdown-action.scss +3 -0
  109. package/src/themes/dark/settings/components/_vv-dropdown-option.scss +19 -0
  110. package/src/themes/dark/settings/components/_vv-nav.scss +15 -0
  111. package/src/tools/_functions.scss +26 -13
  112. package/src/tools/_mixins.scss +44 -2
  113. package/src/utilities/backgrounds.scss +14 -4
  114. package/src/utilities/transforms.scss +9 -9
  115. package/src/utilities/typography.scss +10 -0
@@ -12,6 +12,7 @@ $vv-select: (
12
12
  _alias: '> label',
13
13
  display: var(--input-label-display),
14
14
  font-size: var(--input-label-font-size),
15
+ font-weight: var(--input-label-font-weight),
15
16
  color: var(--input-label-color),
16
17
  margin: 0 0 var(--input-label-gap) 0,
17
18
  white-space: var(--input-label-white-space),
@@ -39,7 +40,7 @@ $vv-select: (
39
40
  height: var(--spacing-2),
40
41
  inset: auto 0 0 0,
41
42
  background: var(--color-brand),
42
- transform: scaleX(0),
43
+ scale: 0 1,
43
44
  transform-origin: left,
44
45
  will-change: transform,
45
46
  transition: var(--transition-transform),
@@ -53,7 +54,7 @@ $vv-select: (
53
54
  background-color: var(--input-background-color-focus),
54
55
  pseudo: (
55
56
  after: (
56
- transform: scaleX(1),
57
+ scale: 1,
57
58
  ),
58
59
  ),
59
60
  ),
@@ -61,7 +62,7 @@ $vv-select: (
61
62
  background-color: var(--input-background-color-focus),
62
63
  pseudo: (
63
64
  after: (
64
- transform: scaleX(1),
65
+ scale: 1,
65
66
  ),
66
67
  ),
67
68
  ),
@@ -72,6 +73,7 @@ $vv-select: (
72
73
  display: flex,
73
74
  flex: 1,
74
75
  width: 100%,
76
+ min-width: 0,
75
77
  ),
76
78
  value: (
77
79
  text-overflow: var(--input-text-overflow),
@@ -197,7 +199,7 @@ $vv-select: (
197
199
  pseudo: (
198
200
  after: (
199
201
  background: var(--input-valid-color),
200
- transform: scaleX(1),
202
+ scale: 1,
201
203
  ),
202
204
  ),
203
205
  ),
@@ -215,7 +217,7 @@ $vv-select: (
215
217
  pseudo: (
216
218
  after: (
217
219
  background: var(--input-invalid-color),
218
- transform: scaleX(1),
220
+ scale: 1,
219
221
  ),
220
222
  ),
221
223
  ),
@@ -273,7 +275,7 @@ $vv-select: (
273
275
  focus-within: (
274
276
  element: (
275
277
  label: (
276
- transform: var(--input-floating-label-transform),
278
+ translate: var(--input-floating-label-translate),
277
279
  font-size: var(--input-floating-label-font-size),
278
280
  ),
279
281
  input: (
@@ -289,7 +291,7 @@ $vv-select: (
289
291
  dirty: (
290
292
  element: (
291
293
  label: (
292
- transform: var(--input-floating-label-transform),
294
+ translate: var(--input-floating-label-translate),
293
295
  font-size: var(--input-floating-label-font-size),
294
296
  ),
295
297
  input: (
@@ -29,6 +29,10 @@ $vv-table: (
29
29
  ),
30
30
  ),
31
31
  ),
32
+ tfoot-tr: (
33
+ _alias: 'tfoot > tr',
34
+ border-width: 1px 0 0 0,
35
+ ),
32
36
  th: (
33
37
  _alias: 'th',
34
38
  font-weight: var(--font-semibold),
@@ -48,7 +52,21 @@ $vv-table: (
48
52
  modifier: (
49
53
  inline-spacing: (
50
54
  --table-cell-padding: var(--spacing-md),
51
- border-width: 0,
55
+ ),
56
+ bordered: (
57
+ --table-cell-padding: var(--spacing-md),
58
+ element: (
59
+ th: (
60
+ border-width: 1px,
61
+ border-style: solid,
62
+ border-color: var(--color-surface-5),
63
+ ),
64
+ td: (
65
+ border-width: 1px,
66
+ border-style: solid,
67
+ border-color: var(--color-surface-5),
68
+ ),
69
+ ),
52
70
  ),
53
71
  ),
54
72
  ) !default;
@@ -6,6 +6,7 @@ $vv-text: (
6
6
  headline: (
7
7
  font-weight: var(--font-semibold),
8
8
  line-height: var(--leading-tight),
9
+ letter-spacing: var(--tracking-tight),
9
10
  margin-top: var(--spacing-24),
10
11
  margin-bottom: var(--spacing-16),
11
12
  ),
@@ -11,6 +11,7 @@ $vv-textarea: (
11
11
  _alias: '> label',
12
12
  display: var(--input-label-display),
13
13
  font-size: var(--input-label-font-size),
14
+ font-weight: var(--input-label-font-weight),
14
15
  color: var(--input-label-color),
15
16
  margin: 0 0 var(--input-label-gap) 0,
16
17
  white-space: var(--input-label-white-space),
@@ -52,7 +53,7 @@ $vv-textarea: (
52
53
  height: var(--spacing-2),
53
54
  inset: auto 0 0 0,
54
55
  background: var(--color-brand),
55
- transform: scaleX(0),
56
+ scale: 0 1,
56
57
  transform-origin: left,
57
58
  will-change: transform,
58
59
  transition: var(--transition-transform),
@@ -66,7 +67,7 @@ $vv-textarea: (
66
67
  background-color: var(--input-background-color-focus),
67
68
  pseudo: (
68
69
  after: (
69
- transform: scaleX(1),
70
+ scale: 1,
70
71
  ),
71
72
  ),
72
73
  ),
@@ -160,7 +161,7 @@ $vv-textarea: (
160
161
  pseudo: (
161
162
  after: (
162
163
  background: var(--input-valid-color),
163
- transform: scaleX(1),
164
+ scale: 1,
164
165
  ),
165
166
  ),
166
167
  ),
@@ -181,7 +182,7 @@ $vv-textarea: (
181
182
  pseudo: (
182
183
  after: (
183
184
  background: var(--input-invalid-color),
184
- transform: scaleX(1),
185
+ scale: 1,
185
186
  ),
186
187
  ),
187
188
  ),
@@ -249,7 +250,7 @@ $vv-textarea: (
249
250
  focus-within: (
250
251
  element: (
251
252
  label: (
252
- transform: var(--input-floating-label-transform),
253
+ translate: var(--input-floating-label-translate),
253
254
  font-size: var(--input-floating-label-font-size),
254
255
  ),
255
256
  input: (
@@ -267,7 +268,7 @@ $vv-textarea: (
267
268
  dirty: (
268
269
  element: (
269
270
  label: (
270
- transform: var(--input-floating-label-transform),
271
+ translate: var(--input-floating-label-translate),
271
272
  font-size: var(--input-floating-label-font-size),
272
273
  ),
273
274
  input: (
@@ -4,7 +4,7 @@ $vv-tooltip: (
4
4
  position: absolute,
5
5
  inset-inline: 100% auto,
6
6
  top: 50%,
7
- transform: translate(var(--spacing-10), -50%),
7
+ translate: var(--spacing-10) -50%,
8
8
  z-index: var(--z-tooltip),
9
9
  inline-size: max-content,
10
10
  max-inline-size: 25ch,
@@ -24,7 +24,7 @@ $vv-tooltip: (
24
24
  z-index: -1,
25
25
  inset-inline: 0 auto,
26
26
  inset-block: 50% auto,
27
- transform: translate(-100%, -50%),
27
+ translate: -100% -50%,
28
28
  border-width: var(--spacing-8),
29
29
  border-style: solid,
30
30
  border-color: transparent var(--color-gray-darken-4) transparent
@@ -38,35 +38,38 @@ $vv-tooltip: (
38
38
  top: (
39
39
  inset-inline: 50% 0,
40
40
  inset-block: auto 100%,
41
- transform: translate(-50%, calc(var(--spacing-10) * -1)),
41
+ translate: -50% calc(var(--spacing-10) * -1),
42
42
  pseudo: (
43
43
  after: (
44
44
  inset-inline: 50% auto,
45
45
  inset-block: 100% auto,
46
- transform: translate(-50%, 0) rotate(-90deg),
46
+ translate: -50%,
47
+ rotate: -90deg,
47
48
  ),
48
49
  ),
49
50
  ),
50
51
  bottom: (
51
52
  inset-inline: 50% 0,
52
53
  inset-block: 100% auto,
53
- transform: translate(-50%, var(--spacing-10)),
54
+ translate: -50% var(--spacing-10),
54
55
  pseudo: (
55
56
  after: (
56
57
  inset-inline: 50% auto,
57
58
  inset-block: 0 auto,
58
- transform: translate(-50%, -100%) rotate(90deg),
59
+ translate: -50% -100%,
60
+ rotate: 90deg,
59
61
  ),
60
62
  ),
61
63
  ),
62
64
  left: (
63
65
  inset-inline: auto 100%,
64
- transform: translate(calc(var(--spacing-10) * -1), -50%),
66
+ translate: calc(var(--spacing-10) * -1) -50%,
65
67
  pseudo: (
66
68
  after: (
67
69
  position: absolute,
68
70
  inset-inline: auto 0,
69
- transform: translate(100%, -50%) rotate(180deg),
71
+ translate: 100% -50%,
72
+ rotate: 180deg,
70
73
  ),
71
74
  ),
72
75
  ),
@@ -0,0 +1,22 @@
1
+ @use 'sass:map';
2
+ @use '../context' as *;
3
+
4
+ $component-name: map.get($components-names, vv-avatar);
5
+ $component-map: $dark-vv-avatar;
6
+
7
+ @mixin theme-dark-vv-avatar {
8
+ @include spread-map-into-props(
9
+ $map: $component-map,
10
+ $prefix: $component-name
11
+ );
12
+ }
13
+
14
+ :where(:host, :root, .theme):not(.theme--light) {
15
+ @media (prefers-color-scheme: dark) {
16
+ @include theme-dark-vv-avatar;
17
+ }
18
+ }
19
+
20
+ :where(.theme.theme--dark) {
21
+ @include theme-dark-vv-avatar;
22
+ }
@@ -0,0 +1,22 @@
1
+ @use 'sass:map';
2
+ @use '../context' as *;
3
+
4
+ $component-name: map.get($components-names, vv-badge);
5
+ $component-map: $dark-vv-badge;
6
+
7
+ @mixin theme-dark-vv-badge {
8
+ @include spread-map-into-props(
9
+ $map: $component-map,
10
+ $prefix: $component-name
11
+ );
12
+ }
13
+
14
+ :where(:host, :root, .theme):not(.theme--light) {
15
+ @media (prefers-color-scheme: dark) {
16
+ @include theme-dark-vv-badge;
17
+ }
18
+ }
19
+
20
+ :where(.theme.theme--dark) {
21
+ @include theme-dark-vv-badge;
22
+ }
@@ -0,0 +1,22 @@
1
+ @use 'sass:map';
2
+ @use '../context' as *;
3
+
4
+ $component-name: map.get($components-names, vv-dropdown-action);
5
+ $component-map: $dark-vv-dropdown-action;
6
+
7
+ @mixin theme-dark-vv-dropdown-action {
8
+ @include spread-map-into-props(
9
+ $map: $component-map,
10
+ $prefix: $component-name
11
+ );
12
+ }
13
+
14
+ :where(:host, :root, .theme):not(.theme--light) {
15
+ @media (prefers-color-scheme: dark) {
16
+ @include theme-dark-vv-dropdown-action;
17
+ }
18
+ }
19
+
20
+ :where(.theme.theme--dark) {
21
+ @include theme-dark-vv-dropdown-action;
22
+ }
@@ -0,0 +1,22 @@
1
+ @use 'sass:map';
2
+ @use '../context' as *;
3
+
4
+ $component-name: map.get($components-names, vv-dropdown-option);
5
+ $component-map: $dark-vv-dropdown-option;
6
+
7
+ @mixin theme-dark-vv-dropdown-option {
8
+ @include spread-map-into-props(
9
+ $map: $component-map,
10
+ $prefix: $component-name
11
+ );
12
+ }
13
+
14
+ :where(:host, :root, .theme):not(.theme--light) {
15
+ @media (prefers-color-scheme: dark) {
16
+ @include theme-dark-vv-dropdown-option;
17
+ }
18
+ }
19
+
20
+ :where(.theme.theme--dark) {
21
+ @include theme-dark-vv-dropdown-option;
22
+ }
@@ -0,0 +1,22 @@
1
+ @use 'sass:map';
2
+ @use '../context' as *;
3
+
4
+ $component-name: map.get($components-names, vv-nav);
5
+ $component-map: $dark-vv-nav;
6
+
7
+ @mixin theme-dark-vv-nav {
8
+ @include spread-map-into-props(
9
+ $map: $component-map,
10
+ $prefix: $component-name
11
+ );
12
+ }
13
+
14
+ :where(:host, :root, .theme):not(.theme--light) {
15
+ @media (prefers-color-scheme: dark) {
16
+ @include theme-dark-vv-nav;
17
+ }
18
+ }
19
+
20
+ :where(.theme.theme--dark) {
21
+ @include theme-dark-vv-nav;
22
+ }
@@ -1,2 +1,7 @@
1
- @use 'vv-button';
2
1
  @use 'vv-alert';
2
+ @use 'vv-avatar';
3
+ @use 'vv-badge';
4
+ @use 'vv-button';
5
+ @use 'vv-dropdown-action';
6
+ @use 'vv-dropdown-option';
7
+ @use 'vv-nav';
@@ -6,6 +6,8 @@ $dark-background-image: (
6
6
  none: none,
7
7
  chevron:
8
8
  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($dark-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"),
9
+ chessboard:
10
+ 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='white' x='0' y='0' width='10' height='10' opacity='0.1'/%3E%3Crect fill='black' x='10' y='0' width='10' height='10'/%3E%3Crect fill='white' x='10' y='10' width='10' height='10' opacity='0.1'/%3E%3Crect fill='black' 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"),
9
11
  grid:
10
12
  url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' width='32' height='32' fill='none' stroke='rgb(51 65 85 / 0.25)'%3E%3Cpath d='M0 .5H31.5V32'/%3E%3C/svg%3E"),
11
13
  check:
@@ -4,10 +4,8 @@
4
4
  @use '../../../settings/colors' as *;
5
5
 
6
6
  $dark-color-scheme: dark !default;
7
- $dark-color-brand: #1976d2 !default;
8
- $dark-color-word: hsl(color.hue($dark-color-brand) 15% 85%) !default;
9
- $dark-color-surface: hsl(color.hue($dark-color-brand) 10% 5%) !default;
10
- $dark-color-alpha: hsla(0deg 0% 100% / 0%) !default;
7
+ $dark-color-word: hsl(color.hue($color-brand) 15% 85%) !default;
8
+ $dark-color-surface: hsl(color.hue($color-brand) 10% 5%) !default;
11
9
  $dark-color-surface-palette: (
12
10
  brand: hsl(var(--color-brand-hue) var(--color-brand-saturation) 10%),
13
11
  accent: hsl(var(--color-accent-hue) var(--color-accent-saturation) 10%),
@@ -29,30 +27,6 @@ $dark-color-surface-palette-no-vars: (
29
27
  $dark-colors: (
30
28
  scheme: $dark-color-scheme,
31
29
  word: color-darken-map($dark-color-word, 'word', $scale: 12%, $fixed: true),
32
- surface:
33
- map.merge(
34
- color-lighten-map(
35
- $dark-color-surface,
36
- 'surface',
37
- $scale: 5%,
38
- $fixed: true
39
- ),
40
- $dark-color-surface-palette
41
- ),
42
- alpha: color-alpha-map($dark-color-alpha, 'alpha', $steps: 5, $scale: 5%),
43
- ) !default;
44
-
45
- // dark-colors computed map
46
- $dark-colors-computed: (
47
- scheme: $dark-color-scheme,
48
- word:
49
- color-darken-map(
50
- $dark-color-word,
51
- 'word',
52
- $scale: 12%,
53
- $fixed: true,
54
- $noVarExport: true
55
- ),
56
30
  surface:
57
31
  map.merge(
58
32
  color-lighten-map(
@@ -60,16 +34,8 @@ $dark-colors-computed: (
60
34
  'surface',
61
35
  $scale: 5%,
62
36
  $fixed: true,
63
- $noVarExport: true
37
+ $inverted: false
64
38
  ),
65
- $dark-color-surface-palette-no-vars
66
- ),
67
- alpha:
68
- color-alpha-map(
69
- $dark-color-alpha,
70
- 'alpha',
71
- $steps: 5,
72
- $scale: 5%,
73
- $noVarExport: true
39
+ $dark-color-surface-palette
74
40
  ),
75
41
  ) !default;
@@ -2,5 +2,10 @@
2
2
  @forward 'background';
3
3
  @forward 'input';
4
4
 
5
- @forward 'components/vv-button';
6
5
  @forward 'components/vv-alert';
6
+ @forward 'components/vv-avatar';
7
+ @forward 'components/vv-badge';
8
+ @forward 'components/vv-button';
9
+ @forward 'components/vv-dropdown-action';
10
+ @forward 'components/vv-dropdown-option';
11
+ @forward 'components/vv-nav';
@@ -43,7 +43,7 @@ $dark-vv-alert: (
43
43
  brand: (
44
44
  element: (
45
45
  header: (
46
- color: var(--color-brand-lighten-2),
46
+ color: var(--color-brand-lighten-3),
47
47
  ),
48
48
  ),
49
49
  ),
@@ -0,0 +1,27 @@
1
+ $dark-vv-avatar: (
2
+ modifier: (
3
+ ring: (
4
+ color: var(--color-brand-lighten-3),
5
+ modifier: (
6
+ danger: (
7
+ color: var(--color-danger-lighten-5),
8
+ ),
9
+ success: (
10
+ color: var(--color-success-lighten-3),
11
+ ),
12
+ warning: (
13
+ color: var(--color-warning),
14
+ ),
15
+ gray: (
16
+ color: var(--color-gray-lighten-3),
17
+ ),
18
+ info: (
19
+ color: var(--color-info),
20
+ ),
21
+ accent: (
22
+ color: var(--color-accent-lighten-5),
23
+ ),
24
+ ),
25
+ ),
26
+ ),
27
+ );
@@ -0,0 +1,50 @@
1
+ $dark-vv-badge: (
2
+ modifier: (
3
+ outline: (
4
+ color: var(--color-brand-lighten-3),
5
+ modifier: (
6
+ danger: (
7
+ color: var(--color-danger-lighten-3),
8
+ ),
9
+ success: (
10
+ color: var(--color-success-lighten-3),
11
+ ),
12
+ warning: (
13
+ color: var(--color-warning),
14
+ ),
15
+ info: (
16
+ color: var(--color-info),
17
+ ),
18
+ accent: (
19
+ color: var(--color-accent-lighten-3),
20
+ ),
21
+ gray: (
22
+ color: var(--color-gray-lighten-3),
23
+ ),
24
+ ),
25
+ ),
26
+ ghost: (
27
+ color: var(--color-brand-lighten-3),
28
+ modifier: (
29
+ danger: (
30
+ color: var(--color-danger-lighten-3),
31
+ ),
32
+ success: (
33
+ color: var(--color-success-lighten-3),
34
+ ),
35
+ warning: (
36
+ color: var(--color-warning),
37
+ ),
38
+ info: (
39
+ color: var(--color-info),
40
+ ),
41
+ accent: (
42
+ color: var(--color-accent-lighten-3),
43
+ ),
44
+ gray: (
45
+ color: var(--color-gray-lighten-3),
46
+ ),
47
+ ),
48
+ ),
49
+ ),
50
+ );
@@ -1,25 +1,25 @@
1
1
  $dark-vv-button: (
2
2
  modifier: (
3
3
  primary: (
4
- border-color: var(--color-gray-darken-1),
5
- background: var(--color-gray-darken-1),
4
+ border-color: var(--color-gray-darken-3),
5
+ background: var(--color-gray-darken-3),
6
6
  state: (
7
7
  focus-visible: (
8
8
  outline: var(--spacing-px) solid var(--color-gray),
9
9
  ),
10
10
  hover: (
11
- background: var(--color-gray-lighten-1),
12
- border-color: var(--color-gray-lighten-1),
11
+ background: var(--color-gray-darken-2),
12
+ border-color: var(--color-gray-darken-2),
13
13
  ),
14
14
  active: (
15
- background: var(--color-gray),
16
- border-color: var(--color-gray),
15
+ background: var(--color-gray-darken-1),
16
+ border-color: var(--color-gray-darken-1),
17
17
  ),
18
18
  ),
19
19
  ),
20
20
  secondary: (
21
21
  border-color: var(--color-gray-darken-1),
22
- background: var(--color-gray-darken-3),
22
+ background: transparent,
23
23
  text-shadow: 0 1px 0 var(--color-gray-darken-5),
24
24
  state: (
25
25
  focus-visible: (
@@ -52,7 +52,12 @@ $dark-vv-button: (
52
52
  ),
53
53
  ),
54
54
  link: (
55
- color: var(--color-brand-lighten-1),
55
+ color: var(--color-brand-lighten-3),
56
+ state: (
57
+ active: (
58
+ color: var(--color-brand-lighten-2),
59
+ ),
60
+ ),
56
61
  ),
57
62
  ),
58
63
  ) !default;
@@ -0,0 +1,3 @@
1
+ $dark-vv-dropdown-action: (
2
+ color: var(--color-brand-lighten-3),
3
+ );
@@ -0,0 +1,19 @@
1
+ $dark-vv-dropdown-option: (
2
+ state: (
3
+ focus-visible: (
4
+ color: var(--color-success-lighten-3),
5
+ ),
6
+ selected: (
7
+ color: var(--color-brand-lighten-3),
8
+ ),
9
+ ),
10
+ modifier: (
11
+ unselectable: (
12
+ state: (
13
+ focus-visible: (
14
+ color: var(--color-danger-lighten-5),
15
+ ),
16
+ ),
17
+ ),
18
+ ),
19
+ );
@@ -0,0 +1,15 @@
1
+ $dark-vv-nav: (
2
+ modifier: (
3
+ tabs: (
4
+ element: (
5
+ item-label: (
6
+ state: (
7
+ current: (
8
+ color: var(--color-brand-lighten-3),
9
+ ),
10
+ ),
11
+ ),
12
+ ),
13
+ ),
14
+ ),
15
+ );