@phillips/seldon 1.187.0 → 1.188.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.
Files changed (47) hide show
  1. package/dist/components/Icon/Icon.d.ts +1 -1
  2. package/dist/components/Icon/Icon.js +8 -8
  3. package/dist/components/Toast/Toast.js +1 -1
  4. package/dist/design/colors-tokens/ColorCard.d.ts +1 -1
  5. package/dist/design/colors-tokens/ColorTokensPage.d.ts +1 -0
  6. package/dist/scss/_sharedClasses.scss +4 -5
  7. package/dist/scss/_utils.scss +1 -1
  8. package/dist/scss/_vars.scss +111 -54
  9. package/dist/scss/_vars.scss.js +111 -54
  10. package/dist/scss/components/AddToCalendar/_addToCalendar.scss +3 -3
  11. package/dist/scss/components/Button/_button.scss +2 -2
  12. package/dist/scss/components/Carousel/_carousel.scss +8 -8
  13. package/dist/scss/components/ComboBox/_combobox.scss +5 -5
  14. package/dist/scss/components/ContentPeek/_contentPeek.scss +2 -2
  15. package/dist/scss/components/DatePicker/_datePicker.scss +1 -1
  16. package/dist/scss/components/DescriptiveRadioButton/_descriptiveRadioButton.scss +1 -1
  17. package/dist/scss/components/Drawer/_drawer.scss +3 -3
  18. package/dist/scss/components/Drawer/_drawerHeader.scss +2 -2
  19. package/dist/scss/components/Dropdown/_dropdown.scss +2 -2
  20. package/dist/scss/components/FavoritingTileButton/_favoritingTileButton.scss +2 -2
  21. package/dist/scss/components/Icon/_icon.stories.scss +2 -2
  22. package/dist/scss/components/IconButton/_iconButton.scss +2 -2
  23. package/dist/scss/components/Input/_input.scss +10 -5
  24. package/dist/scss/components/Loader/_loader.scss +1 -1
  25. package/dist/scss/components/Modal/_modal.scss +2 -2
  26. package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +1 -1
  27. package/dist/scss/components/Navigation/_navigation.scss +1 -1
  28. package/dist/scss/components/ProgressIndicator/_progressIndicator.scss +2 -2
  29. package/dist/scss/components/Search/SearchResults/_searchResults.scss +2 -2
  30. package/dist/scss/components/Search/_search.scss +2 -2
  31. package/dist/scss/components/Search/_searchButton.scss +1 -1
  32. package/dist/scss/components/SplitPanel/_splitPanel.stories.scss +1 -1
  33. package/dist/scss/components/Tabs/_tabs.scss +2 -2
  34. package/dist/scss/components/Tags/_tags.scss +16 -14
  35. package/dist/scss/components/Toast/_toast.scss +4 -5
  36. package/dist/scss/components/Toggle/_toggle.scss +3 -3
  37. package/dist/scss/patterns/CountryPicker/_countryPickerModal.scss +2 -2
  38. package/dist/scss/patterns/CountryPicker/_countryPickerOption.scss +1 -1
  39. package/dist/scss/patterns/CountryPicker/_countryPickerTrigger.scss +1 -1
  40. package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +2 -2
  41. package/dist/scss/patterns/FiltersInline/_filterButton.scss +2 -2
  42. package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +2 -2
  43. package/dist/scss/patterns/Social/_social.scss +1 -1
  44. package/dist/scss/patterns/ViewingsList/_viewingsList.scss +1 -1
  45. package/dist/scss/site-furniture/Footer/_footer.scss +3 -3
  46. package/dist/scss/site-furniture/Header/_header.scss +2 -2
  47. package/package.json +1 -1
@@ -13,7 +13,7 @@ export interface IconProps extends React.HTMLAttributes<HTMLDivElement> {
13
13
  */
14
14
  width?: number | string | null;
15
15
  /**
16
- * Color of the icon. Can be set to "currentColor" if you want to control the color through css. Otherwise, it only accepts valid seldon color tokens. Defaults to $pure-black
16
+ * Color of the icon. Can be set to "currentColor" if you want to control the color through css. Otherwise, it only accepts valid seldon color tokens. Defaults to $black-100
17
17
  */
18
18
  color?: string;
19
19
  /**
@@ -1,19 +1,19 @@
1
- import { jsx as e } from "react/jsx-runtime";
2
- import { forwardRef as u } from "react";
3
- import x from "../../node_modules/classnames/index.js";
1
+ import { jsx as n } from "react/jsx-runtime";
2
+ import { forwardRef as x } from "react";
3
+ import u from "../../node_modules/classnames/index.js";
4
4
  import { getCommonProps as C, px as N } from "../../utils/index.js";
5
5
  import { getScssVar as $ } from "../../utils/scssUtils.js";
6
6
  import * as I from "../../assets/formatted/index.js";
7
- import * as n from "../../assets/pictograms/formatted/index.js";
8
- const P = u(
7
+ import * as e from "../../assets/pictograms/formatted/index.js";
8
+ const P = x(
9
9
  ({ className: t, height: m, width: s, color: r, icon: o, isPictogram: p, ...c }, f) => {
10
- const { className: l, ...i } = C(c, `Icon-${o}`), a = p ? n[o] : I[o] || n[o], d = {
11
- color: r === "currentColor" ? r : $(r ?? "", "$pure-black"),
10
+ const { className: l, ...i } = C(c, `Icon-${o}`), a = p ? e[o] : I[o] || e[o], d = {
11
+ color: r === "currentColor" ? r : $(r ?? "", "$black-100"),
12
12
  ...m ? { height: m } : {},
13
13
  ...s ? { width: s } : {},
14
14
  ...i
15
15
  };
16
- return a ? /* @__PURE__ */ e("div", { className: x(`${N}-icon`, l, t), ref: f, children: /* @__PURE__ */ e(a, { ...d }) }) : null;
16
+ return a ? /* @__PURE__ */ n("div", { className: u(`${N}-icon`, l, t), ref: f, children: /* @__PURE__ */ n(a, { ...d }) }) : null;
17
17
  }
18
18
  );
19
19
  P.displayName = "Icon";
@@ -14,7 +14,7 @@ const x = d(
14
14
  /* @__PURE__ */ o(N, { children: m }),
15
15
  a && s && /* @__PURE__ */ o(u, { asChild: !0, altText: s, className: `${r}__action`, children: a })
16
16
  ] }),
17
- /* @__PURE__ */ o(C, { className: `${r}__close`, "aria-label": t, asChild: !0, children: /* @__PURE__ */ o(T, { variant: $.link, children: /* @__PURE__ */ o(_, { icon: "CloseX", title: t, color: "$white", "aria-hidden": !0 }) }) })
17
+ /* @__PURE__ */ o(C, { className: `${r}__close`, "aria-label": t, asChild: !0, children: /* @__PURE__ */ o(T, { variant: $.link, children: /* @__PURE__ */ o(_, { icon: "CloseX", title: t, color: "$white-100", "aria-hidden": !0 }) }) })
18
18
  ] });
19
19
  }
20
20
  );
@@ -10,7 +10,7 @@ interface ColorCardProps {
10
10
  /**
11
11
  * Where is this token used?
12
12
  */
13
- usage: string;
13
+ usage?: string;
14
14
  /**
15
15
  * class to add to color card container
16
16
  */
@@ -0,0 +1 @@
1
+ export default function ColorTokensPage(): import("react/jsx-runtime").JSX.Element;
@@ -19,13 +19,12 @@
19
19
  background-image: none !important;
20
20
  background-clip: initial !important;
21
21
  border-radius: 0.1875rem !important;
22
-
23
- border-color: #0000 !important;
22
+ border-color: $black-100 !important;
24
23
  box-shadow: none !important;
25
24
  /* stylelint-disable-next-line property-no-vendor-prefix */
26
25
  -webkit-box-decoration-break: clone !important;
27
26
  box-decoration-break: clone !important;
28
- color: #0000 !important;
27
+ color: $black-100 !important;
29
28
  outline: none !important;
30
29
  pointer-events: none !important;
31
30
  /* stylelint-disable-next-line property-no-vendor-prefix */
@@ -62,10 +61,10 @@ button.#{$px}-skeleton {
62
61
 
63
62
  @keyframes skeleton-pulse {
64
63
  0% {
65
- background-color: #0000000f;
64
+ background-color: $grey-50;
66
65
  }
67
66
 
68
67
  100% {
69
- background-color: #0000001f;
68
+ background-color: $black-25;
70
69
  }
71
70
  }
@@ -15,7 +15,7 @@
15
15
  }
16
16
 
17
17
  @mixin warning-icon-before {
18
- border-bottom: 1.25rem solid #d6d141;
18
+ border-bottom: 1.25rem solid $secondary-yellow;
19
19
  border-left: 0.75rem solid transparent;
20
20
  border-right: 0.75rem solid transparent;
21
21
  content: '';
@@ -5,65 +5,122 @@ $px: seldon;
5
5
  /// COlORS:
6
6
  ///////////////////////
7
7
 
8
- // Primary color palette
9
- $pure-black: #000;
10
- $primary-black: #323232;
11
- $white: #fff;
12
-
13
- // Secondary color palette
14
- $soft-black: #545454;
15
- $dark-gray: #7b7474;
16
- $soft-black-2: #535050;
17
-
18
- // Utilititarian color palette
19
- $keyline-gray: #949494;
20
- $medium-gray: #c3bebb;
21
- $soft-gray: #fafafa;
22
- $pale-gray: #f4f4f4;
23
- $light-gray: #eceae7;
24
- $off-white: #f4f2f1;
25
-
26
- // Notification color palette
27
- $error-red: #f00;
28
- $error-pink: rgba(255, 229, 229, 90%);
29
- $warn-yellow: #d6d141;
30
- $post-sale-pink: #ff0086;
31
- $cta-blue: #4a90e2;
32
- $badge-blue: #0065fc;
33
-
34
- // AM color palette
35
- $widget-blue: #4a90e2;
36
- $widget-green: #6a9c53;
37
- $widget-maroon: #6b0000;
38
- $widget-red: #b00000;
39
- $clock-widget-blue: $widget-blue;
40
- $clock-widget-green: $widget-green;
41
- $clock-widget-maroon: $widget-maroon;
42
- $clock-widget-red: $widget-red;
43
-
44
- // Articker color palette
45
- $articker-red: #fc1e2b;
46
- $articker-orange: #ff8201;
47
- $articker-red-orange-gradient: linear-gradient(90deg, #fc1e2b, #ff8201);
48
- $overlay-black: rgba(0, 0, 0, 80%);
8
+ // Primary
9
+
10
+ // White
11
+ $white-100: #fff;
12
+ $white-75: rgba(255, 255, 255, 75%);
13
+ $white-50: rgba(255, 255, 255, 50%);
14
+ $white-25: rgba(255, 255, 255, 25%);
15
+
16
+ // Black
17
+ $black-100: #000;
18
+ $black-75: rgba(0, 0, 0, 75%);
19
+ $black-50: rgba(0, 0, 0, 50%);
20
+ $black-25: rgba(0, 0, 0, 25%);
21
+
22
+ // Secondary
23
+
24
+ // Highlight
25
+ $highlight-yellow: #fff90a;
26
+ $highlight-green: #46ea77;
27
+ $highlight-blue: #0065fc;
28
+ $highlight-red: #ff3d0a;
29
+ $highlight-purple: #802dfa;
30
+
31
+ // Functional
32
+
33
+ // Greys
34
+ $grey-100: #545454;
35
+ $grey-75: #75716f;
36
+ $grey-50: #eae9e6;
37
+ $grey-25: #f9f8f7;
38
+
39
+ // Semantic
40
+
41
+ // Text
42
+ $text-default: #000;
43
+ $text-inverted: #fff;
44
+ $text-supporting: #545454;
45
+
46
+ // CTAs
47
+ $cta-default: #000;
48
+ $cta-disabled: #eae9e6;
49
+ $cta-hover: #75716f;
50
+ $cta-inactive: #75716f;
51
+ $cta-focus: #545454;
52
+
53
+ // Background
54
+ $bg-default: #fff;
55
+ $bg-soft: #f9f8f7;
56
+ $bg-border: #eae9e6;
57
+ $bg-inverted: #000;
58
+ $bg-overlay: rgba(0, 0, 0, 50%);
59
+
60
+ // Status
61
+ $success-default: #00cc39;
62
+ $warning-default: #ea0404;
63
+ $status-info: #0065fc;
64
+ $focus-default: #07c;
49
65
 
50
66
  // admin colors
51
67
  $admin-alert: #f24a4a;
52
68
  $admin-success: #10bc94;
53
69
 
54
- // Legacy mapping
55
- $pure-white: $white;
56
- $post-sale-magenta: $post-sale-pink;
57
-
58
- // Text variables
59
- $header-color: $pure-black;
60
- $text-color: $soft-black;
61
-
62
- // Interactive Colors
63
- $button-hover: #75716f;
64
-
65
- // Misc. Colors
66
- $countdown-compact: #b40919;
70
+ // LEGACY MAPPING (updated to new tokens):
71
+ // --- Legacy Primary color palette ---
72
+ $pure-black: $black-100;
73
+ $primary-black: $black-75;
74
+ $white: $white-100;
75
+
76
+ // --- Legacy Utilitarian color palette ---
77
+ $soft-black: $grey-100;
78
+ $dark-gray: $grey-75;
79
+ $soft-black-2: $grey-100;
80
+ $keyline-gray: $grey-75;
81
+ $medium-gray: $grey-50;
82
+ $soft-gray: $grey-25;
83
+ $pale-gray: $grey-25;
84
+ $light-gray: $grey-50;
85
+ $off-white: $grey-25;
86
+
87
+ // --- Legacy Notification color palette ---
88
+ $error-red: $highlight-red;
89
+ $error-pink: $highlight-purple;
90
+ $warn-yellow: $highlight-yellow;
91
+ $post-sale-pink: $highlight-purple;
92
+ $cta-blue: $highlight-blue;
93
+ $badge-blue: $highlight-blue;
94
+
95
+ // --- Legacy AM color palette ---
96
+ $widget-blue: $highlight-blue;
97
+ $widget-green: $highlight-green;
98
+ $widget-maroon: $highlight-red;
99
+ $widget-red: $highlight-red;
100
+ $clock-widget-blue: $highlight-blue;
101
+ $clock-widget-green: $highlight-green;
102
+ $clock-widget-maroon: $highlight-red;
103
+ $clock-widget-red: $highlight-red;
104
+
105
+ // --- Legacy Articker color palette ---
106
+ $articker-red: $highlight-red;
107
+ $articker-orange: $highlight-yellow;
108
+ $articker-red-orange-gradient: linear-gradient(90deg, $highlight-red, $highlight-yellow);
109
+ $overlay-black: $black-75;
110
+
111
+ // --- Legacy legacy mapping ---
112
+ $pure-white: $white-100;
113
+ $post-sale-magenta: $highlight-purple;
114
+
115
+ // --- Legacy Text variables ---
116
+ $header-color: $black-100;
117
+ $text-color: $grey-100;
118
+
119
+ // --- Legacy Interactive Colors ---
120
+ $button-hover: $grey-75;
121
+
122
+ // --- Legacy Misc. Colors ---
123
+ $countdown-compact: $highlight-red;
67
124
 
68
125
  ////////////////////////
69
126
  /// FONTS:
@@ -5,65 +5,122 @@ $px: seldon;
5
5
  /// COlORS:
6
6
  ///////////////////////
7
7
 
8
- // Primary color palette
9
- $pure-black: #000;
10
- $primary-black: #323232;
11
- $white: #fff;
12
-
13
- // Secondary color palette
14
- $soft-black: #545454;
15
- $dark-gray: #7b7474;
16
- $soft-black-2: #535050;
17
-
18
- // Utilititarian color palette
19
- $keyline-gray: #949494;
20
- $medium-gray: #c3bebb;
21
- $soft-gray: #fafafa;
22
- $pale-gray: #f4f4f4;
23
- $light-gray: #eceae7;
24
- $off-white: #f4f2f1;
25
-
26
- // Notification color palette
27
- $error-red: #f00;
28
- $error-pink: rgba(255, 229, 229, 90%);
29
- $warn-yellow: #d6d141;
30
- $post-sale-pink: #ff0086;
31
- $cta-blue: #4a90e2;
32
- $badge-blue: #0065fc;
33
-
34
- // AM color palette
35
- $widget-blue: #4a90e2;
36
- $widget-green: #6a9c53;
37
- $widget-maroon: #6b0000;
38
- $widget-red: #b00000;
39
- $clock-widget-blue: $widget-blue;
40
- $clock-widget-green: $widget-green;
41
- $clock-widget-maroon: $widget-maroon;
42
- $clock-widget-red: $widget-red;
43
-
44
- // Articker color palette
45
- $articker-red: #fc1e2b;
46
- $articker-orange: #ff8201;
47
- $articker-red-orange-gradient: linear-gradient(90deg, #fc1e2b, #ff8201);
48
- $overlay-black: rgba(0, 0, 0, 80%);
8
+ // Primary
9
+
10
+ // White
11
+ $white-100: #fff;
12
+ $white-75: rgba(255, 255, 255, 75%);
13
+ $white-50: rgba(255, 255, 255, 50%);
14
+ $white-25: rgba(255, 255, 255, 25%);
15
+
16
+ // Black
17
+ $black-100: #000;
18
+ $black-75: rgba(0, 0, 0, 75%);
19
+ $black-50: rgba(0, 0, 0, 50%);
20
+ $black-25: rgba(0, 0, 0, 25%);
21
+
22
+ // Secondary
23
+
24
+ // Highlight
25
+ $highlight-yellow: #fff90a;
26
+ $highlight-green: #46ea77;
27
+ $highlight-blue: #0065fc;
28
+ $highlight-red: #ff3d0a;
29
+ $highlight-purple: #802dfa;
30
+
31
+ // Functional
32
+
33
+ // Greys
34
+ $grey-100: #545454;
35
+ $grey-75: #75716f;
36
+ $grey-50: #eae9e6;
37
+ $grey-25: #f9f8f7;
38
+
39
+ // Semantic
40
+
41
+ // Text
42
+ $text-default: #000;
43
+ $text-inverted: #fff;
44
+ $text-supporting: #545454;
45
+
46
+ // CTAs
47
+ $cta-default: #000;
48
+ $cta-disabled: #eae9e6;
49
+ $cta-hover: #75716f;
50
+ $cta-inactive: #75716f;
51
+ $cta-focus: #545454;
52
+
53
+ // Background
54
+ $bg-default: #fff;
55
+ $bg-soft: #f9f8f7;
56
+ $bg-border: #eae9e6;
57
+ $bg-inverted: #000;
58
+ $bg-overlay: rgba(0, 0, 0, 50%);
59
+
60
+ // Status
61
+ $success-default: #00cc39;
62
+ $warning-default: #ea0404;
63
+ $status-info: #0065fc;
64
+ $focus-default: #07c;
49
65
 
50
66
  // admin colors
51
67
  $admin-alert: #f24a4a;
52
68
  $admin-success: #10bc94;
53
69
 
54
- // Legacy mapping
55
- $pure-white: $white;
56
- $post-sale-magenta: $post-sale-pink;
57
-
58
- // Text variables
59
- $header-color: $pure-black;
60
- $text-color: $soft-black;
61
-
62
- // Interactive Colors
63
- $button-hover: #75716f;
64
-
65
- // Misc. Colors
66
- $countdown-compact: #b40919;
70
+ // LEGACY MAPPING (updated to new tokens):
71
+ // --- Legacy Primary color palette ---
72
+ $pure-black: $black-100;
73
+ $primary-black: $black-75;
74
+ $white: $white-100;
75
+
76
+ // --- Legacy Utilitarian color palette ---
77
+ $soft-black: $grey-100;
78
+ $dark-gray: $grey-75;
79
+ $soft-black-2: $grey-100;
80
+ $keyline-gray: $grey-75;
81
+ $medium-gray: $grey-50;
82
+ $soft-gray: $grey-25;
83
+ $pale-gray: $grey-25;
84
+ $light-gray: $grey-50;
85
+ $off-white: $grey-25;
86
+
87
+ // --- Legacy Notification color palette ---
88
+ $error-red: $highlight-red;
89
+ $error-pink: $highlight-purple;
90
+ $warn-yellow: $highlight-yellow;
91
+ $post-sale-pink: $highlight-purple;
92
+ $cta-blue: $highlight-blue;
93
+ $badge-blue: $highlight-blue;
94
+
95
+ // --- Legacy AM color palette ---
96
+ $widget-blue: $highlight-blue;
97
+ $widget-green: $highlight-green;
98
+ $widget-maroon: $highlight-red;
99
+ $widget-red: $highlight-red;
100
+ $clock-widget-blue: $highlight-blue;
101
+ $clock-widget-green: $highlight-green;
102
+ $clock-widget-maroon: $highlight-red;
103
+ $clock-widget-red: $highlight-red;
104
+
105
+ // --- Legacy Articker color palette ---
106
+ $articker-red: $highlight-red;
107
+ $articker-orange: $highlight-yellow;
108
+ $articker-red-orange-gradient: linear-gradient(90deg, $highlight-red, $highlight-yellow);
109
+ $overlay-black: $black-75;
110
+
111
+ // --- Legacy legacy mapping ---
112
+ $pure-white: $white-100;
113
+ $post-sale-magenta: $highlight-purple;
114
+
115
+ // --- Legacy Text variables ---
116
+ $header-color: $black-100;
117
+ $text-color: $grey-100;
118
+
119
+ // --- Legacy Interactive Colors ---
120
+ $button-hover: $grey-75;
121
+
122
+ // --- Legacy Misc. Colors ---
123
+ $countdown-compact: $highlight-red;
67
124
 
68
125
  ////////////////////////
69
126
  /// FONTS:
@@ -29,8 +29,8 @@
29
29
  }
30
30
 
31
31
  &-atcb-list {
32
- background: #fff;
33
- border: 1px solid#ECEAE7;
32
+ background: $white-100;
33
+ border: 1px solid $grey-50;
34
34
  }
35
35
 
36
36
  &-atcb-item {
@@ -73,7 +73,7 @@
73
73
 
74
74
  &:hover,
75
75
  &:focus-visible {
76
- color: #000;
76
+ color: $black-100;
77
77
  outline: none;
78
78
  text-decoration: none;
79
79
  }
@@ -103,7 +103,7 @@
103
103
 
104
104
  &:hover {
105
105
  background-color: transparent;
106
- box-shadow: 0 0 0 1px rgba(0, 0, 0, 100%);
106
+ box-shadow: 0 0 0 1px rgba($pure-black, 1);
107
107
  }
108
108
  }
109
109
 
@@ -170,7 +170,7 @@
170
170
  }
171
171
 
172
172
  &:disabled {
173
- background-color: $white;
173
+ background-color: $white-100;
174
174
  border: 1px solid $light-gray;
175
175
  color: $light-gray;
176
176
  cursor: default;
@@ -145,21 +145,21 @@
145
145
 
146
146
  &:focus-visible {
147
147
  border-radius: 50%;
148
- outline: 0.5px solid #000;
148
+ outline: 0.5px solid $black-100;
149
149
 
150
150
  &-dot {
151
151
  &:hover {
152
152
  background-color: transparent;
153
- outline: 1px solid #000;
153
+ outline: 1px solid $black-100;
154
154
  }
155
155
  }
156
156
  }
157
157
  }
158
158
 
159
159
  &-dot {
160
- background-color: #eceae7;
160
+ background-color: $grey-50;
161
161
  border-radius: 50%;
162
- outline-color: #eceae7;
162
+ outline-color: $grey-50;
163
163
 
164
164
  &--md {
165
165
  height: 100%;
@@ -173,15 +173,15 @@
173
173
 
174
174
  &:hover {
175
175
  background-color: transparent;
176
- outline: 1px solid #000;
176
+ outline: 1px solid $black-100;
177
177
  }
178
178
 
179
179
  &--selected {
180
- background-color: #000;
181
- outline-color: #000;
180
+ background-color: $black-100;
181
+ outline-color: $black-100;
182
182
 
183
183
  &:hover {
184
- background-color: #000;
184
+ background-color: $black-100;
185
185
  outline: none;
186
186
  }
187
187
  }
@@ -95,7 +95,7 @@
95
95
 
96
96
  &:hover {
97
97
  svg {
98
- color: $white;
98
+ color: $white-100;
99
99
  }
100
100
  }
101
101
  }
@@ -115,10 +115,10 @@
115
115
 
116
116
  &__content {
117
117
  animation: fade-in 150ms ease-out;
118
- background-color: $white;
119
- border: 1px solid #e0e0e0;
118
+ background-color: $white-100;
119
+ border: 1px solid $grey-50;
120
120
  border-radius: 4px;
121
- box-shadow: 0 5px 15px rgba(0, 0, 0, 10%);
121
+ box-shadow: 0 5px 15px rgba($pure-black, 0.1);
122
122
  margin-top: 4px;
123
123
  max-height: 300px;
124
124
  overflow-y: auto;
@@ -142,7 +142,7 @@
142
142
  }
143
143
 
144
144
  &__item {
145
- background-color: $white;
145
+ background-color: $white-100;
146
146
  padding: $padding-micro $padding-xsm;
147
147
  transition: background-color 0.1s ease;
148
148
 
@@ -34,7 +34,7 @@
34
34
  rgba(250, 250, 250, 0%) 0%,
35
35
  rgba(255, 255, 255, 5%) 6.25%,
36
36
  rgba(255, 255, 255, 75%) 53.65%,
37
- #fff 90.62%
37
+ $white 90.62%
38
38
  );
39
39
  content: '';
40
40
  height: 100px;
@@ -45,7 +45,7 @@
45
45
  }
46
46
 
47
47
  &-overlay-trigger-wrapper {
48
- background: #fff;
48
+ background: $white-100;
49
49
  display: flex;
50
50
  justify-content: center;
51
51
  pointer-events: auto;
@@ -74,7 +74,7 @@
74
74
  .flatpickr-day.selected.startRange + .endRange:not(:nth-child(7n + 1)),
75
75
  .flatpickr-day.startRange.startRange + .endRange:not(:nth-child(7n + 1)),
76
76
  .flatpickr-day.endRange.startRange + .endRange:not(:nth-child(7n + 1)) {
77
- box-shadow: -10px 0 0 #e6e6e6;
77
+ box-shadow: -10px 0 0 $grey-50;
78
78
  }
79
79
 
80
80
  &.arrowTop::before,
@@ -3,7 +3,7 @@
3
3
  .#{$px}-descriptive-radio-button {
4
4
  &__container {
5
5
  align-items: flex-start;
6
- background: $white;
6
+ background: $white-100;
7
7
  border: 1px solid $light-gray;
8
8
  border-radius: 4px;
9
9
  cursor: pointer;
@@ -2,7 +2,7 @@
2
2
 
3
3
  .#{$px}-drawer {
4
4
  align-items: center;
5
- background-color: $white;
5
+ background-color: $white-100;
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  height: 100dvh;
@@ -37,7 +37,7 @@
37
37
  }
38
38
 
39
39
  &__overlay {
40
- background-color: $overlay-black;
40
+ background-color: $black-75;
41
41
  inset: 0;
42
42
  position: fixed;
43
43
  z-index: 10;
@@ -46,7 +46,7 @@
46
46
  // Bottom sheet modifier
47
47
  &--bottom {
48
48
  border-radius: 16px 16px 0 0;
49
- box-shadow: 0 -2px 16px rgba(0, 0, 0, 8%);
49
+ box-shadow: 0 -2px 16px rgba($pure-black, 0.08);
50
50
  height: auto;
51
51
  inset: auto 0 0;
52
52
  max-width: 100%;
@@ -28,7 +28,7 @@
28
28
  &__title {
29
29
  @include DistinctDisplay;
30
30
 
31
- color: $primary-black;
31
+ color: $text-default;
32
32
  font-size: $heading-size4;
33
33
  font-variation-settings: 'wght' 600;
34
34
  line-height: $body-line-height-size1;
@@ -40,6 +40,6 @@
40
40
  }
41
41
 
42
42
  .#{$px}-icon-close-x:hover {
43
- color: $white;
43
+ color: $white-100;
44
44
  }
45
45
  }
@@ -5,7 +5,7 @@
5
5
 
6
6
  &__trigger {
7
7
  align-items: center;
8
- background-color: $white;
8
+ background-color: $white-100;
9
9
  border: none;
10
10
  display: inline-flex;
11
11
  gap: 10px;
@@ -42,7 +42,7 @@
42
42
  }
43
43
 
44
44
  &__content {
45
- background-color: $white;
45
+ background-color: $white-100;
46
46
  border: 1px solid $light-gray;
47
47
 
48
48
  // following will add additional arrows if list is near edge of viewport
@@ -2,7 +2,7 @@
2
2
 
3
3
  .#{$px}-favoriting-tile-button {
4
4
  align-items: center;
5
- background-color: $white;
5
+ background-color: $white-100;
6
6
  border: 1px solid $light-gray;
7
7
  display: flex;
8
8
  flex-shrink: 0;
@@ -33,7 +33,7 @@
33
33
  align-items: center;
34
34
  background: $button-hover;
35
35
  border: 1px solid $button-hover;
36
- color: $white;
36
+ color: $white-100;
37
37
  cursor: pointer;
38
38
  }
39
39
  }
@@ -1,7 +1,7 @@
1
1
  @import '../../allPartials';
2
2
 
3
3
  .story-icon-flex-wrapper {
4
- box-shadow: 0 0 8px 0 rgba(0, 0, 0, 20%);
4
+ box-shadow: 0 0 8px 0 rgba($pure-black, 0.2);
5
5
  display: flex;
6
6
  flex-wrap: wrap;
7
7
  justify-content: space-between;
@@ -24,7 +24,7 @@
24
24
 
25
25
  .icon-wrapper {
26
26
  &.show-border {
27
- border: 1px solid black;
27
+ border: 1px solid $pure-black;
28
28
  }
29
29
 
30
30
  margin: 0 auto;
@@ -13,7 +13,7 @@
13
13
  width: $button-label-line-height;
14
14
 
15
15
  &:hover {
16
- color: $white;
16
+ color: $white-100;
17
17
  }
18
18
  }
19
19
 
@@ -110,7 +110,7 @@
110
110
  }
111
111
 
112
112
  &:disabled {
113
- background-color: $white;
113
+ background-color: $white-100;
114
114
  border: 1px solid $light-gray;
115
115
 
116
116
  svg {
@@ -30,9 +30,9 @@ $lg: #{$px}-input--lg;
30
30
  &__wrapper {
31
31
  @include text($string2);
32
32
 
33
- accent-color: $soft-black;
33
+ accent-color: $black-100;
34
34
  align-items: center;
35
- border: 1px solid $keyline-gray;
35
+ border: 1px solid $black-100;
36
36
  border-radius: 0.1875rem;
37
37
  display: inline-flex;
38
38
  font-variation-settings: 'wght' 600;
@@ -74,8 +74,8 @@ $lg: #{$px}-input--lg;
74
74
  &__input {
75
75
  @include text($string2);
76
76
 
77
- accent-color: $soft-black;
78
- border: 1px solid $keyline-gray;
77
+ accent-color: $black-100;
78
+ border: 1px solid $black-100;
79
79
  border-radius: 0.1875rem;
80
80
  font-variation-settings: 'wght' 600;
81
81
  margin-bottom: 0.25rem;
@@ -88,6 +88,11 @@ $lg: #{$px}-input--lg;
88
88
  &:focus-visible {
89
89
  outline: 1px solid $pure-black;
90
90
  }
91
+
92
+ &:hover {
93
+ accent-color: $cta-hover;
94
+ border-color: $cta-hover;
95
+ }
91
96
  }
92
97
 
93
98
  &__validation {
@@ -138,7 +143,7 @@ $lg: #{$px}-input--lg;
138
143
  }
139
144
 
140
145
  .#{$px}-input__input {
141
- background-color: rgba(239, 239, 239, 30%);
146
+ background-color: rgba($pure-black, 0.05);
142
147
  }
143
148
  }
144
149
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  .#{$px}-loader {
4
4
  animation: rotation 1s linear infinite;
5
- border: 2px solid $primary-black;
5
+ border: 2px solid $black-100;
6
6
  border-bottom-color: transparent;
7
7
  border-radius: 50%;
8
8
  box-sizing: border-box;
@@ -1,7 +1,7 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-modal {
4
- background-color: $white;
4
+ background-color: $white-100;
5
5
  left: 50%;
6
6
  max-height: 100%;
7
7
  max-width: 100%;
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  &__overlay {
21
- background-color: $overlay-black;
21
+ background-color: $black-75;
22
22
  inset: 0;
23
23
  position: fixed;
24
24
  z-index: 15;
@@ -48,7 +48,7 @@
48
48
 
49
49
  @include isHeaderDesktop {
50
50
  & > .#{$px}-nav__list-item-trigger::before {
51
- background: #f4f4f4;
51
+ background: $grey-50;
52
52
  content: '';
53
53
  height: 2px;
54
54
  left: 0;
@@ -48,6 +48,6 @@
48
48
 
49
49
  &__close-btn:hover,
50
50
  &__close-btn:focus {
51
- background-color: #f4f4f4;
51
+ background-color: $grey-50;
52
52
  }
53
53
  }
@@ -30,10 +30,10 @@
30
30
  &--active,
31
31
  &--current {
32
32
  background-color: $pure-black;
33
- color: $white;
33
+ color: $white-100;
34
34
 
35
35
  svg {
36
- color: $white;
36
+ color: $white-100;
37
37
  }
38
38
  }
39
39
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  .#{$px}-search__results {
4
4
  align-items: flex-start;
5
- background: $white;
5
+ background: $white-100;
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  gap: 0.625rem;
@@ -24,7 +24,7 @@
24
24
  }
25
25
 
26
26
  &-container {
27
- background: $white;
27
+ background: $white-100;
28
28
  display: flex;
29
29
  flex-direction: column;
30
30
  font-family: Montserrat, sans-serif;
@@ -12,7 +12,7 @@
12
12
  transition: left 0.25s ease-in;
13
13
 
14
14
  &::after {
15
- border-bottom: 1px solid #000;
15
+ border-bottom: 1px solid $black-100;
16
16
  bottom: 0;
17
17
  content: '';
18
18
  display: flex;
@@ -82,7 +82,7 @@
82
82
  }
83
83
 
84
84
  &-enter-active input {
85
- background: $white;
85
+ background: $white-100;
86
86
 
87
87
  &::placeholder {
88
88
  opacity: 1;
@@ -35,7 +35,7 @@
35
35
  &:focus-visible,
36
36
  &:active {
37
37
  &::after {
38
- border-bottom: 1px solid #000;
38
+ border-bottom: 1px solid $black-100;
39
39
  bottom: 0;
40
40
  content: '';
41
41
  display: flex;
@@ -1,7 +1,7 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .split-panel-story {
4
- background-color: #f4f2f1;
4
+ background-color: $grey-50;
5
5
 
6
6
  &__text {
7
7
  font-family: Montserrat, serif;
@@ -24,7 +24,7 @@
24
24
  border-bottom 0.2s ease-out;
25
25
 
26
26
  &:focus-visible {
27
- box-shadow: rgb(11, 11, 12) 0 0 0 1px inset;
27
+ box-shadow: rgba($pure-black, 1) 0 0 0 1px inset;
28
28
  outline: none;
29
29
  }
30
30
 
@@ -46,7 +46,7 @@
46
46
  color: $pure-black;
47
47
 
48
48
  &:focus-visible {
49
- box-shadow: rgb(11, 11, 12) 0 0 0 1px inset;
49
+ box-shadow: rgba($pure-black, 1) 0 0 0 1px inset;
50
50
  outline: none;
51
51
  }
52
52
  .#{$px}-text {
@@ -8,26 +8,27 @@
8
8
 
9
9
  &:focus-visible {
10
10
  border: unset;
11
- outline: 1px solid $button-hover;
11
+ outline: 1px solid $black-100;
12
12
  outline-offset: 1px;
13
13
  }
14
14
 
15
15
  .#{$px}-tag {
16
- border: 1px solid $button-hover;
16
+ border: 1px solid $black-100;
17
17
  border-radius: 6.25rem;
18
18
  gap: $spacing-micro;
19
19
  padding: $spacing-micro $spacing-xsm $spacing-micro $spacing-sm;
20
+ transition: border-color 0.25s;
20
21
 
21
22
  &__icon {
22
23
  svg {
23
- color: $button-hover;
24
+ color: $black-100;
24
25
  height: 1rem;
25
26
  width: 1rem;
26
27
  }
27
28
  }
28
29
 
29
30
  &__label {
30
- color: $button-hover;
31
+ color: $black-100;
31
32
  font-size: $body-size3;
32
33
  font-variation-settings: 'wght' 600;
33
34
  text-align: center;
@@ -35,14 +36,15 @@
35
36
  }
36
37
 
37
38
  &:hover {
38
- color: $pure-black;
39
+ border-color: $cta-hover;
40
+ color: $cta-hover;
39
41
 
40
42
  .#{$px}-tag__label {
41
- color: $pure-black;
43
+ color: $cta-hover;
42
44
  }
43
45
 
44
46
  svg {
45
- color: $pure-black;
47
+ color: $cta-hover;
46
48
  }
47
49
  }
48
50
  }
@@ -54,7 +56,7 @@
54
56
  border-color: $pure-white;
55
57
  border-style: solid;
56
58
  border-width: 1px;
57
- color: $button-hover;
59
+ color: $black-100;
58
60
  display: flex;
59
61
  gap: $spacing-micro;
60
62
  height: 2rem;
@@ -65,30 +67,30 @@
65
67
  }
66
68
 
67
69
  svg {
68
- fill: $button-hover;
70
+ fill: $black-100;
69
71
  height: 1rem;
70
72
  width: 1rem;
71
73
 
72
74
  path {
73
- fill: $button-hover;
75
+ fill: $black-100;
74
76
  }
75
77
  }
76
78
 
77
79
  &:hover {
78
- color: $pure-black;
80
+ color: $cta-hover;
79
81
  cursor: pointer;
80
82
 
81
83
  svg {
82
- fill: $pure-black;
84
+ fill: $cta-hover;
83
85
 
84
86
  path {
85
- fill: $pure-black;
87
+ fill: $cta-hover;
86
88
  }
87
89
  }
88
90
  }
89
91
 
90
92
  &:focus-visible {
91
- border-color: $button-hover;
93
+ border-color: $black-100;
92
94
  border-radius: 6.25rem;
93
95
  border-style: solid;
94
96
  border-width: 1px;
@@ -2,10 +2,9 @@
2
2
 
3
3
  .#{$px}-toast {
4
4
  align-items: center;
5
- background-color: $primary-black;
5
+ background-color: $black-100;
6
6
  border-radius: 4px;
7
- box-shadow: 0 6px 14px 0 $primary-black;
8
- color: $white;
7
+ color: $white-100;
9
8
  column-gap: $spacing-sm;
10
9
  display: grid;
11
10
  grid-template-areas: 'title action';
@@ -18,10 +17,10 @@
18
17
  }
19
18
 
20
19
  &__action {
21
- color: $cta-blue;
20
+ color: $text-inverted;
22
21
 
23
22
  &:hover {
24
- color: $white;
23
+ color: $text-inverted;
25
24
  }
26
25
  }
27
26
 
@@ -29,7 +29,7 @@ $lg: #{$px}-input--lg;
29
29
  }
30
30
 
31
31
  &::before {
32
- background-color: rgba(0, 0, 0, 40%);
32
+ background-color: rgba($pure-black, 0.4);
33
33
  border-radius: 1rem;
34
34
  height: 1rem;
35
35
  left: 0;
@@ -41,12 +41,12 @@ $lg: #{$px}-input--lg;
41
41
 
42
42
  &::after {
43
43
  // background-color: transparent;
44
- background: #fff linear-gradient(transparent, rgba($pure-black, 0.05));
44
+ background: $white linear-gradient(transparent, rgba($pure-black, 0.05));
45
45
  border-radius: 50%;
46
46
  box-shadow:
47
47
  0 1px 2px 0 rgba($pure-black, 0.15),
48
48
  0 0 0 1px rgba($pure-black, 0.15) inset;
49
- color: white;
49
+ color: $white-100;
50
50
  height: 1rem;
51
51
  left: 0;
52
52
  transform: translate(0, 0);
@@ -20,7 +20,7 @@
20
20
  }
21
21
 
22
22
  &__header {
23
- background: $white;
23
+ background: $white-100;
24
24
  margin-bottom: 24px; // no token for this yet
25
25
  position: sticky;
26
26
  top: 0;
@@ -54,7 +54,7 @@
54
54
  }
55
55
 
56
56
  &__button-container {
57
- background: $white;
57
+ background: $white-100;
58
58
  border-top: 1px solid $light-gray;
59
59
  margin-top: auto;
60
60
  padding-top: 1rem;
@@ -3,7 +3,7 @@
3
3
  .#{$px}-country-picker {
4
4
  &__option {
5
5
  align-items: center;
6
- background: $white;
6
+ background: $white-100;
7
7
  border: 1px solid transparent;
8
8
  border-radius: 6px;
9
9
  cursor: pointer;
@@ -19,7 +19,7 @@
19
19
  &-btn {
20
20
  align-items: center;
21
21
  appearance: none;
22
- background: $white;
22
+ background: $white-100;
23
23
  border: 1px solid $light-gray;
24
24
  border-radius: 6px;
25
25
  box-sizing: border-box;
@@ -133,8 +133,8 @@
133
133
  }
134
134
 
135
135
  &--create-list {
136
- background-color: $white;
137
- border: 1px solid #0000001f;
136
+ background-color: $white-100;
137
+ border: 1px solid $black-25;
138
138
  border-radius: 0;
139
139
  }
140
140
 
@@ -15,9 +15,9 @@
15
15
 
16
16
  &--count {
17
17
  background: $pure-black;
18
- border: 2px solid $white;
18
+ border: 2px solid $white-100;
19
19
  border-radius: 50%;
20
- color: $white;
20
+ color: $white-100;
21
21
  display: inline-block;
22
22
  font-size: var(--label-size3);
23
23
  height: 1.5rem;
@@ -1,7 +1,7 @@
1
1
  @use '../../allPartials' as *;
2
2
 
3
3
  .#{$px}-filter-dropdown-menu {
4
- background: $white;
4
+ background: $white-100;
5
5
  border-radius: $spacing-xsm;
6
6
  box-shadow: 0 4px 6px $medium-gray;
7
7
  display: flex;
@@ -92,7 +92,7 @@
92
92
  }
93
93
 
94
94
  &__button-text {
95
- color: $white;
95
+ color: $white-100;
96
96
  }
97
97
 
98
98
  &--mobile {
@@ -56,7 +56,7 @@ $num_icons: 5;
56
56
  &.#{$px}-social {
57
57
  ul {
58
58
  align-items: center;
59
- border-top: 1px solid #eae8e4;
59
+ border-top: 1px solid $grey-50;
60
60
  display: flex;
61
61
  gap: 0 $icon_gap;
62
62
  justify-content: flex-start;
@@ -2,7 +2,7 @@
2
2
 
3
3
  .#{$px}-viewings-list {
4
4
  align-items: center;
5
- background-color: $off-white;
5
+ background-color: $white-100;
6
6
  display: flex;
7
7
  flex-direction: column;
8
8
  gap: 2.5rem;
@@ -74,7 +74,7 @@
74
74
  }
75
75
 
76
76
  .#{$px}-accordion {
77
- border-bottom: 1px solid #eae8e4;
77
+ border-bottom: 1px solid $grey-50;
78
78
  border-top: unset;
79
79
  margin-bottom: $spacing-md;
80
80
  width: 100%;
@@ -99,14 +99,14 @@
99
99
  }
100
100
 
101
101
  &__border-bottom {
102
- border-bottom: 1px solid #eae8e4;
102
+ border-bottom: 1px solid $grey-50;
103
103
  }
104
104
  }
105
105
  }
106
106
 
107
107
  &__copyright {
108
108
  align-items: center;
109
- background-color: $white;
109
+ background-color: $white-100;
110
110
  display: flex;
111
111
  flex-direction: column;
112
112
  width: 100%;
@@ -2,7 +2,7 @@
2
2
 
3
3
  .#{$px}-header {
4
4
  align-items: center;
5
- background-color: $white;
5
+ background-color: $white-100;
6
6
  border-bottom: 1px solid $light-gray;
7
7
  display: flex;
8
8
  flex-direction: column;
@@ -167,7 +167,7 @@
167
167
  display: none;
168
168
 
169
169
  &--active {
170
- background: rgba(0, 0, 0, 60%);
170
+ background: $black-75;
171
171
  display: block;
172
172
  height: 100vh;
173
173
  left: 0;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.187.0",
3
+ "version": "1.188.0",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/PhillipsAuctionHouse/seldon"