@nearform/quantum 1.8.0 → 1.9.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/README.md +19 -1
- package/dist/animations/index.d.ts +25 -0
- package/dist/animations/index.js +14 -37
- package/dist/animations/index.js.map +1 -1
- package/dist/assets/build/open-source.icon.d.ts +2 -0
- package/dist/assets/build/open-source.icon.js +7 -0
- package/dist/assets/build/open-source.icon.js.map +1 -0
- package/dist/assets/index.d.ts +13 -0
- package/dist/assets/index.js +29 -0
- package/dist/assets/index.js.map +1 -0
- package/dist/colors/accent.d.ts +16 -0
- package/dist/colors/accent.js +21 -0
- package/dist/colors/accent.js.map +1 -0
- package/dist/colors/background.d.ts +36 -0
- package/dist/colors/background.js +41 -0
- package/dist/colors/background.js.map +1 -0
- package/dist/colors/base.d.ts +136 -0
- package/dist/colors/base.js +140 -0
- package/dist/colors/base.js.map +1 -0
- package/dist/colors/border.d.ts +16 -0
- package/dist/colors/border.js +21 -0
- package/dist/colors/border.js.map +1 -0
- package/dist/colors/button.d.ts +106 -0
- package/dist/colors/button.js +115 -0
- package/dist/colors/button.js.map +1 -0
- package/dist/colors/feedback.d.ts +27 -0
- package/dist/colors/feedback.js +32 -0
- package/dist/colors/feedback.js.map +1 -0
- package/dist/colors/foreground.d.ts +35 -0
- package/dist/colors/foreground.js +40 -0
- package/dist/colors/foreground.js.map +1 -0
- package/dist/colors/index.d.ts +351 -0
- package/dist/colors/index.js +13 -416
- package/dist/colors/index.js.map +1 -1
- package/dist/components/Accordion/index.d.ts +13 -0
- package/dist/components/Accordion/index.js +97 -0
- package/dist/components/Accordion/index.js.map +1 -0
- package/dist/components/AppHeader/index.d.ts +21 -0
- package/dist/components/AppHeader/index.js +98 -0
- package/dist/components/AppHeader/index.js.map +1 -0
- package/dist/components/Avatar/index.d.ts +30 -0
- package/dist/components/Avatar/index.js +116 -0
- package/dist/components/Avatar/index.js.map +1 -0
- package/dist/components/BackLink/index.d.ts +9 -0
- package/dist/components/BackLink/index.js +80 -0
- package/dist/components/BackLink/index.js.map +1 -0
- package/dist/components/Badge/index.d.ts +48 -0
- package/dist/components/Badge/index.js +160 -0
- package/dist/components/Badge/index.js.map +1 -0
- package/dist/components/Breadcrumb/index.d.ts +13 -0
- package/dist/components/Breadcrumb/index.js +90 -0
- package/dist/components/Breadcrumb/index.js.map +1 -0
- package/dist/components/Button/index.d.ts +17 -0
- package/dist/components/Button/index.js +204 -0
- package/dist/components/Button/index.js.map +1 -0
- package/dist/components/ButtonGroup/index.d.ts +11 -0
- package/dist/components/ButtonGroup/index.js +102 -0
- package/dist/components/ButtonGroup/index.js.map +1 -0
- package/dist/components/Calendar/index.d.ts +8 -0
- package/dist/components/Calendar/index.js +146 -0
- package/dist/components/Calendar/index.js.map +1 -0
- package/dist/components/Card/index.d.ts +28 -0
- package/dist/components/Card/index.js +155 -0
- package/dist/components/Card/index.js.map +1 -0
- package/dist/components/Chat/index.d.ts +39 -0
- package/dist/components/Chat/index.js +100 -0
- package/dist/components/Chat/index.js.map +1 -0
- package/dist/components/Checkbox/index.d.ts +5 -0
- package/dist/components/Checkbox/index.js +128 -0
- package/dist/components/Checkbox/index.js.map +1 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.d.ts +61 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.js +107 -0
- package/dist/components/CheckboxGroup/CheckboxGroup.js.map +1 -0
- package/dist/components/CheckboxGroup/CheckboxGroupItem.d.ts +19 -0
- package/dist/components/CheckboxGroup/CheckboxGroupItem.js +83 -0
- package/dist/components/CheckboxGroup/CheckboxGroupItem.js.map +1 -0
- package/dist/components/CheckboxGroup/index.d.ts +2 -0
- package/dist/components/CheckboxGroup/index.js +9 -0
- package/dist/components/CheckboxGroup/index.js.map +1 -0
- package/dist/components/Chip/index.d.ts +11 -0
- package/dist/components/Chip/index.js +105 -0
- package/dist/components/Chip/index.js.map +1 -0
- package/dist/components/CodeBlock/index.d.ts +7 -0
- package/dist/components/CodeBlock/index.js +57 -0
- package/dist/components/CodeBlock/index.js.map +1 -0
- package/dist/components/ControlLabel/index.d.ts +13 -0
- package/dist/components/ControlLabel/index.js +83 -0
- package/dist/components/ControlLabel/index.js.map +1 -0
- package/dist/components/DateInput/index.d.ts +26 -0
- package/dist/components/DateInput/index.js +261 -0
- package/dist/components/DateInput/index.js.map +1 -0
- package/dist/components/DocsList/index.d.ts +18 -0
- package/dist/components/DocsList/index.js +125 -0
- package/dist/components/DocsList/index.js.map +1 -0
- package/dist/components/FormGroup/index.d.ts +121 -0
- package/dist/components/FormGroup/index.js +359 -0
- package/dist/components/FormGroup/index.js.map +1 -0
- package/dist/components/HeroButton/index.d.ts +17 -0
- package/dist/components/HeroButton/index.js +139 -0
- package/dist/components/HeroButton/index.js.map +1 -0
- package/dist/components/IconButton/index.d.ts +77 -0
- package/dist/components/IconButton/index.js +235 -0
- package/dist/components/IconButton/index.js.map +1 -0
- package/dist/components/Input/index.d.ts +27 -0
- package/dist/components/Input/index.js +179 -0
- package/dist/components/Input/index.js.map +1 -0
- package/dist/components/Label/index.d.ts +12 -0
- package/dist/components/Label/index.js +89 -0
- package/dist/components/Label/index.js.map +1 -0
- package/dist/components/Link/index.d.ts +8 -0
- package/dist/components/Link/index.js +40 -0
- package/dist/components/Link/index.js.map +1 -0
- package/dist/components/Modal/index.d.ts +26 -0
- package/dist/components/Modal/index.js +143 -0
- package/dist/components/Modal/index.js.map +1 -0
- package/dist/components/Navigation/index.d.ts +8 -0
- package/dist/components/Navigation/index.js +65 -0
- package/dist/components/Navigation/index.js.map +1 -0
- package/dist/components/Notice/index.d.ts +17 -0
- package/dist/components/Notice/index.js +134 -0
- package/dist/components/Notice/index.js.map +1 -0
- package/dist/components/PageHeader/index.d.ts +15 -0
- package/dist/components/PageHeader/index.js +90 -0
- package/dist/components/PageHeader/index.js.map +1 -0
- package/dist/components/Pagination/index.d.ts +17 -0
- package/dist/components/Pagination/index.js +118 -0
- package/dist/components/Pagination/index.js.map +1 -0
- package/dist/components/Password/index.d.ts +18 -0
- package/dist/components/Password/index.js +106 -0
- package/dist/components/Password/index.js.map +1 -0
- package/dist/components/Popover/index.d.ts +28 -0
- package/dist/components/Popover/index.js +97 -0
- package/dist/components/Popover/index.js.map +1 -0
- package/dist/components/Radio/RadioGroup.d.ts +42 -0
- package/dist/components/Radio/RadioGroup.js +82 -0
- package/dist/components/Radio/RadioGroup.js.map +1 -0
- package/dist/components/Radio/RadioGroupItem.d.ts +17 -0
- package/dist/components/Radio/RadioGroupItem.js +117 -0
- package/dist/components/Radio/RadioGroupItem.js.map +1 -0
- package/dist/components/Radio/index.d.ts +2 -0
- package/dist/components/Radio/index.js +8 -0
- package/dist/components/Radio/index.js.map +1 -0
- package/dist/components/Select/index.d.ts +19 -0
- package/dist/components/Select/index.js +206 -0
- package/dist/components/Select/index.js.map +1 -0
- package/dist/components/Slider/index.d.ts +18 -0
- package/dist/components/Slider/index.js +122 -0
- package/dist/components/Slider/index.js.map +1 -0
- package/dist/components/SortAndShow/index.d.ts +15 -0
- package/dist/components/SortAndShow/index.js +68 -0
- package/dist/components/SortAndShow/index.js.map +1 -0
- package/dist/components/SplitButton/index.d.ts +25 -0
- package/dist/components/SplitButton/index.js +224 -0
- package/dist/components/SplitButton/index.js.map +1 -0
- package/dist/components/Stats/index.d.ts +10 -0
- package/dist/components/Stats/index.js +63 -0
- package/dist/components/Stats/index.js.map +1 -0
- package/dist/components/Stepper/index.d.ts +23 -0
- package/dist/components/Stepper/index.js +142 -0
- package/dist/components/Stepper/index.js.map +1 -0
- package/dist/components/StepsIndicator/Step.d.ts +6 -0
- package/dist/components/StepsIndicator/Step.js +24 -0
- package/dist/components/StepsIndicator/Step.js.map +1 -0
- package/dist/components/StepsIndicator/StepsIndicator.d.ts +12 -0
- package/dist/components/StepsIndicator/StepsIndicator.js +67 -0
- package/dist/components/StepsIndicator/StepsIndicator.js.map +1 -0
- package/dist/components/StepsIndicator/index.d.ts +2 -0
- package/dist/components/StepsIndicator/index.js +19 -0
- package/dist/components/StepsIndicator/index.js.map +1 -0
- package/dist/components/Subnav/index.d.ts +14 -0
- package/dist/components/Subnav/index.js +94 -0
- package/dist/components/Subnav/index.js.map +1 -0
- package/dist/components/Switch/index.d.ts +4 -0
- package/dist/components/Switch/index.js +103 -0
- package/dist/components/Switch/index.js.map +1 -0
- package/dist/components/Table/index.d.ts +48 -0
- package/dist/components/Table/index.js +147 -0
- package/dist/components/Table/index.js.map +1 -0
- package/dist/components/Tabs/index.d.ts +16 -0
- package/dist/components/Tabs/index.js +168 -0
- package/dist/components/Tabs/index.js.map +1 -0
- package/dist/components/Textarea/index.d.ts +13 -0
- package/dist/components/Textarea/index.js +96 -0
- package/dist/components/Textarea/index.js.map +1 -0
- package/dist/components/Toast/index.d.ts +24 -0
- package/dist/components/Toast/index.js +171 -0
- package/dist/components/Toast/index.js.map +1 -0
- package/dist/components/ToggleList/index.d.ts +20 -0
- package/dist/components/ToggleList/index.js +68 -0
- package/dist/components/ToggleList/index.js.map +1 -0
- package/dist/components/Tooltip/index.d.ts +11 -0
- package/dist/components/Tooltip/index.js +66 -0
- package/dist/components/Tooltip/index.js.map +1 -0
- package/dist/components/WebsiteFooter/index.d.ts +23 -0
- package/dist/components/WebsiteFooter/index.js +113 -0
- package/dist/components/WebsiteFooter/index.js.map +1 -0
- package/dist/components/WebsiteHeader/index.d.ts +21 -0
- package/dist/components/WebsiteHeader/index.js +98 -0
- package/dist/components/WebsiteHeader/index.js.map +1 -0
- package/dist/components/choice-group.d.ts +109 -0
- package/dist/components/choice-group.js +200 -0
- package/dist/components/choice-group.js.map +1 -0
- package/dist/components/index.d.ts +49 -0
- package/dist/components/index.js +66 -0
- package/dist/components/index.js.map +1 -0
- package/dist/esm/animations/index.js +17 -0
- package/dist/esm/animations/index.js.map +1 -0
- package/dist/esm/colors/accent.js +18 -0
- package/dist/esm/colors/accent.js.map +1 -0
- package/dist/esm/colors/background.js +38 -0
- package/dist/esm/colors/background.js.map +1 -0
- package/dist/esm/colors/base.js +137 -0
- package/dist/esm/colors/base.js.map +1 -0
- package/dist/esm/colors/border.js +18 -0
- package/dist/esm/colors/border.js.map +1 -0
- package/dist/esm/colors/button.js +112 -0
- package/dist/esm/colors/button.js.map +1 -0
- package/dist/esm/colors/feedback.js +29 -0
- package/dist/esm/colors/feedback.js.map +1 -0
- package/dist/esm/colors/foreground.js +37 -0
- package/dist/esm/colors/foreground.js.map +1 -0
- package/dist/esm/colors/index.js +13 -0
- package/dist/esm/colors/index.js.map +1 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/tailwind-base.js +31 -0
- package/dist/esm/tailwind-base.js.map +1 -0
- package/dist/esm/tailwind-plugin.js +29 -0
- package/dist/esm/tailwind-plugin.js.map +1 -0
- package/dist/esm/theme.js +55 -0
- package/dist/esm/theme.js.map +1 -0
- package/dist/global.css +552 -485
- package/dist/index.d.ts +3 -1315
- package/dist/index.js +23 -6468
- package/dist/index.js.map +1 -1
- package/dist/lib/utils.d.ts +16 -0
- package/dist/lib/utils.js +23 -0
- package/dist/lib/utils.js.map +1 -0
- package/dist/tailwind-base.js +33 -0
- package/dist/tailwind-base.js.map +1 -0
- package/dist/tailwind-plugin.js +31 -497
- package/dist/tailwind-plugin.js.map +1 -1
- package/dist/theme.js +60 -0
- package/dist/theme.js.map +1 -0
- package/package.json +8 -11
- package/dist/animations/index.mjs +0 -8
- package/dist/animations/index.mjs.map +0 -1
- package/dist/chunk-36NLQKQR.mjs +0 -22
- package/dist/chunk-36NLQKQR.mjs.map +0 -1
- package/dist/chunk-3FFF7Q7C.mjs +0 -55
- package/dist/chunk-3FFF7Q7C.mjs.map +0 -1
- package/dist/chunk-GTI4HTES.mjs +0 -386
- package/dist/chunk-GTI4HTES.mjs.map +0 -1
- package/dist/colors/index.mjs +0 -8
- package/dist/colors/index.mjs.map +0 -1
- package/dist/global.css.map +0 -1
- package/dist/index.d.mts +0 -1315
- package/dist/index.mjs +0 -6043
- package/dist/index.mjs.map +0 -1
- package/dist/tailwind-plugin.mjs +0 -67
- package/dist/tailwind-plugin.mjs.map +0 -1
package/README.md
CHANGED
|
@@ -73,7 +73,7 @@ Tailwind v4 (CSS-first):
|
|
|
73
73
|
@import 'tailwindcss';
|
|
74
74
|
@plugin '@nearform/quantum/tailwind-plugin';
|
|
75
75
|
@source '../node_modules/@nearform/quantum';
|
|
76
|
-
@custom-variant dark (&:is(.dark *));
|
|
76
|
+
@custom-variant dark (&:is(.dark, .dark *));
|
|
77
77
|
```
|
|
78
78
|
|
|
79
79
|
Tailwind v4 with a JS config. **The config file is inert on its own.** Unlike
|
|
@@ -186,6 +186,8 @@ story is scanned with [axe](https://github.com/dequelabs/axe-core) as part of
|
|
|
186
186
|
`wcag21aa` and `wcag22aa` rule sets, so a component that loses its accessible
|
|
187
187
|
name, its focus indicator or its contrast fails CI.
|
|
188
188
|
|
|
189
|
+
Each story is scanned twice, once in light mode and once in dark.
|
|
190
|
+
|
|
189
191
|
A story that is a deliberate exception opts out through its own parameters:
|
|
190
192
|
|
|
191
193
|
```js
|
|
@@ -287,6 +289,22 @@ To run Storybook tests for the project, run:
|
|
|
287
289
|
npm run test-storybook
|
|
288
290
|
```
|
|
289
291
|
|
|
292
|
+
### Dark mode in Storybook
|
|
293
|
+
|
|
294
|
+
Stories render twice by default, light and dark side by side. A fixed `id`
|
|
295
|
+
in a story is suffixed with `--dark` in the dark copy, along with the `for`
|
|
296
|
+
and `aria-*` references that point at it, so each copy's labels and
|
|
297
|
+
descriptions stay wired to their own controls. The **Preview** menu in the
|
|
298
|
+
toolbar switches to a single copy, which is better for wide components whose
|
|
299
|
+
layout depends on the window width.
|
|
300
|
+
|
|
301
|
+
The moon icon switches Storybook itself between light and dark. In single view
|
|
302
|
+
it sets the story's mode too.
|
|
303
|
+
|
|
304
|
+
Popups that portal to `document.body` (Modal, Popover, Select, DateInput,
|
|
305
|
+
SortAndShow, SplitButton) take the theme of the pane they were opened from.
|
|
306
|
+
The test runner ignores side by side and scans a single copy of each story.
|
|
307
|
+
|
|
290
308
|
## Usage
|
|
291
309
|
|
|
292
310
|
Just import:
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
keyframes: {
|
|
3
|
+
slideDown: {
|
|
4
|
+
from: {
|
|
5
|
+
height: string;
|
|
6
|
+
};
|
|
7
|
+
to: {
|
|
8
|
+
height: string;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
slideUp: {
|
|
12
|
+
from: {
|
|
13
|
+
height: string;
|
|
14
|
+
};
|
|
15
|
+
to: {
|
|
16
|
+
height: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
animation: {
|
|
21
|
+
slideDown: string;
|
|
22
|
+
slideUp: string;
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
export default _default;
|
package/dist/animations/index.js
CHANGED
|
@@ -1,42 +1,19 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
-
}
|
|
16
|
-
return to;
|
|
17
|
-
};
|
|
18
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
-
|
|
20
|
-
// src/animations/index.ts
|
|
21
|
-
var animations_exports = {};
|
|
22
|
-
__export(animations_exports, {
|
|
23
|
-
default: () => animations_default
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(animations_exports);
|
|
26
|
-
var animations_default = {
|
|
27
|
-
keyframes: {
|
|
28
|
-
slideDown: {
|
|
29
|
-
from: { height: "0" },
|
|
30
|
-
to: { height: "var(--radix-accordion-content-height)" }
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.default = {
|
|
4
|
+
keyframes: {
|
|
5
|
+
slideDown: {
|
|
6
|
+
from: { height: '0' },
|
|
7
|
+
to: { height: 'var(--radix-accordion-content-height)' }
|
|
8
|
+
},
|
|
9
|
+
slideUp: {
|
|
10
|
+
from: { height: 'var(--radix-accordion-content-height)' },
|
|
11
|
+
to: { height: '0' }
|
|
12
|
+
}
|
|
31
13
|
},
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
14
|
+
animation: {
|
|
15
|
+
slideDown: 'slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)',
|
|
16
|
+
slideUp: 'slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)'
|
|
35
17
|
}
|
|
36
|
-
},
|
|
37
|
-
animation: {
|
|
38
|
-
slideDown: "slideDown 300ms cubic-bezier(0.87, 0, 0.13, 1)",
|
|
39
|
-
slideUp: "slideUp 300ms cubic-bezier(0.87, 0, 0.13, 1)"
|
|
40
|
-
}
|
|
41
18
|
};
|
|
42
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/animations/index.ts"],"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/animations/index.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,SAAS,EAAE;QACT,SAAS,EAAE;YACT,IAAI,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE;YACrB,EAAE,EAAE,EAAE,MAAM,EAAE,uCAAuC,EAAE;SACxD;QACD,OAAO,EAAE;YACP,IAAI,EAAE,EAAE,MAAM,EAAE,uCAAuC,EAAE;YACzD,EAAE,EAAE,EAAE,MAAM,EAAE,GAAG,EAAE;SACpB;KACF;IACD,SAAS,EAAE;QACT,SAAS,EAAE,gDAAgD;QAC3D,OAAO,EAAE,8CAA8C;KACxD;CACF,CAAA"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OpenSourceIcon = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const OpenSourceIcon = props => ((0, jsx_runtime_1.jsx)("svg", Object.assign({ viewBox: "0 0 25 26", xmlns: "http://www.w3.org/2000/svg" }, props, { children: (0, jsx_runtime_1.jsx)("g", { id: "open-source", children: (0, jsx_runtime_1.jsx)("path", { "fill-rule": "evenodd", "clip-rule": "evenodd", d: "M12.25 0.0669873C12.4047 -0.0223291 12.5953 -0.0223291 12.75 0.0669873L24.2391 6.70019C24.3938 6.7895 24.4891 6.95457 24.4891 7.1332V20.3996C24.4891 20.5782 24.3938 20.7433 24.2391 20.8326L15.4062 25.9322V19.0104L18.3695 17.2995C18.4469 17.2548 18.4945 17.1723 18.4945 17.083V10.4498C18.4945 10.3605 18.4469 10.278 18.3695 10.2333L12.625 6.91669C12.5477 6.87204 12.4524 6.87204 12.375 6.91669L6.63051 10.2333C6.55316 10.278 6.50551 10.3605 6.50551 10.4498V17.083C6.50551 17.1723 6.55316 17.2548 6.63051 17.2995L9.65625 19.0464V25.9683L0.760986 20.8326C0.606286 20.7433 0.510986 20.5782 0.510986 20.3996V7.1332C0.510986 6.95457 0.606286 6.7895 0.760986 6.70019L12.25 0.0669873Z", fill: "currentColor" }) }) })));
|
|
6
|
+
exports.OpenSourceIcon = OpenSourceIcon;
|
|
7
|
+
//# sourceMappingURL=open-source.icon.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"open-source.icon.js","sourceRoot":"","sources":["../../../src/assets/build/open-source.icon.tsx"],"names":[],"mappings":";;;;AAEO,MAAM,cAAc,GAAa,KAAK,CAAC,EAAE,CAAC,CAC/C,8CAAK,OAAO,EAAC,WAAW,EAAC,KAAK,EAAC,4BAA4B,IAAK,KAAK,cACnE,8BAAG,EAAE,EAAC,aAAa,YACjB,8CACY,SAAS,eACT,SAAS,EACnB,CAAC,EAAC,sqBAAsqB,EACxqB,IAAI,EAAC,cAAc,GACnB,GACA,IACA,CACP,CAAA;AAXY,QAAA,cAAc,kBAW1B"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The Quantum project uses [Bootstrap Icons](https://icons.getbootstrap.com/)
|
|
3
|
+
* provided by the [react-icons library](https://react-icons.github.io/react-icons/icons/bs/),
|
|
4
|
+
* plus some custom icons stored in the "build" subfolder.
|
|
5
|
+
*
|
|
6
|
+
* The `react-icons` library provides React icon components of many famous icon libraries.
|
|
7
|
+
* Here we are importing all the Bootstrap ("bs") ones.
|
|
8
|
+
*
|
|
9
|
+
* All these icons start with the "Bs" prefix (e.g. BsChevronDown, BsSearch, BsCircleFill, etc.).
|
|
10
|
+
*/
|
|
11
|
+
export type { IconType } from 'react-icons';
|
|
12
|
+
export * from 'react-icons/bs';
|
|
13
|
+
export * from './build/open-source.icon';
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* The Quantum project uses [Bootstrap Icons](https://icons.getbootstrap.com/)
|
|
4
|
+
* provided by the [react-icons library](https://react-icons.github.io/react-icons/icons/bs/),
|
|
5
|
+
* plus some custom icons stored in the "build" subfolder.
|
|
6
|
+
*
|
|
7
|
+
* The `react-icons` library provides React icon components of many famous icon libraries.
|
|
8
|
+
* Here we are importing all the Bootstrap ("bs") ones.
|
|
9
|
+
*
|
|
10
|
+
* All these icons start with the "Bs" prefix (e.g. BsChevronDown, BsSearch, BsCircleFill, etc.).
|
|
11
|
+
*/
|
|
12
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
15
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
16
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
17
|
+
}
|
|
18
|
+
Object.defineProperty(o, k2, desc);
|
|
19
|
+
}) : (function(o, m, k, k2) {
|
|
20
|
+
if (k2 === undefined) k2 = k;
|
|
21
|
+
o[k2] = m[k];
|
|
22
|
+
}));
|
|
23
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
24
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
25
|
+
};
|
|
26
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
+
__exportStar(require("react-icons/bs"), exports);
|
|
28
|
+
__exportStar(require("./build/open-source.icon"), exports);
|
|
29
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/assets/index.ts"],"names":[],"mappings":";AAAA;;;;;;;;;GASG;;;;;;;;;;;;;;;;AAIH,iDAA8B;AAC9B,2DAAwC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.accent = void 0;
|
|
4
|
+
const base_ts_1 = require("./base.js");
|
|
5
|
+
exports.accent = {
|
|
6
|
+
DEFAULT: base_ts_1.colors.brandMidnight['100'],
|
|
7
|
+
dark: base_ts_1.colors.brandMidnight['10'],
|
|
8
|
+
alt: {
|
|
9
|
+
DEFAULT: base_ts_1.colors.brandMidnight['80'],
|
|
10
|
+
dark: base_ts_1.colors.grey['600']
|
|
11
|
+
},
|
|
12
|
+
hover: {
|
|
13
|
+
DEFAULT: base_ts_1.colors.brandMidnight['80'],
|
|
14
|
+
dark: base_ts_1.colors.brandMidnight['30']
|
|
15
|
+
},
|
|
16
|
+
focus: {
|
|
17
|
+
DEFAULT: base_ts_1.colors.brandMidnight['100'],
|
|
18
|
+
dark: base_ts_1.colors.grey['100']
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=accent.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"accent.js","sourceRoot":"","sources":["../../src/colors/accent.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAErB,QAAA,MAAM,GAAG;IACpB,OAAO,EAAE,gBAAM,CAAC,aAAa,CAAC,KAAK,CAAC;IACpC,IAAI,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;IAChC,GAAG,EAAE;QACH,OAAO,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;QACnC,IAAI,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;KACzB;IACD,KAAK,EAAE;QACL,OAAO,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;QACnC,IAAI,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;KACjC;IACD,KAAK,EAAE;QACL,OAAO,EAAE,gBAAM,CAAC,aAAa,CAAC,KAAK,CAAC;QACpC,IAAI,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;KACzB;CACF,CAAA"}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
export declare const background: {
|
|
2
|
+
DEFAULT: string;
|
|
3
|
+
dark: string;
|
|
4
|
+
alt: {
|
|
5
|
+
DEFAULT: string;
|
|
6
|
+
dark: string;
|
|
7
|
+
};
|
|
8
|
+
subtle: {
|
|
9
|
+
DEFAULT: string;
|
|
10
|
+
dark: string;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* The resting fill of a container that sits on the page: a card, a popover,
|
|
14
|
+
* a table body, a dialog panel.
|
|
15
|
+
*
|
|
16
|
+
* It exists because `background` cannot play that role in both modes. In
|
|
17
|
+
* light the page is `background-alt` and `background` is a step off it, so a
|
|
18
|
+
* surface painted `background` reads as raised (1.10:1). In dark the page is
|
|
19
|
+
* `background` itself, so the same class paints the surface the colour of
|
|
20
|
+
* the page it sits on - 1.00:1, a container that is only a container because
|
|
21
|
+
* of its border.
|
|
22
|
+
*
|
|
23
|
+
* So the light value is `background`'s, unchanged, and the dark value is one
|
|
24
|
+
* step up from the page. That keeps the step `subtle` adds for a header or a
|
|
25
|
+
* zebra stripe (1.21:1 above this, against light's 1.05:1) and leaves `alt`
|
|
26
|
+
* free for the selected row, which would otherwise collide with the stripes.
|
|
27
|
+
*/
|
|
28
|
+
surface: {
|
|
29
|
+
DEFAULT: string;
|
|
30
|
+
dark: string;
|
|
31
|
+
};
|
|
32
|
+
inverse: {
|
|
33
|
+
DEFAULT: string;
|
|
34
|
+
dark: string;
|
|
35
|
+
};
|
|
36
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.background = void 0;
|
|
4
|
+
const base_ts_1 = require("./base.js");
|
|
5
|
+
exports.background = {
|
|
6
|
+
DEFAULT: '#FFF',
|
|
7
|
+
dark: '#000',
|
|
8
|
+
alt: {
|
|
9
|
+
DEFAULT: base_ts_1.colors.grey['100'],
|
|
10
|
+
dark: base_ts_1.colors.grey['700']
|
|
11
|
+
},
|
|
12
|
+
subtle: {
|
|
13
|
+
DEFAULT: base_ts_1.colors.grey['50'],
|
|
14
|
+
dark: base_ts_1.colors.grey['800']
|
|
15
|
+
},
|
|
16
|
+
/**
|
|
17
|
+
* The resting fill of a container that sits on the page: a card, a popover,
|
|
18
|
+
* a table body, a dialog panel.
|
|
19
|
+
*
|
|
20
|
+
* It exists because `background` cannot play that role in both modes. In
|
|
21
|
+
* light the page is `background-alt` and `background` is a step off it, so a
|
|
22
|
+
* surface painted `background` reads as raised (1.10:1). In dark the page is
|
|
23
|
+
* `background` itself, so the same class paints the surface the colour of
|
|
24
|
+
* the page it sits on - 1.00:1, a container that is only a container because
|
|
25
|
+
* of its border.
|
|
26
|
+
*
|
|
27
|
+
* So the light value is `background`'s, unchanged, and the dark value is one
|
|
28
|
+
* step up from the page. That keeps the step `subtle` adds for a header or a
|
|
29
|
+
* zebra stripe (1.21:1 above this, against light's 1.05:1) and leaves `alt`
|
|
30
|
+
* free for the selected row, which would otherwise collide with the stripes.
|
|
31
|
+
*/
|
|
32
|
+
surface: {
|
|
33
|
+
DEFAULT: '#FFF',
|
|
34
|
+
dark: base_ts_1.colors.grey['900']
|
|
35
|
+
},
|
|
36
|
+
inverse: {
|
|
37
|
+
DEFAULT: base_ts_1.colors.grey['900'],
|
|
38
|
+
dark: '#FFF'
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
//# sourceMappingURL=background.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"background.js","sourceRoot":"","sources":["../../src/colors/background.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAErB,QAAA,UAAU,GAAG;IACxB,OAAO,EAAE,MAAM;IACf,IAAI,EAAE,MAAM;IACZ,GAAG,EAAE;QACH,OAAO,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;QAC3B,IAAI,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;KACzB;IACD,MAAM,EAAE;QACN,OAAO,EAAE,gBAAM,CAAC,IAAI,CAAC,IAAI,CAAC;QAC1B,IAAI,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;KACzB;IACD;;;;;;;;;;;;;;;OAeG;IACH,OAAO,EAAE;QACP,OAAO,EAAE,MAAM;QACf,IAAI,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;KACzB;IACD,OAAO,EAAE;QACP,OAAO,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;QAC3B,IAAI,EAAE,MAAM;KACb;CACF,CAAA"}
|
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
grey: {
|
|
3
|
+
50: string;
|
|
4
|
+
100: string;
|
|
5
|
+
200: string;
|
|
6
|
+
300: string;
|
|
7
|
+
400: string;
|
|
8
|
+
500: string;
|
|
9
|
+
600: string;
|
|
10
|
+
700: string;
|
|
11
|
+
800: string;
|
|
12
|
+
900: string;
|
|
13
|
+
};
|
|
14
|
+
blue: {
|
|
15
|
+
50: string;
|
|
16
|
+
100: string;
|
|
17
|
+
200: string;
|
|
18
|
+
300: string;
|
|
19
|
+
400: string;
|
|
20
|
+
500: string;
|
|
21
|
+
600: string;
|
|
22
|
+
700: string;
|
|
23
|
+
800: string;
|
|
24
|
+
900: string;
|
|
25
|
+
};
|
|
26
|
+
red: {
|
|
27
|
+
50: string;
|
|
28
|
+
100: string;
|
|
29
|
+
200: string;
|
|
30
|
+
300: string;
|
|
31
|
+
400: string;
|
|
32
|
+
500: string;
|
|
33
|
+
600: string;
|
|
34
|
+
700: string;
|
|
35
|
+
800: string;
|
|
36
|
+
900: string;
|
|
37
|
+
};
|
|
38
|
+
orange: {
|
|
39
|
+
50: string;
|
|
40
|
+
100: string;
|
|
41
|
+
200: string;
|
|
42
|
+
300: string;
|
|
43
|
+
400: string;
|
|
44
|
+
500: string;
|
|
45
|
+
600: string;
|
|
46
|
+
700: string;
|
|
47
|
+
800: string;
|
|
48
|
+
900: string;
|
|
49
|
+
};
|
|
50
|
+
yellow: {
|
|
51
|
+
50: string;
|
|
52
|
+
100: string;
|
|
53
|
+
200: string;
|
|
54
|
+
300: string;
|
|
55
|
+
400: string;
|
|
56
|
+
500: string;
|
|
57
|
+
600: string;
|
|
58
|
+
700: string;
|
|
59
|
+
800: string;
|
|
60
|
+
900: string;
|
|
61
|
+
};
|
|
62
|
+
green: {
|
|
63
|
+
50: string;
|
|
64
|
+
100: string;
|
|
65
|
+
200: string;
|
|
66
|
+
300: string;
|
|
67
|
+
400: string;
|
|
68
|
+
500: string;
|
|
69
|
+
600: string;
|
|
70
|
+
700: string;
|
|
71
|
+
800: string;
|
|
72
|
+
900: string;
|
|
73
|
+
};
|
|
74
|
+
teal: {
|
|
75
|
+
50: string;
|
|
76
|
+
100: string;
|
|
77
|
+
200: string;
|
|
78
|
+
300: string;
|
|
79
|
+
400: string;
|
|
80
|
+
500: string;
|
|
81
|
+
600: string;
|
|
82
|
+
700: string;
|
|
83
|
+
800: string;
|
|
84
|
+
900: string;
|
|
85
|
+
};
|
|
86
|
+
indigo: {
|
|
87
|
+
50: string;
|
|
88
|
+
100: string;
|
|
89
|
+
200: string;
|
|
90
|
+
300: string;
|
|
91
|
+
400: string;
|
|
92
|
+
500: string;
|
|
93
|
+
600: string;
|
|
94
|
+
700: string;
|
|
95
|
+
800: string;
|
|
96
|
+
900: string;
|
|
97
|
+
};
|
|
98
|
+
purple: {
|
|
99
|
+
50: string;
|
|
100
|
+
100: string;
|
|
101
|
+
200: string;
|
|
102
|
+
300: string;
|
|
103
|
+
400: string;
|
|
104
|
+
500: string;
|
|
105
|
+
600: string;
|
|
106
|
+
700: string;
|
|
107
|
+
800: string;
|
|
108
|
+
900: string;
|
|
109
|
+
};
|
|
110
|
+
pink: {
|
|
111
|
+
50: string;
|
|
112
|
+
100: string;
|
|
113
|
+
200: string;
|
|
114
|
+
300: string;
|
|
115
|
+
400: string;
|
|
116
|
+
500: string;
|
|
117
|
+
600: string;
|
|
118
|
+
700: string;
|
|
119
|
+
800: string;
|
|
120
|
+
900: string;
|
|
121
|
+
};
|
|
122
|
+
brandMidnight: {
|
|
123
|
+
10: string;
|
|
124
|
+
30: string;
|
|
125
|
+
50: string;
|
|
126
|
+
80: string;
|
|
127
|
+
100: string;
|
|
128
|
+
};
|
|
129
|
+
brandGreen: {
|
|
130
|
+
10: string;
|
|
131
|
+
30: string;
|
|
132
|
+
50: string;
|
|
133
|
+
80: string;
|
|
134
|
+
100: string;
|
|
135
|
+
};
|
|
136
|
+
};
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.colors = void 0;
|
|
4
|
+
exports.colors = {
|
|
5
|
+
grey: {
|
|
6
|
+
50: '#F9FAFB',
|
|
7
|
+
100: '#F3F4F6',
|
|
8
|
+
200: '#E5E7EB',
|
|
9
|
+
300: '#D1D5DB',
|
|
10
|
+
400: '#9CA3AF',
|
|
11
|
+
500: '#6B7280',
|
|
12
|
+
600: '#4B5563',
|
|
13
|
+
700: '#374151',
|
|
14
|
+
800: '#1F2A37',
|
|
15
|
+
900: '#111928'
|
|
16
|
+
},
|
|
17
|
+
blue: {
|
|
18
|
+
50: '#F5FAFF',
|
|
19
|
+
100: '#E1EFFE',
|
|
20
|
+
200: '#C3DDFD',
|
|
21
|
+
300: '#A4CAFE',
|
|
22
|
+
400: '#76A9FA',
|
|
23
|
+
500: '#3F83F8',
|
|
24
|
+
600: '#2165E3',
|
|
25
|
+
700: '#1A56DB',
|
|
26
|
+
800: '#1E429F',
|
|
27
|
+
900: '#000E38'
|
|
28
|
+
},
|
|
29
|
+
red: {
|
|
30
|
+
50: '#FDF2F2',
|
|
31
|
+
100: '#FDE8E8',
|
|
32
|
+
200: '#FBD5D5',
|
|
33
|
+
300: '#F8B4B4',
|
|
34
|
+
400: '#F98080',
|
|
35
|
+
500: '#F05252',
|
|
36
|
+
600: '#E02424',
|
|
37
|
+
700: '#C81E1E',
|
|
38
|
+
800: '#9B1C1C',
|
|
39
|
+
900: '#771D1D'
|
|
40
|
+
},
|
|
41
|
+
orange: {
|
|
42
|
+
50: '#FFF8F1',
|
|
43
|
+
100: '#FEECDC',
|
|
44
|
+
200: '#FCD9BD',
|
|
45
|
+
300: '#FDBA8C',
|
|
46
|
+
400: '#FF8A4C',
|
|
47
|
+
500: '#FF5A1F',
|
|
48
|
+
600: '#D03801',
|
|
49
|
+
700: '#B43403',
|
|
50
|
+
800: '#8A2C0D',
|
|
51
|
+
900: '#771D1D'
|
|
52
|
+
},
|
|
53
|
+
yellow: {
|
|
54
|
+
50: '#FDFDEA',
|
|
55
|
+
100: '#FDF6B2',
|
|
56
|
+
200: '#FCE96A',
|
|
57
|
+
300: '#FACA15',
|
|
58
|
+
400: '#E3A008',
|
|
59
|
+
500: '#C27803',
|
|
60
|
+
600: '#9F580A',
|
|
61
|
+
700: '#8E4B10',
|
|
62
|
+
800: '#723B13',
|
|
63
|
+
900: '#633112'
|
|
64
|
+
},
|
|
65
|
+
green: {
|
|
66
|
+
50: '#F3FAF7',
|
|
67
|
+
100: '#DEF7EC',
|
|
68
|
+
200: '#BCF0DA',
|
|
69
|
+
300: '#84E1BC',
|
|
70
|
+
400: '#31C48D',
|
|
71
|
+
500: '#0E9F6E',
|
|
72
|
+
600: '#057A55',
|
|
73
|
+
700: '#046C4E',
|
|
74
|
+
800: '#03543F',
|
|
75
|
+
900: '#014737'
|
|
76
|
+
},
|
|
77
|
+
teal: {
|
|
78
|
+
50: '#EDFAFA',
|
|
79
|
+
100: '#D5F5F6',
|
|
80
|
+
200: '#AFECEF',
|
|
81
|
+
300: '#7EDCE2',
|
|
82
|
+
400: '#16BDCA',
|
|
83
|
+
500: '#0694A2',
|
|
84
|
+
600: '#047481',
|
|
85
|
+
700: '#036672',
|
|
86
|
+
800: '#05505C',
|
|
87
|
+
900: '#014451'
|
|
88
|
+
},
|
|
89
|
+
indigo: {
|
|
90
|
+
50: '#F0F5FF',
|
|
91
|
+
100: '#E5EDFF',
|
|
92
|
+
200: '#CDDBFE',
|
|
93
|
+
300: '#B4C6FC',
|
|
94
|
+
400: '#8DA2FB',
|
|
95
|
+
500: '#6875F5',
|
|
96
|
+
600: '#5850EC',
|
|
97
|
+
700: '#5145CD',
|
|
98
|
+
800: '#42389D',
|
|
99
|
+
900: '#362F78'
|
|
100
|
+
},
|
|
101
|
+
purple: {
|
|
102
|
+
50: '#F6F5FF',
|
|
103
|
+
100: '#EDEBFE',
|
|
104
|
+
200: '#DCD7FE',
|
|
105
|
+
300: '#CABFFD',
|
|
106
|
+
400: '#AC94FA',
|
|
107
|
+
500: '#8950FF',
|
|
108
|
+
600: '#7E3AF2',
|
|
109
|
+
700: '#6C2BD9',
|
|
110
|
+
800: '#5521B5',
|
|
111
|
+
900: '#4A1D96'
|
|
112
|
+
},
|
|
113
|
+
pink: {
|
|
114
|
+
50: '#FFF6F9',
|
|
115
|
+
100: '#FFF1F5',
|
|
116
|
+
200: '#FFE8EE',
|
|
117
|
+
300: '#FFD9E3',
|
|
118
|
+
400: '#FFBFD0',
|
|
119
|
+
500: '#FF9DB7',
|
|
120
|
+
600: '#FB7A9C',
|
|
121
|
+
700: '#D95477',
|
|
122
|
+
800: '#A02042',
|
|
123
|
+
900: '#731837'
|
|
124
|
+
},
|
|
125
|
+
brandMidnight: {
|
|
126
|
+
10: '#f4f8fa',
|
|
127
|
+
30: '#97a1b8',
|
|
128
|
+
50: '#526288',
|
|
129
|
+
80: '#0c3d60',
|
|
130
|
+
100: '#000e38'
|
|
131
|
+
},
|
|
132
|
+
brandGreen: {
|
|
133
|
+
10: '#e5fcf5',
|
|
134
|
+
30: '#b2f7e1',
|
|
135
|
+
50: '#78edc4',
|
|
136
|
+
80: '#32ebae',
|
|
137
|
+
100: '#03e5a4'
|
|
138
|
+
}
|
|
139
|
+
};
|
|
140
|
+
//# sourceMappingURL=base.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"base.js","sourceRoot":"","sources":["../../src/colors/base.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.border = void 0;
|
|
4
|
+
const base_ts_1 = require("./base.js");
|
|
5
|
+
exports.border = {
|
|
6
|
+
DEFAULT: base_ts_1.colors.brandMidnight['30'],
|
|
7
|
+
dark: base_ts_1.colors.brandMidnight['50'],
|
|
8
|
+
hover: {
|
|
9
|
+
DEFAULT: base_ts_1.colors.brandMidnight['50'],
|
|
10
|
+
dark: base_ts_1.colors.brandMidnight['80']
|
|
11
|
+
},
|
|
12
|
+
focus: {
|
|
13
|
+
DEFAULT: base_ts_1.colors.brandMidnight['80'],
|
|
14
|
+
dark: base_ts_1.colors.grey['400']
|
|
15
|
+
},
|
|
16
|
+
subtle: {
|
|
17
|
+
DEFAULT: base_ts_1.colors.brandMidnight['10'],
|
|
18
|
+
dark: base_ts_1.colors.grey['700']
|
|
19
|
+
}
|
|
20
|
+
};
|
|
21
|
+
//# sourceMappingURL=border.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"border.js","sourceRoot":"","sources":["../../src/colors/border.ts"],"names":[],"mappings":";;;AAAA,uCAAkC;AAErB,QAAA,MAAM,GAAG;IACpB,OAAO,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;IACnC,IAAI,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;IAChC,KAAK,EAAE;QACL,OAAO,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;QACnC,IAAI,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;KACjC;IACD,KAAK,EAAE;QACL,OAAO,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;QACnC,IAAI,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;KACzB;IACD,MAAM,EAAE;QACN,OAAO,EAAE,gBAAM,CAAC,aAAa,CAAC,IAAI,CAAC;QACnC,IAAI,EAAE,gBAAM,CAAC,IAAI,CAAC,KAAK,CAAC;KACzB;CACF,CAAA"}
|