@lightspeed/design-system-css 28.0.0 → 29.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/index.css +420 -420
  2. package/dist/index.css.map +1 -1
  3. package/dist/vend-styles.css +420 -420
  4. package/package.json +1 -1
  5. package/src/vend-styles/components/Carousel/Carousel.scss +3 -3
  6. package/src/vend-styles/components/DataTable/DataTable.scss +7 -7
  7. package/src/vend-styles/components/DatePicker/DatePicker.scss +4 -4
  8. package/src/vend-styles/components/DatePicker/_DatePicker-ns.scss +5 -5
  9. package/src/vend-styles/components/LineChart/LineChart.scss +8 -8
  10. package/src/vend-styles/components/Modal/Modal.scss +1 -1
  11. package/src/vend-styles/components/ProgressBar/ProgressBar.scss +2 -2
  12. package/src/vend-styles/components/PromotionModal/PromotionModal.scss +1 -1
  13. package/src/vend-styles/components/TableList/TableList.scss +9 -9
  14. package/src/vend-styles/components/TableList/_TableList-ns.scss +1 -1
  15. package/src/vend-styles/components/UpsellPrimary/UpsellPrimary.scss +4 -4
  16. package/src/vend-styles/components/VendVideo/VendVideo.scss +3 -3
  17. package/src/vend-styles/utilities/sticky.scss +2 -2
  18. package/src/vend.ui/components/vd-action-bar/vd-action-bar-ns.scss +1 -1
  19. package/src/vend.ui/components/vd-autocomplete/vd-autocomplete.scss +1 -1
  20. package/src/vend.ui/components/vd-autocomplete-filter/vd-autocomplete-filter.scss +1 -1
  21. package/src/vend.ui/components/vd-avatar/vd-avatar.scss +4 -4
  22. package/src/vend.ui/components/vd-avatar-multi/vd-avatar-multi.scss +3 -3
  23. package/src/vend.ui/components/vd-badges/vd-id-badge/vd-id-badge.scss +5 -5
  24. package/src/vend.ui/components/vd-banner/vd-banner-ns.scss +2 -2
  25. package/src/vend.ui/components/vd-banner/vd-banner.scss +3 -3
  26. package/src/vend.ui/components/vd-bg/vd-bg.scss +1 -1
  27. package/src/vend.ui/components/vd-btn/_vd-btn-mixins.scss +13 -13
  28. package/src/vend.ui/components/vd-btn/vd-btn-panel.scss +8 -8
  29. package/src/vend.ui/components/vd-btn/vd-btn.scss +1 -1
  30. package/src/vend.ui/components/vd-card/vd-card-ns.scss +1 -1
  31. package/src/vend.ui/components/vd-carousel/vd-carousel.scss +3 -3
  32. package/src/vend.ui/components/vd-checkbox/vd-checkbox.scss +7 -7
  33. package/src/vend.ui/components/vd-datepicker/vd-datepicker-ns.scss +6 -6
  34. package/src/vend.ui/components/vd-datepicker/vd-datepicker.scss +8 -8
  35. package/src/vend.ui/components/vd-dialog/vd-dialog-ns.scss +1 -1
  36. package/src/vend.ui/components/vd-dialog/vd-dialog.scss +2 -2
  37. package/src/vend.ui/components/vd-dialog-close/vd-dialog-close-ns.scss +1 -1
  38. package/src/vend.ui/components/vd-dialog-close/vd-dialog-close.scss +8 -8
  39. package/src/vend.ui/components/vd-dott/vd-dott.scss +7 -7
  40. package/src/vend.ui/components/vd-fieldset/vd-fieldset.scss +1 -1
  41. package/src/vend.ui/components/vd-flag/vd-flag.scss +4 -4
  42. package/src/vend.ui/components/vd-header/vd-header.scss +1 -1
  43. package/src/vend.ui/components/vd-hero/vd-hero.scss +4 -4
  44. package/src/vend.ui/components/vd-hr/vd-hr.scss +1 -1
  45. package/src/vend.ui/components/vd-in-page-help/vd-in-page-help.scss +1 -1
  46. package/src/vend.ui/components/vd-input/vd-input-ns.scss +7 -7
  47. package/src/vend.ui/components/vd-input/vd-input.scss +2 -2
  48. package/src/vend.ui/components/vd-input-char-limit/vd-input-char-limit.scss +1 -1
  49. package/src/vend.ui/components/vd-link/vd-link.scss +3 -3
  50. package/src/vend.ui/components/vd-loader/vd-loader.scss +1 -1
  51. package/src/vend.ui/components/vd-lozenge/vd-lozenge.scss +6 -6
  52. package/src/vend.ui/components/vd-lozenge-group/vd-lozenge-group.scss +2 -2
  53. package/src/vend.ui/components/vd-multiselect-popover/vd-multiselect-popover.scss +1 -1
  54. package/src/vend.ui/components/vd-next-stepper/vd-next-stepper.scss +2 -2
  55. package/src/vend.ui/components/vd-overlay/vd-overlay-ns.scss +1 -1
  56. package/src/vend.ui/components/vd-panel/vd-panel.scss +2 -2
  57. package/src/vend.ui/components/vd-password/vd-password.scss +1 -1
  58. package/src/vend.ui/components/vd-popover/vd-popover.scss +4 -4
  59. package/src/vend.ui/components/vd-popover-list/vd-popover-list.scss +6 -6
  60. package/src/vend.ui/components/vd-radio/vd-radio.scss +7 -7
  61. package/src/vend.ui/components/vd-scrollable/vd-scrollable.scss +1 -1
  62. package/src/vend.ui/components/vd-section/vd-section.scss +3 -3
  63. package/src/vend.ui/components/vd-section-back/vd-section-back.scss +2 -2
  64. package/src/vend.ui/components/vd-segcontrol/vd-segcontrol.scss +7 -7
  65. package/src/vend.ui/components/vd-select/vd-select-inline.scss +1 -1
  66. package/src/vend.ui/components/vd-select/vd-select-ns.scss +1 -1
  67. package/src/vend.ui/components/vd-select/vd-select.scss +2 -2
  68. package/src/vend.ui/components/vd-splash/vd-splash.scss +1 -1
  69. package/src/vend.ui/components/vd-status-icon/vd-status-icon.scss +2 -2
  70. package/src/vend.ui/components/vd-suggestion/vd-suggestion-list.scss +3 -3
  71. package/src/vend.ui/components/vd-switch/vd-switch.scss +8 -8
  72. package/src/vend.ui/components/vd-table/vd-table-ns.scss +2 -2
  73. package/src/vend.ui/components/vd-table/vd-table.scss +8 -8
  74. package/src/vend.ui/components/vd-tabs/vd-tabs.scss +4 -4
  75. package/src/vend.ui/components/vd-text/vd-text.scss +4 -4
  76. package/src/vend.ui/components/vd-toast-notification/vd-toast-notification.scss +3 -3
  77. package/src/vend.ui/components/vd-tooltip/vd-tooltip.scss +6 -6
  78. package/src/vend.ui/styles/global/_base-mixins.scss +1 -1
  79. package/src/vend.ui/styles/global/_helper-mixins.scss +1 -1
  80. package/src/vend.ui/styles/global/_misc.scss +2 -2
  81. package/src/vend.ui/styles/global/_normalise.scss +1 -1
  82. package/src/vend.ui/styles/global/colour/_colour-functions.scss +72 -16
  83. package/src/vend.ui/styles/global/colour/_colour-helpers.scss +2 -2
  84. package/src/vend.ui/styles/global/effects/_effects.scss +1 -1
  85. package/src/vend.ui/styles/global/text/_text-mixins.scss +1 -1
@@ -26,6 +26,6 @@
26
26
  width: calc(2 / 3 * 100%);
27
27
  }
28
28
  .vd-password-strength-meter[data-value='4'] {
29
- background-color: vd-colour(success);
29
+ background-color: hs-color(bg-success-default);
30
30
  width: calc(3 / 3 * 100%);
31
31
  }
@@ -71,8 +71,8 @@
71
71
  .vd-popover {
72
72
  position: relative;
73
73
  border-radius: $vd-popover-border-radius;
74
- filter: drop-shadow(0 4px 5px var(--vd-colour--shadow));
75
- background-color: vd-colour(box);
74
+ filter: drop-shadow(0 4px 5px hs-color(overlay-dark-default));
75
+ background-color: hs-color(bg-neutral-top);
76
76
 
77
77
  .vd-popover-tether-pinned-bottom & {
78
78
  margin-bottom: $vd-popover-beak-size;
@@ -87,7 +87,7 @@
87
87
  position: relative;
88
88
  box-sizing: border-box;
89
89
  border-radius: $vd-popover-border-radius;
90
- background-color: vd-colour(box);
90
+ background-color: hs-color(bg-neutral-top);
91
91
  z-index: 1;
92
92
  padding: $vd-popover-spacing;
93
93
 
@@ -112,7 +112,7 @@
112
112
  position: absolute;
113
113
  height: $vd-popover-beak-size;
114
114
  width: $vd-popover-beak-size;
115
- background-color: vd-colour(box);
115
+ background-color: hs-color(bg-neutral-top);
116
116
  transform: rotate(45deg);
117
117
 
118
118
  // If there is a vd-action-bar present and the beak is at the bottom it should be the same colour as the action bar
@@ -78,7 +78,7 @@
78
78
  &.vd-popover-list-item--active,
79
79
  &:hover,
80
80
  &:focus {
81
- background-color: vd-colour(go-highlight);
81
+ background-color: hs-color(bg-go-highlight-default);
82
82
  }
83
83
  }
84
84
 
@@ -104,7 +104,7 @@
104
104
  }
105
105
 
106
106
  .vd-popover-list-footer--full {
107
- background-color: vd-colour(box);
107
+ background-color: hs-color(bg-neutral-top);
108
108
  border-top: 1px solid hs-color(border-neutral-soft);
109
109
  display: flex;
110
110
  flex-direction: column;
@@ -114,9 +114,9 @@
114
114
 
115
115
  .vd-popover-list-footer-action {
116
116
  @include vd-text(label);
117
- background-color: vd-colour(box);
117
+ background-color: hs-color(bg-neutral-top);
118
118
  border: 0;
119
- color: vd-colour(do);
119
+ color: hs-color(fg-go-default);
120
120
  cursor: pointer;
121
121
  flex: 1 0 100%;
122
122
  font-family: $vd-font-lato;
@@ -127,13 +127,13 @@
127
127
 
128
128
  @include vd-hover-when-supported {
129
129
  &:hover {
130
- background-color: vd-colour(go-highlight);
130
+ background-color: hs-color(bg-go-highlight-default);
131
131
  }
132
132
  }
133
133
 
134
134
  &:active,
135
135
  &:focus {
136
- background-color: vd-colour(go-highlight);
136
+ background-color: hs-color(bg-go-highlight-default);
137
137
  }
138
138
  }
139
139
 
@@ -65,7 +65,7 @@
65
65
  height: $vd-radio-length;
66
66
  width: $vd-radio-length;
67
67
  border-radius: 50%;
68
- background-color: vd-colour(box);
68
+ background-color: hs-color(bg-neutral-top);
69
69
  border: 2px solid hs-color(border-neutral-soft);
70
70
  box-sizing: border-box;
71
71
 
@@ -76,7 +76,7 @@
76
76
  height: $vd-radio-tick-length;
77
77
  width: $vd-radio-tick-length;
78
78
  border-radius: 50%;
79
- background-color: vd-colour(framing);
79
+ background-color: hs-color(border-neutral-soft);
80
80
  opacity: 0;
81
81
  left: $vd-radio-tick-position;
82
82
  top: $vd-radio-tick-position;
@@ -91,13 +91,13 @@
91
91
  // Checked
92
92
  .vd-radio-input:checked + .vd-radio-tick {
93
93
  transition: background-color $vd-time-l;
94
- background-color: vd-colour(do);
95
- border-color: vd-colour(do);
94
+ background-color: hs-color(bg-go-default);
95
+ border-color: hs-color(fg-go-default);
96
96
 
97
97
  &:after {
98
98
  opacity: 1;
99
99
  animation: vd-radio-checked $vd-time-l;
100
- background-color: vd-colour(text-action);
100
+ background-color: hs-color(fg-neutral-ondark-default);
101
101
  box-sizing: content-box;
102
102
  backface-visibility: hidden;
103
103
  }
@@ -114,7 +114,7 @@
114
114
  }
115
115
  &:hover:checked + .vd-radio-tick:after {
116
116
  opacity: 1;
117
- background-color: vd-colour(box);
117
+ background-color: hs-color(bg-neutral-top);
118
118
  }
119
119
 
120
120
  ~ .vd-radio-label {
@@ -129,5 +129,5 @@
129
129
 
130
130
  // Focus
131
131
  .vd-radio:focus-within {
132
- box-shadow: 0 0 5px 2px vd-colour(go);
132
+ box-shadow: 0 0 5px 2px hs-color(fg-go-default);
133
133
  }
@@ -29,7 +29,7 @@
29
29
 
30
30
  &::before {
31
31
  content: '';
32
- box-shadow: 0 0 $vd-scrollable-indicator-height vd-colour(shadow);
32
+ box-shadow: 0 0 $vd-scrollable-indicator-height hs-color(overlay-dark-default);
33
33
  border-radius: 100%;
34
34
  width: 100%;
35
35
  height: 100%;
@@ -61,14 +61,14 @@ vd-section,
61
61
  .vd-section--secondary {
62
62
  &,
63
63
  .vd-section-container {
64
- background-color: vd-colour(framing);
64
+ background-color: hs-color(border-neutral-soft);
65
65
  }
66
66
  }
67
67
 
68
68
  .vd-section--tertiary {
69
69
  &,
70
70
  .vd-section-container {
71
- background-color: vd-colour(box);
71
+ background-color: hs-color(bg-neutral-top);
72
72
  }
73
73
  }
74
74
 
@@ -104,7 +104,7 @@ vd-section,
104
104
  .vd-section--action-bar {
105
105
  &,
106
106
  .vd-section-container {
107
- background-color: vd-colour(framing);
107
+ background-color: hs-color(border-neutral-soft);
108
108
  }
109
109
 
110
110
  .vd-section-wrap {
@@ -8,7 +8,7 @@
8
8
 
9
9
  .vd-section-back-icon {
10
10
  display: block;
11
- color: vd-colour(keyline);
11
+ color: hs-color(border-neutral-strong);
12
12
  font-size: $vd-section-back-icon-font-size;
13
13
  transition-duration: $vd-time-s;
14
14
  transition-property: margin-left, padding-right, color;
@@ -18,7 +18,7 @@
18
18
  .vd-section-back-icon {
19
19
  margin-left: -2px;
20
20
  padding-right: 2px;
21
- color: vd-colour(do);
21
+ color: hs-color(fg-go-default);
22
22
  }
23
23
  }
24
24
 
@@ -21,7 +21,7 @@
21
21
 
22
22
  .vd-segcontrol--selected {
23
23
  .vd-segcontrol-button {
24
- border-color: vd-colour(do) !important;
24
+ border-color: hs-color(fg-go-default) !important;
25
25
  z-index: 3;
26
26
  }
27
27
  }
@@ -29,7 +29,7 @@
29
29
  .vd-segcontrol:not(.vd-segcontrol--selected):not(.vd-segcontrol--disabled):hover {
30
30
  .vd-segcontrol-input:not(:disabled) ~ .vd-segcontrol-button {
31
31
  z-index: 2;
32
- border-color: vd-colour(keyline);
32
+ border-color: hs-color(border-neutral-strong);
33
33
  cursor: pointer;
34
34
  }
35
35
  }
@@ -43,10 +43,10 @@
43
43
  flex-direction: column;
44
44
  justify-content: flex-start;
45
45
  align-items: center;
46
- background-color: vd-colour(box);
46
+ background-color: hs-color(bg-neutral-top);
47
47
  padding: $vd-input-padding vd-grid-unit(5);
48
48
  border: $vd-input-border-width solid hs-color(border-neutral-soft);
49
- color: vd-colour(text);
49
+ color: hs-color(fg-neutral-default);
50
50
  width: 100%;
51
51
  transition-duration: $vd-time-s;
52
52
  transition-property: background, border;
@@ -57,7 +57,7 @@
57
57
  position: absolute;
58
58
 
59
59
  &:checked + .vd-segcontrol-button {
60
- color: vd-colour(text);
60
+ color: hs-color(fg-neutral-default);
61
61
  }
62
62
 
63
63
  &:disabled + .vd-segcontrol-button {
@@ -70,8 +70,8 @@
70
70
 
71
71
  // Putting this at the bottom, so wins specificity wars.
72
72
  .vd-segcontrol:active .vd-segcontrol-input + .vd-segcontrol-button {
73
- background-color: vd-rgba(vd-colour(box-rgb), 0.2);
74
- box-shadow: 0 0 $vd-shadow-blur $vd-shadow-spread vd-rgba(vd-colour(box-rgb), $vd-opacity);
73
+ background-color: vd-rgba(hs-color(bg-neutral-top-rgb), 0.2);
74
+ box-shadow: 0 0 $vd-shadow-blur $vd-shadow-spread vd-rgba(hs-color(bg-neutral-top-rgb), $vd-opacity);
75
75
  }
76
76
 
77
77
  .vd-segcontrol--panel {
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
  .vd-select-inline--placeholder {
28
- color: vd-colour(supplementary);
28
+ color: hs-color(bg-supplementary-default);
29
29
  }
30
30
 
31
31
  .vd-select-inline-text {
@@ -13,5 +13,5 @@ $vd-select-input-group-with-error-zindex: $vd-select-input-group-focused-zindex
13
13
  background-repeat: no-repeat;
14
14
  background-size: 8px 20px;
15
15
  background-position: calc(100% - 14px) 10px;
16
- background-image: vd-colour(select-arrows-bg);
16
+ background-image: hs-color(select-arrows-bg);
17
17
  }
@@ -9,9 +9,9 @@
9
9
  // can just be added to the input.
10
10
  &.vd-error {
11
11
  .vd-select {
12
- border-color: vd-colour(no);
12
+ border-color: hs-color(fg-no-default);
13
13
  &:focus {
14
- box-shadow: 0 0 $vd-shadow-blur vd-colour(no);
14
+ box-shadow: 0 0 $vd-shadow-blur hs-color(fg-no-default);
15
15
  }
16
16
  }
17
17
  }
@@ -19,7 +19,7 @@
19
19
  display: flex;
20
20
  justify-content: center;
21
21
  align-items: center;
22
- background: vd-colour(box);
22
+ background: hs-color(bg-neutral-top);
23
23
  overflow: auto;
24
24
  @include vd-fade-in;
25
25
 
@@ -1,6 +1,6 @@
1
1
  .vd-status-icon {
2
2
  border-radius: 50%;
3
- background-color: vd-colour(do);
3
+ background-color: hs-color(bg-go-default);
4
4
  width: $vd-status-icon-size;
5
5
  height: $vd-status-icon-size;
6
6
  display: inline-block;
@@ -8,5 +8,5 @@
8
8
  }
9
9
 
10
10
  .vd-status-icon--negative {
11
- background-color: vd-colour(no);
11
+ background-color: hs-color(bg-no-default);
12
12
  }
@@ -38,7 +38,7 @@
38
38
  right: 0;
39
39
  height: $vd-suggestion-list-footer-height;
40
40
  box-sizing: border-box;
41
- background-color: vd-colour(box);
41
+ background-color: hs-color(bg-neutral-top);
42
42
  border-top: 1px solid hs-color(border-neutral-soft);
43
43
  }
44
44
 
@@ -70,7 +70,7 @@
70
70
  margin-right: -$vd-popover-list-item-spacing !important;
71
71
 
72
72
  &.vd-suggestion-clear--active {
73
- color: vd-colour(text-action);
74
- background-color: vd-colour(supplementary-lighter);
73
+ color: hs-color(fg-neutral-ondark-default);
74
+ background-color: hs-color(bg-supplementary-soft);
75
75
  }
76
76
  }
@@ -21,8 +21,8 @@
21
21
  height: $trackHeightBig;
22
22
  border-radius: vd-grid-unit(9);
23
23
  box-sizing: border-box;
24
- border: 2px solid vd-colour(do);
25
- background-color: vd-colour(box);
24
+ border: 2px solid hs-color(fg-go-default);
25
+ background-color: hs-color(bg-neutral-top);
26
26
  transition: background-color $vd-time-m ease-in-out;
27
27
 
28
28
  .vd-switch--small & {
@@ -35,7 +35,7 @@
35
35
  box-sizing: border-box;
36
36
  display: inline-block;
37
37
  position: absolute;
38
- color: vd-colour(text-action);
38
+ color: hs-color(fg-neutral-ondark-default);
39
39
  top: 8px;
40
40
  left: 10px;
41
41
  opacity: 0;
@@ -54,7 +54,7 @@
54
54
  position: absolute;
55
55
  top: 8px;
56
56
  left: 41px;
57
- color: vd-colour(do);
57
+ color: hs-color(fg-go-default);
58
58
  opacity: 1;
59
59
  transition: opacity 0.54s ease-in-out;
60
60
 
@@ -69,8 +69,8 @@
69
69
  float: left;
70
70
  border-radius: inherit;
71
71
  box-sizing: border-box;
72
- border: 2px solid vd-colour(do);
73
- background-color: vd-colour(box);
72
+ border: 2px solid hs-color(fg-go-default);
73
+ background-color: hs-color(bg-neutral-top);
74
74
  pointer-events: none;
75
75
  width: $knobWidthBig;
76
76
  height: $knobWidthBig;
@@ -86,7 +86,7 @@
86
86
 
87
87
  // Checked
88
88
  .vd-switch-input:checked + .vd-switch-track {
89
- background-color: vd-colour(do);
89
+ background-color: hs-color(bg-go-default);
90
90
 
91
91
  .vd-switch-icon {
92
92
  opacity: 1;
@@ -107,7 +107,7 @@
107
107
 
108
108
  // Focus
109
109
  .vd-switch-input:focus + .vd-switch-track {
110
- box-shadow: 0 0 5px 2px vd-colour(go);
110
+ box-shadow: 0 0 5px 2px hs-color(fg-go-default);
111
111
  }
112
112
 
113
113
  // Disabled
@@ -1,5 +1,5 @@
1
- $vd-colour-table-tr-hover-background: vd-colour(go-highlight);
2
- $vd-colour-table-expanded-border-left: vd-colour(do);
1
+ $vd-colour-table-tr-hover-background: hs-color(bg-go-highlight-default);
2
+ $vd-colour-table-expanded-border-left: hs-color(fg-go-default);
3
3
 
4
4
  // Compact tables are deprecated, since subtext size has changed globally
5
5
  // we now have a local variable for compact tables until its replaced with normal tables
@@ -16,7 +16,7 @@ table {
16
16
  }
17
17
 
18
18
  tr {
19
- border-color: vd-colour(keyline);
19
+ border-color: hs-color(border-neutral-strong);
20
20
  }
21
21
  }
22
22
 
@@ -107,7 +107,7 @@ table {
107
107
 
108
108
  & + tr:not(.vd-expandable),
109
109
  &.vd-expandable--expanded {
110
- background: vd-colour(box);
110
+ background: hs-color(bg-neutral-top);
111
111
 
112
112
  > td:first-child {
113
113
  &::before {
@@ -197,7 +197,7 @@ table {
197
197
  &.vd-table--data {
198
198
  border: 1px solid hs-color(border-neutral-soft);
199
199
  tr {
200
- background-color: vd-colour(box);
200
+ background-color: hs-color(bg-neutral-top);
201
201
  }
202
202
  }
203
203
  }
@@ -246,7 +246,7 @@ table {
246
246
  > thead {
247
247
  th {
248
248
  padding: vd-grid-unit(4) vd-grid-unit(4);
249
- background-color: vd-colour(box);
249
+ background-color: hs-color(bg-neutral-top);
250
250
  }
251
251
 
252
252
  tr {
@@ -260,11 +260,11 @@ table {
260
260
  border-bottom: none;
261
261
 
262
262
  &:nth-child(odd) {
263
- background-color: vd-colour(background);
263
+ background-color: hs-color(bg-neutral-backdrop);
264
264
  }
265
265
 
266
266
  &:nth-child(even) {
267
- background-color: vd-colour(box);
267
+ background-color: hs-color(bg-neutral-top);
268
268
  }
269
269
 
270
270
  > td {
@@ -286,11 +286,11 @@ table {
286
286
 
287
287
  > tbody > tr {
288
288
  &:nth-child(odd) {
289
- background-color: vd-colour(background);
289
+ background-color: hs-color(bg-neutral-backdrop);
290
290
  }
291
291
 
292
292
  &:nth-child(even) {
293
- background-color: vd-colour(box);
293
+ background-color: hs-color(bg-neutral-top);
294
294
  }
295
295
  }
296
296
 
@@ -1,8 +1,8 @@
1
1
  @use 'sass:math';
2
2
 
3
3
  @mixin vd-active-tab {
4
- border-bottom-color: vd-colour(do);
5
- color: vd-colour(do);
4
+ border-bottom-color: hs-color(fg-go-default);
5
+ color: hs-color(fg-go-default);
6
6
  }
7
7
 
8
8
  .vd-tabs-container {
@@ -30,7 +30,7 @@
30
30
  gap: math.div($vd-tab-spacing, 2) $vd-tab-spacing;
31
31
  padding: 0;
32
32
  margin: 0;
33
- box-shadow: inset 0 -1px vd-colour(keyline);
33
+ box-shadow: inset 0 -1px hs-color(border-neutral-strong);
34
34
  }
35
35
 
36
36
  .vd-tabs-container--overflow {
@@ -51,7 +51,7 @@
51
51
 
52
52
  .vd-tab {
53
53
  display: inline-block;
54
- color: var(--vd-colour--text);
54
+ color: hs-color(fg-neutral-default);
55
55
 
56
56
  &.vd-tab--active .vd-tab-button {
57
57
  @include vd-active-tab();
@@ -1,14 +1,14 @@
1
1
  .vd-text--secondary {
2
- color: vd-colour(supplementary--text);
2
+ color: hs-color(fg-supplementary-default);
3
3
  }
4
4
  .vd-text--success {
5
- color: vd-colour(do);
5
+ color: hs-color(fg-go-default);
6
6
  }
7
7
  .vd-text--negative {
8
- color: vd-colour(no);
8
+ color: hs-color(fg-no-default);
9
9
  }
10
10
  .vd-text--disabled {
11
- color: vd-colour(text);
11
+ color: hs-color(fg-neutral-default);
12
12
  opacity: 0.35;
13
13
  }
14
14
 
@@ -35,7 +35,7 @@
35
35
 
36
36
  border-radius: $vd-border-radius;
37
37
  box-sizing: border-box;
38
- color: vd-colour(text-action);
38
+ color: hs-color(fg-neutral-ondark-default);
39
39
  text-align: center;
40
40
  font-weight: $vd-font-weight--bold;
41
41
 
@@ -59,9 +59,9 @@
59
59
  }
60
60
 
61
61
  .vd-toast-notification--success {
62
- background-color: vd-colour(success);
62
+ background-color: hs-color(bg-success-default);
63
63
  }
64
64
 
65
65
  .vd-toast-notification--negative {
66
- background-color: vd-colour(no);
66
+ background-color: hs-color(bg-no-default);
67
67
  }
@@ -1,15 +1,15 @@
1
1
  .vd-popover--tooltip {
2
- border-color: vd-colour(framing-inverse);
3
- background-color: vd-colour(box-inverse);
4
- color: vd-colour(text-inverse);
2
+ border-color: hs-color(border-neutral-inverted-soft);
3
+ background-color: hs-color(bg-neutral-inverted-top);
4
+ color: hs-color(fg-neutral-inverted-default);
5
5
 
6
6
  .vd-popover-content {
7
- background-color: vd-colour(box-inverse);
7
+ background-color: hs-color(bg-neutral-inverted-top);
8
8
  padding: $vd-tooltip-spacing;
9
9
  }
10
10
 
11
11
  .vd-popover-beak {
12
- background-color: vd-colour(box-inverse);
13
- border-color: vd-colour(framing-inverse);
12
+ background-color: hs-color(bg-neutral-inverted-top);
13
+ border-color: hs-color(border-neutral-inverted-soft);
14
14
  }
15
15
  }
@@ -7,5 +7,5 @@
7
7
  font-family: $vd-font-lato;
8
8
  font-size: vd-text-size(body);
9
9
  line-height: normal;
10
- color: vd-colour(text);
10
+ color: hs-color(fg-neutral-default);
11
11
  }
@@ -19,7 +19,7 @@
19
19
  right: 1em;
20
20
  content: '';
21
21
  bottom: 0;
22
- box-shadow: 0 0.1em 4em 0 vd-colour(shadow);
22
+ box-shadow: 0 0.1em 4em 0 hs-color(overlay-dark-default);
23
23
  }
24
24
  }
25
25
 
@@ -1,13 +1,13 @@
1
1
  // Borders
2
2
  $vd-border-radius: 4px;
3
- $vd-border-colour: vd-colour(framing);
3
+ $vd-border-colour: hs-color(border-neutral-soft);
4
4
  $vd-border-types: (keyline, keyline-inverse, framing, framing-inverse);
5
5
 
6
6
  // Opacity and Shadows
7
7
  $vd-opacity: 0.35;
8
8
  $vd-shadow-blur: 3px !default;
9
9
  $vd-shadow-spread: 2px !default;
10
- $vd-box-shadow: 0 4px 10px vd-colour(shadow);
10
+ $vd-box-shadow: 0 4px 10px hs-color(overlay-dark-default);
11
11
 
12
12
  // Shared navi non-styles
13
13
  $vd-topbar-height: 50px;
@@ -3,7 +3,7 @@ body {
3
3
 
4
4
  padding: 0;
5
5
  margin: 0;
6
- background-color: vd-colour(background);
6
+ background-color: hs-color(bg-neutral-backdrop);
7
7
  }
8
8
 
9
9
  a:link {