@phillips/seldon 1.187.0 → 1.188.1

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 (49) hide show
  1. package/dist/components/ComposedModal/ComposedModal.d.ts +2 -12
  2. package/dist/components/ComposedModal/ComposedModal.js +39 -41
  3. package/dist/components/Icon/Icon.d.ts +1 -1
  4. package/dist/components/Icon/Icon.js +8 -8
  5. package/dist/components/Toast/Toast.js +1 -1
  6. package/dist/design/colors-tokens/ColorCard.d.ts +1 -1
  7. package/dist/design/colors-tokens/ColorTokensPage.d.ts +1 -0
  8. package/dist/scss/_sharedClasses.scss +4 -5
  9. package/dist/scss/_utils.scss +1 -1
  10. package/dist/scss/_vars.scss +111 -54
  11. package/dist/scss/_vars.scss.js +111 -54
  12. package/dist/scss/components/AddToCalendar/_addToCalendar.scss +3 -3
  13. package/dist/scss/components/Button/_button.scss +2 -2
  14. package/dist/scss/components/Carousel/_carousel.scss +8 -8
  15. package/dist/scss/components/ComboBox/_combobox.scss +5 -5
  16. package/dist/scss/components/ContentPeek/_contentPeek.scss +2 -2
  17. package/dist/scss/components/DatePicker/_datePicker.scss +1 -1
  18. package/dist/scss/components/DescriptiveRadioButton/_descriptiveRadioButton.scss +1 -1
  19. package/dist/scss/components/Drawer/_drawer.scss +3 -3
  20. package/dist/scss/components/Drawer/_drawerHeader.scss +2 -2
  21. package/dist/scss/components/Dropdown/_dropdown.scss +2 -2
  22. package/dist/scss/components/FavoritingTileButton/_favoritingTileButton.scss +2 -2
  23. package/dist/scss/components/Icon/_icon.stories.scss +2 -2
  24. package/dist/scss/components/IconButton/_iconButton.scss +2 -2
  25. package/dist/scss/components/Input/_input.scss +10 -5
  26. package/dist/scss/components/Loader/_loader.scss +1 -1
  27. package/dist/scss/components/Modal/_modal.scss +2 -2
  28. package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +1 -1
  29. package/dist/scss/components/Navigation/_navigation.scss +1 -1
  30. package/dist/scss/components/ProgressIndicator/_progressIndicator.scss +2 -2
  31. package/dist/scss/components/Search/SearchResults/_searchResults.scss +2 -2
  32. package/dist/scss/components/Search/_search.scss +2 -2
  33. package/dist/scss/components/Search/_searchButton.scss +1 -1
  34. package/dist/scss/components/SplitPanel/_splitPanel.stories.scss +1 -1
  35. package/dist/scss/components/Tabs/_tabs.scss +2 -2
  36. package/dist/scss/components/Tags/_tags.scss +16 -14
  37. package/dist/scss/components/Toast/_toast.scss +4 -5
  38. package/dist/scss/components/Toggle/_toggle.scss +3 -3
  39. package/dist/scss/patterns/CountryPicker/_countryPickerModal.scss +2 -2
  40. package/dist/scss/patterns/CountryPicker/_countryPickerOption.scss +1 -1
  41. package/dist/scss/patterns/CountryPicker/_countryPickerTrigger.scss +1 -1
  42. package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +2 -2
  43. package/dist/scss/patterns/FiltersInline/_filterButton.scss +2 -2
  44. package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +2 -2
  45. package/dist/scss/patterns/Social/_social.scss +1 -1
  46. package/dist/scss/patterns/ViewingsList/_viewingsList.scss +1 -1
  47. package/dist/scss/site-furniture/Footer/_footer.scss +3 -3
  48. package/dist/scss/site-furniture/Header/_header.scss +2 -2
  49. package/package.json +1 -1
@@ -1,15 +1,5 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ModalProps } from '../Modal/Modal';
3
- export interface ModalButtonProps {
4
- /**
5
- * Callback click function for button
6
- */
7
- onClick?: () => void | unknown;
8
- /**
9
- * Button label text
10
- */
11
- buttonLabel?: string;
12
- }
13
3
  export interface ComposedModalProps extends Omit<ModalProps, 'onClose' | 'role' | 'style'> {
14
4
  /**
15
5
  * Title for Composed Modal
@@ -30,11 +20,11 @@ export interface ComposedModalProps extends Omit<ModalProps, 'onClose' | 'role'
30
20
  /**
31
21
  * Left Button Props
32
22
  */
33
- secondaryButton?: ModalButtonProps;
23
+ secondaryButton?: React.ReactNode;
34
24
  /**
35
25
  * Right Button Props
36
26
  */
37
- primaryButton?: ModalButtonProps;
27
+ primaryButton?: React.ReactNode;
38
28
  /**
39
29
  * Footer content for bottom of Viewings Details
40
30
  */
@@ -1,67 +1,65 @@
1
- import { jsxs as e, jsx as m, Fragment as C } from "react/jsx-runtime";
1
+ import { jsxs as o, jsx as s, Fragment as $ } from "react/jsx-runtime";
2
2
  import g from "../../node_modules/classnames/index.js";
3
3
  import { forwardRef as x } from "react";
4
- import { getCommonProps as k, noOp as M } from "../../utils/index.js";
5
- import t from "../Button/Button.js";
6
- import { ButtonVariants as n } from "../Button/types.js";
7
- import y from "../Divider/Divider.js";
8
- import j from "../Modal/Modal.js";
9
- import { TextVariants as c } from "../Text/types.js";
10
- import p from "../Text/Text.js";
11
- const u = x(
4
+ import { getCommonProps as b, noOp as C } from "../../utils/index.js";
5
+ import M from "../Divider/Divider.js";
6
+ import y from "../Modal/Modal.js";
7
+ import { TextVariants as t } from "../Text/types.js";
8
+ import c from "../Text/Text.js";
9
+ const j = x(
12
10
  ({
13
- children: f,
14
- className: h,
15
- overlayClassName: L,
16
- isOpen: v = !1,
17
- onClose: b = M,
11
+ children: p,
12
+ className: n,
13
+ overlayClassName: u,
14
+ isOpen: f = !1,
15
+ onClose: h = C,
18
16
  maxHeightValue: N = "60vh",
19
- title: l,
20
- footerContent: s,
21
- secondaryButton: i,
22
- primaryButton: o,
23
- id: r,
24
- ...d
17
+ title: r,
18
+ footerContent: m,
19
+ secondaryButton: d,
20
+ primaryButton: i,
21
+ id: e,
22
+ ...l
25
23
  }, _) => {
26
24
  const {
27
25
  className: a,
28
26
  "data-testid": P,
29
- ...$
30
- } = k({ id: r, ...d }, "ComposedModal");
31
- return /* @__PURE__ */ e(
32
- j,
27
+ ...v
28
+ } = b({ id: e, ...l }, "ComposedModal");
29
+ return /* @__PURE__ */ o(
30
+ y,
33
31
  {
34
- isOpen: v,
35
- onClose: b,
36
- ...d,
37
- ...$,
38
- className: g(`${a}`, h),
39
- id: r,
32
+ isOpen: f,
33
+ onClose: h,
34
+ ...l,
35
+ ...v,
36
+ className: g(`${a}`, n),
37
+ id: e,
40
38
  ref: _,
41
39
  children: [
42
- l ? /* @__PURE__ */ m(p, { variant: c.heading3, className: `${a}__title`, children: l }) : null,
43
- /* @__PURE__ */ m(
40
+ r ? /* @__PURE__ */ s(c, { variant: t.heading3, className: `${a}__title`, children: r }) : null,
41
+ /* @__PURE__ */ s(
44
42
  "div",
45
43
  {
46
44
  className: `${a}__body`,
47
45
  style: { "--max-modal-body-height": N },
48
- children: f
46
+ children: p
49
47
  }
50
48
  ),
51
- (i || o || s) && /* @__PURE__ */ e(C, { children: [
52
- /* @__PURE__ */ m(y, { className: `${a}__divider`, id: `${r}-divider` }),
53
- /* @__PURE__ */ e("div", { className: `${a}__btns-group`, children: [
54
- i && /* @__PURE__ */ m(t, { id: `${r}-secondary-btn`, variant: n.secondary, onClick: i.onClick, children: i.buttonLabel }),
55
- o && /* @__PURE__ */ m(t, { id: `${r}-primary-btn`, variant: n.primary, onClick: o.onClick, children: o.buttonLabel })
49
+ (d || i || m) && /* @__PURE__ */ o($, { children: [
50
+ /* @__PURE__ */ s(M, { className: `${a}__divider`, id: `${e}-divider` }),
51
+ /* @__PURE__ */ o("div", { className: `${a}__btns-group`, children: [
52
+ d,
53
+ i
56
54
  ] }),
57
- s && /* @__PURE__ */ m(p, { variant: c.heading5, className: `${a}__disclaimer`, children: s })
55
+ m && /* @__PURE__ */ s(c, { variant: t.heading5, className: `${a}__disclaimer`, children: m })
58
56
  ] })
59
57
  ]
60
58
  }
61
59
  );
62
60
  }
63
61
  );
64
- u.displayName = "ComposedModal";
62
+ j.displayName = "ComposedModal";
65
63
  export {
66
- u as default
64
+ j as default
67
65
  };
@@ -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;