@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.
- package/dist/components/ComposedModal/ComposedModal.d.ts +2 -12
- package/dist/components/ComposedModal/ComposedModal.js +39 -41
- package/dist/components/Icon/Icon.d.ts +1 -1
- package/dist/components/Icon/Icon.js +8 -8
- package/dist/components/Toast/Toast.js +1 -1
- package/dist/design/colors-tokens/ColorCard.d.ts +1 -1
- package/dist/design/colors-tokens/ColorTokensPage.d.ts +1 -0
- package/dist/scss/_sharedClasses.scss +4 -5
- package/dist/scss/_utils.scss +1 -1
- package/dist/scss/_vars.scss +111 -54
- package/dist/scss/_vars.scss.js +111 -54
- package/dist/scss/components/AddToCalendar/_addToCalendar.scss +3 -3
- package/dist/scss/components/Button/_button.scss +2 -2
- package/dist/scss/components/Carousel/_carousel.scss +8 -8
- package/dist/scss/components/ComboBox/_combobox.scss +5 -5
- package/dist/scss/components/ContentPeek/_contentPeek.scss +2 -2
- package/dist/scss/components/DatePicker/_datePicker.scss +1 -1
- package/dist/scss/components/DescriptiveRadioButton/_descriptiveRadioButton.scss +1 -1
- package/dist/scss/components/Drawer/_drawer.scss +3 -3
- package/dist/scss/components/Drawer/_drawerHeader.scss +2 -2
- package/dist/scss/components/Dropdown/_dropdown.scss +2 -2
- package/dist/scss/components/FavoritingTileButton/_favoritingTileButton.scss +2 -2
- package/dist/scss/components/Icon/_icon.stories.scss +2 -2
- package/dist/scss/components/IconButton/_iconButton.scss +2 -2
- package/dist/scss/components/Input/_input.scss +10 -5
- package/dist/scss/components/Loader/_loader.scss +1 -1
- package/dist/scss/components/Modal/_modal.scss +2 -2
- package/dist/scss/components/Navigation/NavigationItem/_navigationItem.scss +1 -1
- package/dist/scss/components/Navigation/_navigation.scss +1 -1
- package/dist/scss/components/ProgressIndicator/_progressIndicator.scss +2 -2
- package/dist/scss/components/Search/SearchResults/_searchResults.scss +2 -2
- package/dist/scss/components/Search/_search.scss +2 -2
- package/dist/scss/components/Search/_searchButton.scss +1 -1
- package/dist/scss/components/SplitPanel/_splitPanel.stories.scss +1 -1
- package/dist/scss/components/Tabs/_tabs.scss +2 -2
- package/dist/scss/components/Tags/_tags.scss +16 -14
- package/dist/scss/components/Toast/_toast.scss +4 -5
- package/dist/scss/components/Toggle/_toggle.scss +3 -3
- package/dist/scss/patterns/CountryPicker/_countryPickerModal.scss +2 -2
- package/dist/scss/patterns/CountryPicker/_countryPickerOption.scss +1 -1
- package/dist/scss/patterns/CountryPicker/_countryPickerTrigger.scss +1 -1
- package/dist/scss/patterns/FavoritesCollectionTile/_favoritesCollectionTile.scss +2 -2
- package/dist/scss/patterns/FiltersInline/_filterButton.scss +2 -2
- package/dist/scss/patterns/FiltersInline/_filterDropdownMenu.scss +2 -2
- package/dist/scss/patterns/Social/_social.scss +1 -1
- package/dist/scss/patterns/ViewingsList/_viewingsList.scss +1 -1
- package/dist/scss/site-furniture/Footer/_footer.scss +3 -3
- package/dist/scss/site-furniture/Header/_header.scss +2 -2
- 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?:
|
|
23
|
+
secondaryButton?: React.ReactNode;
|
|
34
24
|
/**
|
|
35
25
|
* Right Button Props
|
|
36
26
|
*/
|
|
37
|
-
primaryButton?:
|
|
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
|
|
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
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
9
|
-
|
|
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:
|
|
14
|
-
className:
|
|
15
|
-
overlayClassName:
|
|
16
|
-
isOpen:
|
|
17
|
-
onClose:
|
|
11
|
+
children: p,
|
|
12
|
+
className: n,
|
|
13
|
+
overlayClassName: u,
|
|
14
|
+
isOpen: f = !1,
|
|
15
|
+
onClose: h = C,
|
|
18
16
|
maxHeightValue: N = "60vh",
|
|
19
|
-
title:
|
|
20
|
-
footerContent:
|
|
21
|
-
secondaryButton:
|
|
22
|
-
primaryButton:
|
|
23
|
-
id:
|
|
24
|
-
...
|
|
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
|
-
} =
|
|
31
|
-
return /* @__PURE__ */
|
|
32
|
-
|
|
27
|
+
...v
|
|
28
|
+
} = b({ id: e, ...l }, "ComposedModal");
|
|
29
|
+
return /* @__PURE__ */ o(
|
|
30
|
+
y,
|
|
33
31
|
{
|
|
34
|
-
isOpen:
|
|
35
|
-
onClose:
|
|
36
|
-
...
|
|
37
|
-
|
|
38
|
-
className: g(`${a}`,
|
|
39
|
-
id:
|
|
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
|
-
|
|
43
|
-
/* @__PURE__ */
|
|
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:
|
|
46
|
+
children: p
|
|
49
47
|
}
|
|
50
48
|
),
|
|
51
|
-
(
|
|
52
|
-
/* @__PURE__ */
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
-
|
|
55
|
-
|
|
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
|
-
|
|
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
|
-
|
|
62
|
+
j.displayName = "ComposedModal";
|
|
65
63
|
export {
|
|
66
|
-
|
|
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 $
|
|
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
|
|
2
|
-
import { forwardRef as
|
|
3
|
-
import
|
|
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
|
|
8
|
-
const P =
|
|
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 ?
|
|
11
|
-
color: r === "currentColor" ? r : $(r ?? "", "$
|
|
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__ */
|
|
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
|
);
|
|
@@ -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:
|
|
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:
|
|
64
|
+
background-color: $grey-50;
|
|
66
65
|
}
|
|
67
66
|
|
|
68
67
|
100% {
|
|
69
|
-
background-color:
|
|
68
|
+
background-color: $black-25;
|
|
70
69
|
}
|
|
71
70
|
}
|
package/dist/scss/_utils.scss
CHANGED
package/dist/scss/_vars.scss
CHANGED
|
@@ -5,65 +5,122 @@ $px: seldon;
|
|
|
5
5
|
/// COlORS:
|
|
6
6
|
///////////////////////
|
|
7
7
|
|
|
8
|
-
// Primary
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
$white: #fff;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
$
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
$
|
|
20
|
-
$
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
$
|
|
28
|
-
$
|
|
29
|
-
$
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
$
|
|
36
|
-
$
|
|
37
|
-
$
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
$
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
$
|
|
48
|
-
$
|
|
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
|
-
//
|
|
55
|
-
|
|
56
|
-
$
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
$
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
$
|
|
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:
|
package/dist/scss/_vars.scss.js
CHANGED
|
@@ -5,65 +5,122 @@ $px: seldon;
|
|
|
5
5
|
/// COlORS:
|
|
6
6
|
///////////////////////
|
|
7
7
|
|
|
8
|
-
// Primary
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
$white: #fff;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
$
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
$
|
|
20
|
-
$
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
$
|
|
28
|
-
$
|
|
29
|
-
$
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
$
|
|
36
|
-
$
|
|
37
|
-
$
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
$
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
$
|
|
48
|
-
$
|
|
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
|
-
//
|
|
55
|
-
|
|
56
|
-
$
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
$
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
$
|
|
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:
|
|
33
|
-
border: 1px solid
|
|
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:
|
|
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(
|
|
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;
|