@autoguru/overdrive 4.41.0-next.6 → 4.42.0-next.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.
- package/dist/components/AutoSuggest/AutoSuggest.css.js +1 -1
- package/dist/components/Badge/Badge.css.js +1 -1
- package/dist/components/Box/argTypes.d.ts.map +1 -1
- package/dist/components/Box/argTypes.js +3 -2
- package/dist/components/Box/useBoxStyles.css.d.ts +6 -6
- package/dist/components/Box/useBoxStyles.css.d.ts.map +1 -1
- package/dist/components/Box/useBoxStyles.css.js +1 -1
- package/dist/components/Box/useBoxStyles.d.ts +1 -1
- package/dist/components/Box/useBoxStyles.d.ts.map +1 -1
- package/dist/components/BulletList/Bullet.css.js +1 -1
- package/dist/components/BulletList/BulletList.css.js +1 -1
- package/dist/components/BulletText/BulletText.css.js +1 -1
- package/dist/components/Button/Button.css.js +1 -1
- package/dist/components/CheckBox/CheckBox.css.js +1 -1
- package/dist/components/ColourInput/ColourInput.css.js +1 -1
- package/dist/components/Columns/Columns.css.js +1 -1
- package/dist/components/Columns/Columns.d.ts +1 -1
- package/dist/components/Columns/Columns.d.ts.map +1 -1
- package/dist/components/Columns/Columns.stories.d.ts +31 -31
- package/dist/components/Columns/Columns.stories.d.ts.map +1 -1
- package/dist/components/DatePicker/DatePicker.css.js +1 -1
- package/dist/components/DateTimePicker/DateTimePicker.css.js +21 -21
- package/dist/components/DividerLine/DividerLine.stories.d.ts +2 -2
- package/dist/components/DropDown/DropDownOption.css.js +1 -1
- package/dist/components/EditableText/EditableText.css.js +1 -1
- package/dist/components/Heading/Heading.d.ts +1 -1
- package/dist/components/Heading/Heading.d.ts.map +1 -1
- package/dist/components/Heading/Heading.stories.d.ts +3 -3
- package/dist/components/HorizontalAutoScroller/HorizontalAutoScroller.css.js +1 -1
- package/dist/components/Icon/Icon.css.js +1 -1
- package/dist/components/Inline/Inline.d.ts +2 -2
- package/dist/components/Inline/Inline.d.ts.map +1 -1
- package/dist/components/IntentStripe/IntentStripe.css.js +1 -1
- package/dist/components/LinearProgressIndicator/LinearProgressIndicator.css.js +1 -1
- package/dist/components/LoadingBox/LoadingBox.css.js +1 -1
- package/dist/components/LoadingBox/LoadingBox.stories.d.ts +26 -26
- package/dist/components/LoadingBox/LoadingBox.stories.d.ts.map +1 -1
- package/dist/components/Meta/Meta.css.js +1 -1
- package/dist/components/MinimalModal/MinimalModal.css.js +1 -1
- package/dist/components/Modal/Modal.css.js +1 -1
- package/dist/components/OptionGrid/OptionGrid.css.js +1 -1
- package/dist/components/OptionList/OptionList.css.js +1 -1
- package/dist/components/OrderedList/OrderedList.css.js +1 -1
- package/dist/components/OverdriveProvider/OverdriveProvider.d.ts +3 -3
- package/dist/components/OverdriveProvider/OverdriveProvider.d.ts.map +1 -1
- package/dist/components/OverdriveProvider/useColorOverrides.js +2 -2
- package/dist/components/Pagination/Pagination.css.js +1 -1
- package/dist/components/ProgressBar/ProgressBar.css.js +1 -1
- package/dist/components/ProgressBarGroup/ProgressBarGroup.css.js +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.css.d.ts +1 -1
- package/dist/components/ProgressSpinner/ProgressSpinner.css.js +1 -1
- package/dist/components/Radio/Radio.css.js +1 -1
- package/dist/components/ScrollPane/ScrollPane.css.js +1 -1
- package/dist/components/ScrollPane/ScrollPane.d.ts +1 -1
- package/dist/components/ScrollPane/ScrollPane.d.ts.map +1 -1
- package/dist/components/Section/Section.css.js +1 -1
- package/dist/components/SelectInput/SelectInput.css.js +1 -1
- package/dist/components/SliderProgress/SliderProgress.css.js +1 -1
- package/dist/components/Stack/Divider.css.js +1 -1
- package/dist/components/Stack/Stack.css.js +1 -1
- package/dist/components/StandardModal/StandardModal.css.js +1 -1
- package/dist/components/StarRating/StarRating.css.js +1 -1
- package/dist/components/Stepper/Stepper.css.js +1 -1
- package/dist/components/StickyBox/StickyBox.css.js +1 -1
- package/dist/components/Switch/Switch.css.js +1 -1
- package/dist/components/Table/TableCell.css.js +1 -1
- package/dist/components/Table/TableCell.d.ts +1 -1
- package/dist/components/Table/TableCell.d.ts.map +1 -1
- package/dist/components/Table/TableHeadCell.css.js +1 -1
- package/dist/components/Table/context.d.ts +1 -1
- package/dist/components/Table/context.d.ts.map +1 -1
- package/dist/components/Tabs/Tab.css.js +1 -1
- package/dist/components/Tabs/TabList.css.js +1 -1
- package/dist/components/Text/useTextStyles.css.d.ts +3 -3
- package/dist/components/Text/useTextStyles.css.d.ts.map +1 -1
- package/dist/components/Text/useTextStyles.css.js +1 -1
- package/dist/components/TextLink/TextLink.css.js +1 -1
- package/dist/components/TextLink/TextLink.stories.d.ts +3 -3
- package/dist/components/Toaster/Toast.css.js +1 -1
- package/dist/components/Tooltip/Tooltip.stories.d.ts +1 -1
- package/dist/components/private/CheckableBase/CheckableBase.css.js +1 -1
- package/dist/components/private/InputBase/HintText.css.js +1 -1
- package/dist/components/private/InputBase/InputState.css.js +1 -1
- package/dist/components/private/InputBase/NotchedBase.css.js +1 -1
- package/dist/components/private/InputBase/withEnhancedInput.css.js +1 -1
- package/dist/hooks/useAttachedBoxes/useAttachedBoxes.css.js +1 -1
- package/dist/hooks/useMedia/useMedia.d.ts +1 -1
- package/dist/hooks/useMedia/useMedia.d.ts.map +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.css.js +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginLeft.d.ts.map +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.css.js +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts +1 -1
- package/dist/hooks/useNegativeMargin/useNegativeMarginTop.d.ts.map +1 -1
- package/dist/hooks/useWindowHeightFill/useWindowHeightFill.d.ts +1 -1
- package/dist/hooks/useWindowHeightFill/useWindowHeightFill.d.ts.map +1 -1
- package/dist/hooks/useWindowHeightFill/useWindowHeightFill.js +2 -2
- package/dist/reset/globalReset.css.js +5 -5
- package/dist/reset/reset.css.d.ts.map +1 -1
- package/dist/reset/reset.css.js +5 -5
- package/dist/stories/borders.stories.d.ts.map +1 -1
- package/dist/stories/helpers/index.d.ts +5 -2
- package/dist/stories/helpers/index.d.ts.map +1 -1
- package/dist/stories/helpers/sprinkles.css.d.ts +19 -70
- package/dist/stories/helpers/sprinkles.css.d.ts.map +1 -1
- package/dist/stories/helpers/styles.css.d.ts +2 -0
- package/dist/stories/helpers/styles.css.d.ts.map +1 -1
- package/dist/stories/icons.stories.d.ts.map +1 -1
- package/dist/stories/intentional-colours.stories.d.ts +6 -0
- package/dist/stories/intentional-colours.stories.d.ts.map +1 -0
- package/dist/stories/palette.stories.d.ts.map +1 -1
- package/dist/stories/space.stories.d.ts.map +1 -1
- package/dist/stories/theme.stories.d.ts.map +1 -1
- package/dist/styles/focusOutline.css.js +1 -1
- package/dist/styles/intentional.css.d.ts +2 -2
- package/dist/styles/intentional.css.js +1 -1
- package/dist/styles/layers.css.d.ts +4 -0
- package/dist/styles/layers.css.d.ts.map +1 -0
- package/dist/styles/layers.css.js +11 -0
- package/dist/styles/sprinkles.css.js +1 -1
- package/dist/styles/stack.css.js +1 -1
- package/dist/styles/typography.css.d.ts +2 -2
- package/dist/styles/typography.css.js +1 -1
- package/dist/themes/base/colours.d.ts +139 -0
- package/dist/themes/base/colours.d.ts.map +1 -0
- package/dist/themes/base/colours.js +77 -0
- package/dist/themes/base/index.d.ts +510 -10
- package/dist/themes/base/index.d.ts.map +1 -1
- package/dist/themes/base/index.js +4 -4
- package/dist/themes/base/theme.css.d.ts +3 -0
- package/dist/themes/base/theme.css.d.ts.map +1 -0
- package/dist/themes/base/theme.css.js +11 -0
- package/dist/themes/base/tokens.d.ts +393 -4
- package/dist/themes/base/tokens.d.ts.map +1 -1
- package/dist/themes/base/tokens.js +113 -142
- package/dist/themes/flat_red/index.d.ts +617 -10
- package/dist/themes/flat_red/index.d.ts.map +1 -1
- package/dist/themes/flat_red/index.js +4 -4
- package/dist/themes/flat_red/theme.css.d.ts +2 -0
- package/dist/themes/flat_red/theme.css.d.ts.map +1 -0
- package/dist/themes/flat_red/theme.css.js +10 -0
- package/dist/themes/flat_red/tokens.d.ts +500 -1
- package/dist/themes/flat_red/tokens.d.ts.map +1 -1
- package/dist/themes/helpers.d.ts +4 -0
- package/dist/themes/helpers.d.ts.map +1 -1
- package/dist/themes/index.d.ts +792 -0
- package/dist/themes/index.d.ts.map +1 -1
- package/dist/themes/index.js +6 -1
- package/dist/themes/makeTheme.d.ts +396 -2
- package/dist/themes/makeTheme.d.ts.map +1 -1
- package/dist/themes/makeTheme.js +4 -0
- package/dist/themes/neutral/index.d.ts +750 -10
- package/dist/themes/neutral/index.d.ts.map +1 -1
- package/dist/themes/neutral/index.js +3 -3
- package/dist/themes/neutral/{vars.css.d.ts → theme.css.d.ts} +1 -1
- package/dist/themes/neutral/theme.css.d.ts.map +1 -0
- package/dist/themes/neutral/theme.css.js +10 -0
- package/dist/themes/neutral/tokens.d.ts +633 -2
- package/dist/themes/neutral/tokens.d.ts.map +1 -1
- package/dist/themes/neutral/tokens.js +5 -4
- package/dist/themes/theme.css.d.ts +180 -285
- package/dist/themes/theme.css.d.ts.map +1 -1
- package/dist/themes/theme.css.js +237 -194
- package/dist/themes/types.d.ts +19 -0
- package/dist/themes/types.d.ts.map +1 -0
- package/package.json +20 -20
- package/dist/themes/base/vars.css.d.ts +0 -3
- package/dist/themes/base/vars.css.d.ts.map +0 -1
- package/dist/themes/base/vars.css.js +0 -10
- package/dist/themes/flat_red/vars.css.d.ts +0 -2
- package/dist/themes/flat_red/vars.css.d.ts.map +0 -1
- package/dist/themes/flat_red/vars.css.js +0 -9
- package/dist/themes/neutral/vars.css.d.ts.map +0 -1
- package/dist/themes/neutral/vars.css.js +0 -9
- package/dist/themes/tokens.d.ts +0 -106
- package/dist/themes/tokens.d.ts.map +0 -1
- /package/dist/themes/{tokens.js → types.js} +0 -0
|
@@ -4,7 +4,7 @@ import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/styles/intentional.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { styleVariants } from '@vanilla-extract/css';
|
|
6
6
|
import { recipe } from '@vanilla-extract/recipes';
|
|
7
|
-
import {
|
|
7
|
+
import { overdriveTokens as vars } from "../themes/theme.css.js";
|
|
8
8
|
export const variantIntentionalColors = styleVariants(vars.colours.intent, variant => ({
|
|
9
9
|
backgroundColor: variant.background.standard,
|
|
10
10
|
border: variant.border,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"layers.css.d.ts","sourceRoot":"","sources":["../../lib/styles/layers.css.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,aAAa,QAAuB,CAAC;AAClD,eAAO,MAAM,aAAa,QAAuB,CAAC;AAClD,eAAO,MAAM,kBAAkB,QAG9B,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
|
+
__vanilla_filescope__.setFileScope("lib/styles/layers.css.ts", "@autoguru/overdrive");
|
|
5
|
+
import { globalLayer } from '@vanilla-extract/css';
|
|
6
|
+
export const cssLayerReset = globalLayer('reset');
|
|
7
|
+
export const cssLayerTheme = globalLayer('theme');
|
|
8
|
+
export const cssLayerTypography = globalLayer({
|
|
9
|
+
parent: cssLayerTheme
|
|
10
|
+
}, 'typography');
|
|
11
|
+
__vanilla_filescope__.endFileScope();
|
|
@@ -8,7 +8,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
8
8
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
9
9
|
import { createSprinkles, defineProperties } from '@vanilla-extract/sprinkles';
|
|
10
10
|
import { breakpoints } from "../themes/makeTheme.js";
|
|
11
|
-
import {
|
|
11
|
+
import { overdriveTokens as tokens } from "../themes/theme.css.js";
|
|
12
12
|
const {
|
|
13
13
|
space
|
|
14
14
|
} = tokens;
|
package/dist/styles/stack.css.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
import * as __vanilla_filescope__ from '@vanilla-extract/css/fileScope';
|
|
4
4
|
__vanilla_filescope__.setFileScope("lib/styles/stack.css.ts", "@autoguru/overdrive");
|
|
5
5
|
import { recipe } from '@vanilla-extract/recipes';
|
|
6
|
-
import {
|
|
6
|
+
import { overdriveTokens as tokens } from "../themes/theme.css.js";
|
|
7
7
|
export const stack = recipe({
|
|
8
8
|
base: {
|
|
9
9
|
display: 'flex',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const fontSize: Record<"1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "sm" | "md" | "lg" | "xl" | "2xl" | "xxs" | "xs" | "3xl" | "4xl", string>;
|
|
2
|
-
export declare const fontWeight: Record<"
|
|
2
|
+
export declare const fontWeight: Record<"bold" | "normal" | "semiBold", string>;
|
|
3
3
|
export declare const styledFont: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
4
4
|
size: {
|
|
5
5
|
xxs: {
|
|
@@ -75,7 +75,7 @@ export declare const styledFont: import("@vanilla-extract/recipes").RuntimeFn<{
|
|
|
75
75
|
lineHeight: `var(--${string})` | `var(--${string}, ${string})` | `var(--${string}, ${number})`;
|
|
76
76
|
};
|
|
77
77
|
};
|
|
78
|
-
weight: Record<"
|
|
78
|
+
weight: Record<"bold" | "normal" | "semiBold", string>;
|
|
79
79
|
lineHeight: {
|
|
80
80
|
true: never[];
|
|
81
81
|
};
|
|
@@ -7,7 +7,7 @@ function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbol
|
|
|
7
7
|
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
8
8
|
import { styleVariants } from '@vanilla-extract/css';
|
|
9
9
|
import { recipe } from '@vanilla-extract/recipes';
|
|
10
|
-
import {
|
|
10
|
+
import { overdriveTokens as tokens } from "../themes/theme.css.js";
|
|
11
11
|
const fontScale = _objectSpread(_objectSpread({}, tokens.typography.size), {}, {
|
|
12
12
|
xxs: tokens.typography.size[1],
|
|
13
13
|
xs: tokens.typography.size[2],
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
export declare const colourMapWithoutWhite: {
|
|
2
|
+
black: {
|
|
3
|
+
'900': string;
|
|
4
|
+
'800': string;
|
|
5
|
+
'700': string;
|
|
6
|
+
'600': string;
|
|
7
|
+
'500': string;
|
|
8
|
+
'400': string;
|
|
9
|
+
'300': string;
|
|
10
|
+
'200': string;
|
|
11
|
+
'100': string;
|
|
12
|
+
};
|
|
13
|
+
gray: {
|
|
14
|
+
'900': string;
|
|
15
|
+
'800': string;
|
|
16
|
+
'700': string;
|
|
17
|
+
'600': string;
|
|
18
|
+
'500': string;
|
|
19
|
+
'400': string;
|
|
20
|
+
'300': string;
|
|
21
|
+
'200': string;
|
|
22
|
+
'100': string;
|
|
23
|
+
};
|
|
24
|
+
green: {
|
|
25
|
+
'900': string;
|
|
26
|
+
'800': string;
|
|
27
|
+
'700': string;
|
|
28
|
+
'600': string;
|
|
29
|
+
'500': string;
|
|
30
|
+
'400': string;
|
|
31
|
+
'300': string;
|
|
32
|
+
'200': string;
|
|
33
|
+
'100': string;
|
|
34
|
+
};
|
|
35
|
+
blue: {
|
|
36
|
+
'900': string;
|
|
37
|
+
'800': string;
|
|
38
|
+
'700': string;
|
|
39
|
+
'600': string;
|
|
40
|
+
'500': string;
|
|
41
|
+
'400': string;
|
|
42
|
+
'300': string;
|
|
43
|
+
'200': string;
|
|
44
|
+
'100': string;
|
|
45
|
+
};
|
|
46
|
+
yellow: {
|
|
47
|
+
'900': string;
|
|
48
|
+
'800': string;
|
|
49
|
+
'700': string;
|
|
50
|
+
'600': string;
|
|
51
|
+
'500': string;
|
|
52
|
+
'400': string;
|
|
53
|
+
'300': string;
|
|
54
|
+
'200': string;
|
|
55
|
+
'100': string;
|
|
56
|
+
};
|
|
57
|
+
red: {
|
|
58
|
+
'900': string;
|
|
59
|
+
'800': string;
|
|
60
|
+
'700': string;
|
|
61
|
+
'600': string;
|
|
62
|
+
'500': string;
|
|
63
|
+
'400': string;
|
|
64
|
+
'300': string;
|
|
65
|
+
'200': string;
|
|
66
|
+
'100': string;
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export declare const colourMap: {
|
|
70
|
+
white: string;
|
|
71
|
+
black: {
|
|
72
|
+
'900': string;
|
|
73
|
+
'800': string;
|
|
74
|
+
'700': string;
|
|
75
|
+
'600': string;
|
|
76
|
+
'500': string;
|
|
77
|
+
'400': string;
|
|
78
|
+
'300': string;
|
|
79
|
+
'200': string;
|
|
80
|
+
'100': string;
|
|
81
|
+
};
|
|
82
|
+
gray: {
|
|
83
|
+
'900': string;
|
|
84
|
+
'800': string;
|
|
85
|
+
'700': string;
|
|
86
|
+
'600': string;
|
|
87
|
+
'500': string;
|
|
88
|
+
'400': string;
|
|
89
|
+
'300': string;
|
|
90
|
+
'200': string;
|
|
91
|
+
'100': string;
|
|
92
|
+
};
|
|
93
|
+
green: {
|
|
94
|
+
'900': string;
|
|
95
|
+
'800': string;
|
|
96
|
+
'700': string;
|
|
97
|
+
'600': string;
|
|
98
|
+
'500': string;
|
|
99
|
+
'400': string;
|
|
100
|
+
'300': string;
|
|
101
|
+
'200': string;
|
|
102
|
+
'100': string;
|
|
103
|
+
};
|
|
104
|
+
blue: {
|
|
105
|
+
'900': string;
|
|
106
|
+
'800': string;
|
|
107
|
+
'700': string;
|
|
108
|
+
'600': string;
|
|
109
|
+
'500': string;
|
|
110
|
+
'400': string;
|
|
111
|
+
'300': string;
|
|
112
|
+
'200': string;
|
|
113
|
+
'100': string;
|
|
114
|
+
};
|
|
115
|
+
yellow: {
|
|
116
|
+
'900': string;
|
|
117
|
+
'800': string;
|
|
118
|
+
'700': string;
|
|
119
|
+
'600': string;
|
|
120
|
+
'500': string;
|
|
121
|
+
'400': string;
|
|
122
|
+
'300': string;
|
|
123
|
+
'200': string;
|
|
124
|
+
'100': string;
|
|
125
|
+
};
|
|
126
|
+
red: {
|
|
127
|
+
'900': string;
|
|
128
|
+
'800': string;
|
|
129
|
+
'700': string;
|
|
130
|
+
'600': string;
|
|
131
|
+
'500': string;
|
|
132
|
+
'400': string;
|
|
133
|
+
'300': string;
|
|
134
|
+
'200': string;
|
|
135
|
+
'100': string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
export declare const secondaryForeground: string;
|
|
139
|
+
//# sourceMappingURL=colours.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"colours.d.ts","sourceRoot":"","sources":["../../../lib/themes/base/colours.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmEb,CAAC;AAEtB,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAGD,CAAC;AACtB,eAAO,MAAM,mBAAmB,QAAwB,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
import _defineProperty from "@babel/runtime/helpers/esm/defineProperty";
|
|
4
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
5
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
6
|
+
export const colourMapWithoutWhite = {
|
|
7
|
+
black: {
|
|
8
|
+
'900': '#222222',
|
|
9
|
+
'800': '#2A2C2A',
|
|
10
|
+
'700': '#444644',
|
|
11
|
+
'600': '#626262',
|
|
12
|
+
'500': '#808080',
|
|
13
|
+
'400': '#ADB1B5',
|
|
14
|
+
'300': '#D4D9DD',
|
|
15
|
+
'200': '#DDE0E3',
|
|
16
|
+
'100': '#E4E4E4'
|
|
17
|
+
},
|
|
18
|
+
gray: {
|
|
19
|
+
'900': '#212338',
|
|
20
|
+
'800': '#34384c',
|
|
21
|
+
'700': '#484c5f',
|
|
22
|
+
'600': '#5c6172',
|
|
23
|
+
'500': '#6c7283',
|
|
24
|
+
'400': '#8f95a1',
|
|
25
|
+
'300': '#d4d9dd',
|
|
26
|
+
'200': '#eef0f2',
|
|
27
|
+
'100': '#fafbfc'
|
|
28
|
+
},
|
|
29
|
+
green: {
|
|
30
|
+
'900': '#078171',
|
|
31
|
+
'800': '#05987a',
|
|
32
|
+
'700': '#03af83',
|
|
33
|
+
'600': '#01c68c',
|
|
34
|
+
'500': '#00dd95',
|
|
35
|
+
'400': '#36e5aa',
|
|
36
|
+
'300': '#71edc2',
|
|
37
|
+
'200': '#e3f8f0',
|
|
38
|
+
'100': '#f2fdf9'
|
|
39
|
+
},
|
|
40
|
+
blue: {
|
|
41
|
+
'900': '#0d47a1',
|
|
42
|
+
'800': '#0d4bb7',
|
|
43
|
+
'700': '#0d50ce',
|
|
44
|
+
'600': '#0d54e5',
|
|
45
|
+
'500': '#0d59fc',
|
|
46
|
+
'400': '#4680fc',
|
|
47
|
+
'300': '#80a7fd',
|
|
48
|
+
'200': '#e1edfe',
|
|
49
|
+
'100': '#f3f8ff'
|
|
50
|
+
},
|
|
51
|
+
yellow: {
|
|
52
|
+
'900': '#f38e29',
|
|
53
|
+
'800': '#f69a1f',
|
|
54
|
+
'700': '#f9a715',
|
|
55
|
+
'600': '#fcb30b',
|
|
56
|
+
'500': '#ffc001',
|
|
57
|
+
'400': '#ffcf3d',
|
|
58
|
+
'300': '#ffde79',
|
|
59
|
+
'200': '#ffedb5',
|
|
60
|
+
'100': '#fffcf2'
|
|
61
|
+
},
|
|
62
|
+
red: {
|
|
63
|
+
'900': '#780502',
|
|
64
|
+
'800': '#96110e',
|
|
65
|
+
'700': '#b51e1a',
|
|
66
|
+
'600': '#d42b26',
|
|
67
|
+
'500': '#e12e28',
|
|
68
|
+
'400': '#e85f5b',
|
|
69
|
+
'300': '#ef918e',
|
|
70
|
+
'200': '#ffd4d4',
|
|
71
|
+
'100': '#fdf4f4'
|
|
72
|
+
}
|
|
73
|
+
};
|
|
74
|
+
export const colourMap = _objectSpread(_objectSpread({}, colourMapWithoutWhite), {}, {
|
|
75
|
+
white: '#ffffff'
|
|
76
|
+
});
|
|
77
|
+
export const secondaryForeground = colourMap.gray['900'];
|