From 15f0452c60e688225cd1905244eb68076f84e422 Mon Sep 17 00:00:00 2001 From: Alexandra Lim Date: Wed, 9 Nov 2022 17:39:38 -0500 Subject: [PATCH 01/15] disabled --- src/data/light.json | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/src/data/light.json b/src/data/light.json index b18d4fdc..c7fdcd70 100644 --- a/src/data/light.json +++ b/src/data/light.json @@ -427,32 +427,39 @@ "disabled": { "text": { "value": "{colors.grey.500}", - "type": "color" + "type": "color", + "description": "For use in disabled content like text and icons" }, "background": { "value": "{colors.grey.200}", - "type": "color" + "type": "color", + "description": "Used as the background colour for disabled components" }, "nakedContent": { "value": "{colors.disabled.background}", - "type": "color" + "type": "color", + "description": "Used for content in disabled components with little to no styling" }, "nakedBackground": { "value": "{colors.shades.transparent}", - "type": "color" + "type": "color", + "description": "Used for the background in disabled components with little to no styling" }, "border": { "value": "{colors.grey.400}", - "type": "color" + "type": "color", + "description": "Used as the border for disabled components" }, "input": { "background": { "value": "{colors.grey.300}", - "type": "color" + "type": "color", + "description": "For use in disabled inputs as the background colour" }, "LabelText": { "value": "{colors.grey.500}", - "type": "color" + "type": "color", + "description": "Used as the label colour for disabled inputs" } } }, @@ -575,4 +582,4 @@ } } } -} \ No newline at end of file +} From 977872b6889afa9abaaeee7125282c4a16f1ecd4 Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Wed, 9 Nov 2022 22:57:15 +0000 Subject: [PATCH 02/15] Transformed tokens --- dist/helpers/colorProfileMapper.d.ts | 94 ----------------- dist/helpers/colorProfileMapper.d.ts.map | 1 - dist/helpers/colorProfileMapper.js | 20 ---- dist/helpers/index.d.ts | 2 - dist/helpers/index.d.ts.map | 1 - dist/helpers/index.js | 24 ----- dist/index.d.ts | 4 - dist/index.d.ts.map | 1 - dist/index.js | 69 ------------ dist/tokens/native/colors.d.ts | 12 --- dist/tokens/native/colors.js | 12 --- dist/tokens/native/themes/light.d.ts | 17 --- dist/tokens/native/themes/light.js | 17 --- dist/tokens/native/typography.d.ts | 117 --------------------- dist/tokens/native/typography.js | 119 --------------------- dist/tokens/scss/colors.scss | 55 ---------- dist/tokens/scss/themes/light.scss | 128 ----------------------- dist/tokens/scss/typography.scss | 116 -------------------- dist/tokens/ts/colors.d.ts | 12 --- dist/tokens/ts/colors.js | 12 --- dist/tokens/ts/themes/light.d.ts | 17 --- dist/tokens/ts/themes/light.js | 17 --- dist/tokens/ts/typography.d.ts | 117 --------------------- dist/tokens/ts/typography.js | 119 --------------------- dist/types/index.d.ts | 3 - dist/types/index.d.ts.map | 1 - dist/types/index.js | 37 ------- dist/types/interfaces.d.ts | 28 ----- dist/types/interfaces.d.ts.map | 1 - dist/types/interfaces.js | 42 -------- dist/types/profiles.d.ts | 6 -- dist/types/profiles.d.ts.map | 1 - dist/types/profiles.js | 5 - dist/types/themes.d.ts | 5 - dist/types/themes.d.ts.map | 1 - dist/types/themes.js | 34 ------ src/transformed/transformed-light.json | 21 ++-- 37 files changed, 14 insertions(+), 1274 deletions(-) delete mode 100644 dist/helpers/colorProfileMapper.d.ts delete mode 100644 dist/helpers/colorProfileMapper.d.ts.map delete mode 100644 dist/helpers/colorProfileMapper.js delete mode 100644 dist/helpers/index.d.ts delete mode 100644 dist/helpers/index.d.ts.map delete mode 100644 dist/helpers/index.js delete mode 100644 dist/index.d.ts delete mode 100644 dist/index.d.ts.map delete mode 100644 dist/index.js delete mode 100644 dist/tokens/native/colors.d.ts delete mode 100644 dist/tokens/native/colors.js delete mode 100644 dist/tokens/native/themes/light.d.ts delete mode 100644 dist/tokens/native/themes/light.js delete mode 100644 dist/tokens/native/typography.d.ts delete mode 100644 dist/tokens/native/typography.js delete mode 100644 dist/tokens/scss/colors.scss delete mode 100644 dist/tokens/scss/themes/light.scss delete mode 100644 dist/tokens/scss/typography.scss delete mode 100644 dist/tokens/ts/colors.d.ts delete mode 100644 dist/tokens/ts/colors.js delete mode 100644 dist/tokens/ts/themes/light.d.ts delete mode 100644 dist/tokens/ts/themes/light.js delete mode 100644 dist/tokens/ts/typography.d.ts delete mode 100644 dist/tokens/ts/typography.js delete mode 100644 dist/types/index.d.ts delete mode 100644 dist/types/index.d.ts.map delete mode 100644 dist/types/index.js delete mode 100644 dist/types/interfaces.d.ts delete mode 100644 dist/types/interfaces.d.ts.map delete mode 100644 dist/types/interfaces.js delete mode 100644 dist/types/profiles.d.ts delete mode 100644 dist/types/profiles.d.ts.map delete mode 100644 dist/types/profiles.js delete mode 100644 dist/types/themes.d.ts delete mode 100644 dist/types/themes.d.ts.map delete mode 100644 dist/types/themes.js diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts deleted file mode 100644 index f1f8e962..00000000 --- a/dist/helpers/colorProfileMapper.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import type { AviaryTheme } from "../types/themes"; -export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { - primary: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - info: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - warning: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - danger: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - highlight: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - system: { - textLabelEmphasis: string; - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - borderFocused: string; - }; -}; -//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map deleted file mode 100644 index 82925827..00000000 --- a/dist/helpers/colorProfileMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js deleted file mode 100644 index 77f12372..00000000 --- a/dist/helpers/colorProfileMapper.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.colorProfileMapper = void 0; - -// Used for mapping over selected `isColor` properties -var colorProfileMapper = function colorProfileMapper(currentTheme) { - return { - primary: currentTheme.primary, - info: currentTheme.info, - warning: currentTheme.warning, - danger: currentTheme.danger, - highlight: currentTheme.highlight, - system: currentTheme.system - }; -}; - -exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts deleted file mode 100644 index 7a4a22d6..00000000 --- a/dist/helpers/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./colorProfileMapper"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map deleted file mode 100644 index 94ae4bb1..00000000 --- a/dist/helpers/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js deleted file mode 100644 index 155de21a..00000000 --- a/dist/helpers/index.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _colorProfileMapper = require("./colorProfileMapper"); - -Object.keys(_colorProfileMapper).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _colorProfileMapper[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _colorProfileMapper[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts deleted file mode 100644 index 4e6d91d8..00000000 --- a/dist/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from "./helpers"; -export * from "./types"; -export * as typography from "../dist/tokens/ts/typography"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map deleted file mode 100644 index 90c36e9d..00000000 --- a/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index 2b85585c..00000000 --- a/dist/index.js +++ /dev/null @@ -1,69 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -require("core-js/modules/es.array.iterator.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.string.iterator.js"); - -require("core-js/modules/es.weak-map.js"); - -require("core-js/modules/web.dom-collections.iterator.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.symbol.description.js"); - -require("core-js/modules/es.symbol.iterator.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -var _exportNames = { - typography: true -}; -exports.typography = void 0; - -var _helpers = require("./helpers"); - -Object.keys(_helpers).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; - if (key in exports && exports[key] === _helpers[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _helpers[key]; - } - }); -}); - -var _types = require("./types"); - -Object.keys(_types).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; - if (key in exports && exports[key] === _types[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _types[key]; - } - }); -}); - -var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); - -exports.typography = _typography; - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/tokens/native/colors.d.ts b/dist/tokens/native/colors.d.ts deleted file mode 100644 index 7e1e75fa..00000000 --- a/dist/tokens/native/colors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/native/colors.js b/dist/tokens/native/colors.js deleted file mode 100644 index aa647e30..00000000 --- a/dist/tokens/native/colors.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, -blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, -red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, -purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, -orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, -grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, -shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.d.ts b/dist/tokens/native/themes/light.d.ts deleted file mode 100644 index 80e441ad..00000000 --- a/dist/tokens/native/themes/light.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; -export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; -export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; -export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; -export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; -export const separator : {base : string}; -export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.js b/dist/tokens/native/themes/light.js deleted file mode 100644 index 872bc1a0..00000000 --- a/dist/tokens/native/themes/light.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, -system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, -surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, -primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, -info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, -warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, -danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, -highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, -disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, -input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, -separator : {base : "#E6EDF5"}, -light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/native/typography.d.ts b/dist/tokens/native/typography.d.ts deleted file mode 100644 index e78c505f..00000000 --- a/dist/tokens/native/typography.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -export const letterSpacingBase : number; -export const paragraphSpacingBase : number; -export const textDecorationBase : string; -export const textCaseBase : string; -export const size3xlarge : number; -export const size2xlarge : number; -export const sizeXlarge : number; -export const sizeLarge : number; -export const sizeNormal : number; -export const sizeSmall : number; -export const sizeXsmall : number; -export const sizeMobile3xlarge : number; -export const sizeMobile2xlarge : number; -export const sizeMobileXlarge : number; -export const lineHeightXlarge : number; -export const lineHeightLarge : number; -export const lineHeightNormal : number; -export const lineHeightSmall : number; -export const fontFamilySansSerif : string; -export const weightSemiBold : string; -export const weightBase : string; -export const weightLight : string; -export const weightStrong : string; -export const weightBold : string; -export const h1FontFamily : string; -export const h1FontWeight : string; -export const h1LineHeight : number; -export const h1FontSize : number; -export const h1LetterSpacing : number; -export const h1ParagraphSpacing : number; -export const h1TextDecoration : string; -export const h1TextCase : string; -export const h2FontFamily : string; -export const h2FontWeight : string; -export const h2LineHeight : number; -export const h2FontSize : number; -export const h2LetterSpacing : number; -export const h2ParagraphSpacing : number; -export const h2TextDecoration : string; -export const h2TextCase : string; -export const h3FontFamily : string; -export const h3FontWeight : string; -export const h3LineHeight : number; -export const h3FontSize : number; -export const h3LetterSpacing : number; -export const h3ParagraphSpacing : number; -export const h3TextDecoration : string; -export const h3TextCase : string; -export const h4FontFamily : string; -export const h4FontWeight : string; -export const h4LineHeight : number; -export const h4FontSize : number; -export const h4LetterSpacing : number; -export const h4ParagraphSpacing : number; -export const h4TextDecoration : string; -export const h4TextCase : string; -export const h5FontFamily : string; -export const h5FontWeight : string; -export const h5LineHeight : number; -export const h5FontSize : number; -export const h5LetterSpacing : number; -export const h5ParagraphSpacing : number; -export const h5TextDecoration : string; -export const h5TextCase : string; -export const bodyFontFamily : string; -export const bodyFontWeight : string; -export const bodyLineHeight : number; -export const bodyFontSize : number; -export const bodyLetterSpacing : number; -export const bodyParagraphSpacing : number; -export const bodyTextDecoration : string; -export const bodyTextCase : string; -export const footnoteFontFamily : string; -export const footnoteFontWeight : string; -export const footnoteLineHeight : number; -export const footnoteFontSize : number; -export const footnoteLetterSpacing : number; -export const footnoteParagraphSpacing : number; -export const footnoteTextDecoration : string; -export const footnoteTextCase : string; -export const captionFontFamily : string; -export const captionFontWeight : string; -export const captionLineHeight : number; -export const captionFontSize : number; -export const captionLetterSpacing : number; -export const captionParagraphSpacing : number; -export const captionTextDecoration : string; -export const captionTextCase : string; -export const mobileH1FontFamily : string; -export const mobileH1FontWeight : string; -export const mobileH1LineHeight : number; -export const mobileH1FontSize : number; -export const mobileH1LetterSpacing : number; -export const mobileH1ParagraphSpacing : number; -export const mobileH1TextDecoration : string; -export const mobileH1TextCase : string; -export const mobileH2FontFamily : string; -export const mobileH2FontWeight : string; -export const mobileH2LineHeight : number; -export const mobileH2FontSize : number; -export const mobileH2LetterSpacing : number; -export const mobileH2ParagraphSpacing : number; -export const mobileH2TextDecoration : string; -export const mobileH2TextCase : string; -export const mobileH3FontFamily : string; -export const mobileH3FontWeight : string; -export const mobileH3LineHeight : number; -export const mobileH3FontSize : number; -export const mobileH3LetterSpacing : number; -export const mobileH3ParagraphSpacing : number; -export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/native/typography.js b/dist/tokens/native/typography.js deleted file mode 100644 index aaccb548..00000000 --- a/dist/tokens/native/typography.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -module.exports = { - "letterSpacingBase": 0, - "paragraphSpacingBase": 0, - "textDecorationBase": "none", - "textCaseBase": "none", - "size3xlarge": 40, - "size2xlarge": 32, - "sizeXlarge": 24, - "sizeLarge": 20, - "sizeNormal": 16, - "sizeSmall": 14, - "sizeXsmall": 12, - "sizeMobile3xlarge": 32, - "sizeMobile2xlarge": 28, - "sizeMobileXlarge": 22, - "lineHeightXlarge": 40, - "lineHeightLarge": 32, - "lineHeightNormal": 24, - "lineHeightSmall": 16, - "fontFamilySansSerif": "Mulish", - "weightSemiBold": "700", - "weightBase": "500", - "weightLight": "400", - "weightStrong": "600", - "weightBold": "900", - "h1FontFamily": "Mulish", - "h1FontWeight": "700", - "h1LineHeight": 40, - "h1FontSize": 40, - "h1LetterSpacing": 0, - "h1ParagraphSpacing": 0, - "h1TextDecoration": "none", - "h1TextCase": "none", - "h2FontFamily": "Mulish", - "h2FontWeight": "700", - "h2LineHeight": 40, - "h2FontSize": 32, - "h2LetterSpacing": 0, - "h2ParagraphSpacing": 0, - "h2TextDecoration": "none", - "h2TextCase": "none", - "h3FontFamily": "Mulish", - "h3FontWeight": "700", - "h3LineHeight": 32, - "h3FontSize": 24, - "h3LetterSpacing": 0, - "h3ParagraphSpacing": 0, - "h3TextDecoration": "none", - "h3TextCase": "none", - "h4FontFamily": "Mulish", - "h4FontWeight": "700", - "h4LineHeight": 24, - "h4FontSize": 20, - "h4LetterSpacing": 0, - "h4ParagraphSpacing": 0, - "h4TextDecoration": "none", - "h4TextCase": "none", - "h5FontFamily": "Mulish", - "h5FontWeight": "700", - "h5LineHeight": 24, - "h5FontSize": 16, - "h5LetterSpacing": 0, - "h5ParagraphSpacing": 0, - "h5TextDecoration": "none", - "h5TextCase": "none", - "bodyFontFamily": "Mulish", - "bodyFontWeight": "500", - "bodyLineHeight": 24, - "bodyFontSize": 16, - "bodyLetterSpacing": 0, - "bodyParagraphSpacing": 0, - "bodyTextDecoration": "none", - "bodyTextCase": "none", - "footnoteFontFamily": "Mulish", - "footnoteFontWeight": "500", - "footnoteLineHeight": 16, - "footnoteFontSize": 14, - "footnoteLetterSpacing": 0, - "footnoteParagraphSpacing": 0, - "footnoteTextDecoration": "none", - "footnoteTextCase": "none", - "captionFontFamily": "Mulish", - "captionFontWeight": "500", - "captionLineHeight": 16, - "captionFontSize": 12, - "captionLetterSpacing": 0, - "captionParagraphSpacing": 0, - "captionTextDecoration": "none", - "captionTextCase": "none", - "mobileH1FontFamily": "Mulish", - "mobileH1FontWeight": "700", - "mobileH1LineHeight": 40, - "mobileH1FontSize": 32, - "mobileH1LetterSpacing": 0, - "mobileH1ParagraphSpacing": 0, - "mobileH1TextDecoration": "none", - "mobileH1TextCase": "none", - "mobileH2FontFamily": "Mulish", - "mobileH2FontWeight": "700", - "mobileH2LineHeight": 32, - "mobileH2FontSize": 28, - "mobileH2LetterSpacing": 0, - "mobileH2ParagraphSpacing": 0, - "mobileH2TextDecoration": "none", - "mobileH2TextCase": "none", - "mobileH3FontFamily": "Mulish", - "mobileH3FontWeight": "700", - "mobileH3LineHeight": 32, - "mobileH3FontSize": 22, - "mobileH3LetterSpacing": 0, - "mobileH3ParagraphSpacing": 0, - "mobileH3TextDecoration": "none", - "mobileH3TextCase": "none" -}; \ No newline at end of file diff --git a/dist/tokens/scss/colors.scss b/dist/tokens/scss/colors.scss deleted file mode 100644 index d99844a9..00000000 --- a/dist/tokens/scss/colors.scss +++ /dev/null @@ -1,55 +0,0 @@ - -// Do not edit directly -// Generated on Thu, 06 Oct 2022 15:47:26 GMT - -$green100: #FAFFFC; -$green200: #EBF2EF; -$green300: #D1E0D9; -$green400: #B6CFC2; -$green500: #86B09B; -$green600: #307553; -$green700: #275E43; -$green800: #244C38; -$blue100: #F5FAFF; -$blue200: #E6F1FC; -$blue300: #C0D8F0; -$blue400: #88B1D9; -$blue500: #5D96CF; -$blue600: #3971A8; -$blue700: #21588F; -$blue800: #194673; -$red100: #FFF7F9; -$red200: #FEEEF2; -$red300: #F0C4CD; -$red400: #E296A6; -$red500: #C6516A; -$red600: #AF2645; -$red700: #980B29; -$red800: #800D25; -$purple100: #FCFAFF; -$purple200: #F2ECFE; -$purple300: #D7CEE9; -$purple400: #B9ABD5; -$purple500: #8471AB; -$purple600: #533E7D; -$purple700: #3B2566; -$purple800: #2A174F; -$orange100: #FFFAF5; -$orange200: #FFF3E8; -$orange300: #F3D8C0; -$orange400: #E7B88F; -$orange500: #CF8545; -$orange600: #B4631D; -$orange700: #8E4D14; -$orange800: #784213; -$grey100: #FCFEFF; -$grey200: #F5F7FA; -$grey300: #E6EDF5; -$grey400: #C8D3E0; -$grey500: #596D84; -$grey600: #475A70; -$grey700: #36485C; -$grey800: #2E3A47; -$shadesWhite: #FFFFFF; -$shadesBlack: #000000; -$shadesTransparent: transparent; \ No newline at end of file diff --git a/dist/tokens/scss/themes/light.scss b/dist/tokens/scss/themes/light.scss deleted file mode 100644 index b9bdcd1b..00000000 --- a/dist/tokens/scss/themes/light.scss +++ /dev/null @@ -1,128 +0,0 @@ - -// Do not edit directly -// Generated on Thu, 06 Oct 2022 15:47:26 GMT - -$textEmphasis: #36485C; -$textBody: #475A70; -$textSubdued: #596D84; -$textOnBackground: #FFFFFF; -$systemTextLabelEmphasis: #2E3A47; -$systemTextBase: #475A70; -$systemTextHover: #36485C; -$systemTextActive: #2E3A47; -$systemBackgroundBase: #FFFFFF; -$systemBackgroundMuted: #F5F7FA; -$systemBackgroundMutedHover: #E6EDF5; -$systemBackgroundMutedActive: #C8D3E0; -$systemBackgroundBox: #FCFEFF; -$systemBorderBase: #C8D3E0; -$systemBorderHover: #596D84; -$systemBorderActive: #475A70; -$systemBorderFocused: #3971A8; -$surfaceLevel0: #F5F7FA; -$surfaceLevel1: #FFFFFF; -$surfaceLevel2: #F5F7FA; -$surfaceLevel3: #FFFFFF; -$surfaceInteractiveBackground: #FFFFFF; -$surfaceInteractiveHover: #F5F7FA; -$surfaceInteractiveActive: #E6EDF5; -$surfaceOverlayInvertable: #2E3A47; -$surfaceOverlayWhiteInvertable: #FFFFFF; -$surfaceOverlayStatic: #36485C; -$primaryTextBase: #307553; -$primaryTextHover: #275E43; -$primaryTextActive: #244C38; -$primaryBackgroundBase: #307553; -$primaryBackgroundHover: #275E43; -$primaryBackgroundActive: #244C38; -$primaryBackgroundMuted: #EBF2EF; -$primaryBackgroundMutedHover: #D1E0D9; -$primaryBackgroundMutedActive: #B6CFC2; -$primaryBackgroundBox: #FAFFFC; -$primaryBorderBase: #307553; -$primaryBorderHover: #275E43; -$primaryBorderActive: #244C38; -$infoTextBase: #3971A8; -$infoTextHover: #21588F; -$infoTextActive: #194673; -$infoBackgroundBase: #3971A8; -$infoBackgroundHover: #21588F; -$infoBackgroundActive: #194673; -$infoBackgroundMuted: #E6F1FC; -$infoBackgroundMutedHover: #C0D8F0; -$infoBackgroundMutedActive: #88B1D9; -$infoBackgroundBox: #F5FAFF; -$infoBorderBase: #3971A8; -$infoBorderHover: #21588F; -$infoBorderActive: #194673; -$warningTextBase: #B4631D; -$warningTextHover: #8E4D14; -$warningTextActive: #784213; -$warningBackgroundBase: #B4631D; -$warningBackgroundHover: #8E4D14; -$warningBackgroundActive: #784213; -$warningBackgroundMuted: #FFF3E8; -$warningBackgroundMutedHover: #F3D8C0; -$warningBackgroundMutedActive: #E7B88F; -$warningBackgroundBox: #FFFAF5; -$warningBorderBase: #B4631D; -$warningBorderHover: #8E4D14; -$warningBorderActive: #784213; -$dangerTextBase: #AF2645; -$dangerTextHover: #980B29; -$dangerTextActive: #800D25; -$dangerBackgroundBase: #AF2645; -$dangerBackgroundHover: #980B29; -$dangerBackgroundActive: #800D25; -$dangerBackgroundMuted: #FEEEF2; -$dangerBackgroundMutedHover: #F0C4CD; -$dangerBackgroundMutedActive: #E296A6; -$dangerBackgroundBox: #FFF7F9; -$dangerBorderBase: #AF2645; -$dangerBorderHover: #980B29; -$dangerBorderActive: #800D25; -$highlightTextBase: #533E7D; -$highlightTextHover: #3B2566; -$highlightTextActive: #2A174F; -$highlightBackgroundBase: #533E7D; -$highlightBackgroundHover: #3B2566; -$highlightBackgroundActive: #2A174F; -$highlightBackgroundMuted: #F2ECFE; -$highlightBackgroundMutedHover: #D7CEE9; -$highlightBackgroundMutedActive: #B9ABD5; -$highlightBackgroundBox: #FCFAFF; -$highlightBorderBase: #533E7D; -$highlightBorderHover: #3B2566; -$highlightBorderActive: #2A174F; -$disabledText: #596D84; -$disabledBackground: #F5F7FA; -$disabledNakedContent: #F5F7FA; -$disabledNakedBackground: transparent; -$disabledBorder: #C8D3E0; -$disabledInputBackground: #E6EDF5; -$disabledInputLabelText: #596D84; -$inputBackgroundBase: #F5F7FA; -$inputBackgroundHover: #E6EDF5; -$inputBackgroundInformation: #FFFFFF; -$inputTextBase: #475A70; -$inputTextInformation: #475A70; -$inputTextInformationError: #AF2645; -$inputTextLabel: #475A70; -$inputTextFloatingLabel: #3971A8; -$inputTextFloatingLabelError: #AF2645; -$inputTextPlaceholder: #596D84; -$inputTextActive: #2E3A47; -$inputBorderBase: #E6EDF5; -$inputBorderError: #AF2645; -$inputBorderHover: #C8D3E0; -$inputBorderEmphasized: #596D84; -$inputBorderEmphasizedHover: #475A70; -$inputBorderActive: #3971A8; -$separatorBase: #E6EDF5; -$lightBackgroundBase: #FFFFFF; -$lightBackgroundContrast: #475A70; -$lightBackgroundHover: #F5F7FA; -$lightBackgroundActive: #E6EDF5; -$lightTextBase: #2E3A47; -$lightLinkMutedBase: #F5F7FA; -$lightLinkMutedHover: #FFFFFF; \ No newline at end of file diff --git a/dist/tokens/scss/typography.scss b/dist/tokens/scss/typography.scss deleted file mode 100644 index e0c6f096..00000000 --- a/dist/tokens/scss/typography.scss +++ /dev/null @@ -1,116 +0,0 @@ - -// Do not edit directly -// Generated on Thu, 06 Oct 2022 15:47:26 GMT - -$letterSpacingBase: 0; -$paragraphSpacingBase: 0; -$textDecorationBase: none; -$textCaseBase: none; -$size3xlarge: 40px; -$size2xlarge: 32px; -$sizeXlarge: 24px; -$sizeLarge: 20px; -$sizeNormal: 16px; -$sizeSmall: 14px; -$sizeXsmall: 12px; -$sizeMobile3xlarge: 32px; -$sizeMobile2xlarge: 28px; -$sizeMobileXlarge: 22px; -$lineHeightXlarge: 40px; -$lineHeightLarge: 32px; -$lineHeightNormal: 24px; -$lineHeightSmall: 16px; -$fontFamilySansSerif: Mulish; -$weightSemiBold: 700; -$weightBase: 500; -$weightLight: 400; -$weightStrong: 600; -$weightBold: 900; -$h1FontFamily: Mulish; -$h1FontWeight: 700; -$h1LineHeight: 40px; -$h1FontSize: 40px; -$h1LetterSpacing: 0; -$h1ParagraphSpacing: 0; -$h1TextDecoration: none; -$h1TextCase: none; -$h2FontFamily: Mulish; -$h2FontWeight: 700; -$h2LineHeight: 40px; -$h2FontSize: 32px; -$h2LetterSpacing: 0; -$h2ParagraphSpacing: 0; -$h2TextDecoration: none; -$h2TextCase: none; -$h3FontFamily: Mulish; -$h3FontWeight: 700; -$h3LineHeight: 32px; -$h3FontSize: 24px; -$h3LetterSpacing: 0; -$h3ParagraphSpacing: 0; -$h3TextDecoration: none; -$h3TextCase: none; -$h4FontFamily: Mulish; -$h4FontWeight: 700; -$h4LineHeight: 24px; -$h4FontSize: 20px; -$h4LetterSpacing: 0; -$h4ParagraphSpacing: 0; -$h4TextDecoration: none; -$h4TextCase: none; -$h5FontFamily: Mulish; -$h5FontWeight: 700; -$h5LineHeight: 24px; -$h5FontSize: 16px; -$h5LetterSpacing: 0; -$h5ParagraphSpacing: 0; -$h5TextDecoration: none; -$h5TextCase: none; -$bodyFontFamily: Mulish; -$bodyFontWeight: 500; -$bodyLineHeight: 24px; -$bodyFontSize: 16px; -$bodyLetterSpacing: 0; -$bodyParagraphSpacing: 0; -$bodyTextDecoration: none; -$bodyTextCase: none; -$footnoteFontFamily: Mulish; -$footnoteFontWeight: 500; -$footnoteLineHeight: 16px; -$footnoteFontSize: 14px; -$footnoteLetterSpacing: 0; -$footnoteParagraphSpacing: 0; -$footnoteTextDecoration: none; -$footnoteTextCase: none; -$captionFontFamily: Mulish; -$captionFontWeight: 500; -$captionLineHeight: 16px; -$captionFontSize: 12px; -$captionLetterSpacing: 0; -$captionParagraphSpacing: 0; -$captionTextDecoration: none; -$captionTextCase: none; -$mobileH1FontFamily: Mulish; -$mobileH1FontWeight: 700; -$mobileH1LineHeight: 40px; -$mobileH1FontSize: 32px; -$mobileH1LetterSpacing: 0; -$mobileH1ParagraphSpacing: 0; -$mobileH1TextDecoration: none; -$mobileH1TextCase: none; -$mobileH2FontFamily: Mulish; -$mobileH2FontWeight: 700; -$mobileH2LineHeight: 32px; -$mobileH2FontSize: 28px; -$mobileH2LetterSpacing: 0; -$mobileH2ParagraphSpacing: 0; -$mobileH2TextDecoration: none; -$mobileH2TextCase: none; -$mobileH3FontFamily: Mulish; -$mobileH3FontWeight: 700; -$mobileH3LineHeight: 32px; -$mobileH3FontSize: 22px; -$mobileH3LetterSpacing: 0; -$mobileH3ParagraphSpacing: 0; -$mobileH3TextDecoration: none; -$mobileH3TextCase: none; \ No newline at end of file diff --git a/dist/tokens/ts/colors.d.ts b/dist/tokens/ts/colors.d.ts deleted file mode 100644 index 7e1e75fa..00000000 --- a/dist/tokens/ts/colors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/ts/colors.js b/dist/tokens/ts/colors.js deleted file mode 100644 index aa647e30..00000000 --- a/dist/tokens/ts/colors.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, -blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, -red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, -purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, -orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, -grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, -shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.d.ts b/dist/tokens/ts/themes/light.d.ts deleted file mode 100644 index 80e441ad..00000000 --- a/dist/tokens/ts/themes/light.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; -export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; -export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; -export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; -export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; -export const separator : {base : string}; -export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.js b/dist/tokens/ts/themes/light.js deleted file mode 100644 index 872bc1a0..00000000 --- a/dist/tokens/ts/themes/light.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, -system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, -surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, -primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, -info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, -warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, -danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, -highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, -disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, -input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, -separator : {base : "#E6EDF5"}, -light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/ts/typography.d.ts b/dist/tokens/ts/typography.d.ts deleted file mode 100644 index 2d77b86d..00000000 --- a/dist/tokens/ts/typography.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -export const letterSpacingBase : number; -export const paragraphSpacingBase : number; -export const textDecorationBase : string; -export const textCaseBase : string; -export const size3xlarge : string; -export const size2xlarge : string; -export const sizeXlarge : string; -export const sizeLarge : string; -export const sizeNormal : string; -export const sizeSmall : string; -export const sizeXsmall : string; -export const sizeMobile3xlarge : string; -export const sizeMobile2xlarge : string; -export const sizeMobileXlarge : string; -export const lineHeightXlarge : string; -export const lineHeightLarge : string; -export const lineHeightNormal : string; -export const lineHeightSmall : string; -export const fontFamilySansSerif : string; -export const weightSemiBold : number; -export const weightBase : number; -export const weightLight : number; -export const weightStrong : number; -export const weightBold : number; -export const h1FontFamily : string; -export const h1FontWeight : number; -export const h1LineHeight : string; -export const h1FontSize : string; -export const h1LetterSpacing : number; -export const h1ParagraphSpacing : number; -export const h1TextDecoration : string; -export const h1TextCase : string; -export const h2FontFamily : string; -export const h2FontWeight : number; -export const h2LineHeight : string; -export const h2FontSize : string; -export const h2LetterSpacing : number; -export const h2ParagraphSpacing : number; -export const h2TextDecoration : string; -export const h2TextCase : string; -export const h3FontFamily : string; -export const h3FontWeight : number; -export const h3LineHeight : string; -export const h3FontSize : string; -export const h3LetterSpacing : number; -export const h3ParagraphSpacing : number; -export const h3TextDecoration : string; -export const h3TextCase : string; -export const h4FontFamily : string; -export const h4FontWeight : number; -export const h4LineHeight : string; -export const h4FontSize : string; -export const h4LetterSpacing : number; -export const h4ParagraphSpacing : number; -export const h4TextDecoration : string; -export const h4TextCase : string; -export const h5FontFamily : string; -export const h5FontWeight : number; -export const h5LineHeight : string; -export const h5FontSize : string; -export const h5LetterSpacing : number; -export const h5ParagraphSpacing : number; -export const h5TextDecoration : string; -export const h5TextCase : string; -export const bodyFontFamily : string; -export const bodyFontWeight : number; -export const bodyLineHeight : string; -export const bodyFontSize : string; -export const bodyLetterSpacing : number; -export const bodyParagraphSpacing : number; -export const bodyTextDecoration : string; -export const bodyTextCase : string; -export const footnoteFontFamily : string; -export const footnoteFontWeight : number; -export const footnoteLineHeight : string; -export const footnoteFontSize : string; -export const footnoteLetterSpacing : number; -export const footnoteParagraphSpacing : number; -export const footnoteTextDecoration : string; -export const footnoteTextCase : string; -export const captionFontFamily : string; -export const captionFontWeight : number; -export const captionLineHeight : string; -export const captionFontSize : string; -export const captionLetterSpacing : number; -export const captionParagraphSpacing : number; -export const captionTextDecoration : string; -export const captionTextCase : string; -export const mobileH1FontFamily : string; -export const mobileH1FontWeight : number; -export const mobileH1LineHeight : string; -export const mobileH1FontSize : string; -export const mobileH1LetterSpacing : number; -export const mobileH1ParagraphSpacing : number; -export const mobileH1TextDecoration : string; -export const mobileH1TextCase : string; -export const mobileH2FontFamily : string; -export const mobileH2FontWeight : number; -export const mobileH2LineHeight : string; -export const mobileH2FontSize : string; -export const mobileH2LetterSpacing : number; -export const mobileH2ParagraphSpacing : number; -export const mobileH2TextDecoration : string; -export const mobileH2TextCase : string; -export const mobileH3FontFamily : string; -export const mobileH3FontWeight : number; -export const mobileH3LineHeight : string; -export const mobileH3FontSize : string; -export const mobileH3LetterSpacing : number; -export const mobileH3ParagraphSpacing : number; -export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/ts/typography.js b/dist/tokens/ts/typography.js deleted file mode 100644 index b4635306..00000000 --- a/dist/tokens/ts/typography.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 06 Oct 2022 15:47:26 GMT - */ - -module.exports = { - "letterSpacingBase": 0, - "paragraphSpacingBase": 0, - "textDecorationBase": "none", - "textCaseBase": "none", - "size3xlarge": "40px", - "size2xlarge": "32px", - "sizeXlarge": "24px", - "sizeLarge": "20px", - "sizeNormal": "16px", - "sizeSmall": "14px", - "sizeXsmall": "12px", - "sizeMobile3xlarge": "32px", - "sizeMobile2xlarge": "28px", - "sizeMobileXlarge": "22px", - "lineHeightXlarge": "40px", - "lineHeightLarge": "32px", - "lineHeightNormal": "24px", - "lineHeightSmall": "16px", - "fontFamilySansSerif": "Mulish", - "weightSemiBold": 700, - "weightBase": 500, - "weightLight": 400, - "weightStrong": 600, - "weightBold": 900, - "h1FontFamily": "Mulish", - "h1FontWeight": 700, - "h1LineHeight": "40px", - "h1FontSize": "40px", - "h1LetterSpacing": 0, - "h1ParagraphSpacing": 0, - "h1TextDecoration": "none", - "h1TextCase": "none", - "h2FontFamily": "Mulish", - "h2FontWeight": 700, - "h2LineHeight": "40px", - "h2FontSize": "32px", - "h2LetterSpacing": 0, - "h2ParagraphSpacing": 0, - "h2TextDecoration": "none", - "h2TextCase": "none", - "h3FontFamily": "Mulish", - "h3FontWeight": 700, - "h3LineHeight": "32px", - "h3FontSize": "24px", - "h3LetterSpacing": 0, - "h3ParagraphSpacing": 0, - "h3TextDecoration": "none", - "h3TextCase": "none", - "h4FontFamily": "Mulish", - "h4FontWeight": 700, - "h4LineHeight": "24px", - "h4FontSize": "20px", - "h4LetterSpacing": 0, - "h4ParagraphSpacing": 0, - "h4TextDecoration": "none", - "h4TextCase": "none", - "h5FontFamily": "Mulish", - "h5FontWeight": 700, - "h5LineHeight": "24px", - "h5FontSize": "16px", - "h5LetterSpacing": 0, - "h5ParagraphSpacing": 0, - "h5TextDecoration": "none", - "h5TextCase": "none", - "bodyFontFamily": "Mulish", - "bodyFontWeight": 500, - "bodyLineHeight": "24px", - "bodyFontSize": "16px", - "bodyLetterSpacing": 0, - "bodyParagraphSpacing": 0, - "bodyTextDecoration": "none", - "bodyTextCase": "none", - "footnoteFontFamily": "Mulish", - "footnoteFontWeight": 500, - "footnoteLineHeight": "16px", - "footnoteFontSize": "14px", - "footnoteLetterSpacing": 0, - "footnoteParagraphSpacing": 0, - "footnoteTextDecoration": "none", - "footnoteTextCase": "none", - "captionFontFamily": "Mulish", - "captionFontWeight": 500, - "captionLineHeight": "16px", - "captionFontSize": "12px", - "captionLetterSpacing": 0, - "captionParagraphSpacing": 0, - "captionTextDecoration": "none", - "captionTextCase": "none", - "mobileH1FontFamily": "Mulish", - "mobileH1FontWeight": 700, - "mobileH1LineHeight": "40px", - "mobileH1FontSize": "32px", - "mobileH1LetterSpacing": 0, - "mobileH1ParagraphSpacing": 0, - "mobileH1TextDecoration": "none", - "mobileH1TextCase": "none", - "mobileH2FontFamily": "Mulish", - "mobileH2FontWeight": 700, - "mobileH2LineHeight": "32px", - "mobileH2FontSize": "28px", - "mobileH2LetterSpacing": 0, - "mobileH2ParagraphSpacing": 0, - "mobileH2TextDecoration": "none", - "mobileH2TextCase": "none", - "mobileH3FontFamily": "Mulish", - "mobileH3FontWeight": 700, - "mobileH3LineHeight": "32px", - "mobileH3FontSize": "22px", - "mobileH3LetterSpacing": 0, - "mobileH3ParagraphSpacing": 0, - "mobileH3TextDecoration": "none", - "mobileH3TextCase": "none" -}; \ No newline at end of file diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts deleted file mode 100644 index bf33064e..00000000 --- a/dist/types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./interfaces"; -export * from "./profiles"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map deleted file mode 100644 index 1ca1b828..00000000 --- a/dist/types/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js deleted file mode 100644 index 9ce320c1..00000000 --- a/dist/types/index.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _interfaces = require("./interfaces"); - -Object.keys(_interfaces).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _interfaces[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _interfaces[key]; - } - }); -}); - -var _profiles = require("./profiles"); - -Object.keys(_profiles).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _profiles[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _profiles[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts deleted file mode 100644 index 0cea5539..00000000 --- a/dist/types/interfaces.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare const AVIARY_COLORS: { - primary: string; - info: string; - warning: string; - danger: string; - highlight: string; - system: string; -}; -declare const EXTENDED_AVIARY_COLORS: { - light: string; - primary: string; - info: string; - warning: string; - danger: string; - highlight: string; - system: string; -}; -declare type AviaryColors = keyof typeof AVIARY_COLORS; -declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; -interface AviaryColorProps { - isColor?: AviaryColors; -} -interface AviaryExtendedColorProps { - isColor?: ExtendedAviaryColors; -} -export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; -export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map deleted file mode 100644 index 87d81861..00000000 --- a/dist/types/interfaces.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js deleted file mode 100644 index 42449ef5..00000000 --- a/dist/types/interfaces.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.keys.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.array.filter.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.get-own-property-descriptors.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var AVIARY_COLORS = { - primary: "primary", - info: "info", - warning: "warning", - danger: "danger", - highlight: "highlight", - system: "system" -}; -exports.AVIARY_COLORS = AVIARY_COLORS; - -var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { - light: "light" -}); - -exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts deleted file mode 100644 index fdaa73de..00000000 --- a/dist/types/profiles.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type * as light from "../../dist/tokens/ts/themes/light.d"; -declare type StandardColorsProfileTheme = typeof light.primary; -declare type SystemColorProfileTheme = typeof light.system; -declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; -export type { ColorProfileTheme }; -//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map deleted file mode 100644 index c292ac7a..00000000 --- a/dist/types/profiles.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js deleted file mode 100644 index 430afc16..00000000 --- a/dist/types/profiles.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts deleted file mode 100644 index e3961e9a..00000000 --- a/dist/types/themes.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import * as light from "../../dist/tokens/ts/themes/light"; -declare type AviaryTheme = typeof light; -export { light }; -export type { AviaryTheme }; -//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map deleted file mode 100644 index 6d18b917..00000000 --- a/dist/types/themes.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAE3D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js deleted file mode 100644 index 18061b50..00000000 --- a/dist/types/themes.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -require("core-js/modules/es.array.iterator.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.string.iterator.js"); - -require("core-js/modules/es.weak-map.js"); - -require("core-js/modules/web.dom-collections.iterator.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.symbol.description.js"); - -require("core-js/modules/es.symbol.iterator.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.light = void 0; - -var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); - -exports.light = light; - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/src/transformed/transformed-light.json b/src/transformed/transformed-light.json index 6c2cc07e..7d241053 100644 --- a/src/transformed/transformed-light.json +++ b/src/transformed/transformed-light.json @@ -427,32 +427,39 @@ "disabled": { "text": { "value": "#596D84", - "type": "color" + "type": "color", + "description": "For use in disabled content like text and icons" }, "background": { "value": "#F5F7FA", - "type": "color" + "type": "color", + "description": "Used as the background colour for disabled components" }, "nakedContent": { "value": "#F5F7FA", - "type": "color" + "type": "color", + "description": "Used for content in disabled components with little to no styling" }, "nakedBackground": { "value": "transparent", - "type": "color" + "type": "color", + "description": "Used for the background in disabled components with little to no styling" }, "border": { "value": "#C8D3E0", - "type": "color" + "type": "color", + "description": "Used as the border for disabled components" }, "input": { "background": { "value": "#E6EDF5", - "type": "color" + "type": "color", + "description": "For use in disabled inputs as the background colour" }, "LabelText": { "value": "#596D84", - "type": "color" + "type": "color", + "description": "Used as the label colour for disabled inputs" } } }, From ed9356ec4413045a6edcc5cfbd7cbf6c422cc83b Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Wed, 9 Nov 2022 22:57:38 +0000 Subject: [PATCH 03/15] Built and updated design tokens --- dist/tokens/native/colors.d.ts | 12 +++ dist/tokens/native/colors.js | 12 +++ dist/tokens/native/themes/light.d.ts | 17 ++++ dist/tokens/native/themes/light.js | 17 ++++ dist/tokens/native/typography.d.ts | 117 ++++++++++++++++++++++++ dist/tokens/native/typography.js | 119 +++++++++++++++++++++++++ dist/tokens/scss/colors.scss | 55 ++++++++++++ dist/tokens/scss/themes/light.scss | 128 +++++++++++++++++++++++++++ dist/tokens/scss/typography.scss | 116 ++++++++++++++++++++++++ dist/tokens/ts/colors.d.ts | 12 +++ dist/tokens/ts/colors.js | 12 +++ dist/tokens/ts/themes/light.d.ts | 17 ++++ dist/tokens/ts/themes/light.js | 17 ++++ dist/tokens/ts/typography.d.ts | 117 ++++++++++++++++++++++++ dist/tokens/ts/typography.js | 119 +++++++++++++++++++++++++ 15 files changed, 887 insertions(+) create mode 100644 dist/tokens/native/colors.d.ts create mode 100644 dist/tokens/native/colors.js create mode 100644 dist/tokens/native/themes/light.d.ts create mode 100644 dist/tokens/native/themes/light.js create mode 100644 dist/tokens/native/typography.d.ts create mode 100644 dist/tokens/native/typography.js create mode 100644 dist/tokens/scss/colors.scss create mode 100644 dist/tokens/scss/themes/light.scss create mode 100644 dist/tokens/scss/typography.scss create mode 100644 dist/tokens/ts/colors.d.ts create mode 100644 dist/tokens/ts/colors.js create mode 100644 dist/tokens/ts/themes/light.d.ts create mode 100644 dist/tokens/ts/themes/light.js create mode 100644 dist/tokens/ts/typography.d.ts create mode 100644 dist/tokens/ts/typography.js diff --git a/dist/tokens/native/colors.d.ts b/dist/tokens/native/colors.d.ts new file mode 100644 index 00000000..f930bd09 --- /dev/null +++ b/dist/tokens/native/colors.d.ts @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/native/colors.js b/dist/tokens/native/colors.js new file mode 100644 index 00000000..69826334 --- /dev/null +++ b/dist/tokens/native/colors.js @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, +blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, +red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, +purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, +orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, +grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, +shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.d.ts b/dist/tokens/native/themes/light.d.ts new file mode 100644 index 00000000..1a9485ce --- /dev/null +++ b/dist/tokens/native/themes/light.d.ts @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; +export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; +export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; +export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; +export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; +export const separator : {base : string}; +export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.js b/dist/tokens/native/themes/light.js new file mode 100644 index 00000000..41026eca --- /dev/null +++ b/dist/tokens/native/themes/light.js @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, +system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, +surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, +primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, +info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, +warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, +danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, +highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, +disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, +input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, +separator : {base : "#E6EDF5"}, +light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/native/typography.d.ts b/dist/tokens/native/typography.d.ts new file mode 100644 index 00000000..93bc3a19 --- /dev/null +++ b/dist/tokens/native/typography.d.ts @@ -0,0 +1,117 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +export const letterSpacingBase : number; +export const paragraphSpacingBase : number; +export const textDecorationBase : string; +export const textCaseBase : string; +export const size3xlarge : number; +export const size2xlarge : number; +export const sizeXlarge : number; +export const sizeLarge : number; +export const sizeNormal : number; +export const sizeSmall : number; +export const sizeXsmall : number; +export const sizeMobile3xlarge : number; +export const sizeMobile2xlarge : number; +export const sizeMobileXlarge : number; +export const lineHeightXlarge : number; +export const lineHeightLarge : number; +export const lineHeightNormal : number; +export const lineHeightSmall : number; +export const fontFamilySansSerif : string; +export const weightSemiBold : string; +export const weightBase : string; +export const weightLight : string; +export const weightStrong : string; +export const weightBold : string; +export const h1FontFamily : string; +export const h1FontWeight : string; +export const h1LineHeight : number; +export const h1FontSize : number; +export const h1LetterSpacing : number; +export const h1ParagraphSpacing : number; +export const h1TextDecoration : string; +export const h1TextCase : string; +export const h2FontFamily : string; +export const h2FontWeight : string; +export const h2LineHeight : number; +export const h2FontSize : number; +export const h2LetterSpacing : number; +export const h2ParagraphSpacing : number; +export const h2TextDecoration : string; +export const h2TextCase : string; +export const h3FontFamily : string; +export const h3FontWeight : string; +export const h3LineHeight : number; +export const h3FontSize : number; +export const h3LetterSpacing : number; +export const h3ParagraphSpacing : number; +export const h3TextDecoration : string; +export const h3TextCase : string; +export const h4FontFamily : string; +export const h4FontWeight : string; +export const h4LineHeight : number; +export const h4FontSize : number; +export const h4LetterSpacing : number; +export const h4ParagraphSpacing : number; +export const h4TextDecoration : string; +export const h4TextCase : string; +export const h5FontFamily : string; +export const h5FontWeight : string; +export const h5LineHeight : number; +export const h5FontSize : number; +export const h5LetterSpacing : number; +export const h5ParagraphSpacing : number; +export const h5TextDecoration : string; +export const h5TextCase : string; +export const bodyFontFamily : string; +export const bodyFontWeight : string; +export const bodyLineHeight : number; +export const bodyFontSize : number; +export const bodyLetterSpacing : number; +export const bodyParagraphSpacing : number; +export const bodyTextDecoration : string; +export const bodyTextCase : string; +export const footnoteFontFamily : string; +export const footnoteFontWeight : string; +export const footnoteLineHeight : number; +export const footnoteFontSize : number; +export const footnoteLetterSpacing : number; +export const footnoteParagraphSpacing : number; +export const footnoteTextDecoration : string; +export const footnoteTextCase : string; +export const captionFontFamily : string; +export const captionFontWeight : string; +export const captionLineHeight : number; +export const captionFontSize : number; +export const captionLetterSpacing : number; +export const captionParagraphSpacing : number; +export const captionTextDecoration : string; +export const captionTextCase : string; +export const mobileH1FontFamily : string; +export const mobileH1FontWeight : string; +export const mobileH1LineHeight : number; +export const mobileH1FontSize : number; +export const mobileH1LetterSpacing : number; +export const mobileH1ParagraphSpacing : number; +export const mobileH1TextDecoration : string; +export const mobileH1TextCase : string; +export const mobileH2FontFamily : string; +export const mobileH2FontWeight : string; +export const mobileH2LineHeight : number; +export const mobileH2FontSize : number; +export const mobileH2LetterSpacing : number; +export const mobileH2ParagraphSpacing : number; +export const mobileH2TextDecoration : string; +export const mobileH2TextCase : string; +export const mobileH3FontFamily : string; +export const mobileH3FontWeight : string; +export const mobileH3LineHeight : number; +export const mobileH3FontSize : number; +export const mobileH3LetterSpacing : number; +export const mobileH3ParagraphSpacing : number; +export const mobileH3TextDecoration : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/native/typography.js b/dist/tokens/native/typography.js new file mode 100644 index 00000000..07d2126f --- /dev/null +++ b/dist/tokens/native/typography.js @@ -0,0 +1,119 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +module.exports = { + "letterSpacingBase": 0, + "paragraphSpacingBase": 0, + "textDecorationBase": "none", + "textCaseBase": "none", + "size3xlarge": 40, + "size2xlarge": 32, + "sizeXlarge": 24, + "sizeLarge": 20, + "sizeNormal": 16, + "sizeSmall": 14, + "sizeXsmall": 12, + "sizeMobile3xlarge": 32, + "sizeMobile2xlarge": 28, + "sizeMobileXlarge": 22, + "lineHeightXlarge": 40, + "lineHeightLarge": 32, + "lineHeightNormal": 24, + "lineHeightSmall": 16, + "fontFamilySansSerif": "Mulish", + "weightSemiBold": "700", + "weightBase": "500", + "weightLight": "400", + "weightStrong": "600", + "weightBold": "900", + "h1FontFamily": "Mulish", + "h1FontWeight": "700", + "h1LineHeight": 40, + "h1FontSize": 40, + "h1LetterSpacing": 0, + "h1ParagraphSpacing": 0, + "h1TextDecoration": "none", + "h1TextCase": "none", + "h2FontFamily": "Mulish", + "h2FontWeight": "700", + "h2LineHeight": 40, + "h2FontSize": 32, + "h2LetterSpacing": 0, + "h2ParagraphSpacing": 0, + "h2TextDecoration": "none", + "h2TextCase": "none", + "h3FontFamily": "Mulish", + "h3FontWeight": "700", + "h3LineHeight": 32, + "h3FontSize": 24, + "h3LetterSpacing": 0, + "h3ParagraphSpacing": 0, + "h3TextDecoration": "none", + "h3TextCase": "none", + "h4FontFamily": "Mulish", + "h4FontWeight": "700", + "h4LineHeight": 24, + "h4FontSize": 20, + "h4LetterSpacing": 0, + "h4ParagraphSpacing": 0, + "h4TextDecoration": "none", + "h4TextCase": "none", + "h5FontFamily": "Mulish", + "h5FontWeight": "700", + "h5LineHeight": 24, + "h5FontSize": 16, + "h5LetterSpacing": 0, + "h5ParagraphSpacing": 0, + "h5TextDecoration": "none", + "h5TextCase": "none", + "bodyFontFamily": "Mulish", + "bodyFontWeight": "500", + "bodyLineHeight": 24, + "bodyFontSize": 16, + "bodyLetterSpacing": 0, + "bodyParagraphSpacing": 0, + "bodyTextDecoration": "none", + "bodyTextCase": "none", + "footnoteFontFamily": "Mulish", + "footnoteFontWeight": "500", + "footnoteLineHeight": 16, + "footnoteFontSize": 14, + "footnoteLetterSpacing": 0, + "footnoteParagraphSpacing": 0, + "footnoteTextDecoration": "none", + "footnoteTextCase": "none", + "captionFontFamily": "Mulish", + "captionFontWeight": "500", + "captionLineHeight": 16, + "captionFontSize": 12, + "captionLetterSpacing": 0, + "captionParagraphSpacing": 0, + "captionTextDecoration": "none", + "captionTextCase": "none", + "mobileH1FontFamily": "Mulish", + "mobileH1FontWeight": "700", + "mobileH1LineHeight": 40, + "mobileH1FontSize": 32, + "mobileH1LetterSpacing": 0, + "mobileH1ParagraphSpacing": 0, + "mobileH1TextDecoration": "none", + "mobileH1TextCase": "none", + "mobileH2FontFamily": "Mulish", + "mobileH2FontWeight": "700", + "mobileH2LineHeight": 32, + "mobileH2FontSize": 28, + "mobileH2LetterSpacing": 0, + "mobileH2ParagraphSpacing": 0, + "mobileH2TextDecoration": "none", + "mobileH2TextCase": "none", + "mobileH3FontFamily": "Mulish", + "mobileH3FontWeight": "700", + "mobileH3LineHeight": 32, + "mobileH3FontSize": 22, + "mobileH3LetterSpacing": 0, + "mobileH3ParagraphSpacing": 0, + "mobileH3TextDecoration": "none", + "mobileH3TextCase": "none" +}; \ No newline at end of file diff --git a/dist/tokens/scss/colors.scss b/dist/tokens/scss/colors.scss new file mode 100644 index 00000000..afd95a79 --- /dev/null +++ b/dist/tokens/scss/colors.scss @@ -0,0 +1,55 @@ + +// Do not edit directly +// Generated on Wed, 09 Nov 2022 22:57:38 GMT + +$green100: #FAFFFC; +$green200: #EBF2EF; +$green300: #D1E0D9; +$green400: #B6CFC2; +$green500: #86B09B; +$green600: #307553; +$green700: #275E43; +$green800: #244C38; +$blue100: #F5FAFF; +$blue200: #E6F1FC; +$blue300: #C0D8F0; +$blue400: #88B1D9; +$blue500: #5D96CF; +$blue600: #3971A8; +$blue700: #21588F; +$blue800: #194673; +$red100: #FFF7F9; +$red200: #FEEEF2; +$red300: #F0C4CD; +$red400: #E296A6; +$red500: #C6516A; +$red600: #AF2645; +$red700: #980B29; +$red800: #800D25; +$purple100: #FCFAFF; +$purple200: #F2ECFE; +$purple300: #D7CEE9; +$purple400: #B9ABD5; +$purple500: #8471AB; +$purple600: #533E7D; +$purple700: #3B2566; +$purple800: #2A174F; +$orange100: #FFFAF5; +$orange200: #FFF3E8; +$orange300: #F3D8C0; +$orange400: #E7B88F; +$orange500: #CF8545; +$orange600: #B4631D; +$orange700: #8E4D14; +$orange800: #784213; +$grey100: #FCFEFF; +$grey200: #F5F7FA; +$grey300: #E6EDF5; +$grey400: #C8D3E0; +$grey500: #596D84; +$grey600: #475A70; +$grey700: #36485C; +$grey800: #2E3A47; +$shadesWhite: #FFFFFF; +$shadesBlack: #000000; +$shadesTransparent: transparent; \ No newline at end of file diff --git a/dist/tokens/scss/themes/light.scss b/dist/tokens/scss/themes/light.scss new file mode 100644 index 00000000..17543a11 --- /dev/null +++ b/dist/tokens/scss/themes/light.scss @@ -0,0 +1,128 @@ + +// Do not edit directly +// Generated on Wed, 09 Nov 2022 22:57:38 GMT + +$textEmphasis: #36485C; +$textBody: #475A70; +$textSubdued: #596D84; +$textOnBackground: #FFFFFF; +$systemTextLabelEmphasis: #2E3A47; +$systemTextBase: #475A70; +$systemTextHover: #36485C; +$systemTextActive: #2E3A47; +$systemBackgroundBase: #FFFFFF; +$systemBackgroundMuted: #F5F7FA; +$systemBackgroundMutedHover: #E6EDF5; +$systemBackgroundMutedActive: #C8D3E0; +$systemBackgroundBox: #FCFEFF; +$systemBorderBase: #C8D3E0; +$systemBorderHover: #596D84; +$systemBorderActive: #475A70; +$systemBorderFocused: #3971A8; +$surfaceLevel0: #F5F7FA; +$surfaceLevel1: #FFFFFF; +$surfaceLevel2: #F5F7FA; +$surfaceLevel3: #FFFFFF; +$surfaceInteractiveBackground: #FFFFFF; +$surfaceInteractiveHover: #F5F7FA; +$surfaceInteractiveActive: #E6EDF5; +$surfaceOverlayInvertable: #2E3A47; +$surfaceOverlayWhiteInvertable: #FFFFFF; +$surfaceOverlayStatic: #36485C; +$primaryTextBase: #307553; +$primaryTextHover: #275E43; +$primaryTextActive: #244C38; +$primaryBackgroundBase: #307553; +$primaryBackgroundHover: #275E43; +$primaryBackgroundActive: #244C38; +$primaryBackgroundMuted: #EBF2EF; +$primaryBackgroundMutedHover: #D1E0D9; +$primaryBackgroundMutedActive: #B6CFC2; +$primaryBackgroundBox: #FAFFFC; +$primaryBorderBase: #307553; +$primaryBorderHover: #275E43; +$primaryBorderActive: #244C38; +$infoTextBase: #3971A8; +$infoTextHover: #21588F; +$infoTextActive: #194673; +$infoBackgroundBase: #3971A8; +$infoBackgroundHover: #21588F; +$infoBackgroundActive: #194673; +$infoBackgroundMuted: #E6F1FC; +$infoBackgroundMutedHover: #C0D8F0; +$infoBackgroundMutedActive: #88B1D9; +$infoBackgroundBox: #F5FAFF; +$infoBorderBase: #3971A8; +$infoBorderHover: #21588F; +$infoBorderActive: #194673; +$warningTextBase: #B4631D; +$warningTextHover: #8E4D14; +$warningTextActive: #784213; +$warningBackgroundBase: #B4631D; +$warningBackgroundHover: #8E4D14; +$warningBackgroundActive: #784213; +$warningBackgroundMuted: #FFF3E8; +$warningBackgroundMutedHover: #F3D8C0; +$warningBackgroundMutedActive: #E7B88F; +$warningBackgroundBox: #FFFAF5; +$warningBorderBase: #B4631D; +$warningBorderHover: #8E4D14; +$warningBorderActive: #784213; +$dangerTextBase: #AF2645; +$dangerTextHover: #980B29; +$dangerTextActive: #800D25; +$dangerBackgroundBase: #AF2645; +$dangerBackgroundHover: #980B29; +$dangerBackgroundActive: #800D25; +$dangerBackgroundMuted: #FEEEF2; +$dangerBackgroundMutedHover: #F0C4CD; +$dangerBackgroundMutedActive: #E296A6; +$dangerBackgroundBox: #FFF7F9; +$dangerBorderBase: #AF2645; +$dangerBorderHover: #980B29; +$dangerBorderActive: #800D25; +$highlightTextBase: #533E7D; +$highlightTextHover: #3B2566; +$highlightTextActive: #2A174F; +$highlightBackgroundBase: #533E7D; +$highlightBackgroundHover: #3B2566; +$highlightBackgroundActive: #2A174F; +$highlightBackgroundMuted: #F2ECFE; +$highlightBackgroundMutedHover: #D7CEE9; +$highlightBackgroundMutedActive: #B9ABD5; +$highlightBackgroundBox: #FCFAFF; +$highlightBorderBase: #533E7D; +$highlightBorderHover: #3B2566; +$highlightBorderActive: #2A174F; +$disabledText: #596D84; +$disabledBackground: #F5F7FA; +$disabledNakedContent: #F5F7FA; +$disabledNakedBackground: transparent; +$disabledBorder: #C8D3E0; +$disabledInputBackground: #E6EDF5; +$disabledInputLabelText: #596D84; +$inputBackgroundBase: #F5F7FA; +$inputBackgroundHover: #E6EDF5; +$inputBackgroundInformation: #FFFFFF; +$inputTextBase: #475A70; +$inputTextInformation: #475A70; +$inputTextInformationError: #AF2645; +$inputTextLabel: #475A70; +$inputTextFloatingLabel: #3971A8; +$inputTextFloatingLabelError: #AF2645; +$inputTextPlaceholder: #596D84; +$inputTextActive: #2E3A47; +$inputBorderBase: #E6EDF5; +$inputBorderError: #AF2645; +$inputBorderHover: #C8D3E0; +$inputBorderEmphasized: #596D84; +$inputBorderEmphasizedHover: #475A70; +$inputBorderActive: #3971A8; +$separatorBase: #E6EDF5; +$lightBackgroundBase: #FFFFFF; +$lightBackgroundContrast: #475A70; +$lightBackgroundHover: #F5F7FA; +$lightBackgroundActive: #E6EDF5; +$lightTextBase: #2E3A47; +$lightLinkMutedBase: #F5F7FA; +$lightLinkMutedHover: #FFFFFF; \ No newline at end of file diff --git a/dist/tokens/scss/typography.scss b/dist/tokens/scss/typography.scss new file mode 100644 index 00000000..eabd1236 --- /dev/null +++ b/dist/tokens/scss/typography.scss @@ -0,0 +1,116 @@ + +// Do not edit directly +// Generated on Wed, 09 Nov 2022 22:57:38 GMT + +$letterSpacingBase: 0; +$paragraphSpacingBase: 0; +$textDecorationBase: none; +$textCaseBase: none; +$size3xlarge: 40px; +$size2xlarge: 32px; +$sizeXlarge: 24px; +$sizeLarge: 20px; +$sizeNormal: 16px; +$sizeSmall: 14px; +$sizeXsmall: 12px; +$sizeMobile3xlarge: 32px; +$sizeMobile2xlarge: 28px; +$sizeMobileXlarge: 22px; +$lineHeightXlarge: 40px; +$lineHeightLarge: 32px; +$lineHeightNormal: 24px; +$lineHeightSmall: 16px; +$fontFamilySansSerif: Mulish; +$weightSemiBold: 700; +$weightBase: 500; +$weightLight: 400; +$weightStrong: 600; +$weightBold: 900; +$h1FontFamily: Mulish; +$h1FontWeight: 700; +$h1LineHeight: 40px; +$h1FontSize: 40px; +$h1LetterSpacing: 0; +$h1ParagraphSpacing: 0; +$h1TextDecoration: none; +$h1TextCase: none; +$h2FontFamily: Mulish; +$h2FontWeight: 700; +$h2LineHeight: 40px; +$h2FontSize: 32px; +$h2LetterSpacing: 0; +$h2ParagraphSpacing: 0; +$h2TextDecoration: none; +$h2TextCase: none; +$h3FontFamily: Mulish; +$h3FontWeight: 700; +$h3LineHeight: 32px; +$h3FontSize: 24px; +$h3LetterSpacing: 0; +$h3ParagraphSpacing: 0; +$h3TextDecoration: none; +$h3TextCase: none; +$h4FontFamily: Mulish; +$h4FontWeight: 700; +$h4LineHeight: 24px; +$h4FontSize: 20px; +$h4LetterSpacing: 0; +$h4ParagraphSpacing: 0; +$h4TextDecoration: none; +$h4TextCase: none; +$h5FontFamily: Mulish; +$h5FontWeight: 700; +$h5LineHeight: 24px; +$h5FontSize: 16px; +$h5LetterSpacing: 0; +$h5ParagraphSpacing: 0; +$h5TextDecoration: none; +$h5TextCase: none; +$bodyFontFamily: Mulish; +$bodyFontWeight: 500; +$bodyLineHeight: 24px; +$bodyFontSize: 16px; +$bodyLetterSpacing: 0; +$bodyParagraphSpacing: 0; +$bodyTextDecoration: none; +$bodyTextCase: none; +$footnoteFontFamily: Mulish; +$footnoteFontWeight: 500; +$footnoteLineHeight: 16px; +$footnoteFontSize: 14px; +$footnoteLetterSpacing: 0; +$footnoteParagraphSpacing: 0; +$footnoteTextDecoration: none; +$footnoteTextCase: none; +$captionFontFamily: Mulish; +$captionFontWeight: 500; +$captionLineHeight: 16px; +$captionFontSize: 12px; +$captionLetterSpacing: 0; +$captionParagraphSpacing: 0; +$captionTextDecoration: none; +$captionTextCase: none; +$mobileH1FontFamily: Mulish; +$mobileH1FontWeight: 700; +$mobileH1LineHeight: 40px; +$mobileH1FontSize: 32px; +$mobileH1LetterSpacing: 0; +$mobileH1ParagraphSpacing: 0; +$mobileH1TextDecoration: none; +$mobileH1TextCase: none; +$mobileH2FontFamily: Mulish; +$mobileH2FontWeight: 700; +$mobileH2LineHeight: 32px; +$mobileH2FontSize: 28px; +$mobileH2LetterSpacing: 0; +$mobileH2ParagraphSpacing: 0; +$mobileH2TextDecoration: none; +$mobileH2TextCase: none; +$mobileH3FontFamily: Mulish; +$mobileH3FontWeight: 700; +$mobileH3LineHeight: 32px; +$mobileH3FontSize: 22px; +$mobileH3LetterSpacing: 0; +$mobileH3ParagraphSpacing: 0; +$mobileH3TextDecoration: none; +$mobileH3TextCase: none; \ No newline at end of file diff --git a/dist/tokens/ts/colors.d.ts b/dist/tokens/ts/colors.d.ts new file mode 100644 index 00000000..f930bd09 --- /dev/null +++ b/dist/tokens/ts/colors.d.ts @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/ts/colors.js b/dist/tokens/ts/colors.js new file mode 100644 index 00000000..69826334 --- /dev/null +++ b/dist/tokens/ts/colors.js @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, +blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, +red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, +purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, +orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, +grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, +shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.d.ts b/dist/tokens/ts/themes/light.d.ts new file mode 100644 index 00000000..1a9485ce --- /dev/null +++ b/dist/tokens/ts/themes/light.d.ts @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; +export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; +export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; +export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; +export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; +export const separator : {base : string}; +export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.js b/dist/tokens/ts/themes/light.js new file mode 100644 index 00000000..41026eca --- /dev/null +++ b/dist/tokens/ts/themes/light.js @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, +system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, +surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, +primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, +info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, +warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, +danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, +highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, +disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, +input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, +separator : {base : "#E6EDF5"}, +light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/ts/typography.d.ts b/dist/tokens/ts/typography.d.ts new file mode 100644 index 00000000..9924c2fd --- /dev/null +++ b/dist/tokens/ts/typography.d.ts @@ -0,0 +1,117 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +export const letterSpacingBase : number; +export const paragraphSpacingBase : number; +export const textDecorationBase : string; +export const textCaseBase : string; +export const size3xlarge : string; +export const size2xlarge : string; +export const sizeXlarge : string; +export const sizeLarge : string; +export const sizeNormal : string; +export const sizeSmall : string; +export const sizeXsmall : string; +export const sizeMobile3xlarge : string; +export const sizeMobile2xlarge : string; +export const sizeMobileXlarge : string; +export const lineHeightXlarge : string; +export const lineHeightLarge : string; +export const lineHeightNormal : string; +export const lineHeightSmall : string; +export const fontFamilySansSerif : string; +export const weightSemiBold : number; +export const weightBase : number; +export const weightLight : number; +export const weightStrong : number; +export const weightBold : number; +export const h1FontFamily : string; +export const h1FontWeight : number; +export const h1LineHeight : string; +export const h1FontSize : string; +export const h1LetterSpacing : number; +export const h1ParagraphSpacing : number; +export const h1TextDecoration : string; +export const h1TextCase : string; +export const h2FontFamily : string; +export const h2FontWeight : number; +export const h2LineHeight : string; +export const h2FontSize : string; +export const h2LetterSpacing : number; +export const h2ParagraphSpacing : number; +export const h2TextDecoration : string; +export const h2TextCase : string; +export const h3FontFamily : string; +export const h3FontWeight : number; +export const h3LineHeight : string; +export const h3FontSize : string; +export const h3LetterSpacing : number; +export const h3ParagraphSpacing : number; +export const h3TextDecoration : string; +export const h3TextCase : string; +export const h4FontFamily : string; +export const h4FontWeight : number; +export const h4LineHeight : string; +export const h4FontSize : string; +export const h4LetterSpacing : number; +export const h4ParagraphSpacing : number; +export const h4TextDecoration : string; +export const h4TextCase : string; +export const h5FontFamily : string; +export const h5FontWeight : number; +export const h5LineHeight : string; +export const h5FontSize : string; +export const h5LetterSpacing : number; +export const h5ParagraphSpacing : number; +export const h5TextDecoration : string; +export const h5TextCase : string; +export const bodyFontFamily : string; +export const bodyFontWeight : number; +export const bodyLineHeight : string; +export const bodyFontSize : string; +export const bodyLetterSpacing : number; +export const bodyParagraphSpacing : number; +export const bodyTextDecoration : string; +export const bodyTextCase : string; +export const footnoteFontFamily : string; +export const footnoteFontWeight : number; +export const footnoteLineHeight : string; +export const footnoteFontSize : string; +export const footnoteLetterSpacing : number; +export const footnoteParagraphSpacing : number; +export const footnoteTextDecoration : string; +export const footnoteTextCase : string; +export const captionFontFamily : string; +export const captionFontWeight : number; +export const captionLineHeight : string; +export const captionFontSize : string; +export const captionLetterSpacing : number; +export const captionParagraphSpacing : number; +export const captionTextDecoration : string; +export const captionTextCase : string; +export const mobileH1FontFamily : string; +export const mobileH1FontWeight : number; +export const mobileH1LineHeight : string; +export const mobileH1FontSize : string; +export const mobileH1LetterSpacing : number; +export const mobileH1ParagraphSpacing : number; +export const mobileH1TextDecoration : string; +export const mobileH1TextCase : string; +export const mobileH2FontFamily : string; +export const mobileH2FontWeight : number; +export const mobileH2LineHeight : string; +export const mobileH2FontSize : string; +export const mobileH2LetterSpacing : number; +export const mobileH2ParagraphSpacing : number; +export const mobileH2TextDecoration : string; +export const mobileH2TextCase : string; +export const mobileH3FontFamily : string; +export const mobileH3FontWeight : number; +export const mobileH3LineHeight : string; +export const mobileH3FontSize : string; +export const mobileH3LetterSpacing : number; +export const mobileH3ParagraphSpacing : number; +export const mobileH3TextDecoration : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/ts/typography.js b/dist/tokens/ts/typography.js new file mode 100644 index 00000000..d1220f2d --- /dev/null +++ b/dist/tokens/ts/typography.js @@ -0,0 +1,119 @@ +/** + * Do not edit directly + * Generated on Wed, 09 Nov 2022 22:57:38 GMT + */ + +module.exports = { + "letterSpacingBase": 0, + "paragraphSpacingBase": 0, + "textDecorationBase": "none", + "textCaseBase": "none", + "size3xlarge": "40px", + "size2xlarge": "32px", + "sizeXlarge": "24px", + "sizeLarge": "20px", + "sizeNormal": "16px", + "sizeSmall": "14px", + "sizeXsmall": "12px", + "sizeMobile3xlarge": "32px", + "sizeMobile2xlarge": "28px", + "sizeMobileXlarge": "22px", + "lineHeightXlarge": "40px", + "lineHeightLarge": "32px", + "lineHeightNormal": "24px", + "lineHeightSmall": "16px", + "fontFamilySansSerif": "Mulish", + "weightSemiBold": 700, + "weightBase": 500, + "weightLight": 400, + "weightStrong": 600, + "weightBold": 900, + "h1FontFamily": "Mulish", + "h1FontWeight": 700, + "h1LineHeight": "40px", + "h1FontSize": "40px", + "h1LetterSpacing": 0, + "h1ParagraphSpacing": 0, + "h1TextDecoration": "none", + "h1TextCase": "none", + "h2FontFamily": "Mulish", + "h2FontWeight": 700, + "h2LineHeight": "40px", + "h2FontSize": "32px", + "h2LetterSpacing": 0, + "h2ParagraphSpacing": 0, + "h2TextDecoration": "none", + "h2TextCase": "none", + "h3FontFamily": "Mulish", + "h3FontWeight": 700, + "h3LineHeight": "32px", + "h3FontSize": "24px", + "h3LetterSpacing": 0, + "h3ParagraphSpacing": 0, + "h3TextDecoration": "none", + "h3TextCase": "none", + "h4FontFamily": "Mulish", + "h4FontWeight": 700, + "h4LineHeight": "24px", + "h4FontSize": "20px", + "h4LetterSpacing": 0, + "h4ParagraphSpacing": 0, + "h4TextDecoration": "none", + "h4TextCase": "none", + "h5FontFamily": "Mulish", + "h5FontWeight": 700, + "h5LineHeight": "24px", + "h5FontSize": "16px", + "h5LetterSpacing": 0, + "h5ParagraphSpacing": 0, + "h5TextDecoration": "none", + "h5TextCase": "none", + "bodyFontFamily": "Mulish", + "bodyFontWeight": 500, + "bodyLineHeight": "24px", + "bodyFontSize": "16px", + "bodyLetterSpacing": 0, + "bodyParagraphSpacing": 0, + "bodyTextDecoration": "none", + "bodyTextCase": "none", + "footnoteFontFamily": "Mulish", + "footnoteFontWeight": 500, + "footnoteLineHeight": "16px", + "footnoteFontSize": "14px", + "footnoteLetterSpacing": 0, + "footnoteParagraphSpacing": 0, + "footnoteTextDecoration": "none", + "footnoteTextCase": "none", + "captionFontFamily": "Mulish", + "captionFontWeight": 500, + "captionLineHeight": "16px", + "captionFontSize": "12px", + "captionLetterSpacing": 0, + "captionParagraphSpacing": 0, + "captionTextDecoration": "none", + "captionTextCase": "none", + "mobileH1FontFamily": "Mulish", + "mobileH1FontWeight": 700, + "mobileH1LineHeight": "40px", + "mobileH1FontSize": "32px", + "mobileH1LetterSpacing": 0, + "mobileH1ParagraphSpacing": 0, + "mobileH1TextDecoration": "none", + "mobileH1TextCase": "none", + "mobileH2FontFamily": "Mulish", + "mobileH2FontWeight": 700, + "mobileH2LineHeight": "32px", + "mobileH2FontSize": "28px", + "mobileH2LetterSpacing": 0, + "mobileH2ParagraphSpacing": 0, + "mobileH2TextDecoration": "none", + "mobileH2TextCase": "none", + "mobileH3FontFamily": "Mulish", + "mobileH3FontWeight": 700, + "mobileH3LineHeight": "32px", + "mobileH3FontSize": "22px", + "mobileH3LetterSpacing": 0, + "mobileH3ParagraphSpacing": 0, + "mobileH3TextDecoration": "none", + "mobileH3TextCase": "none" +}; \ No newline at end of file From 299dab2d1fc57b070ae176b37bc1b46d0e7e6cf8 Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Wed, 9 Nov 2022 22:58:04 +0000 Subject: [PATCH 04/15] Files compiled! --- dist/helpers/colorProfileMapper.d.ts | 94 ++++++++++++++++++++++++ dist/helpers/colorProfileMapper.d.ts.map | 1 + dist/helpers/colorProfileMapper.js | 20 +++++ dist/helpers/index.d.ts | 2 + dist/helpers/index.d.ts.map | 1 + dist/helpers/index.js | 24 ++++++ dist/index.d.ts | 4 + dist/index.d.ts.map | 1 + dist/index.js | 69 +++++++++++++++++ dist/types/index.d.ts | 3 + dist/types/index.d.ts.map | 1 + dist/types/index.js | 37 ++++++++++ dist/types/interfaces.d.ts | 28 +++++++ dist/types/interfaces.d.ts.map | 1 + dist/types/interfaces.js | 42 +++++++++++ dist/types/profiles.d.ts | 6 ++ dist/types/profiles.d.ts.map | 1 + dist/types/profiles.js | 5 ++ dist/types/themes.d.ts | 5 ++ dist/types/themes.d.ts.map | 1 + dist/types/themes.js | 34 +++++++++ 21 files changed, 380 insertions(+) create mode 100644 dist/helpers/colorProfileMapper.d.ts create mode 100644 dist/helpers/colorProfileMapper.d.ts.map create mode 100644 dist/helpers/colorProfileMapper.js create mode 100644 dist/helpers/index.d.ts create mode 100644 dist/helpers/index.d.ts.map create mode 100644 dist/helpers/index.js create mode 100644 dist/index.d.ts create mode 100644 dist/index.d.ts.map create mode 100644 dist/index.js create mode 100644 dist/types/index.d.ts create mode 100644 dist/types/index.d.ts.map create mode 100644 dist/types/index.js create mode 100644 dist/types/interfaces.d.ts create mode 100644 dist/types/interfaces.d.ts.map create mode 100644 dist/types/interfaces.js create mode 100644 dist/types/profiles.d.ts create mode 100644 dist/types/profiles.d.ts.map create mode 100644 dist/types/profiles.js create mode 100644 dist/types/themes.d.ts create mode 100644 dist/types/themes.d.ts.map create mode 100644 dist/types/themes.js diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts new file mode 100644 index 00000000..f1f8e962 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts @@ -0,0 +1,94 @@ +import type { AviaryTheme } from "../types/themes"; +export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { + primary: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + info: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + warning: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + danger: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + highlight: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + system: { + textLabelEmphasis: string; + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + borderFocused: string; + }; +}; +//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map new file mode 100644 index 00000000..82925827 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js new file mode 100644 index 00000000..77f12372 --- /dev/null +++ b/dist/helpers/colorProfileMapper.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.colorProfileMapper = void 0; + +// Used for mapping over selected `isColor` properties +var colorProfileMapper = function colorProfileMapper(currentTheme) { + return { + primary: currentTheme.primary, + info: currentTheme.info, + warning: currentTheme.warning, + danger: currentTheme.danger, + highlight: currentTheme.highlight, + system: currentTheme.system + }; +}; + +exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts new file mode 100644 index 00000000..7a4a22d6 --- /dev/null +++ b/dist/helpers/index.d.ts @@ -0,0 +1,2 @@ +export * from "./colorProfileMapper"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map new file mode 100644 index 00000000..94ae4bb1 --- /dev/null +++ b/dist/helpers/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js new file mode 100644 index 00000000..155de21a --- /dev/null +++ b/dist/helpers/index.js @@ -0,0 +1,24 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _colorProfileMapper = require("./colorProfileMapper"); + +Object.keys(_colorProfileMapper).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _colorProfileMapper[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _colorProfileMapper[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 00000000..4e6d91d8 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,4 @@ +export * from "./helpers"; +export * from "./types"; +export * as typography from "../dist/tokens/ts/typography"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map new file mode 100644 index 00000000..90c36e9d --- /dev/null +++ b/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 00000000..2b85585c --- /dev/null +++ b/dist/index.js @@ -0,0 +1,69 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + typography: true +}; +exports.typography = void 0; + +var _helpers = require("./helpers"); + +Object.keys(_helpers).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _helpers[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _helpers[key]; + } + }); +}); + +var _types = require("./types"); + +Object.keys(_types).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _types[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _types[key]; + } + }); +}); + +var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); + +exports.typography = _typography; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts new file mode 100644 index 00000000..bf33064e --- /dev/null +++ b/dist/types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./interfaces"; +export * from "./profiles"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map new file mode 100644 index 00000000..1ca1b828 --- /dev/null +++ b/dist/types/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js new file mode 100644 index 00000000..9ce320c1 --- /dev/null +++ b/dist/types/index.js @@ -0,0 +1,37 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _interfaces = require("./interfaces"); + +Object.keys(_interfaces).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _interfaces[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _interfaces[key]; + } + }); +}); + +var _profiles = require("./profiles"); + +Object.keys(_profiles).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _profiles[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _profiles[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts new file mode 100644 index 00000000..0cea5539 --- /dev/null +++ b/dist/types/interfaces.d.ts @@ -0,0 +1,28 @@ +declare const AVIARY_COLORS: { + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; +}; +declare const EXTENDED_AVIARY_COLORS: { + light: string; + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; +}; +declare type AviaryColors = keyof typeof AVIARY_COLORS; +declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; +interface AviaryColorProps { + isColor?: AviaryColors; +} +interface AviaryExtendedColorProps { + isColor?: ExtendedAviaryColors; +} +export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; +export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; +//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map new file mode 100644 index 00000000..87d81861 --- /dev/null +++ b/dist/types/interfaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js new file mode 100644 index 00000000..42449ef5 --- /dev/null +++ b/dist/types/interfaces.js @@ -0,0 +1,42 @@ +"use strict"; + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.array.filter.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.get-own-property-descriptors.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var AVIARY_COLORS = { + primary: "primary", + info: "info", + warning: "warning", + danger: "danger", + highlight: "highlight", + system: "system" +}; +exports.AVIARY_COLORS = AVIARY_COLORS; + +var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { + light: "light" +}); + +exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts new file mode 100644 index 00000000..fdaa73de --- /dev/null +++ b/dist/types/profiles.d.ts @@ -0,0 +1,6 @@ +import type * as light from "../../dist/tokens/ts/themes/light.d"; +declare type StandardColorsProfileTheme = typeof light.primary; +declare type SystemColorProfileTheme = typeof light.system; +declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; +export type { ColorProfileTheme }; +//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map new file mode 100644 index 00000000..c292ac7a --- /dev/null +++ b/dist/types/profiles.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js new file mode 100644 index 00000000..430afc16 --- /dev/null +++ b/dist/types/profiles.js @@ -0,0 +1,5 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts new file mode 100644 index 00000000..e3961e9a --- /dev/null +++ b/dist/types/themes.d.ts @@ -0,0 +1,5 @@ +import * as light from "../../dist/tokens/ts/themes/light"; +declare type AviaryTheme = typeof light; +export { light }; +export type { AviaryTheme }; +//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map new file mode 100644 index 00000000..6d18b917 --- /dev/null +++ b/dist/types/themes.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAE3D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js new file mode 100644 index 00000000..18061b50 --- /dev/null +++ b/dist/types/themes.js @@ -0,0 +1,34 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.light = void 0; + +var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); + +exports.light = light; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file From 3cdedcdca955f000b8782bf6369eb5aa1ba5a312 Mon Sep 17 00:00:00 2001 From: Alexandra Lim Date: Thu, 10 Nov 2022 10:17:50 -0500 Subject: [PATCH 05/15] light --- src/data/light.json | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/src/data/light.json b/src/data/light.json index c7fdcd70..25902608 100644 --- a/src/data/light.json +++ b/src/data/light.json @@ -549,35 +549,42 @@ "background": { "base": { "value": "{colors.shades.white}", - "type": "color" + "type": "color", + "description": "For use as background colour in light profile components on contrasting surface backgrounds" }, "contrast": { "value": "{colors.grey.600}", - "type": "color" + "type": "color", + "description": "For use as a contrasting background colour in light profile components, to match shade of surface background" }, "hover": { "value": "{colors.grey.200}", - "type": "color" + "type": "color", + "description": "For use as background hover colour in light profile components on contrasting surface backgrounds" }, "active": { "value": "{colors.grey.300}", - "type": "color" + "type": "color", + "description": "For use as background active colour in light profile components on contrasting surface backgrounds" } }, "text": { "base": { "value": "{colors.grey.800}", - "type": "color" + "type": "color", + "description": "Used as the content colour (text, icons) for light profile components, to match shade of constrasting surface background" } }, "link": { "mutedBase": { "value": "{colors.grey.200}", - "type": "color" + "type": "color", + "description": "Used as link colour for light profile components on contrasting surface backgrounds" }, "mutedHover": { "value": "{colors.shades.white}", - "type": "color" + "type": "color", + "description": "Used for link hover colour for light profile components on contrasting surface backgrounds" } } } From 22e8b05ce2b39486643976ea6a8c2a8d6448170a Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Thu, 10 Nov 2022 15:18:43 +0000 Subject: [PATCH 06/15] Transformed tokens --- dist/helpers/colorProfileMapper.d.ts | 94 ----------------- dist/helpers/colorProfileMapper.d.ts.map | 1 - dist/helpers/colorProfileMapper.js | 20 ---- dist/helpers/index.d.ts | 2 - dist/helpers/index.d.ts.map | 1 - dist/helpers/index.js | 24 ----- dist/index.d.ts | 4 - dist/index.d.ts.map | 1 - dist/index.js | 69 ------------ dist/tokens/native/colors.d.ts | 12 --- dist/tokens/native/colors.js | 12 --- dist/tokens/native/themes/light.d.ts | 17 --- dist/tokens/native/themes/light.js | 17 --- dist/tokens/native/typography.d.ts | 117 --------------------- dist/tokens/native/typography.js | 119 --------------------- dist/tokens/scss/colors.scss | 55 ---------- dist/tokens/scss/themes/light.scss | 128 ----------------------- dist/tokens/scss/typography.scss | 116 -------------------- dist/tokens/ts/colors.d.ts | 12 --- dist/tokens/ts/colors.js | 12 --- dist/tokens/ts/themes/light.d.ts | 17 --- dist/tokens/ts/themes/light.js | 17 --- dist/tokens/ts/typography.d.ts | 117 --------------------- dist/tokens/ts/typography.js | 119 --------------------- dist/types/index.d.ts | 3 - dist/types/index.d.ts.map | 1 - dist/types/index.js | 37 ------- dist/types/interfaces.d.ts | 28 ----- dist/types/interfaces.d.ts.map | 1 - dist/types/interfaces.js | 42 -------- dist/types/profiles.d.ts | 6 -- dist/types/profiles.d.ts.map | 1 - dist/types/profiles.js | 5 - dist/types/themes.d.ts | 5 - dist/types/themes.d.ts.map | 1 - dist/types/themes.js | 34 ------ src/transformed/transformed-light.json | 21 ++-- 37 files changed, 14 insertions(+), 1274 deletions(-) delete mode 100644 dist/helpers/colorProfileMapper.d.ts delete mode 100644 dist/helpers/colorProfileMapper.d.ts.map delete mode 100644 dist/helpers/colorProfileMapper.js delete mode 100644 dist/helpers/index.d.ts delete mode 100644 dist/helpers/index.d.ts.map delete mode 100644 dist/helpers/index.js delete mode 100644 dist/index.d.ts delete mode 100644 dist/index.d.ts.map delete mode 100644 dist/index.js delete mode 100644 dist/tokens/native/colors.d.ts delete mode 100644 dist/tokens/native/colors.js delete mode 100644 dist/tokens/native/themes/light.d.ts delete mode 100644 dist/tokens/native/themes/light.js delete mode 100644 dist/tokens/native/typography.d.ts delete mode 100644 dist/tokens/native/typography.js delete mode 100644 dist/tokens/scss/colors.scss delete mode 100644 dist/tokens/scss/themes/light.scss delete mode 100644 dist/tokens/scss/typography.scss delete mode 100644 dist/tokens/ts/colors.d.ts delete mode 100644 dist/tokens/ts/colors.js delete mode 100644 dist/tokens/ts/themes/light.d.ts delete mode 100644 dist/tokens/ts/themes/light.js delete mode 100644 dist/tokens/ts/typography.d.ts delete mode 100644 dist/tokens/ts/typography.js delete mode 100644 dist/types/index.d.ts delete mode 100644 dist/types/index.d.ts.map delete mode 100644 dist/types/index.js delete mode 100644 dist/types/interfaces.d.ts delete mode 100644 dist/types/interfaces.d.ts.map delete mode 100644 dist/types/interfaces.js delete mode 100644 dist/types/profiles.d.ts delete mode 100644 dist/types/profiles.d.ts.map delete mode 100644 dist/types/profiles.js delete mode 100644 dist/types/themes.d.ts delete mode 100644 dist/types/themes.d.ts.map delete mode 100644 dist/types/themes.js diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts deleted file mode 100644 index f1f8e962..00000000 --- a/dist/helpers/colorProfileMapper.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import type { AviaryTheme } from "../types/themes"; -export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { - primary: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - info: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - warning: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - danger: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - highlight: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - system: { - textLabelEmphasis: string; - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - borderFocused: string; - }; -}; -//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map deleted file mode 100644 index 82925827..00000000 --- a/dist/helpers/colorProfileMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js deleted file mode 100644 index 77f12372..00000000 --- a/dist/helpers/colorProfileMapper.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.colorProfileMapper = void 0; - -// Used for mapping over selected `isColor` properties -var colorProfileMapper = function colorProfileMapper(currentTheme) { - return { - primary: currentTheme.primary, - info: currentTheme.info, - warning: currentTheme.warning, - danger: currentTheme.danger, - highlight: currentTheme.highlight, - system: currentTheme.system - }; -}; - -exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts deleted file mode 100644 index 7a4a22d6..00000000 --- a/dist/helpers/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./colorProfileMapper"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map deleted file mode 100644 index 94ae4bb1..00000000 --- a/dist/helpers/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js deleted file mode 100644 index 155de21a..00000000 --- a/dist/helpers/index.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _colorProfileMapper = require("./colorProfileMapper"); - -Object.keys(_colorProfileMapper).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _colorProfileMapper[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _colorProfileMapper[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts deleted file mode 100644 index 4e6d91d8..00000000 --- a/dist/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from "./helpers"; -export * from "./types"; -export * as typography from "../dist/tokens/ts/typography"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map deleted file mode 100644 index 90c36e9d..00000000 --- a/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index 2b85585c..00000000 --- a/dist/index.js +++ /dev/null @@ -1,69 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -require("core-js/modules/es.array.iterator.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.string.iterator.js"); - -require("core-js/modules/es.weak-map.js"); - -require("core-js/modules/web.dom-collections.iterator.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.symbol.description.js"); - -require("core-js/modules/es.symbol.iterator.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -var _exportNames = { - typography: true -}; -exports.typography = void 0; - -var _helpers = require("./helpers"); - -Object.keys(_helpers).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; - if (key in exports && exports[key] === _helpers[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _helpers[key]; - } - }); -}); - -var _types = require("./types"); - -Object.keys(_types).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; - if (key in exports && exports[key] === _types[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _types[key]; - } - }); -}); - -var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); - -exports.typography = _typography; - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/tokens/native/colors.d.ts b/dist/tokens/native/colors.d.ts deleted file mode 100644 index f930bd09..00000000 --- a/dist/tokens/native/colors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/native/colors.js b/dist/tokens/native/colors.js deleted file mode 100644 index 69826334..00000000 --- a/dist/tokens/native/colors.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, -blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, -red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, -purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, -orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, -grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, -shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.d.ts b/dist/tokens/native/themes/light.d.ts deleted file mode 100644 index 1a9485ce..00000000 --- a/dist/tokens/native/themes/light.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; -export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; -export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; -export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; -export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; -export const separator : {base : string}; -export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.js b/dist/tokens/native/themes/light.js deleted file mode 100644 index 41026eca..00000000 --- a/dist/tokens/native/themes/light.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, -system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, -surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, -primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, -info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, -warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, -danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, -highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, -disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, -input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, -separator : {base : "#E6EDF5"}, -light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/native/typography.d.ts b/dist/tokens/native/typography.d.ts deleted file mode 100644 index 93bc3a19..00000000 --- a/dist/tokens/native/typography.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -export const letterSpacingBase : number; -export const paragraphSpacingBase : number; -export const textDecorationBase : string; -export const textCaseBase : string; -export const size3xlarge : number; -export const size2xlarge : number; -export const sizeXlarge : number; -export const sizeLarge : number; -export const sizeNormal : number; -export const sizeSmall : number; -export const sizeXsmall : number; -export const sizeMobile3xlarge : number; -export const sizeMobile2xlarge : number; -export const sizeMobileXlarge : number; -export const lineHeightXlarge : number; -export const lineHeightLarge : number; -export const lineHeightNormal : number; -export const lineHeightSmall : number; -export const fontFamilySansSerif : string; -export const weightSemiBold : string; -export const weightBase : string; -export const weightLight : string; -export const weightStrong : string; -export const weightBold : string; -export const h1FontFamily : string; -export const h1FontWeight : string; -export const h1LineHeight : number; -export const h1FontSize : number; -export const h1LetterSpacing : number; -export const h1ParagraphSpacing : number; -export const h1TextDecoration : string; -export const h1TextCase : string; -export const h2FontFamily : string; -export const h2FontWeight : string; -export const h2LineHeight : number; -export const h2FontSize : number; -export const h2LetterSpacing : number; -export const h2ParagraphSpacing : number; -export const h2TextDecoration : string; -export const h2TextCase : string; -export const h3FontFamily : string; -export const h3FontWeight : string; -export const h3LineHeight : number; -export const h3FontSize : number; -export const h3LetterSpacing : number; -export const h3ParagraphSpacing : number; -export const h3TextDecoration : string; -export const h3TextCase : string; -export const h4FontFamily : string; -export const h4FontWeight : string; -export const h4LineHeight : number; -export const h4FontSize : number; -export const h4LetterSpacing : number; -export const h4ParagraphSpacing : number; -export const h4TextDecoration : string; -export const h4TextCase : string; -export const h5FontFamily : string; -export const h5FontWeight : string; -export const h5LineHeight : number; -export const h5FontSize : number; -export const h5LetterSpacing : number; -export const h5ParagraphSpacing : number; -export const h5TextDecoration : string; -export const h5TextCase : string; -export const bodyFontFamily : string; -export const bodyFontWeight : string; -export const bodyLineHeight : number; -export const bodyFontSize : number; -export const bodyLetterSpacing : number; -export const bodyParagraphSpacing : number; -export const bodyTextDecoration : string; -export const bodyTextCase : string; -export const footnoteFontFamily : string; -export const footnoteFontWeight : string; -export const footnoteLineHeight : number; -export const footnoteFontSize : number; -export const footnoteLetterSpacing : number; -export const footnoteParagraphSpacing : number; -export const footnoteTextDecoration : string; -export const footnoteTextCase : string; -export const captionFontFamily : string; -export const captionFontWeight : string; -export const captionLineHeight : number; -export const captionFontSize : number; -export const captionLetterSpacing : number; -export const captionParagraphSpacing : number; -export const captionTextDecoration : string; -export const captionTextCase : string; -export const mobileH1FontFamily : string; -export const mobileH1FontWeight : string; -export const mobileH1LineHeight : number; -export const mobileH1FontSize : number; -export const mobileH1LetterSpacing : number; -export const mobileH1ParagraphSpacing : number; -export const mobileH1TextDecoration : string; -export const mobileH1TextCase : string; -export const mobileH2FontFamily : string; -export const mobileH2FontWeight : string; -export const mobileH2LineHeight : number; -export const mobileH2FontSize : number; -export const mobileH2LetterSpacing : number; -export const mobileH2ParagraphSpacing : number; -export const mobileH2TextDecoration : string; -export const mobileH2TextCase : string; -export const mobileH3FontFamily : string; -export const mobileH3FontWeight : string; -export const mobileH3LineHeight : number; -export const mobileH3FontSize : number; -export const mobileH3LetterSpacing : number; -export const mobileH3ParagraphSpacing : number; -export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/native/typography.js b/dist/tokens/native/typography.js deleted file mode 100644 index 07d2126f..00000000 --- a/dist/tokens/native/typography.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -module.exports = { - "letterSpacingBase": 0, - "paragraphSpacingBase": 0, - "textDecorationBase": "none", - "textCaseBase": "none", - "size3xlarge": 40, - "size2xlarge": 32, - "sizeXlarge": 24, - "sizeLarge": 20, - "sizeNormal": 16, - "sizeSmall": 14, - "sizeXsmall": 12, - "sizeMobile3xlarge": 32, - "sizeMobile2xlarge": 28, - "sizeMobileXlarge": 22, - "lineHeightXlarge": 40, - "lineHeightLarge": 32, - "lineHeightNormal": 24, - "lineHeightSmall": 16, - "fontFamilySansSerif": "Mulish", - "weightSemiBold": "700", - "weightBase": "500", - "weightLight": "400", - "weightStrong": "600", - "weightBold": "900", - "h1FontFamily": "Mulish", - "h1FontWeight": "700", - "h1LineHeight": 40, - "h1FontSize": 40, - "h1LetterSpacing": 0, - "h1ParagraphSpacing": 0, - "h1TextDecoration": "none", - "h1TextCase": "none", - "h2FontFamily": "Mulish", - "h2FontWeight": "700", - "h2LineHeight": 40, - "h2FontSize": 32, - "h2LetterSpacing": 0, - "h2ParagraphSpacing": 0, - "h2TextDecoration": "none", - "h2TextCase": "none", - "h3FontFamily": "Mulish", - "h3FontWeight": "700", - "h3LineHeight": 32, - "h3FontSize": 24, - "h3LetterSpacing": 0, - "h3ParagraphSpacing": 0, - "h3TextDecoration": "none", - "h3TextCase": "none", - "h4FontFamily": "Mulish", - "h4FontWeight": "700", - "h4LineHeight": 24, - "h4FontSize": 20, - "h4LetterSpacing": 0, - "h4ParagraphSpacing": 0, - "h4TextDecoration": "none", - "h4TextCase": "none", - "h5FontFamily": "Mulish", - "h5FontWeight": "700", - "h5LineHeight": 24, - "h5FontSize": 16, - "h5LetterSpacing": 0, - "h5ParagraphSpacing": 0, - "h5TextDecoration": "none", - "h5TextCase": "none", - "bodyFontFamily": "Mulish", - "bodyFontWeight": "500", - "bodyLineHeight": 24, - "bodyFontSize": 16, - "bodyLetterSpacing": 0, - "bodyParagraphSpacing": 0, - "bodyTextDecoration": "none", - "bodyTextCase": "none", - "footnoteFontFamily": "Mulish", - "footnoteFontWeight": "500", - "footnoteLineHeight": 16, - "footnoteFontSize": 14, - "footnoteLetterSpacing": 0, - "footnoteParagraphSpacing": 0, - "footnoteTextDecoration": "none", - "footnoteTextCase": "none", - "captionFontFamily": "Mulish", - "captionFontWeight": "500", - "captionLineHeight": 16, - "captionFontSize": 12, - "captionLetterSpacing": 0, - "captionParagraphSpacing": 0, - "captionTextDecoration": "none", - "captionTextCase": "none", - "mobileH1FontFamily": "Mulish", - "mobileH1FontWeight": "700", - "mobileH1LineHeight": 40, - "mobileH1FontSize": 32, - "mobileH1LetterSpacing": 0, - "mobileH1ParagraphSpacing": 0, - "mobileH1TextDecoration": "none", - "mobileH1TextCase": "none", - "mobileH2FontFamily": "Mulish", - "mobileH2FontWeight": "700", - "mobileH2LineHeight": 32, - "mobileH2FontSize": 28, - "mobileH2LetterSpacing": 0, - "mobileH2ParagraphSpacing": 0, - "mobileH2TextDecoration": "none", - "mobileH2TextCase": "none", - "mobileH3FontFamily": "Mulish", - "mobileH3FontWeight": "700", - "mobileH3LineHeight": 32, - "mobileH3FontSize": 22, - "mobileH3LetterSpacing": 0, - "mobileH3ParagraphSpacing": 0, - "mobileH3TextDecoration": "none", - "mobileH3TextCase": "none" -}; \ No newline at end of file diff --git a/dist/tokens/scss/colors.scss b/dist/tokens/scss/colors.scss deleted file mode 100644 index afd95a79..00000000 --- a/dist/tokens/scss/colors.scss +++ /dev/null @@ -1,55 +0,0 @@ - -// Do not edit directly -// Generated on Wed, 09 Nov 2022 22:57:38 GMT - -$green100: #FAFFFC; -$green200: #EBF2EF; -$green300: #D1E0D9; -$green400: #B6CFC2; -$green500: #86B09B; -$green600: #307553; -$green700: #275E43; -$green800: #244C38; -$blue100: #F5FAFF; -$blue200: #E6F1FC; -$blue300: #C0D8F0; -$blue400: #88B1D9; -$blue500: #5D96CF; -$blue600: #3971A8; -$blue700: #21588F; -$blue800: #194673; -$red100: #FFF7F9; -$red200: #FEEEF2; -$red300: #F0C4CD; -$red400: #E296A6; -$red500: #C6516A; -$red600: #AF2645; -$red700: #980B29; -$red800: #800D25; -$purple100: #FCFAFF; -$purple200: #F2ECFE; -$purple300: #D7CEE9; -$purple400: #B9ABD5; -$purple500: #8471AB; -$purple600: #533E7D; -$purple700: #3B2566; -$purple800: #2A174F; -$orange100: #FFFAF5; -$orange200: #FFF3E8; -$orange300: #F3D8C0; -$orange400: #E7B88F; -$orange500: #CF8545; -$orange600: #B4631D; -$orange700: #8E4D14; -$orange800: #784213; -$grey100: #FCFEFF; -$grey200: #F5F7FA; -$grey300: #E6EDF5; -$grey400: #C8D3E0; -$grey500: #596D84; -$grey600: #475A70; -$grey700: #36485C; -$grey800: #2E3A47; -$shadesWhite: #FFFFFF; -$shadesBlack: #000000; -$shadesTransparent: transparent; \ No newline at end of file diff --git a/dist/tokens/scss/themes/light.scss b/dist/tokens/scss/themes/light.scss deleted file mode 100644 index 17543a11..00000000 --- a/dist/tokens/scss/themes/light.scss +++ /dev/null @@ -1,128 +0,0 @@ - -// Do not edit directly -// Generated on Wed, 09 Nov 2022 22:57:38 GMT - -$textEmphasis: #36485C; -$textBody: #475A70; -$textSubdued: #596D84; -$textOnBackground: #FFFFFF; -$systemTextLabelEmphasis: #2E3A47; -$systemTextBase: #475A70; -$systemTextHover: #36485C; -$systemTextActive: #2E3A47; -$systemBackgroundBase: #FFFFFF; -$systemBackgroundMuted: #F5F7FA; -$systemBackgroundMutedHover: #E6EDF5; -$systemBackgroundMutedActive: #C8D3E0; -$systemBackgroundBox: #FCFEFF; -$systemBorderBase: #C8D3E0; -$systemBorderHover: #596D84; -$systemBorderActive: #475A70; -$systemBorderFocused: #3971A8; -$surfaceLevel0: #F5F7FA; -$surfaceLevel1: #FFFFFF; -$surfaceLevel2: #F5F7FA; -$surfaceLevel3: #FFFFFF; -$surfaceInteractiveBackground: #FFFFFF; -$surfaceInteractiveHover: #F5F7FA; -$surfaceInteractiveActive: #E6EDF5; -$surfaceOverlayInvertable: #2E3A47; -$surfaceOverlayWhiteInvertable: #FFFFFF; -$surfaceOverlayStatic: #36485C; -$primaryTextBase: #307553; -$primaryTextHover: #275E43; -$primaryTextActive: #244C38; -$primaryBackgroundBase: #307553; -$primaryBackgroundHover: #275E43; -$primaryBackgroundActive: #244C38; -$primaryBackgroundMuted: #EBF2EF; -$primaryBackgroundMutedHover: #D1E0D9; -$primaryBackgroundMutedActive: #B6CFC2; -$primaryBackgroundBox: #FAFFFC; -$primaryBorderBase: #307553; -$primaryBorderHover: #275E43; -$primaryBorderActive: #244C38; -$infoTextBase: #3971A8; -$infoTextHover: #21588F; -$infoTextActive: #194673; -$infoBackgroundBase: #3971A8; -$infoBackgroundHover: #21588F; -$infoBackgroundActive: #194673; -$infoBackgroundMuted: #E6F1FC; -$infoBackgroundMutedHover: #C0D8F0; -$infoBackgroundMutedActive: #88B1D9; -$infoBackgroundBox: #F5FAFF; -$infoBorderBase: #3971A8; -$infoBorderHover: #21588F; -$infoBorderActive: #194673; -$warningTextBase: #B4631D; -$warningTextHover: #8E4D14; -$warningTextActive: #784213; -$warningBackgroundBase: #B4631D; -$warningBackgroundHover: #8E4D14; -$warningBackgroundActive: #784213; -$warningBackgroundMuted: #FFF3E8; -$warningBackgroundMutedHover: #F3D8C0; -$warningBackgroundMutedActive: #E7B88F; -$warningBackgroundBox: #FFFAF5; -$warningBorderBase: #B4631D; -$warningBorderHover: #8E4D14; -$warningBorderActive: #784213; -$dangerTextBase: #AF2645; -$dangerTextHover: #980B29; -$dangerTextActive: #800D25; -$dangerBackgroundBase: #AF2645; -$dangerBackgroundHover: #980B29; -$dangerBackgroundActive: #800D25; -$dangerBackgroundMuted: #FEEEF2; -$dangerBackgroundMutedHover: #F0C4CD; -$dangerBackgroundMutedActive: #E296A6; -$dangerBackgroundBox: #FFF7F9; -$dangerBorderBase: #AF2645; -$dangerBorderHover: #980B29; -$dangerBorderActive: #800D25; -$highlightTextBase: #533E7D; -$highlightTextHover: #3B2566; -$highlightTextActive: #2A174F; -$highlightBackgroundBase: #533E7D; -$highlightBackgroundHover: #3B2566; -$highlightBackgroundActive: #2A174F; -$highlightBackgroundMuted: #F2ECFE; -$highlightBackgroundMutedHover: #D7CEE9; -$highlightBackgroundMutedActive: #B9ABD5; -$highlightBackgroundBox: #FCFAFF; -$highlightBorderBase: #533E7D; -$highlightBorderHover: #3B2566; -$highlightBorderActive: #2A174F; -$disabledText: #596D84; -$disabledBackground: #F5F7FA; -$disabledNakedContent: #F5F7FA; -$disabledNakedBackground: transparent; -$disabledBorder: #C8D3E0; -$disabledInputBackground: #E6EDF5; -$disabledInputLabelText: #596D84; -$inputBackgroundBase: #F5F7FA; -$inputBackgroundHover: #E6EDF5; -$inputBackgroundInformation: #FFFFFF; -$inputTextBase: #475A70; -$inputTextInformation: #475A70; -$inputTextInformationError: #AF2645; -$inputTextLabel: #475A70; -$inputTextFloatingLabel: #3971A8; -$inputTextFloatingLabelError: #AF2645; -$inputTextPlaceholder: #596D84; -$inputTextActive: #2E3A47; -$inputBorderBase: #E6EDF5; -$inputBorderError: #AF2645; -$inputBorderHover: #C8D3E0; -$inputBorderEmphasized: #596D84; -$inputBorderEmphasizedHover: #475A70; -$inputBorderActive: #3971A8; -$separatorBase: #E6EDF5; -$lightBackgroundBase: #FFFFFF; -$lightBackgroundContrast: #475A70; -$lightBackgroundHover: #F5F7FA; -$lightBackgroundActive: #E6EDF5; -$lightTextBase: #2E3A47; -$lightLinkMutedBase: #F5F7FA; -$lightLinkMutedHover: #FFFFFF; \ No newline at end of file diff --git a/dist/tokens/scss/typography.scss b/dist/tokens/scss/typography.scss deleted file mode 100644 index eabd1236..00000000 --- a/dist/tokens/scss/typography.scss +++ /dev/null @@ -1,116 +0,0 @@ - -// Do not edit directly -// Generated on Wed, 09 Nov 2022 22:57:38 GMT - -$letterSpacingBase: 0; -$paragraphSpacingBase: 0; -$textDecorationBase: none; -$textCaseBase: none; -$size3xlarge: 40px; -$size2xlarge: 32px; -$sizeXlarge: 24px; -$sizeLarge: 20px; -$sizeNormal: 16px; -$sizeSmall: 14px; -$sizeXsmall: 12px; -$sizeMobile3xlarge: 32px; -$sizeMobile2xlarge: 28px; -$sizeMobileXlarge: 22px; -$lineHeightXlarge: 40px; -$lineHeightLarge: 32px; -$lineHeightNormal: 24px; -$lineHeightSmall: 16px; -$fontFamilySansSerif: Mulish; -$weightSemiBold: 700; -$weightBase: 500; -$weightLight: 400; -$weightStrong: 600; -$weightBold: 900; -$h1FontFamily: Mulish; -$h1FontWeight: 700; -$h1LineHeight: 40px; -$h1FontSize: 40px; -$h1LetterSpacing: 0; -$h1ParagraphSpacing: 0; -$h1TextDecoration: none; -$h1TextCase: none; -$h2FontFamily: Mulish; -$h2FontWeight: 700; -$h2LineHeight: 40px; -$h2FontSize: 32px; -$h2LetterSpacing: 0; -$h2ParagraphSpacing: 0; -$h2TextDecoration: none; -$h2TextCase: none; -$h3FontFamily: Mulish; -$h3FontWeight: 700; -$h3LineHeight: 32px; -$h3FontSize: 24px; -$h3LetterSpacing: 0; -$h3ParagraphSpacing: 0; -$h3TextDecoration: none; -$h3TextCase: none; -$h4FontFamily: Mulish; -$h4FontWeight: 700; -$h4LineHeight: 24px; -$h4FontSize: 20px; -$h4LetterSpacing: 0; -$h4ParagraphSpacing: 0; -$h4TextDecoration: none; -$h4TextCase: none; -$h5FontFamily: Mulish; -$h5FontWeight: 700; -$h5LineHeight: 24px; -$h5FontSize: 16px; -$h5LetterSpacing: 0; -$h5ParagraphSpacing: 0; -$h5TextDecoration: none; -$h5TextCase: none; -$bodyFontFamily: Mulish; -$bodyFontWeight: 500; -$bodyLineHeight: 24px; -$bodyFontSize: 16px; -$bodyLetterSpacing: 0; -$bodyParagraphSpacing: 0; -$bodyTextDecoration: none; -$bodyTextCase: none; -$footnoteFontFamily: Mulish; -$footnoteFontWeight: 500; -$footnoteLineHeight: 16px; -$footnoteFontSize: 14px; -$footnoteLetterSpacing: 0; -$footnoteParagraphSpacing: 0; -$footnoteTextDecoration: none; -$footnoteTextCase: none; -$captionFontFamily: Mulish; -$captionFontWeight: 500; -$captionLineHeight: 16px; -$captionFontSize: 12px; -$captionLetterSpacing: 0; -$captionParagraphSpacing: 0; -$captionTextDecoration: none; -$captionTextCase: none; -$mobileH1FontFamily: Mulish; -$mobileH1FontWeight: 700; -$mobileH1LineHeight: 40px; -$mobileH1FontSize: 32px; -$mobileH1LetterSpacing: 0; -$mobileH1ParagraphSpacing: 0; -$mobileH1TextDecoration: none; -$mobileH1TextCase: none; -$mobileH2FontFamily: Mulish; -$mobileH2FontWeight: 700; -$mobileH2LineHeight: 32px; -$mobileH2FontSize: 28px; -$mobileH2LetterSpacing: 0; -$mobileH2ParagraphSpacing: 0; -$mobileH2TextDecoration: none; -$mobileH2TextCase: none; -$mobileH3FontFamily: Mulish; -$mobileH3FontWeight: 700; -$mobileH3LineHeight: 32px; -$mobileH3FontSize: 22px; -$mobileH3LetterSpacing: 0; -$mobileH3ParagraphSpacing: 0; -$mobileH3TextDecoration: none; -$mobileH3TextCase: none; \ No newline at end of file diff --git a/dist/tokens/ts/colors.d.ts b/dist/tokens/ts/colors.d.ts deleted file mode 100644 index f930bd09..00000000 --- a/dist/tokens/ts/colors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/ts/colors.js b/dist/tokens/ts/colors.js deleted file mode 100644 index 69826334..00000000 --- a/dist/tokens/ts/colors.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, -blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, -red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, -purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, -orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, -grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, -shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.d.ts b/dist/tokens/ts/themes/light.d.ts deleted file mode 100644 index 1a9485ce..00000000 --- a/dist/tokens/ts/themes/light.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; -export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; -export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; -export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; -export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; -export const separator : {base : string}; -export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.js b/dist/tokens/ts/themes/light.js deleted file mode 100644 index 41026eca..00000000 --- a/dist/tokens/ts/themes/light.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, -system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, -surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, -primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, -info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, -warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, -danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, -highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, -disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, -input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, -separator : {base : "#E6EDF5"}, -light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/ts/typography.d.ts b/dist/tokens/ts/typography.d.ts deleted file mode 100644 index 9924c2fd..00000000 --- a/dist/tokens/ts/typography.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -export const letterSpacingBase : number; -export const paragraphSpacingBase : number; -export const textDecorationBase : string; -export const textCaseBase : string; -export const size3xlarge : string; -export const size2xlarge : string; -export const sizeXlarge : string; -export const sizeLarge : string; -export const sizeNormal : string; -export const sizeSmall : string; -export const sizeXsmall : string; -export const sizeMobile3xlarge : string; -export const sizeMobile2xlarge : string; -export const sizeMobileXlarge : string; -export const lineHeightXlarge : string; -export const lineHeightLarge : string; -export const lineHeightNormal : string; -export const lineHeightSmall : string; -export const fontFamilySansSerif : string; -export const weightSemiBold : number; -export const weightBase : number; -export const weightLight : number; -export const weightStrong : number; -export const weightBold : number; -export const h1FontFamily : string; -export const h1FontWeight : number; -export const h1LineHeight : string; -export const h1FontSize : string; -export const h1LetterSpacing : number; -export const h1ParagraphSpacing : number; -export const h1TextDecoration : string; -export const h1TextCase : string; -export const h2FontFamily : string; -export const h2FontWeight : number; -export const h2LineHeight : string; -export const h2FontSize : string; -export const h2LetterSpacing : number; -export const h2ParagraphSpacing : number; -export const h2TextDecoration : string; -export const h2TextCase : string; -export const h3FontFamily : string; -export const h3FontWeight : number; -export const h3LineHeight : string; -export const h3FontSize : string; -export const h3LetterSpacing : number; -export const h3ParagraphSpacing : number; -export const h3TextDecoration : string; -export const h3TextCase : string; -export const h4FontFamily : string; -export const h4FontWeight : number; -export const h4LineHeight : string; -export const h4FontSize : string; -export const h4LetterSpacing : number; -export const h4ParagraphSpacing : number; -export const h4TextDecoration : string; -export const h4TextCase : string; -export const h5FontFamily : string; -export const h5FontWeight : number; -export const h5LineHeight : string; -export const h5FontSize : string; -export const h5LetterSpacing : number; -export const h5ParagraphSpacing : number; -export const h5TextDecoration : string; -export const h5TextCase : string; -export const bodyFontFamily : string; -export const bodyFontWeight : number; -export const bodyLineHeight : string; -export const bodyFontSize : string; -export const bodyLetterSpacing : number; -export const bodyParagraphSpacing : number; -export const bodyTextDecoration : string; -export const bodyTextCase : string; -export const footnoteFontFamily : string; -export const footnoteFontWeight : number; -export const footnoteLineHeight : string; -export const footnoteFontSize : string; -export const footnoteLetterSpacing : number; -export const footnoteParagraphSpacing : number; -export const footnoteTextDecoration : string; -export const footnoteTextCase : string; -export const captionFontFamily : string; -export const captionFontWeight : number; -export const captionLineHeight : string; -export const captionFontSize : string; -export const captionLetterSpacing : number; -export const captionParagraphSpacing : number; -export const captionTextDecoration : string; -export const captionTextCase : string; -export const mobileH1FontFamily : string; -export const mobileH1FontWeight : number; -export const mobileH1LineHeight : string; -export const mobileH1FontSize : string; -export const mobileH1LetterSpacing : number; -export const mobileH1ParagraphSpacing : number; -export const mobileH1TextDecoration : string; -export const mobileH1TextCase : string; -export const mobileH2FontFamily : string; -export const mobileH2FontWeight : number; -export const mobileH2LineHeight : string; -export const mobileH2FontSize : string; -export const mobileH2LetterSpacing : number; -export const mobileH2ParagraphSpacing : number; -export const mobileH2TextDecoration : string; -export const mobileH2TextCase : string; -export const mobileH3FontFamily : string; -export const mobileH3FontWeight : number; -export const mobileH3LineHeight : string; -export const mobileH3FontSize : string; -export const mobileH3LetterSpacing : number; -export const mobileH3ParagraphSpacing : number; -export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/ts/typography.js b/dist/tokens/ts/typography.js deleted file mode 100644 index d1220f2d..00000000 --- a/dist/tokens/ts/typography.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Do not edit directly - * Generated on Wed, 09 Nov 2022 22:57:38 GMT - */ - -module.exports = { - "letterSpacingBase": 0, - "paragraphSpacingBase": 0, - "textDecorationBase": "none", - "textCaseBase": "none", - "size3xlarge": "40px", - "size2xlarge": "32px", - "sizeXlarge": "24px", - "sizeLarge": "20px", - "sizeNormal": "16px", - "sizeSmall": "14px", - "sizeXsmall": "12px", - "sizeMobile3xlarge": "32px", - "sizeMobile2xlarge": "28px", - "sizeMobileXlarge": "22px", - "lineHeightXlarge": "40px", - "lineHeightLarge": "32px", - "lineHeightNormal": "24px", - "lineHeightSmall": "16px", - "fontFamilySansSerif": "Mulish", - "weightSemiBold": 700, - "weightBase": 500, - "weightLight": 400, - "weightStrong": 600, - "weightBold": 900, - "h1FontFamily": "Mulish", - "h1FontWeight": 700, - "h1LineHeight": "40px", - "h1FontSize": "40px", - "h1LetterSpacing": 0, - "h1ParagraphSpacing": 0, - "h1TextDecoration": "none", - "h1TextCase": "none", - "h2FontFamily": "Mulish", - "h2FontWeight": 700, - "h2LineHeight": "40px", - "h2FontSize": "32px", - "h2LetterSpacing": 0, - "h2ParagraphSpacing": 0, - "h2TextDecoration": "none", - "h2TextCase": "none", - "h3FontFamily": "Mulish", - "h3FontWeight": 700, - "h3LineHeight": "32px", - "h3FontSize": "24px", - "h3LetterSpacing": 0, - "h3ParagraphSpacing": 0, - "h3TextDecoration": "none", - "h3TextCase": "none", - "h4FontFamily": "Mulish", - "h4FontWeight": 700, - "h4LineHeight": "24px", - "h4FontSize": "20px", - "h4LetterSpacing": 0, - "h4ParagraphSpacing": 0, - "h4TextDecoration": "none", - "h4TextCase": "none", - "h5FontFamily": "Mulish", - "h5FontWeight": 700, - "h5LineHeight": "24px", - "h5FontSize": "16px", - "h5LetterSpacing": 0, - "h5ParagraphSpacing": 0, - "h5TextDecoration": "none", - "h5TextCase": "none", - "bodyFontFamily": "Mulish", - "bodyFontWeight": 500, - "bodyLineHeight": "24px", - "bodyFontSize": "16px", - "bodyLetterSpacing": 0, - "bodyParagraphSpacing": 0, - "bodyTextDecoration": "none", - "bodyTextCase": "none", - "footnoteFontFamily": "Mulish", - "footnoteFontWeight": 500, - "footnoteLineHeight": "16px", - "footnoteFontSize": "14px", - "footnoteLetterSpacing": 0, - "footnoteParagraphSpacing": 0, - "footnoteTextDecoration": "none", - "footnoteTextCase": "none", - "captionFontFamily": "Mulish", - "captionFontWeight": 500, - "captionLineHeight": "16px", - "captionFontSize": "12px", - "captionLetterSpacing": 0, - "captionParagraphSpacing": 0, - "captionTextDecoration": "none", - "captionTextCase": "none", - "mobileH1FontFamily": "Mulish", - "mobileH1FontWeight": 700, - "mobileH1LineHeight": "40px", - "mobileH1FontSize": "32px", - "mobileH1LetterSpacing": 0, - "mobileH1ParagraphSpacing": 0, - "mobileH1TextDecoration": "none", - "mobileH1TextCase": "none", - "mobileH2FontFamily": "Mulish", - "mobileH2FontWeight": 700, - "mobileH2LineHeight": "32px", - "mobileH2FontSize": "28px", - "mobileH2LetterSpacing": 0, - "mobileH2ParagraphSpacing": 0, - "mobileH2TextDecoration": "none", - "mobileH2TextCase": "none", - "mobileH3FontFamily": "Mulish", - "mobileH3FontWeight": 700, - "mobileH3LineHeight": "32px", - "mobileH3FontSize": "22px", - "mobileH3LetterSpacing": 0, - "mobileH3ParagraphSpacing": 0, - "mobileH3TextDecoration": "none", - "mobileH3TextCase": "none" -}; \ No newline at end of file diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts deleted file mode 100644 index bf33064e..00000000 --- a/dist/types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./interfaces"; -export * from "./profiles"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map deleted file mode 100644 index 1ca1b828..00000000 --- a/dist/types/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js deleted file mode 100644 index 9ce320c1..00000000 --- a/dist/types/index.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _interfaces = require("./interfaces"); - -Object.keys(_interfaces).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _interfaces[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _interfaces[key]; - } - }); -}); - -var _profiles = require("./profiles"); - -Object.keys(_profiles).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _profiles[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _profiles[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts deleted file mode 100644 index 0cea5539..00000000 --- a/dist/types/interfaces.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare const AVIARY_COLORS: { - primary: string; - info: string; - warning: string; - danger: string; - highlight: string; - system: string; -}; -declare const EXTENDED_AVIARY_COLORS: { - light: string; - primary: string; - info: string; - warning: string; - danger: string; - highlight: string; - system: string; -}; -declare type AviaryColors = keyof typeof AVIARY_COLORS; -declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; -interface AviaryColorProps { - isColor?: AviaryColors; -} -interface AviaryExtendedColorProps { - isColor?: ExtendedAviaryColors; -} -export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; -export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map deleted file mode 100644 index 87d81861..00000000 --- a/dist/types/interfaces.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js deleted file mode 100644 index 42449ef5..00000000 --- a/dist/types/interfaces.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.keys.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.array.filter.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.get-own-property-descriptors.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var AVIARY_COLORS = { - primary: "primary", - info: "info", - warning: "warning", - danger: "danger", - highlight: "highlight", - system: "system" -}; -exports.AVIARY_COLORS = AVIARY_COLORS; - -var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { - light: "light" -}); - -exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts deleted file mode 100644 index fdaa73de..00000000 --- a/dist/types/profiles.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type * as light from "../../dist/tokens/ts/themes/light.d"; -declare type StandardColorsProfileTheme = typeof light.primary; -declare type SystemColorProfileTheme = typeof light.system; -declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; -export type { ColorProfileTheme }; -//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map deleted file mode 100644 index c292ac7a..00000000 --- a/dist/types/profiles.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js deleted file mode 100644 index 430afc16..00000000 --- a/dist/types/profiles.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts deleted file mode 100644 index e3961e9a..00000000 --- a/dist/types/themes.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import * as light from "../../dist/tokens/ts/themes/light"; -declare type AviaryTheme = typeof light; -export { light }; -export type { AviaryTheme }; -//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map deleted file mode 100644 index 6d18b917..00000000 --- a/dist/types/themes.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAE3D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js deleted file mode 100644 index 18061b50..00000000 --- a/dist/types/themes.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -require("core-js/modules/es.array.iterator.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.string.iterator.js"); - -require("core-js/modules/es.weak-map.js"); - -require("core-js/modules/web.dom-collections.iterator.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.symbol.description.js"); - -require("core-js/modules/es.symbol.iterator.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.light = void 0; - -var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); - -exports.light = light; - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/src/transformed/transformed-light.json b/src/transformed/transformed-light.json index 7d241053..6948ca1b 100644 --- a/src/transformed/transformed-light.json +++ b/src/transformed/transformed-light.json @@ -549,35 +549,42 @@ "background": { "base": { "value": "#FFFFFF", - "type": "color" + "type": "color", + "description": "For use as background colour in light profile components on contrasting surface backgrounds" }, "contrast": { "value": "#475A70", - "type": "color" + "type": "color", + "description": "For use as a contrasting background colour in light profile components, to match shade of surface background" }, "hover": { "value": "#F5F7FA", - "type": "color" + "type": "color", + "description": "For use as background hover colour in light profile components on contrasting surface backgrounds" }, "active": { "value": "#E6EDF5", - "type": "color" + "type": "color", + "description": "For use as background active colour in light profile components on contrasting surface backgrounds" } }, "text": { "base": { "value": "#2E3A47", - "type": "color" + "type": "color", + "description": "Used as the content colour (text, icons) for light profile components, to match shade of constrasting surface background" } }, "link": { "mutedBase": { "value": "#F5F7FA", - "type": "color" + "type": "color", + "description": "Used as link colour for light profile components on contrasting surface backgrounds" }, "mutedHover": { "value": "#FFFFFF", - "type": "color" + "type": "color", + "description": "Used for link hover colour for light profile components on contrasting surface backgrounds" } } } From b59c66a44ce8483732d085bd5cddf8ab6076789c Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Thu, 10 Nov 2022 15:19:06 +0000 Subject: [PATCH 07/15] Built and updated design tokens --- dist/tokens/native/colors.d.ts | 12 +++ dist/tokens/native/colors.js | 12 +++ dist/tokens/native/themes/light.d.ts | 17 ++++ dist/tokens/native/themes/light.js | 17 ++++ dist/tokens/native/typography.d.ts | 117 ++++++++++++++++++++++++ dist/tokens/native/typography.js | 119 +++++++++++++++++++++++++ dist/tokens/scss/colors.scss | 55 ++++++++++++ dist/tokens/scss/themes/light.scss | 128 +++++++++++++++++++++++++++ dist/tokens/scss/typography.scss | 116 ++++++++++++++++++++++++ dist/tokens/ts/colors.d.ts | 12 +++ dist/tokens/ts/colors.js | 12 +++ dist/tokens/ts/themes/light.d.ts | 17 ++++ dist/tokens/ts/themes/light.js | 17 ++++ dist/tokens/ts/typography.d.ts | 117 ++++++++++++++++++++++++ dist/tokens/ts/typography.js | 119 +++++++++++++++++++++++++ 15 files changed, 887 insertions(+) create mode 100644 dist/tokens/native/colors.d.ts create mode 100644 dist/tokens/native/colors.js create mode 100644 dist/tokens/native/themes/light.d.ts create mode 100644 dist/tokens/native/themes/light.js create mode 100644 dist/tokens/native/typography.d.ts create mode 100644 dist/tokens/native/typography.js create mode 100644 dist/tokens/scss/colors.scss create mode 100644 dist/tokens/scss/themes/light.scss create mode 100644 dist/tokens/scss/typography.scss create mode 100644 dist/tokens/ts/colors.d.ts create mode 100644 dist/tokens/ts/colors.js create mode 100644 dist/tokens/ts/themes/light.d.ts create mode 100644 dist/tokens/ts/themes/light.js create mode 100644 dist/tokens/ts/typography.d.ts create mode 100644 dist/tokens/ts/typography.js diff --git a/dist/tokens/native/colors.d.ts b/dist/tokens/native/colors.d.ts new file mode 100644 index 00000000..cfdbba7e --- /dev/null +++ b/dist/tokens/native/colors.d.ts @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/native/colors.js b/dist/tokens/native/colors.js new file mode 100644 index 00000000..7f2937fd --- /dev/null +++ b/dist/tokens/native/colors.js @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, +blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, +red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, +purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, +orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, +grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, +shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.d.ts b/dist/tokens/native/themes/light.d.ts new file mode 100644 index 00000000..9a8cf0ea --- /dev/null +++ b/dist/tokens/native/themes/light.d.ts @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; +export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; +export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; +export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; +export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; +export const separator : {base : string}; +export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.js b/dist/tokens/native/themes/light.js new file mode 100644 index 00000000..d7f423d6 --- /dev/null +++ b/dist/tokens/native/themes/light.js @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, +system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, +surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, +primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, +info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, +warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, +danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, +highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, +disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, +input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, +separator : {base : "#E6EDF5"}, +light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/native/typography.d.ts b/dist/tokens/native/typography.d.ts new file mode 100644 index 00000000..f53a3180 --- /dev/null +++ b/dist/tokens/native/typography.d.ts @@ -0,0 +1,117 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +export const letterSpacingBase : number; +export const paragraphSpacingBase : number; +export const textDecorationBase : string; +export const textCaseBase : string; +export const size3xlarge : number; +export const size2xlarge : number; +export const sizeXlarge : number; +export const sizeLarge : number; +export const sizeNormal : number; +export const sizeSmall : number; +export const sizeXsmall : number; +export const sizeMobile3xlarge : number; +export const sizeMobile2xlarge : number; +export const sizeMobileXlarge : number; +export const lineHeightXlarge : number; +export const lineHeightLarge : number; +export const lineHeightNormal : number; +export const lineHeightSmall : number; +export const fontFamilySansSerif : string; +export const weightSemiBold : string; +export const weightBase : string; +export const weightLight : string; +export const weightStrong : string; +export const weightBold : string; +export const h1FontFamily : string; +export const h1FontWeight : string; +export const h1LineHeight : number; +export const h1FontSize : number; +export const h1LetterSpacing : number; +export const h1ParagraphSpacing : number; +export const h1TextDecoration : string; +export const h1TextCase : string; +export const h2FontFamily : string; +export const h2FontWeight : string; +export const h2LineHeight : number; +export const h2FontSize : number; +export const h2LetterSpacing : number; +export const h2ParagraphSpacing : number; +export const h2TextDecoration : string; +export const h2TextCase : string; +export const h3FontFamily : string; +export const h3FontWeight : string; +export const h3LineHeight : number; +export const h3FontSize : number; +export const h3LetterSpacing : number; +export const h3ParagraphSpacing : number; +export const h3TextDecoration : string; +export const h3TextCase : string; +export const h4FontFamily : string; +export const h4FontWeight : string; +export const h4LineHeight : number; +export const h4FontSize : number; +export const h4LetterSpacing : number; +export const h4ParagraphSpacing : number; +export const h4TextDecoration : string; +export const h4TextCase : string; +export const h5FontFamily : string; +export const h5FontWeight : string; +export const h5LineHeight : number; +export const h5FontSize : number; +export const h5LetterSpacing : number; +export const h5ParagraphSpacing : number; +export const h5TextDecoration : string; +export const h5TextCase : string; +export const bodyFontFamily : string; +export const bodyFontWeight : string; +export const bodyLineHeight : number; +export const bodyFontSize : number; +export const bodyLetterSpacing : number; +export const bodyParagraphSpacing : number; +export const bodyTextDecoration : string; +export const bodyTextCase : string; +export const footnoteFontFamily : string; +export const footnoteFontWeight : string; +export const footnoteLineHeight : number; +export const footnoteFontSize : number; +export const footnoteLetterSpacing : number; +export const footnoteParagraphSpacing : number; +export const footnoteTextDecoration : string; +export const footnoteTextCase : string; +export const captionFontFamily : string; +export const captionFontWeight : string; +export const captionLineHeight : number; +export const captionFontSize : number; +export const captionLetterSpacing : number; +export const captionParagraphSpacing : number; +export const captionTextDecoration : string; +export const captionTextCase : string; +export const mobileH1FontFamily : string; +export const mobileH1FontWeight : string; +export const mobileH1LineHeight : number; +export const mobileH1FontSize : number; +export const mobileH1LetterSpacing : number; +export const mobileH1ParagraphSpacing : number; +export const mobileH1TextDecoration : string; +export const mobileH1TextCase : string; +export const mobileH2FontFamily : string; +export const mobileH2FontWeight : string; +export const mobileH2LineHeight : number; +export const mobileH2FontSize : number; +export const mobileH2LetterSpacing : number; +export const mobileH2ParagraphSpacing : number; +export const mobileH2TextDecoration : string; +export const mobileH2TextCase : string; +export const mobileH3FontFamily : string; +export const mobileH3FontWeight : string; +export const mobileH3LineHeight : number; +export const mobileH3FontSize : number; +export const mobileH3LetterSpacing : number; +export const mobileH3ParagraphSpacing : number; +export const mobileH3TextDecoration : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/native/typography.js b/dist/tokens/native/typography.js new file mode 100644 index 00000000..f03e12c0 --- /dev/null +++ b/dist/tokens/native/typography.js @@ -0,0 +1,119 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +module.exports = { + "letterSpacingBase": 0, + "paragraphSpacingBase": 0, + "textDecorationBase": "none", + "textCaseBase": "none", + "size3xlarge": 40, + "size2xlarge": 32, + "sizeXlarge": 24, + "sizeLarge": 20, + "sizeNormal": 16, + "sizeSmall": 14, + "sizeXsmall": 12, + "sizeMobile3xlarge": 32, + "sizeMobile2xlarge": 28, + "sizeMobileXlarge": 22, + "lineHeightXlarge": 40, + "lineHeightLarge": 32, + "lineHeightNormal": 24, + "lineHeightSmall": 16, + "fontFamilySansSerif": "Mulish", + "weightSemiBold": "700", + "weightBase": "500", + "weightLight": "400", + "weightStrong": "600", + "weightBold": "900", + "h1FontFamily": "Mulish", + "h1FontWeight": "700", + "h1LineHeight": 40, + "h1FontSize": 40, + "h1LetterSpacing": 0, + "h1ParagraphSpacing": 0, + "h1TextDecoration": "none", + "h1TextCase": "none", + "h2FontFamily": "Mulish", + "h2FontWeight": "700", + "h2LineHeight": 40, + "h2FontSize": 32, + "h2LetterSpacing": 0, + "h2ParagraphSpacing": 0, + "h2TextDecoration": "none", + "h2TextCase": "none", + "h3FontFamily": "Mulish", + "h3FontWeight": "700", + "h3LineHeight": 32, + "h3FontSize": 24, + "h3LetterSpacing": 0, + "h3ParagraphSpacing": 0, + "h3TextDecoration": "none", + "h3TextCase": "none", + "h4FontFamily": "Mulish", + "h4FontWeight": "700", + "h4LineHeight": 24, + "h4FontSize": 20, + "h4LetterSpacing": 0, + "h4ParagraphSpacing": 0, + "h4TextDecoration": "none", + "h4TextCase": "none", + "h5FontFamily": "Mulish", + "h5FontWeight": "700", + "h5LineHeight": 24, + "h5FontSize": 16, + "h5LetterSpacing": 0, + "h5ParagraphSpacing": 0, + "h5TextDecoration": "none", + "h5TextCase": "none", + "bodyFontFamily": "Mulish", + "bodyFontWeight": "500", + "bodyLineHeight": 24, + "bodyFontSize": 16, + "bodyLetterSpacing": 0, + "bodyParagraphSpacing": 0, + "bodyTextDecoration": "none", + "bodyTextCase": "none", + "footnoteFontFamily": "Mulish", + "footnoteFontWeight": "500", + "footnoteLineHeight": 16, + "footnoteFontSize": 14, + "footnoteLetterSpacing": 0, + "footnoteParagraphSpacing": 0, + "footnoteTextDecoration": "none", + "footnoteTextCase": "none", + "captionFontFamily": "Mulish", + "captionFontWeight": "500", + "captionLineHeight": 16, + "captionFontSize": 12, + "captionLetterSpacing": 0, + "captionParagraphSpacing": 0, + "captionTextDecoration": "none", + "captionTextCase": "none", + "mobileH1FontFamily": "Mulish", + "mobileH1FontWeight": "700", + "mobileH1LineHeight": 40, + "mobileH1FontSize": 32, + "mobileH1LetterSpacing": 0, + "mobileH1ParagraphSpacing": 0, + "mobileH1TextDecoration": "none", + "mobileH1TextCase": "none", + "mobileH2FontFamily": "Mulish", + "mobileH2FontWeight": "700", + "mobileH2LineHeight": 32, + "mobileH2FontSize": 28, + "mobileH2LetterSpacing": 0, + "mobileH2ParagraphSpacing": 0, + "mobileH2TextDecoration": "none", + "mobileH2TextCase": "none", + "mobileH3FontFamily": "Mulish", + "mobileH3FontWeight": "700", + "mobileH3LineHeight": 32, + "mobileH3FontSize": 22, + "mobileH3LetterSpacing": 0, + "mobileH3ParagraphSpacing": 0, + "mobileH3TextDecoration": "none", + "mobileH3TextCase": "none" +}; \ No newline at end of file diff --git a/dist/tokens/scss/colors.scss b/dist/tokens/scss/colors.scss new file mode 100644 index 00000000..6e5499e5 --- /dev/null +++ b/dist/tokens/scss/colors.scss @@ -0,0 +1,55 @@ + +// Do not edit directly +// Generated on Thu, 10 Nov 2022 15:19:06 GMT + +$green100: #FAFFFC; +$green200: #EBF2EF; +$green300: #D1E0D9; +$green400: #B6CFC2; +$green500: #86B09B; +$green600: #307553; +$green700: #275E43; +$green800: #244C38; +$blue100: #F5FAFF; +$blue200: #E6F1FC; +$blue300: #C0D8F0; +$blue400: #88B1D9; +$blue500: #5D96CF; +$blue600: #3971A8; +$blue700: #21588F; +$blue800: #194673; +$red100: #FFF7F9; +$red200: #FEEEF2; +$red300: #F0C4CD; +$red400: #E296A6; +$red500: #C6516A; +$red600: #AF2645; +$red700: #980B29; +$red800: #800D25; +$purple100: #FCFAFF; +$purple200: #F2ECFE; +$purple300: #D7CEE9; +$purple400: #B9ABD5; +$purple500: #8471AB; +$purple600: #533E7D; +$purple700: #3B2566; +$purple800: #2A174F; +$orange100: #FFFAF5; +$orange200: #FFF3E8; +$orange300: #F3D8C0; +$orange400: #E7B88F; +$orange500: #CF8545; +$orange600: #B4631D; +$orange700: #8E4D14; +$orange800: #784213; +$grey100: #FCFEFF; +$grey200: #F5F7FA; +$grey300: #E6EDF5; +$grey400: #C8D3E0; +$grey500: #596D84; +$grey600: #475A70; +$grey700: #36485C; +$grey800: #2E3A47; +$shadesWhite: #FFFFFF; +$shadesBlack: #000000; +$shadesTransparent: transparent; \ No newline at end of file diff --git a/dist/tokens/scss/themes/light.scss b/dist/tokens/scss/themes/light.scss new file mode 100644 index 00000000..4fa18e73 --- /dev/null +++ b/dist/tokens/scss/themes/light.scss @@ -0,0 +1,128 @@ + +// Do not edit directly +// Generated on Thu, 10 Nov 2022 15:19:06 GMT + +$textEmphasis: #36485C; +$textBody: #475A70; +$textSubdued: #596D84; +$textOnBackground: #FFFFFF; +$systemTextLabelEmphasis: #2E3A47; +$systemTextBase: #475A70; +$systemTextHover: #36485C; +$systemTextActive: #2E3A47; +$systemBackgroundBase: #FFFFFF; +$systemBackgroundMuted: #F5F7FA; +$systemBackgroundMutedHover: #E6EDF5; +$systemBackgroundMutedActive: #C8D3E0; +$systemBackgroundBox: #FCFEFF; +$systemBorderBase: #C8D3E0; +$systemBorderHover: #596D84; +$systemBorderActive: #475A70; +$systemBorderFocused: #3971A8; +$surfaceLevel0: #F5F7FA; +$surfaceLevel1: #FFFFFF; +$surfaceLevel2: #F5F7FA; +$surfaceLevel3: #FFFFFF; +$surfaceInteractiveBackground: #FFFFFF; +$surfaceInteractiveHover: #F5F7FA; +$surfaceInteractiveActive: #E6EDF5; +$surfaceOverlayInvertable: #2E3A47; +$surfaceOverlayWhiteInvertable: #FFFFFF; +$surfaceOverlayStatic: #36485C; +$primaryTextBase: #307553; +$primaryTextHover: #275E43; +$primaryTextActive: #244C38; +$primaryBackgroundBase: #307553; +$primaryBackgroundHover: #275E43; +$primaryBackgroundActive: #244C38; +$primaryBackgroundMuted: #EBF2EF; +$primaryBackgroundMutedHover: #D1E0D9; +$primaryBackgroundMutedActive: #B6CFC2; +$primaryBackgroundBox: #FAFFFC; +$primaryBorderBase: #307553; +$primaryBorderHover: #275E43; +$primaryBorderActive: #244C38; +$infoTextBase: #3971A8; +$infoTextHover: #21588F; +$infoTextActive: #194673; +$infoBackgroundBase: #3971A8; +$infoBackgroundHover: #21588F; +$infoBackgroundActive: #194673; +$infoBackgroundMuted: #E6F1FC; +$infoBackgroundMutedHover: #C0D8F0; +$infoBackgroundMutedActive: #88B1D9; +$infoBackgroundBox: #F5FAFF; +$infoBorderBase: #3971A8; +$infoBorderHover: #21588F; +$infoBorderActive: #194673; +$warningTextBase: #B4631D; +$warningTextHover: #8E4D14; +$warningTextActive: #784213; +$warningBackgroundBase: #B4631D; +$warningBackgroundHover: #8E4D14; +$warningBackgroundActive: #784213; +$warningBackgroundMuted: #FFF3E8; +$warningBackgroundMutedHover: #F3D8C0; +$warningBackgroundMutedActive: #E7B88F; +$warningBackgroundBox: #FFFAF5; +$warningBorderBase: #B4631D; +$warningBorderHover: #8E4D14; +$warningBorderActive: #784213; +$dangerTextBase: #AF2645; +$dangerTextHover: #980B29; +$dangerTextActive: #800D25; +$dangerBackgroundBase: #AF2645; +$dangerBackgroundHover: #980B29; +$dangerBackgroundActive: #800D25; +$dangerBackgroundMuted: #FEEEF2; +$dangerBackgroundMutedHover: #F0C4CD; +$dangerBackgroundMutedActive: #E296A6; +$dangerBackgroundBox: #FFF7F9; +$dangerBorderBase: #AF2645; +$dangerBorderHover: #980B29; +$dangerBorderActive: #800D25; +$highlightTextBase: #533E7D; +$highlightTextHover: #3B2566; +$highlightTextActive: #2A174F; +$highlightBackgroundBase: #533E7D; +$highlightBackgroundHover: #3B2566; +$highlightBackgroundActive: #2A174F; +$highlightBackgroundMuted: #F2ECFE; +$highlightBackgroundMutedHover: #D7CEE9; +$highlightBackgroundMutedActive: #B9ABD5; +$highlightBackgroundBox: #FCFAFF; +$highlightBorderBase: #533E7D; +$highlightBorderHover: #3B2566; +$highlightBorderActive: #2A174F; +$disabledText: #596D84; +$disabledBackground: #F5F7FA; +$disabledNakedContent: #F5F7FA; +$disabledNakedBackground: transparent; +$disabledBorder: #C8D3E0; +$disabledInputBackground: #E6EDF5; +$disabledInputLabelText: #596D84; +$inputBackgroundBase: #F5F7FA; +$inputBackgroundHover: #E6EDF5; +$inputBackgroundInformation: #FFFFFF; +$inputTextBase: #475A70; +$inputTextInformation: #475A70; +$inputTextInformationError: #AF2645; +$inputTextLabel: #475A70; +$inputTextFloatingLabel: #3971A8; +$inputTextFloatingLabelError: #AF2645; +$inputTextPlaceholder: #596D84; +$inputTextActive: #2E3A47; +$inputBorderBase: #E6EDF5; +$inputBorderError: #AF2645; +$inputBorderHover: #C8D3E0; +$inputBorderEmphasized: #596D84; +$inputBorderEmphasizedHover: #475A70; +$inputBorderActive: #3971A8; +$separatorBase: #E6EDF5; +$lightBackgroundBase: #FFFFFF; +$lightBackgroundContrast: #475A70; +$lightBackgroundHover: #F5F7FA; +$lightBackgroundActive: #E6EDF5; +$lightTextBase: #2E3A47; +$lightLinkMutedBase: #F5F7FA; +$lightLinkMutedHover: #FFFFFF; \ No newline at end of file diff --git a/dist/tokens/scss/typography.scss b/dist/tokens/scss/typography.scss new file mode 100644 index 00000000..80a93440 --- /dev/null +++ b/dist/tokens/scss/typography.scss @@ -0,0 +1,116 @@ + +// Do not edit directly +// Generated on Thu, 10 Nov 2022 15:19:06 GMT + +$letterSpacingBase: 0; +$paragraphSpacingBase: 0; +$textDecorationBase: none; +$textCaseBase: none; +$size3xlarge: 40px; +$size2xlarge: 32px; +$sizeXlarge: 24px; +$sizeLarge: 20px; +$sizeNormal: 16px; +$sizeSmall: 14px; +$sizeXsmall: 12px; +$sizeMobile3xlarge: 32px; +$sizeMobile2xlarge: 28px; +$sizeMobileXlarge: 22px; +$lineHeightXlarge: 40px; +$lineHeightLarge: 32px; +$lineHeightNormal: 24px; +$lineHeightSmall: 16px; +$fontFamilySansSerif: Mulish; +$weightSemiBold: 700; +$weightBase: 500; +$weightLight: 400; +$weightStrong: 600; +$weightBold: 900; +$h1FontFamily: Mulish; +$h1FontWeight: 700; +$h1LineHeight: 40px; +$h1FontSize: 40px; +$h1LetterSpacing: 0; +$h1ParagraphSpacing: 0; +$h1TextDecoration: none; +$h1TextCase: none; +$h2FontFamily: Mulish; +$h2FontWeight: 700; +$h2LineHeight: 40px; +$h2FontSize: 32px; +$h2LetterSpacing: 0; +$h2ParagraphSpacing: 0; +$h2TextDecoration: none; +$h2TextCase: none; +$h3FontFamily: Mulish; +$h3FontWeight: 700; +$h3LineHeight: 32px; +$h3FontSize: 24px; +$h3LetterSpacing: 0; +$h3ParagraphSpacing: 0; +$h3TextDecoration: none; +$h3TextCase: none; +$h4FontFamily: Mulish; +$h4FontWeight: 700; +$h4LineHeight: 24px; +$h4FontSize: 20px; +$h4LetterSpacing: 0; +$h4ParagraphSpacing: 0; +$h4TextDecoration: none; +$h4TextCase: none; +$h5FontFamily: Mulish; +$h5FontWeight: 700; +$h5LineHeight: 24px; +$h5FontSize: 16px; +$h5LetterSpacing: 0; +$h5ParagraphSpacing: 0; +$h5TextDecoration: none; +$h5TextCase: none; +$bodyFontFamily: Mulish; +$bodyFontWeight: 500; +$bodyLineHeight: 24px; +$bodyFontSize: 16px; +$bodyLetterSpacing: 0; +$bodyParagraphSpacing: 0; +$bodyTextDecoration: none; +$bodyTextCase: none; +$footnoteFontFamily: Mulish; +$footnoteFontWeight: 500; +$footnoteLineHeight: 16px; +$footnoteFontSize: 14px; +$footnoteLetterSpacing: 0; +$footnoteParagraphSpacing: 0; +$footnoteTextDecoration: none; +$footnoteTextCase: none; +$captionFontFamily: Mulish; +$captionFontWeight: 500; +$captionLineHeight: 16px; +$captionFontSize: 12px; +$captionLetterSpacing: 0; +$captionParagraphSpacing: 0; +$captionTextDecoration: none; +$captionTextCase: none; +$mobileH1FontFamily: Mulish; +$mobileH1FontWeight: 700; +$mobileH1LineHeight: 40px; +$mobileH1FontSize: 32px; +$mobileH1LetterSpacing: 0; +$mobileH1ParagraphSpacing: 0; +$mobileH1TextDecoration: none; +$mobileH1TextCase: none; +$mobileH2FontFamily: Mulish; +$mobileH2FontWeight: 700; +$mobileH2LineHeight: 32px; +$mobileH2FontSize: 28px; +$mobileH2LetterSpacing: 0; +$mobileH2ParagraphSpacing: 0; +$mobileH2TextDecoration: none; +$mobileH2TextCase: none; +$mobileH3FontFamily: Mulish; +$mobileH3FontWeight: 700; +$mobileH3LineHeight: 32px; +$mobileH3FontSize: 22px; +$mobileH3LetterSpacing: 0; +$mobileH3ParagraphSpacing: 0; +$mobileH3TextDecoration: none; +$mobileH3TextCase: none; \ No newline at end of file diff --git a/dist/tokens/ts/colors.d.ts b/dist/tokens/ts/colors.d.ts new file mode 100644 index 00000000..cfdbba7e --- /dev/null +++ b/dist/tokens/ts/colors.d.ts @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/ts/colors.js b/dist/tokens/ts/colors.js new file mode 100644 index 00000000..7f2937fd --- /dev/null +++ b/dist/tokens/ts/colors.js @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, +blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, +red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, +purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, +orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, +grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, +shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.d.ts b/dist/tokens/ts/themes/light.d.ts new file mode 100644 index 00000000..9a8cf0ea --- /dev/null +++ b/dist/tokens/ts/themes/light.d.ts @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; +export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; +export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; +export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; +export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; +export const separator : {base : string}; +export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.js b/dist/tokens/ts/themes/light.js new file mode 100644 index 00000000..d7f423d6 --- /dev/null +++ b/dist/tokens/ts/themes/light.js @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, +system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, +surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, +primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, +info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, +warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, +danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, +highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, +disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, +input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, +separator : {base : "#E6EDF5"}, +light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/ts/typography.d.ts b/dist/tokens/ts/typography.d.ts new file mode 100644 index 00000000..08b83a45 --- /dev/null +++ b/dist/tokens/ts/typography.d.ts @@ -0,0 +1,117 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +export const letterSpacingBase : number; +export const paragraphSpacingBase : number; +export const textDecorationBase : string; +export const textCaseBase : string; +export const size3xlarge : string; +export const size2xlarge : string; +export const sizeXlarge : string; +export const sizeLarge : string; +export const sizeNormal : string; +export const sizeSmall : string; +export const sizeXsmall : string; +export const sizeMobile3xlarge : string; +export const sizeMobile2xlarge : string; +export const sizeMobileXlarge : string; +export const lineHeightXlarge : string; +export const lineHeightLarge : string; +export const lineHeightNormal : string; +export const lineHeightSmall : string; +export const fontFamilySansSerif : string; +export const weightSemiBold : number; +export const weightBase : number; +export const weightLight : number; +export const weightStrong : number; +export const weightBold : number; +export const h1FontFamily : string; +export const h1FontWeight : number; +export const h1LineHeight : string; +export const h1FontSize : string; +export const h1LetterSpacing : number; +export const h1ParagraphSpacing : number; +export const h1TextDecoration : string; +export const h1TextCase : string; +export const h2FontFamily : string; +export const h2FontWeight : number; +export const h2LineHeight : string; +export const h2FontSize : string; +export const h2LetterSpacing : number; +export const h2ParagraphSpacing : number; +export const h2TextDecoration : string; +export const h2TextCase : string; +export const h3FontFamily : string; +export const h3FontWeight : number; +export const h3LineHeight : string; +export const h3FontSize : string; +export const h3LetterSpacing : number; +export const h3ParagraphSpacing : number; +export const h3TextDecoration : string; +export const h3TextCase : string; +export const h4FontFamily : string; +export const h4FontWeight : number; +export const h4LineHeight : string; +export const h4FontSize : string; +export const h4LetterSpacing : number; +export const h4ParagraphSpacing : number; +export const h4TextDecoration : string; +export const h4TextCase : string; +export const h5FontFamily : string; +export const h5FontWeight : number; +export const h5LineHeight : string; +export const h5FontSize : string; +export const h5LetterSpacing : number; +export const h5ParagraphSpacing : number; +export const h5TextDecoration : string; +export const h5TextCase : string; +export const bodyFontFamily : string; +export const bodyFontWeight : number; +export const bodyLineHeight : string; +export const bodyFontSize : string; +export const bodyLetterSpacing : number; +export const bodyParagraphSpacing : number; +export const bodyTextDecoration : string; +export const bodyTextCase : string; +export const footnoteFontFamily : string; +export const footnoteFontWeight : number; +export const footnoteLineHeight : string; +export const footnoteFontSize : string; +export const footnoteLetterSpacing : number; +export const footnoteParagraphSpacing : number; +export const footnoteTextDecoration : string; +export const footnoteTextCase : string; +export const captionFontFamily : string; +export const captionFontWeight : number; +export const captionLineHeight : string; +export const captionFontSize : string; +export const captionLetterSpacing : number; +export const captionParagraphSpacing : number; +export const captionTextDecoration : string; +export const captionTextCase : string; +export const mobileH1FontFamily : string; +export const mobileH1FontWeight : number; +export const mobileH1LineHeight : string; +export const mobileH1FontSize : string; +export const mobileH1LetterSpacing : number; +export const mobileH1ParagraphSpacing : number; +export const mobileH1TextDecoration : string; +export const mobileH1TextCase : string; +export const mobileH2FontFamily : string; +export const mobileH2FontWeight : number; +export const mobileH2LineHeight : string; +export const mobileH2FontSize : string; +export const mobileH2LetterSpacing : number; +export const mobileH2ParagraphSpacing : number; +export const mobileH2TextDecoration : string; +export const mobileH2TextCase : string; +export const mobileH3FontFamily : string; +export const mobileH3FontWeight : number; +export const mobileH3LineHeight : string; +export const mobileH3FontSize : string; +export const mobileH3LetterSpacing : number; +export const mobileH3ParagraphSpacing : number; +export const mobileH3TextDecoration : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/ts/typography.js b/dist/tokens/ts/typography.js new file mode 100644 index 00000000..4f5f0f03 --- /dev/null +++ b/dist/tokens/ts/typography.js @@ -0,0 +1,119 @@ +/** + * Do not edit directly + * Generated on Thu, 10 Nov 2022 15:19:06 GMT + */ + +module.exports = { + "letterSpacingBase": 0, + "paragraphSpacingBase": 0, + "textDecorationBase": "none", + "textCaseBase": "none", + "size3xlarge": "40px", + "size2xlarge": "32px", + "sizeXlarge": "24px", + "sizeLarge": "20px", + "sizeNormal": "16px", + "sizeSmall": "14px", + "sizeXsmall": "12px", + "sizeMobile3xlarge": "32px", + "sizeMobile2xlarge": "28px", + "sizeMobileXlarge": "22px", + "lineHeightXlarge": "40px", + "lineHeightLarge": "32px", + "lineHeightNormal": "24px", + "lineHeightSmall": "16px", + "fontFamilySansSerif": "Mulish", + "weightSemiBold": 700, + "weightBase": 500, + "weightLight": 400, + "weightStrong": 600, + "weightBold": 900, + "h1FontFamily": "Mulish", + "h1FontWeight": 700, + "h1LineHeight": "40px", + "h1FontSize": "40px", + "h1LetterSpacing": 0, + "h1ParagraphSpacing": 0, + "h1TextDecoration": "none", + "h1TextCase": "none", + "h2FontFamily": "Mulish", + "h2FontWeight": 700, + "h2LineHeight": "40px", + "h2FontSize": "32px", + "h2LetterSpacing": 0, + "h2ParagraphSpacing": 0, + "h2TextDecoration": "none", + "h2TextCase": "none", + "h3FontFamily": "Mulish", + "h3FontWeight": 700, + "h3LineHeight": "32px", + "h3FontSize": "24px", + "h3LetterSpacing": 0, + "h3ParagraphSpacing": 0, + "h3TextDecoration": "none", + "h3TextCase": "none", + "h4FontFamily": "Mulish", + "h4FontWeight": 700, + "h4LineHeight": "24px", + "h4FontSize": "20px", + "h4LetterSpacing": 0, + "h4ParagraphSpacing": 0, + "h4TextDecoration": "none", + "h4TextCase": "none", + "h5FontFamily": "Mulish", + "h5FontWeight": 700, + "h5LineHeight": "24px", + "h5FontSize": "16px", + "h5LetterSpacing": 0, + "h5ParagraphSpacing": 0, + "h5TextDecoration": "none", + "h5TextCase": "none", + "bodyFontFamily": "Mulish", + "bodyFontWeight": 500, + "bodyLineHeight": "24px", + "bodyFontSize": "16px", + "bodyLetterSpacing": 0, + "bodyParagraphSpacing": 0, + "bodyTextDecoration": "none", + "bodyTextCase": "none", + "footnoteFontFamily": "Mulish", + "footnoteFontWeight": 500, + "footnoteLineHeight": "16px", + "footnoteFontSize": "14px", + "footnoteLetterSpacing": 0, + "footnoteParagraphSpacing": 0, + "footnoteTextDecoration": "none", + "footnoteTextCase": "none", + "captionFontFamily": "Mulish", + "captionFontWeight": 500, + "captionLineHeight": "16px", + "captionFontSize": "12px", + "captionLetterSpacing": 0, + "captionParagraphSpacing": 0, + "captionTextDecoration": "none", + "captionTextCase": "none", + "mobileH1FontFamily": "Mulish", + "mobileH1FontWeight": 700, + "mobileH1LineHeight": "40px", + "mobileH1FontSize": "32px", + "mobileH1LetterSpacing": 0, + "mobileH1ParagraphSpacing": 0, + "mobileH1TextDecoration": "none", + "mobileH1TextCase": "none", + "mobileH2FontFamily": "Mulish", + "mobileH2FontWeight": 700, + "mobileH2LineHeight": "32px", + "mobileH2FontSize": "28px", + "mobileH2LetterSpacing": 0, + "mobileH2ParagraphSpacing": 0, + "mobileH2TextDecoration": "none", + "mobileH2TextCase": "none", + "mobileH3FontFamily": "Mulish", + "mobileH3FontWeight": 700, + "mobileH3LineHeight": "32px", + "mobileH3FontSize": "22px", + "mobileH3LetterSpacing": 0, + "mobileH3ParagraphSpacing": 0, + "mobileH3TextDecoration": "none", + "mobileH3TextCase": "none" +}; \ No newline at end of file From ddb52ad49321b1a543554cddd170b2f0e0183a9f Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Thu, 10 Nov 2022 15:19:32 +0000 Subject: [PATCH 08/15] Files compiled! --- dist/helpers/colorProfileMapper.d.ts | 94 ++++++++++++++++++++++++ dist/helpers/colorProfileMapper.d.ts.map | 1 + dist/helpers/colorProfileMapper.js | 20 +++++ dist/helpers/index.d.ts | 2 + dist/helpers/index.d.ts.map | 1 + dist/helpers/index.js | 24 ++++++ dist/index.d.ts | 4 + dist/index.d.ts.map | 1 + dist/index.js | 69 +++++++++++++++++ dist/types/index.d.ts | 3 + dist/types/index.d.ts.map | 1 + dist/types/index.js | 37 ++++++++++ dist/types/interfaces.d.ts | 28 +++++++ dist/types/interfaces.d.ts.map | 1 + dist/types/interfaces.js | 42 +++++++++++ dist/types/profiles.d.ts | 6 ++ dist/types/profiles.d.ts.map | 1 + dist/types/profiles.js | 5 ++ dist/types/themes.d.ts | 5 ++ dist/types/themes.d.ts.map | 1 + dist/types/themes.js | 34 +++++++++ 21 files changed, 380 insertions(+) create mode 100644 dist/helpers/colorProfileMapper.d.ts create mode 100644 dist/helpers/colorProfileMapper.d.ts.map create mode 100644 dist/helpers/colorProfileMapper.js create mode 100644 dist/helpers/index.d.ts create mode 100644 dist/helpers/index.d.ts.map create mode 100644 dist/helpers/index.js create mode 100644 dist/index.d.ts create mode 100644 dist/index.d.ts.map create mode 100644 dist/index.js create mode 100644 dist/types/index.d.ts create mode 100644 dist/types/index.d.ts.map create mode 100644 dist/types/index.js create mode 100644 dist/types/interfaces.d.ts create mode 100644 dist/types/interfaces.d.ts.map create mode 100644 dist/types/interfaces.js create mode 100644 dist/types/profiles.d.ts create mode 100644 dist/types/profiles.d.ts.map create mode 100644 dist/types/profiles.js create mode 100644 dist/types/themes.d.ts create mode 100644 dist/types/themes.d.ts.map create mode 100644 dist/types/themes.js diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts new file mode 100644 index 00000000..f1f8e962 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts @@ -0,0 +1,94 @@ +import type { AviaryTheme } from "../types/themes"; +export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { + primary: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + info: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + warning: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + danger: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + highlight: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + system: { + textLabelEmphasis: string; + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + borderFocused: string; + }; +}; +//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map new file mode 100644 index 00000000..82925827 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js new file mode 100644 index 00000000..77f12372 --- /dev/null +++ b/dist/helpers/colorProfileMapper.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.colorProfileMapper = void 0; + +// Used for mapping over selected `isColor` properties +var colorProfileMapper = function colorProfileMapper(currentTheme) { + return { + primary: currentTheme.primary, + info: currentTheme.info, + warning: currentTheme.warning, + danger: currentTheme.danger, + highlight: currentTheme.highlight, + system: currentTheme.system + }; +}; + +exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts new file mode 100644 index 00000000..7a4a22d6 --- /dev/null +++ b/dist/helpers/index.d.ts @@ -0,0 +1,2 @@ +export * from "./colorProfileMapper"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map new file mode 100644 index 00000000..94ae4bb1 --- /dev/null +++ b/dist/helpers/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js new file mode 100644 index 00000000..155de21a --- /dev/null +++ b/dist/helpers/index.js @@ -0,0 +1,24 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _colorProfileMapper = require("./colorProfileMapper"); + +Object.keys(_colorProfileMapper).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _colorProfileMapper[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _colorProfileMapper[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 00000000..4e6d91d8 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,4 @@ +export * from "./helpers"; +export * from "./types"; +export * as typography from "../dist/tokens/ts/typography"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map new file mode 100644 index 00000000..90c36e9d --- /dev/null +++ b/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 00000000..2b85585c --- /dev/null +++ b/dist/index.js @@ -0,0 +1,69 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + typography: true +}; +exports.typography = void 0; + +var _helpers = require("./helpers"); + +Object.keys(_helpers).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _helpers[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _helpers[key]; + } + }); +}); + +var _types = require("./types"); + +Object.keys(_types).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _types[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _types[key]; + } + }); +}); + +var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); + +exports.typography = _typography; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts new file mode 100644 index 00000000..bf33064e --- /dev/null +++ b/dist/types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./interfaces"; +export * from "./profiles"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map new file mode 100644 index 00000000..1ca1b828 --- /dev/null +++ b/dist/types/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js new file mode 100644 index 00000000..9ce320c1 --- /dev/null +++ b/dist/types/index.js @@ -0,0 +1,37 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _interfaces = require("./interfaces"); + +Object.keys(_interfaces).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _interfaces[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _interfaces[key]; + } + }); +}); + +var _profiles = require("./profiles"); + +Object.keys(_profiles).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _profiles[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _profiles[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts new file mode 100644 index 00000000..0cea5539 --- /dev/null +++ b/dist/types/interfaces.d.ts @@ -0,0 +1,28 @@ +declare const AVIARY_COLORS: { + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; +}; +declare const EXTENDED_AVIARY_COLORS: { + light: string; + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; +}; +declare type AviaryColors = keyof typeof AVIARY_COLORS; +declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; +interface AviaryColorProps { + isColor?: AviaryColors; +} +interface AviaryExtendedColorProps { + isColor?: ExtendedAviaryColors; +} +export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; +export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; +//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map new file mode 100644 index 00000000..87d81861 --- /dev/null +++ b/dist/types/interfaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js new file mode 100644 index 00000000..42449ef5 --- /dev/null +++ b/dist/types/interfaces.js @@ -0,0 +1,42 @@ +"use strict"; + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.array.filter.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.get-own-property-descriptors.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var AVIARY_COLORS = { + primary: "primary", + info: "info", + warning: "warning", + danger: "danger", + highlight: "highlight", + system: "system" +}; +exports.AVIARY_COLORS = AVIARY_COLORS; + +var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { + light: "light" +}); + +exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts new file mode 100644 index 00000000..fdaa73de --- /dev/null +++ b/dist/types/profiles.d.ts @@ -0,0 +1,6 @@ +import type * as light from "../../dist/tokens/ts/themes/light.d"; +declare type StandardColorsProfileTheme = typeof light.primary; +declare type SystemColorProfileTheme = typeof light.system; +declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; +export type { ColorProfileTheme }; +//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map new file mode 100644 index 00000000..c292ac7a --- /dev/null +++ b/dist/types/profiles.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js new file mode 100644 index 00000000..430afc16 --- /dev/null +++ b/dist/types/profiles.js @@ -0,0 +1,5 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts new file mode 100644 index 00000000..e3961e9a --- /dev/null +++ b/dist/types/themes.d.ts @@ -0,0 +1,5 @@ +import * as light from "../../dist/tokens/ts/themes/light"; +declare type AviaryTheme = typeof light; +export { light }; +export type { AviaryTheme }; +//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map new file mode 100644 index 00000000..6d18b917 --- /dev/null +++ b/dist/types/themes.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAE3D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js new file mode 100644 index 00000000..18061b50 --- /dev/null +++ b/dist/types/themes.js @@ -0,0 +1,34 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.light = void 0; + +var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); + +exports.light = light; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file From d254ddb25098a7ad186d95f0a70b93edc094499f Mon Sep 17 00:00:00 2001 From: Alexandra Lim Date: Tue, 22 Nov 2022 16:32:58 -0500 Subject: [PATCH 09/15] remove desc from nakedContent --- src/data/light.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/data/light.json b/src/data/light.json index 25902608..ca3e63b9 100644 --- a/src/data/light.json +++ b/src/data/light.json @@ -437,8 +437,7 @@ }, "nakedContent": { "value": "{colors.disabled.background}", - "type": "color", - "description": "Used for content in disabled components with little to no styling" + "type": "color" }, "nakedBackground": { "value": "{colors.shades.transparent}", From 0c704f89abc6e3f0831ebfe5470e90c86824499f Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Tue, 22 Nov 2022 21:33:29 +0000 Subject: [PATCH 10/15] Transformed tokens --- dist/helpers/colorProfileMapper.d.ts | 94 ----------------- dist/helpers/colorProfileMapper.d.ts.map | 1 - dist/helpers/colorProfileMapper.js | 20 ---- dist/helpers/index.d.ts | 2 - dist/helpers/index.d.ts.map | 1 - dist/helpers/index.js | 24 ----- dist/index.d.ts | 4 - dist/index.d.ts.map | 1 - dist/index.js | 69 ------------ dist/tokens/native/colors.d.ts | 12 --- dist/tokens/native/colors.js | 12 --- dist/tokens/native/themes/light.d.ts | 17 --- dist/tokens/native/themes/light.js | 17 --- dist/tokens/native/typography.d.ts | 117 --------------------- dist/tokens/native/typography.js | 119 --------------------- dist/tokens/scss/colors.scss | 55 ---------- dist/tokens/scss/themes/light.scss | 128 ----------------------- dist/tokens/scss/typography.scss | 116 -------------------- dist/tokens/ts/colors.d.ts | 12 --- dist/tokens/ts/colors.js | 12 --- dist/tokens/ts/themes/light.d.ts | 17 --- dist/tokens/ts/themes/light.js | 17 --- dist/tokens/ts/typography.d.ts | 117 --------------------- dist/tokens/ts/typography.js | 119 --------------------- dist/types/index.d.ts | 3 - dist/types/index.d.ts.map | 1 - dist/types/index.js | 37 ------- dist/types/interfaces.d.ts | 28 ----- dist/types/interfaces.d.ts.map | 1 - dist/types/interfaces.js | 42 -------- dist/types/profiles.d.ts | 6 -- dist/types/profiles.d.ts.map | 1 - dist/types/profiles.js | 5 - dist/types/themes.d.ts | 5 - dist/types/themes.d.ts.map | 1 - dist/types/themes.js | 34 ------ src/transformed/transformed-light.json | 3 +- 37 files changed, 1 insertion(+), 1269 deletions(-) delete mode 100644 dist/helpers/colorProfileMapper.d.ts delete mode 100644 dist/helpers/colorProfileMapper.d.ts.map delete mode 100644 dist/helpers/colorProfileMapper.js delete mode 100644 dist/helpers/index.d.ts delete mode 100644 dist/helpers/index.d.ts.map delete mode 100644 dist/helpers/index.js delete mode 100644 dist/index.d.ts delete mode 100644 dist/index.d.ts.map delete mode 100644 dist/index.js delete mode 100644 dist/tokens/native/colors.d.ts delete mode 100644 dist/tokens/native/colors.js delete mode 100644 dist/tokens/native/themes/light.d.ts delete mode 100644 dist/tokens/native/themes/light.js delete mode 100644 dist/tokens/native/typography.d.ts delete mode 100644 dist/tokens/native/typography.js delete mode 100644 dist/tokens/scss/colors.scss delete mode 100644 dist/tokens/scss/themes/light.scss delete mode 100644 dist/tokens/scss/typography.scss delete mode 100644 dist/tokens/ts/colors.d.ts delete mode 100644 dist/tokens/ts/colors.js delete mode 100644 dist/tokens/ts/themes/light.d.ts delete mode 100644 dist/tokens/ts/themes/light.js delete mode 100644 dist/tokens/ts/typography.d.ts delete mode 100644 dist/tokens/ts/typography.js delete mode 100644 dist/types/index.d.ts delete mode 100644 dist/types/index.d.ts.map delete mode 100644 dist/types/index.js delete mode 100644 dist/types/interfaces.d.ts delete mode 100644 dist/types/interfaces.d.ts.map delete mode 100644 dist/types/interfaces.js delete mode 100644 dist/types/profiles.d.ts delete mode 100644 dist/types/profiles.d.ts.map delete mode 100644 dist/types/profiles.js delete mode 100644 dist/types/themes.d.ts delete mode 100644 dist/types/themes.d.ts.map delete mode 100644 dist/types/themes.js diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts deleted file mode 100644 index f1f8e962..00000000 --- a/dist/helpers/colorProfileMapper.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import type { AviaryTheme } from "../types/themes"; -export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { - primary: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - info: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - warning: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - danger: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - highlight: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - system: { - textLabelEmphasis: string; - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - borderFocused: string; - }; -}; -//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map deleted file mode 100644 index 82925827..00000000 --- a/dist/helpers/colorProfileMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js deleted file mode 100644 index 77f12372..00000000 --- a/dist/helpers/colorProfileMapper.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.colorProfileMapper = void 0; - -// Used for mapping over selected `isColor` properties -var colorProfileMapper = function colorProfileMapper(currentTheme) { - return { - primary: currentTheme.primary, - info: currentTheme.info, - warning: currentTheme.warning, - danger: currentTheme.danger, - highlight: currentTheme.highlight, - system: currentTheme.system - }; -}; - -exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts deleted file mode 100644 index 7a4a22d6..00000000 --- a/dist/helpers/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./colorProfileMapper"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map deleted file mode 100644 index 94ae4bb1..00000000 --- a/dist/helpers/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js deleted file mode 100644 index 155de21a..00000000 --- a/dist/helpers/index.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _colorProfileMapper = require("./colorProfileMapper"); - -Object.keys(_colorProfileMapper).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _colorProfileMapper[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _colorProfileMapper[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts deleted file mode 100644 index 4e6d91d8..00000000 --- a/dist/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from "./helpers"; -export * from "./types"; -export * as typography from "../dist/tokens/ts/typography"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map deleted file mode 100644 index 90c36e9d..00000000 --- a/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index 2b85585c..00000000 --- a/dist/index.js +++ /dev/null @@ -1,69 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -require("core-js/modules/es.array.iterator.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.string.iterator.js"); - -require("core-js/modules/es.weak-map.js"); - -require("core-js/modules/web.dom-collections.iterator.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.symbol.description.js"); - -require("core-js/modules/es.symbol.iterator.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -var _exportNames = { - typography: true -}; -exports.typography = void 0; - -var _helpers = require("./helpers"); - -Object.keys(_helpers).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; - if (key in exports && exports[key] === _helpers[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _helpers[key]; - } - }); -}); - -var _types = require("./types"); - -Object.keys(_types).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; - if (key in exports && exports[key] === _types[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _types[key]; - } - }); -}); - -var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); - -exports.typography = _typography; - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/tokens/native/colors.d.ts b/dist/tokens/native/colors.d.ts deleted file mode 100644 index cfdbba7e..00000000 --- a/dist/tokens/native/colors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/native/colors.js b/dist/tokens/native/colors.js deleted file mode 100644 index 7f2937fd..00000000 --- a/dist/tokens/native/colors.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, -blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, -red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, -purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, -orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, -grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, -shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.d.ts b/dist/tokens/native/themes/light.d.ts deleted file mode 100644 index 9a8cf0ea..00000000 --- a/dist/tokens/native/themes/light.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; -export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; -export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; -export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; -export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; -export const separator : {base : string}; -export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.js b/dist/tokens/native/themes/light.js deleted file mode 100644 index d7f423d6..00000000 --- a/dist/tokens/native/themes/light.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, -system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, -surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, -primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, -info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, -warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, -danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, -highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, -disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, -input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, -separator : {base : "#E6EDF5"}, -light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/native/typography.d.ts b/dist/tokens/native/typography.d.ts deleted file mode 100644 index f53a3180..00000000 --- a/dist/tokens/native/typography.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -export const letterSpacingBase : number; -export const paragraphSpacingBase : number; -export const textDecorationBase : string; -export const textCaseBase : string; -export const size3xlarge : number; -export const size2xlarge : number; -export const sizeXlarge : number; -export const sizeLarge : number; -export const sizeNormal : number; -export const sizeSmall : number; -export const sizeXsmall : number; -export const sizeMobile3xlarge : number; -export const sizeMobile2xlarge : number; -export const sizeMobileXlarge : number; -export const lineHeightXlarge : number; -export const lineHeightLarge : number; -export const lineHeightNormal : number; -export const lineHeightSmall : number; -export const fontFamilySansSerif : string; -export const weightSemiBold : string; -export const weightBase : string; -export const weightLight : string; -export const weightStrong : string; -export const weightBold : string; -export const h1FontFamily : string; -export const h1FontWeight : string; -export const h1LineHeight : number; -export const h1FontSize : number; -export const h1LetterSpacing : number; -export const h1ParagraphSpacing : number; -export const h1TextDecoration : string; -export const h1TextCase : string; -export const h2FontFamily : string; -export const h2FontWeight : string; -export const h2LineHeight : number; -export const h2FontSize : number; -export const h2LetterSpacing : number; -export const h2ParagraphSpacing : number; -export const h2TextDecoration : string; -export const h2TextCase : string; -export const h3FontFamily : string; -export const h3FontWeight : string; -export const h3LineHeight : number; -export const h3FontSize : number; -export const h3LetterSpacing : number; -export const h3ParagraphSpacing : number; -export const h3TextDecoration : string; -export const h3TextCase : string; -export const h4FontFamily : string; -export const h4FontWeight : string; -export const h4LineHeight : number; -export const h4FontSize : number; -export const h4LetterSpacing : number; -export const h4ParagraphSpacing : number; -export const h4TextDecoration : string; -export const h4TextCase : string; -export const h5FontFamily : string; -export const h5FontWeight : string; -export const h5LineHeight : number; -export const h5FontSize : number; -export const h5LetterSpacing : number; -export const h5ParagraphSpacing : number; -export const h5TextDecoration : string; -export const h5TextCase : string; -export const bodyFontFamily : string; -export const bodyFontWeight : string; -export const bodyLineHeight : number; -export const bodyFontSize : number; -export const bodyLetterSpacing : number; -export const bodyParagraphSpacing : number; -export const bodyTextDecoration : string; -export const bodyTextCase : string; -export const footnoteFontFamily : string; -export const footnoteFontWeight : string; -export const footnoteLineHeight : number; -export const footnoteFontSize : number; -export const footnoteLetterSpacing : number; -export const footnoteParagraphSpacing : number; -export const footnoteTextDecoration : string; -export const footnoteTextCase : string; -export const captionFontFamily : string; -export const captionFontWeight : string; -export const captionLineHeight : number; -export const captionFontSize : number; -export const captionLetterSpacing : number; -export const captionParagraphSpacing : number; -export const captionTextDecoration : string; -export const captionTextCase : string; -export const mobileH1FontFamily : string; -export const mobileH1FontWeight : string; -export const mobileH1LineHeight : number; -export const mobileH1FontSize : number; -export const mobileH1LetterSpacing : number; -export const mobileH1ParagraphSpacing : number; -export const mobileH1TextDecoration : string; -export const mobileH1TextCase : string; -export const mobileH2FontFamily : string; -export const mobileH2FontWeight : string; -export const mobileH2LineHeight : number; -export const mobileH2FontSize : number; -export const mobileH2LetterSpacing : number; -export const mobileH2ParagraphSpacing : number; -export const mobileH2TextDecoration : string; -export const mobileH2TextCase : string; -export const mobileH3FontFamily : string; -export const mobileH3FontWeight : string; -export const mobileH3LineHeight : number; -export const mobileH3FontSize : number; -export const mobileH3LetterSpacing : number; -export const mobileH3ParagraphSpacing : number; -export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/native/typography.js b/dist/tokens/native/typography.js deleted file mode 100644 index f03e12c0..00000000 --- a/dist/tokens/native/typography.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -module.exports = { - "letterSpacingBase": 0, - "paragraphSpacingBase": 0, - "textDecorationBase": "none", - "textCaseBase": "none", - "size3xlarge": 40, - "size2xlarge": 32, - "sizeXlarge": 24, - "sizeLarge": 20, - "sizeNormal": 16, - "sizeSmall": 14, - "sizeXsmall": 12, - "sizeMobile3xlarge": 32, - "sizeMobile2xlarge": 28, - "sizeMobileXlarge": 22, - "lineHeightXlarge": 40, - "lineHeightLarge": 32, - "lineHeightNormal": 24, - "lineHeightSmall": 16, - "fontFamilySansSerif": "Mulish", - "weightSemiBold": "700", - "weightBase": "500", - "weightLight": "400", - "weightStrong": "600", - "weightBold": "900", - "h1FontFamily": "Mulish", - "h1FontWeight": "700", - "h1LineHeight": 40, - "h1FontSize": 40, - "h1LetterSpacing": 0, - "h1ParagraphSpacing": 0, - "h1TextDecoration": "none", - "h1TextCase": "none", - "h2FontFamily": "Mulish", - "h2FontWeight": "700", - "h2LineHeight": 40, - "h2FontSize": 32, - "h2LetterSpacing": 0, - "h2ParagraphSpacing": 0, - "h2TextDecoration": "none", - "h2TextCase": "none", - "h3FontFamily": "Mulish", - "h3FontWeight": "700", - "h3LineHeight": 32, - "h3FontSize": 24, - "h3LetterSpacing": 0, - "h3ParagraphSpacing": 0, - "h3TextDecoration": "none", - "h3TextCase": "none", - "h4FontFamily": "Mulish", - "h4FontWeight": "700", - "h4LineHeight": 24, - "h4FontSize": 20, - "h4LetterSpacing": 0, - "h4ParagraphSpacing": 0, - "h4TextDecoration": "none", - "h4TextCase": "none", - "h5FontFamily": "Mulish", - "h5FontWeight": "700", - "h5LineHeight": 24, - "h5FontSize": 16, - "h5LetterSpacing": 0, - "h5ParagraphSpacing": 0, - "h5TextDecoration": "none", - "h5TextCase": "none", - "bodyFontFamily": "Mulish", - "bodyFontWeight": "500", - "bodyLineHeight": 24, - "bodyFontSize": 16, - "bodyLetterSpacing": 0, - "bodyParagraphSpacing": 0, - "bodyTextDecoration": "none", - "bodyTextCase": "none", - "footnoteFontFamily": "Mulish", - "footnoteFontWeight": "500", - "footnoteLineHeight": 16, - "footnoteFontSize": 14, - "footnoteLetterSpacing": 0, - "footnoteParagraphSpacing": 0, - "footnoteTextDecoration": "none", - "footnoteTextCase": "none", - "captionFontFamily": "Mulish", - "captionFontWeight": "500", - "captionLineHeight": 16, - "captionFontSize": 12, - "captionLetterSpacing": 0, - "captionParagraphSpacing": 0, - "captionTextDecoration": "none", - "captionTextCase": "none", - "mobileH1FontFamily": "Mulish", - "mobileH1FontWeight": "700", - "mobileH1LineHeight": 40, - "mobileH1FontSize": 32, - "mobileH1LetterSpacing": 0, - "mobileH1ParagraphSpacing": 0, - "mobileH1TextDecoration": "none", - "mobileH1TextCase": "none", - "mobileH2FontFamily": "Mulish", - "mobileH2FontWeight": "700", - "mobileH2LineHeight": 32, - "mobileH2FontSize": 28, - "mobileH2LetterSpacing": 0, - "mobileH2ParagraphSpacing": 0, - "mobileH2TextDecoration": "none", - "mobileH2TextCase": "none", - "mobileH3FontFamily": "Mulish", - "mobileH3FontWeight": "700", - "mobileH3LineHeight": 32, - "mobileH3FontSize": 22, - "mobileH3LetterSpacing": 0, - "mobileH3ParagraphSpacing": 0, - "mobileH3TextDecoration": "none", - "mobileH3TextCase": "none" -}; \ No newline at end of file diff --git a/dist/tokens/scss/colors.scss b/dist/tokens/scss/colors.scss deleted file mode 100644 index 6e5499e5..00000000 --- a/dist/tokens/scss/colors.scss +++ /dev/null @@ -1,55 +0,0 @@ - -// Do not edit directly -// Generated on Thu, 10 Nov 2022 15:19:06 GMT - -$green100: #FAFFFC; -$green200: #EBF2EF; -$green300: #D1E0D9; -$green400: #B6CFC2; -$green500: #86B09B; -$green600: #307553; -$green700: #275E43; -$green800: #244C38; -$blue100: #F5FAFF; -$blue200: #E6F1FC; -$blue300: #C0D8F0; -$blue400: #88B1D9; -$blue500: #5D96CF; -$blue600: #3971A8; -$blue700: #21588F; -$blue800: #194673; -$red100: #FFF7F9; -$red200: #FEEEF2; -$red300: #F0C4CD; -$red400: #E296A6; -$red500: #C6516A; -$red600: #AF2645; -$red700: #980B29; -$red800: #800D25; -$purple100: #FCFAFF; -$purple200: #F2ECFE; -$purple300: #D7CEE9; -$purple400: #B9ABD5; -$purple500: #8471AB; -$purple600: #533E7D; -$purple700: #3B2566; -$purple800: #2A174F; -$orange100: #FFFAF5; -$orange200: #FFF3E8; -$orange300: #F3D8C0; -$orange400: #E7B88F; -$orange500: #CF8545; -$orange600: #B4631D; -$orange700: #8E4D14; -$orange800: #784213; -$grey100: #FCFEFF; -$grey200: #F5F7FA; -$grey300: #E6EDF5; -$grey400: #C8D3E0; -$grey500: #596D84; -$grey600: #475A70; -$grey700: #36485C; -$grey800: #2E3A47; -$shadesWhite: #FFFFFF; -$shadesBlack: #000000; -$shadesTransparent: transparent; \ No newline at end of file diff --git a/dist/tokens/scss/themes/light.scss b/dist/tokens/scss/themes/light.scss deleted file mode 100644 index 4fa18e73..00000000 --- a/dist/tokens/scss/themes/light.scss +++ /dev/null @@ -1,128 +0,0 @@ - -// Do not edit directly -// Generated on Thu, 10 Nov 2022 15:19:06 GMT - -$textEmphasis: #36485C; -$textBody: #475A70; -$textSubdued: #596D84; -$textOnBackground: #FFFFFF; -$systemTextLabelEmphasis: #2E3A47; -$systemTextBase: #475A70; -$systemTextHover: #36485C; -$systemTextActive: #2E3A47; -$systemBackgroundBase: #FFFFFF; -$systemBackgroundMuted: #F5F7FA; -$systemBackgroundMutedHover: #E6EDF5; -$systemBackgroundMutedActive: #C8D3E0; -$systemBackgroundBox: #FCFEFF; -$systemBorderBase: #C8D3E0; -$systemBorderHover: #596D84; -$systemBorderActive: #475A70; -$systemBorderFocused: #3971A8; -$surfaceLevel0: #F5F7FA; -$surfaceLevel1: #FFFFFF; -$surfaceLevel2: #F5F7FA; -$surfaceLevel3: #FFFFFF; -$surfaceInteractiveBackground: #FFFFFF; -$surfaceInteractiveHover: #F5F7FA; -$surfaceInteractiveActive: #E6EDF5; -$surfaceOverlayInvertable: #2E3A47; -$surfaceOverlayWhiteInvertable: #FFFFFF; -$surfaceOverlayStatic: #36485C; -$primaryTextBase: #307553; -$primaryTextHover: #275E43; -$primaryTextActive: #244C38; -$primaryBackgroundBase: #307553; -$primaryBackgroundHover: #275E43; -$primaryBackgroundActive: #244C38; -$primaryBackgroundMuted: #EBF2EF; -$primaryBackgroundMutedHover: #D1E0D9; -$primaryBackgroundMutedActive: #B6CFC2; -$primaryBackgroundBox: #FAFFFC; -$primaryBorderBase: #307553; -$primaryBorderHover: #275E43; -$primaryBorderActive: #244C38; -$infoTextBase: #3971A8; -$infoTextHover: #21588F; -$infoTextActive: #194673; -$infoBackgroundBase: #3971A8; -$infoBackgroundHover: #21588F; -$infoBackgroundActive: #194673; -$infoBackgroundMuted: #E6F1FC; -$infoBackgroundMutedHover: #C0D8F0; -$infoBackgroundMutedActive: #88B1D9; -$infoBackgroundBox: #F5FAFF; -$infoBorderBase: #3971A8; -$infoBorderHover: #21588F; -$infoBorderActive: #194673; -$warningTextBase: #B4631D; -$warningTextHover: #8E4D14; -$warningTextActive: #784213; -$warningBackgroundBase: #B4631D; -$warningBackgroundHover: #8E4D14; -$warningBackgroundActive: #784213; -$warningBackgroundMuted: #FFF3E8; -$warningBackgroundMutedHover: #F3D8C0; -$warningBackgroundMutedActive: #E7B88F; -$warningBackgroundBox: #FFFAF5; -$warningBorderBase: #B4631D; -$warningBorderHover: #8E4D14; -$warningBorderActive: #784213; -$dangerTextBase: #AF2645; -$dangerTextHover: #980B29; -$dangerTextActive: #800D25; -$dangerBackgroundBase: #AF2645; -$dangerBackgroundHover: #980B29; -$dangerBackgroundActive: #800D25; -$dangerBackgroundMuted: #FEEEF2; -$dangerBackgroundMutedHover: #F0C4CD; -$dangerBackgroundMutedActive: #E296A6; -$dangerBackgroundBox: #FFF7F9; -$dangerBorderBase: #AF2645; -$dangerBorderHover: #980B29; -$dangerBorderActive: #800D25; -$highlightTextBase: #533E7D; -$highlightTextHover: #3B2566; -$highlightTextActive: #2A174F; -$highlightBackgroundBase: #533E7D; -$highlightBackgroundHover: #3B2566; -$highlightBackgroundActive: #2A174F; -$highlightBackgroundMuted: #F2ECFE; -$highlightBackgroundMutedHover: #D7CEE9; -$highlightBackgroundMutedActive: #B9ABD5; -$highlightBackgroundBox: #FCFAFF; -$highlightBorderBase: #533E7D; -$highlightBorderHover: #3B2566; -$highlightBorderActive: #2A174F; -$disabledText: #596D84; -$disabledBackground: #F5F7FA; -$disabledNakedContent: #F5F7FA; -$disabledNakedBackground: transparent; -$disabledBorder: #C8D3E0; -$disabledInputBackground: #E6EDF5; -$disabledInputLabelText: #596D84; -$inputBackgroundBase: #F5F7FA; -$inputBackgroundHover: #E6EDF5; -$inputBackgroundInformation: #FFFFFF; -$inputTextBase: #475A70; -$inputTextInformation: #475A70; -$inputTextInformationError: #AF2645; -$inputTextLabel: #475A70; -$inputTextFloatingLabel: #3971A8; -$inputTextFloatingLabelError: #AF2645; -$inputTextPlaceholder: #596D84; -$inputTextActive: #2E3A47; -$inputBorderBase: #E6EDF5; -$inputBorderError: #AF2645; -$inputBorderHover: #C8D3E0; -$inputBorderEmphasized: #596D84; -$inputBorderEmphasizedHover: #475A70; -$inputBorderActive: #3971A8; -$separatorBase: #E6EDF5; -$lightBackgroundBase: #FFFFFF; -$lightBackgroundContrast: #475A70; -$lightBackgroundHover: #F5F7FA; -$lightBackgroundActive: #E6EDF5; -$lightTextBase: #2E3A47; -$lightLinkMutedBase: #F5F7FA; -$lightLinkMutedHover: #FFFFFF; \ No newline at end of file diff --git a/dist/tokens/scss/typography.scss b/dist/tokens/scss/typography.scss deleted file mode 100644 index 80a93440..00000000 --- a/dist/tokens/scss/typography.scss +++ /dev/null @@ -1,116 +0,0 @@ - -// Do not edit directly -// Generated on Thu, 10 Nov 2022 15:19:06 GMT - -$letterSpacingBase: 0; -$paragraphSpacingBase: 0; -$textDecorationBase: none; -$textCaseBase: none; -$size3xlarge: 40px; -$size2xlarge: 32px; -$sizeXlarge: 24px; -$sizeLarge: 20px; -$sizeNormal: 16px; -$sizeSmall: 14px; -$sizeXsmall: 12px; -$sizeMobile3xlarge: 32px; -$sizeMobile2xlarge: 28px; -$sizeMobileXlarge: 22px; -$lineHeightXlarge: 40px; -$lineHeightLarge: 32px; -$lineHeightNormal: 24px; -$lineHeightSmall: 16px; -$fontFamilySansSerif: Mulish; -$weightSemiBold: 700; -$weightBase: 500; -$weightLight: 400; -$weightStrong: 600; -$weightBold: 900; -$h1FontFamily: Mulish; -$h1FontWeight: 700; -$h1LineHeight: 40px; -$h1FontSize: 40px; -$h1LetterSpacing: 0; -$h1ParagraphSpacing: 0; -$h1TextDecoration: none; -$h1TextCase: none; -$h2FontFamily: Mulish; -$h2FontWeight: 700; -$h2LineHeight: 40px; -$h2FontSize: 32px; -$h2LetterSpacing: 0; -$h2ParagraphSpacing: 0; -$h2TextDecoration: none; -$h2TextCase: none; -$h3FontFamily: Mulish; -$h3FontWeight: 700; -$h3LineHeight: 32px; -$h3FontSize: 24px; -$h3LetterSpacing: 0; -$h3ParagraphSpacing: 0; -$h3TextDecoration: none; -$h3TextCase: none; -$h4FontFamily: Mulish; -$h4FontWeight: 700; -$h4LineHeight: 24px; -$h4FontSize: 20px; -$h4LetterSpacing: 0; -$h4ParagraphSpacing: 0; -$h4TextDecoration: none; -$h4TextCase: none; -$h5FontFamily: Mulish; -$h5FontWeight: 700; -$h5LineHeight: 24px; -$h5FontSize: 16px; -$h5LetterSpacing: 0; -$h5ParagraphSpacing: 0; -$h5TextDecoration: none; -$h5TextCase: none; -$bodyFontFamily: Mulish; -$bodyFontWeight: 500; -$bodyLineHeight: 24px; -$bodyFontSize: 16px; -$bodyLetterSpacing: 0; -$bodyParagraphSpacing: 0; -$bodyTextDecoration: none; -$bodyTextCase: none; -$footnoteFontFamily: Mulish; -$footnoteFontWeight: 500; -$footnoteLineHeight: 16px; -$footnoteFontSize: 14px; -$footnoteLetterSpacing: 0; -$footnoteParagraphSpacing: 0; -$footnoteTextDecoration: none; -$footnoteTextCase: none; -$captionFontFamily: Mulish; -$captionFontWeight: 500; -$captionLineHeight: 16px; -$captionFontSize: 12px; -$captionLetterSpacing: 0; -$captionParagraphSpacing: 0; -$captionTextDecoration: none; -$captionTextCase: none; -$mobileH1FontFamily: Mulish; -$mobileH1FontWeight: 700; -$mobileH1LineHeight: 40px; -$mobileH1FontSize: 32px; -$mobileH1LetterSpacing: 0; -$mobileH1ParagraphSpacing: 0; -$mobileH1TextDecoration: none; -$mobileH1TextCase: none; -$mobileH2FontFamily: Mulish; -$mobileH2FontWeight: 700; -$mobileH2LineHeight: 32px; -$mobileH2FontSize: 28px; -$mobileH2LetterSpacing: 0; -$mobileH2ParagraphSpacing: 0; -$mobileH2TextDecoration: none; -$mobileH2TextCase: none; -$mobileH3FontFamily: Mulish; -$mobileH3FontWeight: 700; -$mobileH3LineHeight: 32px; -$mobileH3FontSize: 22px; -$mobileH3LetterSpacing: 0; -$mobileH3ParagraphSpacing: 0; -$mobileH3TextDecoration: none; -$mobileH3TextCase: none; \ No newline at end of file diff --git a/dist/tokens/ts/colors.d.ts b/dist/tokens/ts/colors.d.ts deleted file mode 100644 index cfdbba7e..00000000 --- a/dist/tokens/ts/colors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/ts/colors.js b/dist/tokens/ts/colors.js deleted file mode 100644 index 7f2937fd..00000000 --- a/dist/tokens/ts/colors.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, -blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, -red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, -purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, -orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, -grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, -shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.d.ts b/dist/tokens/ts/themes/light.d.ts deleted file mode 100644 index 9a8cf0ea..00000000 --- a/dist/tokens/ts/themes/light.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; -export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; -export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; -export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; -export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; -export const separator : {base : string}; -export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.js b/dist/tokens/ts/themes/light.js deleted file mode 100644 index d7f423d6..00000000 --- a/dist/tokens/ts/themes/light.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, -system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, -surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, -primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, -info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, -warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, -danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, -highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, -disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, -input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, -separator : {base : "#E6EDF5"}, -light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/ts/typography.d.ts b/dist/tokens/ts/typography.d.ts deleted file mode 100644 index 08b83a45..00000000 --- a/dist/tokens/ts/typography.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -export const letterSpacingBase : number; -export const paragraphSpacingBase : number; -export const textDecorationBase : string; -export const textCaseBase : string; -export const size3xlarge : string; -export const size2xlarge : string; -export const sizeXlarge : string; -export const sizeLarge : string; -export const sizeNormal : string; -export const sizeSmall : string; -export const sizeXsmall : string; -export const sizeMobile3xlarge : string; -export const sizeMobile2xlarge : string; -export const sizeMobileXlarge : string; -export const lineHeightXlarge : string; -export const lineHeightLarge : string; -export const lineHeightNormal : string; -export const lineHeightSmall : string; -export const fontFamilySansSerif : string; -export const weightSemiBold : number; -export const weightBase : number; -export const weightLight : number; -export const weightStrong : number; -export const weightBold : number; -export const h1FontFamily : string; -export const h1FontWeight : number; -export const h1LineHeight : string; -export const h1FontSize : string; -export const h1LetterSpacing : number; -export const h1ParagraphSpacing : number; -export const h1TextDecoration : string; -export const h1TextCase : string; -export const h2FontFamily : string; -export const h2FontWeight : number; -export const h2LineHeight : string; -export const h2FontSize : string; -export const h2LetterSpacing : number; -export const h2ParagraphSpacing : number; -export const h2TextDecoration : string; -export const h2TextCase : string; -export const h3FontFamily : string; -export const h3FontWeight : number; -export const h3LineHeight : string; -export const h3FontSize : string; -export const h3LetterSpacing : number; -export const h3ParagraphSpacing : number; -export const h3TextDecoration : string; -export const h3TextCase : string; -export const h4FontFamily : string; -export const h4FontWeight : number; -export const h4LineHeight : string; -export const h4FontSize : string; -export const h4LetterSpacing : number; -export const h4ParagraphSpacing : number; -export const h4TextDecoration : string; -export const h4TextCase : string; -export const h5FontFamily : string; -export const h5FontWeight : number; -export const h5LineHeight : string; -export const h5FontSize : string; -export const h5LetterSpacing : number; -export const h5ParagraphSpacing : number; -export const h5TextDecoration : string; -export const h5TextCase : string; -export const bodyFontFamily : string; -export const bodyFontWeight : number; -export const bodyLineHeight : string; -export const bodyFontSize : string; -export const bodyLetterSpacing : number; -export const bodyParagraphSpacing : number; -export const bodyTextDecoration : string; -export const bodyTextCase : string; -export const footnoteFontFamily : string; -export const footnoteFontWeight : number; -export const footnoteLineHeight : string; -export const footnoteFontSize : string; -export const footnoteLetterSpacing : number; -export const footnoteParagraphSpacing : number; -export const footnoteTextDecoration : string; -export const footnoteTextCase : string; -export const captionFontFamily : string; -export const captionFontWeight : number; -export const captionLineHeight : string; -export const captionFontSize : string; -export const captionLetterSpacing : number; -export const captionParagraphSpacing : number; -export const captionTextDecoration : string; -export const captionTextCase : string; -export const mobileH1FontFamily : string; -export const mobileH1FontWeight : number; -export const mobileH1LineHeight : string; -export const mobileH1FontSize : string; -export const mobileH1LetterSpacing : number; -export const mobileH1ParagraphSpacing : number; -export const mobileH1TextDecoration : string; -export const mobileH1TextCase : string; -export const mobileH2FontFamily : string; -export const mobileH2FontWeight : number; -export const mobileH2LineHeight : string; -export const mobileH2FontSize : string; -export const mobileH2LetterSpacing : number; -export const mobileH2ParagraphSpacing : number; -export const mobileH2TextDecoration : string; -export const mobileH2TextCase : string; -export const mobileH3FontFamily : string; -export const mobileH3FontWeight : number; -export const mobileH3LineHeight : string; -export const mobileH3FontSize : string; -export const mobileH3LetterSpacing : number; -export const mobileH3ParagraphSpacing : number; -export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/ts/typography.js b/dist/tokens/ts/typography.js deleted file mode 100644 index 4f5f0f03..00000000 --- a/dist/tokens/ts/typography.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Do not edit directly - * Generated on Thu, 10 Nov 2022 15:19:06 GMT - */ - -module.exports = { - "letterSpacingBase": 0, - "paragraphSpacingBase": 0, - "textDecorationBase": "none", - "textCaseBase": "none", - "size3xlarge": "40px", - "size2xlarge": "32px", - "sizeXlarge": "24px", - "sizeLarge": "20px", - "sizeNormal": "16px", - "sizeSmall": "14px", - "sizeXsmall": "12px", - "sizeMobile3xlarge": "32px", - "sizeMobile2xlarge": "28px", - "sizeMobileXlarge": "22px", - "lineHeightXlarge": "40px", - "lineHeightLarge": "32px", - "lineHeightNormal": "24px", - "lineHeightSmall": "16px", - "fontFamilySansSerif": "Mulish", - "weightSemiBold": 700, - "weightBase": 500, - "weightLight": 400, - "weightStrong": 600, - "weightBold": 900, - "h1FontFamily": "Mulish", - "h1FontWeight": 700, - "h1LineHeight": "40px", - "h1FontSize": "40px", - "h1LetterSpacing": 0, - "h1ParagraphSpacing": 0, - "h1TextDecoration": "none", - "h1TextCase": "none", - "h2FontFamily": "Mulish", - "h2FontWeight": 700, - "h2LineHeight": "40px", - "h2FontSize": "32px", - "h2LetterSpacing": 0, - "h2ParagraphSpacing": 0, - "h2TextDecoration": "none", - "h2TextCase": "none", - "h3FontFamily": "Mulish", - "h3FontWeight": 700, - "h3LineHeight": "32px", - "h3FontSize": "24px", - "h3LetterSpacing": 0, - "h3ParagraphSpacing": 0, - "h3TextDecoration": "none", - "h3TextCase": "none", - "h4FontFamily": "Mulish", - "h4FontWeight": 700, - "h4LineHeight": "24px", - "h4FontSize": "20px", - "h4LetterSpacing": 0, - "h4ParagraphSpacing": 0, - "h4TextDecoration": "none", - "h4TextCase": "none", - "h5FontFamily": "Mulish", - "h5FontWeight": 700, - "h5LineHeight": "24px", - "h5FontSize": "16px", - "h5LetterSpacing": 0, - "h5ParagraphSpacing": 0, - "h5TextDecoration": "none", - "h5TextCase": "none", - "bodyFontFamily": "Mulish", - "bodyFontWeight": 500, - "bodyLineHeight": "24px", - "bodyFontSize": "16px", - "bodyLetterSpacing": 0, - "bodyParagraphSpacing": 0, - "bodyTextDecoration": "none", - "bodyTextCase": "none", - "footnoteFontFamily": "Mulish", - "footnoteFontWeight": 500, - "footnoteLineHeight": "16px", - "footnoteFontSize": "14px", - "footnoteLetterSpacing": 0, - "footnoteParagraphSpacing": 0, - "footnoteTextDecoration": "none", - "footnoteTextCase": "none", - "captionFontFamily": "Mulish", - "captionFontWeight": 500, - "captionLineHeight": "16px", - "captionFontSize": "12px", - "captionLetterSpacing": 0, - "captionParagraphSpacing": 0, - "captionTextDecoration": "none", - "captionTextCase": "none", - "mobileH1FontFamily": "Mulish", - "mobileH1FontWeight": 700, - "mobileH1LineHeight": "40px", - "mobileH1FontSize": "32px", - "mobileH1LetterSpacing": 0, - "mobileH1ParagraphSpacing": 0, - "mobileH1TextDecoration": "none", - "mobileH1TextCase": "none", - "mobileH2FontFamily": "Mulish", - "mobileH2FontWeight": 700, - "mobileH2LineHeight": "32px", - "mobileH2FontSize": "28px", - "mobileH2LetterSpacing": 0, - "mobileH2ParagraphSpacing": 0, - "mobileH2TextDecoration": "none", - "mobileH2TextCase": "none", - "mobileH3FontFamily": "Mulish", - "mobileH3FontWeight": 700, - "mobileH3LineHeight": "32px", - "mobileH3FontSize": "22px", - "mobileH3LetterSpacing": 0, - "mobileH3ParagraphSpacing": 0, - "mobileH3TextDecoration": "none", - "mobileH3TextCase": "none" -}; \ No newline at end of file diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts deleted file mode 100644 index bf33064e..00000000 --- a/dist/types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./interfaces"; -export * from "./profiles"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map deleted file mode 100644 index 1ca1b828..00000000 --- a/dist/types/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js deleted file mode 100644 index 9ce320c1..00000000 --- a/dist/types/index.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _interfaces = require("./interfaces"); - -Object.keys(_interfaces).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _interfaces[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _interfaces[key]; - } - }); -}); - -var _profiles = require("./profiles"); - -Object.keys(_profiles).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _profiles[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _profiles[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts deleted file mode 100644 index 0cea5539..00000000 --- a/dist/types/interfaces.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare const AVIARY_COLORS: { - primary: string; - info: string; - warning: string; - danger: string; - highlight: string; - system: string; -}; -declare const EXTENDED_AVIARY_COLORS: { - light: string; - primary: string; - info: string; - warning: string; - danger: string; - highlight: string; - system: string; -}; -declare type AviaryColors = keyof typeof AVIARY_COLORS; -declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; -interface AviaryColorProps { - isColor?: AviaryColors; -} -interface AviaryExtendedColorProps { - isColor?: ExtendedAviaryColors; -} -export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; -export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map deleted file mode 100644 index 87d81861..00000000 --- a/dist/types/interfaces.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js deleted file mode 100644 index 42449ef5..00000000 --- a/dist/types/interfaces.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.keys.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.array.filter.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.get-own-property-descriptors.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var AVIARY_COLORS = { - primary: "primary", - info: "info", - warning: "warning", - danger: "danger", - highlight: "highlight", - system: "system" -}; -exports.AVIARY_COLORS = AVIARY_COLORS; - -var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { - light: "light" -}); - -exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts deleted file mode 100644 index fdaa73de..00000000 --- a/dist/types/profiles.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type * as light from "../../dist/tokens/ts/themes/light.d"; -declare type StandardColorsProfileTheme = typeof light.primary; -declare type SystemColorProfileTheme = typeof light.system; -declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; -export type { ColorProfileTheme }; -//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map deleted file mode 100644 index c292ac7a..00000000 --- a/dist/types/profiles.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js deleted file mode 100644 index 430afc16..00000000 --- a/dist/types/profiles.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts deleted file mode 100644 index e3961e9a..00000000 --- a/dist/types/themes.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import * as light from "../../dist/tokens/ts/themes/light"; -declare type AviaryTheme = typeof light; -export { light }; -export type { AviaryTheme }; -//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map deleted file mode 100644 index 6d18b917..00000000 --- a/dist/types/themes.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAE3D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js deleted file mode 100644 index 18061b50..00000000 --- a/dist/types/themes.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -require("core-js/modules/es.array.iterator.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.string.iterator.js"); - -require("core-js/modules/es.weak-map.js"); - -require("core-js/modules/web.dom-collections.iterator.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.symbol.description.js"); - -require("core-js/modules/es.symbol.iterator.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.light = void 0; - -var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); - -exports.light = light; - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/src/transformed/transformed-light.json b/src/transformed/transformed-light.json index 6948ca1b..eaa36c43 100644 --- a/src/transformed/transformed-light.json +++ b/src/transformed/transformed-light.json @@ -437,8 +437,7 @@ }, "nakedContent": { "value": "#F5F7FA", - "type": "color", - "description": "Used for content in disabled components with little to no styling" + "type": "color" }, "nakedBackground": { "value": "transparent", From a14ea39c1ca9448a85ba34b853e67a78454a4135 Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Tue, 22 Nov 2022 21:33:54 +0000 Subject: [PATCH 11/15] Built and updated design tokens --- dist/tokens/native/colors.d.ts | 12 +++ dist/tokens/native/colors.js | 12 +++ dist/tokens/native/themes/light.d.ts | 17 ++++ dist/tokens/native/themes/light.js | 17 ++++ dist/tokens/native/typography.d.ts | 117 ++++++++++++++++++++++++ dist/tokens/native/typography.js | 119 +++++++++++++++++++++++++ dist/tokens/scss/colors.scss | 55 ++++++++++++ dist/tokens/scss/themes/light.scss | 128 +++++++++++++++++++++++++++ dist/tokens/scss/typography.scss | 116 ++++++++++++++++++++++++ dist/tokens/ts/colors.d.ts | 12 +++ dist/tokens/ts/colors.js | 12 +++ dist/tokens/ts/themes/light.d.ts | 17 ++++ dist/tokens/ts/themes/light.js | 17 ++++ dist/tokens/ts/typography.d.ts | 117 ++++++++++++++++++++++++ dist/tokens/ts/typography.js | 119 +++++++++++++++++++++++++ 15 files changed, 887 insertions(+) create mode 100644 dist/tokens/native/colors.d.ts create mode 100644 dist/tokens/native/colors.js create mode 100644 dist/tokens/native/themes/light.d.ts create mode 100644 dist/tokens/native/themes/light.js create mode 100644 dist/tokens/native/typography.d.ts create mode 100644 dist/tokens/native/typography.js create mode 100644 dist/tokens/scss/colors.scss create mode 100644 dist/tokens/scss/themes/light.scss create mode 100644 dist/tokens/scss/typography.scss create mode 100644 dist/tokens/ts/colors.d.ts create mode 100644 dist/tokens/ts/colors.js create mode 100644 dist/tokens/ts/themes/light.d.ts create mode 100644 dist/tokens/ts/themes/light.js create mode 100644 dist/tokens/ts/typography.d.ts create mode 100644 dist/tokens/ts/typography.js diff --git a/dist/tokens/native/colors.d.ts b/dist/tokens/native/colors.d.ts new file mode 100644 index 00000000..49bc94e1 --- /dev/null +++ b/dist/tokens/native/colors.d.ts @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/native/colors.js b/dist/tokens/native/colors.js new file mode 100644 index 00000000..9dc7a150 --- /dev/null +++ b/dist/tokens/native/colors.js @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, +blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, +red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, +purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, +orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, +grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, +shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.d.ts b/dist/tokens/native/themes/light.d.ts new file mode 100644 index 00000000..6b340a98 --- /dev/null +++ b/dist/tokens/native/themes/light.d.ts @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; +export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; +export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; +export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; +export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; +export const separator : {base : string}; +export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.js b/dist/tokens/native/themes/light.js new file mode 100644 index 00000000..dec7779b --- /dev/null +++ b/dist/tokens/native/themes/light.js @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, +system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, +surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, +primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, +info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, +warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, +danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, +highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, +disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, +input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, +separator : {base : "#E6EDF5"}, +light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/native/typography.d.ts b/dist/tokens/native/typography.d.ts new file mode 100644 index 00000000..3148fbb0 --- /dev/null +++ b/dist/tokens/native/typography.d.ts @@ -0,0 +1,117 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +export const letterSpacingBase : number; +export const paragraphSpacingBase : number; +export const textDecorationBase : string; +export const textCaseBase : string; +export const size3xlarge : number; +export const size2xlarge : number; +export const sizeXlarge : number; +export const sizeLarge : number; +export const sizeNormal : number; +export const sizeSmall : number; +export const sizeXsmall : number; +export const sizeMobile3xlarge : number; +export const sizeMobile2xlarge : number; +export const sizeMobileXlarge : number; +export const lineHeightXlarge : number; +export const lineHeightLarge : number; +export const lineHeightNormal : number; +export const lineHeightSmall : number; +export const fontFamilySansSerif : string; +export const weightSemiBold : string; +export const weightBase : string; +export const weightLight : string; +export const weightStrong : string; +export const weightBold : string; +export const h1FontFamily : string; +export const h1FontWeight : string; +export const h1LineHeight : number; +export const h1FontSize : number; +export const h1LetterSpacing : number; +export const h1ParagraphSpacing : number; +export const h1TextDecoration : string; +export const h1TextCase : string; +export const h2FontFamily : string; +export const h2FontWeight : string; +export const h2LineHeight : number; +export const h2FontSize : number; +export const h2LetterSpacing : number; +export const h2ParagraphSpacing : number; +export const h2TextDecoration : string; +export const h2TextCase : string; +export const h3FontFamily : string; +export const h3FontWeight : string; +export const h3LineHeight : number; +export const h3FontSize : number; +export const h3LetterSpacing : number; +export const h3ParagraphSpacing : number; +export const h3TextDecoration : string; +export const h3TextCase : string; +export const h4FontFamily : string; +export const h4FontWeight : string; +export const h4LineHeight : number; +export const h4FontSize : number; +export const h4LetterSpacing : number; +export const h4ParagraphSpacing : number; +export const h4TextDecoration : string; +export const h4TextCase : string; +export const h5FontFamily : string; +export const h5FontWeight : string; +export const h5LineHeight : number; +export const h5FontSize : number; +export const h5LetterSpacing : number; +export const h5ParagraphSpacing : number; +export const h5TextDecoration : string; +export const h5TextCase : string; +export const bodyFontFamily : string; +export const bodyFontWeight : string; +export const bodyLineHeight : number; +export const bodyFontSize : number; +export const bodyLetterSpacing : number; +export const bodyParagraphSpacing : number; +export const bodyTextDecoration : string; +export const bodyTextCase : string; +export const footnoteFontFamily : string; +export const footnoteFontWeight : string; +export const footnoteLineHeight : number; +export const footnoteFontSize : number; +export const footnoteLetterSpacing : number; +export const footnoteParagraphSpacing : number; +export const footnoteTextDecoration : string; +export const footnoteTextCase : string; +export const captionFontFamily : string; +export const captionFontWeight : string; +export const captionLineHeight : number; +export const captionFontSize : number; +export const captionLetterSpacing : number; +export const captionParagraphSpacing : number; +export const captionTextDecoration : string; +export const captionTextCase : string; +export const mobileH1FontFamily : string; +export const mobileH1FontWeight : string; +export const mobileH1LineHeight : number; +export const mobileH1FontSize : number; +export const mobileH1LetterSpacing : number; +export const mobileH1ParagraphSpacing : number; +export const mobileH1TextDecoration : string; +export const mobileH1TextCase : string; +export const mobileH2FontFamily : string; +export const mobileH2FontWeight : string; +export const mobileH2LineHeight : number; +export const mobileH2FontSize : number; +export const mobileH2LetterSpacing : number; +export const mobileH2ParagraphSpacing : number; +export const mobileH2TextDecoration : string; +export const mobileH2TextCase : string; +export const mobileH3FontFamily : string; +export const mobileH3FontWeight : string; +export const mobileH3LineHeight : number; +export const mobileH3FontSize : number; +export const mobileH3LetterSpacing : number; +export const mobileH3ParagraphSpacing : number; +export const mobileH3TextDecoration : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/native/typography.js b/dist/tokens/native/typography.js new file mode 100644 index 00000000..3360c93d --- /dev/null +++ b/dist/tokens/native/typography.js @@ -0,0 +1,119 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +module.exports = { + "letterSpacingBase": 0, + "paragraphSpacingBase": 0, + "textDecorationBase": "none", + "textCaseBase": "none", + "size3xlarge": 40, + "size2xlarge": 32, + "sizeXlarge": 24, + "sizeLarge": 20, + "sizeNormal": 16, + "sizeSmall": 14, + "sizeXsmall": 12, + "sizeMobile3xlarge": 32, + "sizeMobile2xlarge": 28, + "sizeMobileXlarge": 22, + "lineHeightXlarge": 40, + "lineHeightLarge": 32, + "lineHeightNormal": 24, + "lineHeightSmall": 16, + "fontFamilySansSerif": "Mulish", + "weightSemiBold": "700", + "weightBase": "500", + "weightLight": "400", + "weightStrong": "600", + "weightBold": "900", + "h1FontFamily": "Mulish", + "h1FontWeight": "700", + "h1LineHeight": 40, + "h1FontSize": 40, + "h1LetterSpacing": 0, + "h1ParagraphSpacing": 0, + "h1TextDecoration": "none", + "h1TextCase": "none", + "h2FontFamily": "Mulish", + "h2FontWeight": "700", + "h2LineHeight": 40, + "h2FontSize": 32, + "h2LetterSpacing": 0, + "h2ParagraphSpacing": 0, + "h2TextDecoration": "none", + "h2TextCase": "none", + "h3FontFamily": "Mulish", + "h3FontWeight": "700", + "h3LineHeight": 32, + "h3FontSize": 24, + "h3LetterSpacing": 0, + "h3ParagraphSpacing": 0, + "h3TextDecoration": "none", + "h3TextCase": "none", + "h4FontFamily": "Mulish", + "h4FontWeight": "700", + "h4LineHeight": 24, + "h4FontSize": 20, + "h4LetterSpacing": 0, + "h4ParagraphSpacing": 0, + "h4TextDecoration": "none", + "h4TextCase": "none", + "h5FontFamily": "Mulish", + "h5FontWeight": "700", + "h5LineHeight": 24, + "h5FontSize": 16, + "h5LetterSpacing": 0, + "h5ParagraphSpacing": 0, + "h5TextDecoration": "none", + "h5TextCase": "none", + "bodyFontFamily": "Mulish", + "bodyFontWeight": "500", + "bodyLineHeight": 24, + "bodyFontSize": 16, + "bodyLetterSpacing": 0, + "bodyParagraphSpacing": 0, + "bodyTextDecoration": "none", + "bodyTextCase": "none", + "footnoteFontFamily": "Mulish", + "footnoteFontWeight": "500", + "footnoteLineHeight": 16, + "footnoteFontSize": 14, + "footnoteLetterSpacing": 0, + "footnoteParagraphSpacing": 0, + "footnoteTextDecoration": "none", + "footnoteTextCase": "none", + "captionFontFamily": "Mulish", + "captionFontWeight": "500", + "captionLineHeight": 16, + "captionFontSize": 12, + "captionLetterSpacing": 0, + "captionParagraphSpacing": 0, + "captionTextDecoration": "none", + "captionTextCase": "none", + "mobileH1FontFamily": "Mulish", + "mobileH1FontWeight": "700", + "mobileH1LineHeight": 40, + "mobileH1FontSize": 32, + "mobileH1LetterSpacing": 0, + "mobileH1ParagraphSpacing": 0, + "mobileH1TextDecoration": "none", + "mobileH1TextCase": "none", + "mobileH2FontFamily": "Mulish", + "mobileH2FontWeight": "700", + "mobileH2LineHeight": 32, + "mobileH2FontSize": 28, + "mobileH2LetterSpacing": 0, + "mobileH2ParagraphSpacing": 0, + "mobileH2TextDecoration": "none", + "mobileH2TextCase": "none", + "mobileH3FontFamily": "Mulish", + "mobileH3FontWeight": "700", + "mobileH3LineHeight": 32, + "mobileH3FontSize": 22, + "mobileH3LetterSpacing": 0, + "mobileH3ParagraphSpacing": 0, + "mobileH3TextDecoration": "none", + "mobileH3TextCase": "none" +}; \ No newline at end of file diff --git a/dist/tokens/scss/colors.scss b/dist/tokens/scss/colors.scss new file mode 100644 index 00000000..351329b6 --- /dev/null +++ b/dist/tokens/scss/colors.scss @@ -0,0 +1,55 @@ + +// Do not edit directly +// Generated on Tue, 22 Nov 2022 21:33:53 GMT + +$green100: #FAFFFC; +$green200: #EBF2EF; +$green300: #D1E0D9; +$green400: #B6CFC2; +$green500: #86B09B; +$green600: #307553; +$green700: #275E43; +$green800: #244C38; +$blue100: #F5FAFF; +$blue200: #E6F1FC; +$blue300: #C0D8F0; +$blue400: #88B1D9; +$blue500: #5D96CF; +$blue600: #3971A8; +$blue700: #21588F; +$blue800: #194673; +$red100: #FFF7F9; +$red200: #FEEEF2; +$red300: #F0C4CD; +$red400: #E296A6; +$red500: #C6516A; +$red600: #AF2645; +$red700: #980B29; +$red800: #800D25; +$purple100: #FCFAFF; +$purple200: #F2ECFE; +$purple300: #D7CEE9; +$purple400: #B9ABD5; +$purple500: #8471AB; +$purple600: #533E7D; +$purple700: #3B2566; +$purple800: #2A174F; +$orange100: #FFFAF5; +$orange200: #FFF3E8; +$orange300: #F3D8C0; +$orange400: #E7B88F; +$orange500: #CF8545; +$orange600: #B4631D; +$orange700: #8E4D14; +$orange800: #784213; +$grey100: #FCFEFF; +$grey200: #F5F7FA; +$grey300: #E6EDF5; +$grey400: #C8D3E0; +$grey500: #596D84; +$grey600: #475A70; +$grey700: #36485C; +$grey800: #2E3A47; +$shadesWhite: #FFFFFF; +$shadesBlack: #000000; +$shadesTransparent: transparent; \ No newline at end of file diff --git a/dist/tokens/scss/themes/light.scss b/dist/tokens/scss/themes/light.scss new file mode 100644 index 00000000..a8560e6e --- /dev/null +++ b/dist/tokens/scss/themes/light.scss @@ -0,0 +1,128 @@ + +// Do not edit directly +// Generated on Tue, 22 Nov 2022 21:33:53 GMT + +$textEmphasis: #36485C; +$textBody: #475A70; +$textSubdued: #596D84; +$textOnBackground: #FFFFFF; +$systemTextLabelEmphasis: #2E3A47; +$systemTextBase: #475A70; +$systemTextHover: #36485C; +$systemTextActive: #2E3A47; +$systemBackgroundBase: #FFFFFF; +$systemBackgroundMuted: #F5F7FA; +$systemBackgroundMutedHover: #E6EDF5; +$systemBackgroundMutedActive: #C8D3E0; +$systemBackgroundBox: #FCFEFF; +$systemBorderBase: #C8D3E0; +$systemBorderHover: #596D84; +$systemBorderActive: #475A70; +$systemBorderFocused: #3971A8; +$surfaceLevel0: #F5F7FA; +$surfaceLevel1: #FFFFFF; +$surfaceLevel2: #F5F7FA; +$surfaceLevel3: #FFFFFF; +$surfaceInteractiveBackground: #FFFFFF; +$surfaceInteractiveHover: #F5F7FA; +$surfaceInteractiveActive: #E6EDF5; +$surfaceOverlayInvertable: #2E3A47; +$surfaceOverlayWhiteInvertable: #FFFFFF; +$surfaceOverlayStatic: #36485C; +$primaryTextBase: #307553; +$primaryTextHover: #275E43; +$primaryTextActive: #244C38; +$primaryBackgroundBase: #307553; +$primaryBackgroundHover: #275E43; +$primaryBackgroundActive: #244C38; +$primaryBackgroundMuted: #EBF2EF; +$primaryBackgroundMutedHover: #D1E0D9; +$primaryBackgroundMutedActive: #B6CFC2; +$primaryBackgroundBox: #FAFFFC; +$primaryBorderBase: #307553; +$primaryBorderHover: #275E43; +$primaryBorderActive: #244C38; +$infoTextBase: #3971A8; +$infoTextHover: #21588F; +$infoTextActive: #194673; +$infoBackgroundBase: #3971A8; +$infoBackgroundHover: #21588F; +$infoBackgroundActive: #194673; +$infoBackgroundMuted: #E6F1FC; +$infoBackgroundMutedHover: #C0D8F0; +$infoBackgroundMutedActive: #88B1D9; +$infoBackgroundBox: #F5FAFF; +$infoBorderBase: #3971A8; +$infoBorderHover: #21588F; +$infoBorderActive: #194673; +$warningTextBase: #B4631D; +$warningTextHover: #8E4D14; +$warningTextActive: #784213; +$warningBackgroundBase: #B4631D; +$warningBackgroundHover: #8E4D14; +$warningBackgroundActive: #784213; +$warningBackgroundMuted: #FFF3E8; +$warningBackgroundMutedHover: #F3D8C0; +$warningBackgroundMutedActive: #E7B88F; +$warningBackgroundBox: #FFFAF5; +$warningBorderBase: #B4631D; +$warningBorderHover: #8E4D14; +$warningBorderActive: #784213; +$dangerTextBase: #AF2645; +$dangerTextHover: #980B29; +$dangerTextActive: #800D25; +$dangerBackgroundBase: #AF2645; +$dangerBackgroundHover: #980B29; +$dangerBackgroundActive: #800D25; +$dangerBackgroundMuted: #FEEEF2; +$dangerBackgroundMutedHover: #F0C4CD; +$dangerBackgroundMutedActive: #E296A6; +$dangerBackgroundBox: #FFF7F9; +$dangerBorderBase: #AF2645; +$dangerBorderHover: #980B29; +$dangerBorderActive: #800D25; +$highlightTextBase: #533E7D; +$highlightTextHover: #3B2566; +$highlightTextActive: #2A174F; +$highlightBackgroundBase: #533E7D; +$highlightBackgroundHover: #3B2566; +$highlightBackgroundActive: #2A174F; +$highlightBackgroundMuted: #F2ECFE; +$highlightBackgroundMutedHover: #D7CEE9; +$highlightBackgroundMutedActive: #B9ABD5; +$highlightBackgroundBox: #FCFAFF; +$highlightBorderBase: #533E7D; +$highlightBorderHover: #3B2566; +$highlightBorderActive: #2A174F; +$disabledText: #596D84; +$disabledBackground: #F5F7FA; +$disabledNakedContent: #F5F7FA; +$disabledNakedBackground: transparent; +$disabledBorder: #C8D3E0; +$disabledInputBackground: #E6EDF5; +$disabledInputLabelText: #596D84; +$inputBackgroundBase: #F5F7FA; +$inputBackgroundHover: #E6EDF5; +$inputBackgroundInformation: #FFFFFF; +$inputTextBase: #475A70; +$inputTextInformation: #475A70; +$inputTextInformationError: #AF2645; +$inputTextLabel: #475A70; +$inputTextFloatingLabel: #3971A8; +$inputTextFloatingLabelError: #AF2645; +$inputTextPlaceholder: #596D84; +$inputTextActive: #2E3A47; +$inputBorderBase: #E6EDF5; +$inputBorderError: #AF2645; +$inputBorderHover: #C8D3E0; +$inputBorderEmphasized: #596D84; +$inputBorderEmphasizedHover: #475A70; +$inputBorderActive: #3971A8; +$separatorBase: #E6EDF5; +$lightBackgroundBase: #FFFFFF; +$lightBackgroundContrast: #475A70; +$lightBackgroundHover: #F5F7FA; +$lightBackgroundActive: #E6EDF5; +$lightTextBase: #2E3A47; +$lightLinkMutedBase: #F5F7FA; +$lightLinkMutedHover: #FFFFFF; \ No newline at end of file diff --git a/dist/tokens/scss/typography.scss b/dist/tokens/scss/typography.scss new file mode 100644 index 00000000..8bbcfaf0 --- /dev/null +++ b/dist/tokens/scss/typography.scss @@ -0,0 +1,116 @@ + +// Do not edit directly +// Generated on Tue, 22 Nov 2022 21:33:53 GMT + +$letterSpacingBase: 0; +$paragraphSpacingBase: 0; +$textDecorationBase: none; +$textCaseBase: none; +$size3xlarge: 40px; +$size2xlarge: 32px; +$sizeXlarge: 24px; +$sizeLarge: 20px; +$sizeNormal: 16px; +$sizeSmall: 14px; +$sizeXsmall: 12px; +$sizeMobile3xlarge: 32px; +$sizeMobile2xlarge: 28px; +$sizeMobileXlarge: 22px; +$lineHeightXlarge: 40px; +$lineHeightLarge: 32px; +$lineHeightNormal: 24px; +$lineHeightSmall: 16px; +$fontFamilySansSerif: Mulish; +$weightSemiBold: 700; +$weightBase: 500; +$weightLight: 400; +$weightStrong: 600; +$weightBold: 900; +$h1FontFamily: Mulish; +$h1FontWeight: 700; +$h1LineHeight: 40px; +$h1FontSize: 40px; +$h1LetterSpacing: 0; +$h1ParagraphSpacing: 0; +$h1TextDecoration: none; +$h1TextCase: none; +$h2FontFamily: Mulish; +$h2FontWeight: 700; +$h2LineHeight: 40px; +$h2FontSize: 32px; +$h2LetterSpacing: 0; +$h2ParagraphSpacing: 0; +$h2TextDecoration: none; +$h2TextCase: none; +$h3FontFamily: Mulish; +$h3FontWeight: 700; +$h3LineHeight: 32px; +$h3FontSize: 24px; +$h3LetterSpacing: 0; +$h3ParagraphSpacing: 0; +$h3TextDecoration: none; +$h3TextCase: none; +$h4FontFamily: Mulish; +$h4FontWeight: 700; +$h4LineHeight: 24px; +$h4FontSize: 20px; +$h4LetterSpacing: 0; +$h4ParagraphSpacing: 0; +$h4TextDecoration: none; +$h4TextCase: none; +$h5FontFamily: Mulish; +$h5FontWeight: 700; +$h5LineHeight: 24px; +$h5FontSize: 16px; +$h5LetterSpacing: 0; +$h5ParagraphSpacing: 0; +$h5TextDecoration: none; +$h5TextCase: none; +$bodyFontFamily: Mulish; +$bodyFontWeight: 500; +$bodyLineHeight: 24px; +$bodyFontSize: 16px; +$bodyLetterSpacing: 0; +$bodyParagraphSpacing: 0; +$bodyTextDecoration: none; +$bodyTextCase: none; +$footnoteFontFamily: Mulish; +$footnoteFontWeight: 500; +$footnoteLineHeight: 16px; +$footnoteFontSize: 14px; +$footnoteLetterSpacing: 0; +$footnoteParagraphSpacing: 0; +$footnoteTextDecoration: none; +$footnoteTextCase: none; +$captionFontFamily: Mulish; +$captionFontWeight: 500; +$captionLineHeight: 16px; +$captionFontSize: 12px; +$captionLetterSpacing: 0; +$captionParagraphSpacing: 0; +$captionTextDecoration: none; +$captionTextCase: none; +$mobileH1FontFamily: Mulish; +$mobileH1FontWeight: 700; +$mobileH1LineHeight: 40px; +$mobileH1FontSize: 32px; +$mobileH1LetterSpacing: 0; +$mobileH1ParagraphSpacing: 0; +$mobileH1TextDecoration: none; +$mobileH1TextCase: none; +$mobileH2FontFamily: Mulish; +$mobileH2FontWeight: 700; +$mobileH2LineHeight: 32px; +$mobileH2FontSize: 28px; +$mobileH2LetterSpacing: 0; +$mobileH2ParagraphSpacing: 0; +$mobileH2TextDecoration: none; +$mobileH2TextCase: none; +$mobileH3FontFamily: Mulish; +$mobileH3FontWeight: 700; +$mobileH3LineHeight: 32px; +$mobileH3FontSize: 22px; +$mobileH3LetterSpacing: 0; +$mobileH3ParagraphSpacing: 0; +$mobileH3TextDecoration: none; +$mobileH3TextCase: none; \ No newline at end of file diff --git a/dist/tokens/ts/colors.d.ts b/dist/tokens/ts/colors.d.ts new file mode 100644 index 00000000..49bc94e1 --- /dev/null +++ b/dist/tokens/ts/colors.d.ts @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/ts/colors.js b/dist/tokens/ts/colors.js new file mode 100644 index 00000000..9dc7a150 --- /dev/null +++ b/dist/tokens/ts/colors.js @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, +blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, +red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, +purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, +orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, +grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, +shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.d.ts b/dist/tokens/ts/themes/light.d.ts new file mode 100644 index 00000000..6b340a98 --- /dev/null +++ b/dist/tokens/ts/themes/light.d.ts @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; +export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; +export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; +export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const disabled : {text : string,background : string,nakedContent : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; +export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; +export const separator : {base : string}; +export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.js b/dist/tokens/ts/themes/light.js new file mode 100644 index 00000000..dec7779b --- /dev/null +++ b/dist/tokens/ts/themes/light.js @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, +system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, +surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, +primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, +info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, +warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, +danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, +highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, +disabled : {text : "#596D84",background : "#F5F7FA",nakedContent : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, +input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, +separator : {base : "#E6EDF5"}, +light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/ts/typography.d.ts b/dist/tokens/ts/typography.d.ts new file mode 100644 index 00000000..16c1a075 --- /dev/null +++ b/dist/tokens/ts/typography.d.ts @@ -0,0 +1,117 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +export const letterSpacingBase : number; +export const paragraphSpacingBase : number; +export const textDecorationBase : string; +export const textCaseBase : string; +export const size3xlarge : string; +export const size2xlarge : string; +export const sizeXlarge : string; +export const sizeLarge : string; +export const sizeNormal : string; +export const sizeSmall : string; +export const sizeXsmall : string; +export const sizeMobile3xlarge : string; +export const sizeMobile2xlarge : string; +export const sizeMobileXlarge : string; +export const lineHeightXlarge : string; +export const lineHeightLarge : string; +export const lineHeightNormal : string; +export const lineHeightSmall : string; +export const fontFamilySansSerif : string; +export const weightSemiBold : number; +export const weightBase : number; +export const weightLight : number; +export const weightStrong : number; +export const weightBold : number; +export const h1FontFamily : string; +export const h1FontWeight : number; +export const h1LineHeight : string; +export const h1FontSize : string; +export const h1LetterSpacing : number; +export const h1ParagraphSpacing : number; +export const h1TextDecoration : string; +export const h1TextCase : string; +export const h2FontFamily : string; +export const h2FontWeight : number; +export const h2LineHeight : string; +export const h2FontSize : string; +export const h2LetterSpacing : number; +export const h2ParagraphSpacing : number; +export const h2TextDecoration : string; +export const h2TextCase : string; +export const h3FontFamily : string; +export const h3FontWeight : number; +export const h3LineHeight : string; +export const h3FontSize : string; +export const h3LetterSpacing : number; +export const h3ParagraphSpacing : number; +export const h3TextDecoration : string; +export const h3TextCase : string; +export const h4FontFamily : string; +export const h4FontWeight : number; +export const h4LineHeight : string; +export const h4FontSize : string; +export const h4LetterSpacing : number; +export const h4ParagraphSpacing : number; +export const h4TextDecoration : string; +export const h4TextCase : string; +export const h5FontFamily : string; +export const h5FontWeight : number; +export const h5LineHeight : string; +export const h5FontSize : string; +export const h5LetterSpacing : number; +export const h5ParagraphSpacing : number; +export const h5TextDecoration : string; +export const h5TextCase : string; +export const bodyFontFamily : string; +export const bodyFontWeight : number; +export const bodyLineHeight : string; +export const bodyFontSize : string; +export const bodyLetterSpacing : number; +export const bodyParagraphSpacing : number; +export const bodyTextDecoration : string; +export const bodyTextCase : string; +export const footnoteFontFamily : string; +export const footnoteFontWeight : number; +export const footnoteLineHeight : string; +export const footnoteFontSize : string; +export const footnoteLetterSpacing : number; +export const footnoteParagraphSpacing : number; +export const footnoteTextDecoration : string; +export const footnoteTextCase : string; +export const captionFontFamily : string; +export const captionFontWeight : number; +export const captionLineHeight : string; +export const captionFontSize : string; +export const captionLetterSpacing : number; +export const captionParagraphSpacing : number; +export const captionTextDecoration : string; +export const captionTextCase : string; +export const mobileH1FontFamily : string; +export const mobileH1FontWeight : number; +export const mobileH1LineHeight : string; +export const mobileH1FontSize : string; +export const mobileH1LetterSpacing : number; +export const mobileH1ParagraphSpacing : number; +export const mobileH1TextDecoration : string; +export const mobileH1TextCase : string; +export const mobileH2FontFamily : string; +export const mobileH2FontWeight : number; +export const mobileH2LineHeight : string; +export const mobileH2FontSize : string; +export const mobileH2LetterSpacing : number; +export const mobileH2ParagraphSpacing : number; +export const mobileH2TextDecoration : string; +export const mobileH2TextCase : string; +export const mobileH3FontFamily : string; +export const mobileH3FontWeight : number; +export const mobileH3LineHeight : string; +export const mobileH3FontSize : string; +export const mobileH3LetterSpacing : number; +export const mobileH3ParagraphSpacing : number; +export const mobileH3TextDecoration : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/ts/typography.js b/dist/tokens/ts/typography.js new file mode 100644 index 00000000..83b52364 --- /dev/null +++ b/dist/tokens/ts/typography.js @@ -0,0 +1,119 @@ +/** + * Do not edit directly + * Generated on Tue, 22 Nov 2022 21:33:53 GMT + */ + +module.exports = { + "letterSpacingBase": 0, + "paragraphSpacingBase": 0, + "textDecorationBase": "none", + "textCaseBase": "none", + "size3xlarge": "40px", + "size2xlarge": "32px", + "sizeXlarge": "24px", + "sizeLarge": "20px", + "sizeNormal": "16px", + "sizeSmall": "14px", + "sizeXsmall": "12px", + "sizeMobile3xlarge": "32px", + "sizeMobile2xlarge": "28px", + "sizeMobileXlarge": "22px", + "lineHeightXlarge": "40px", + "lineHeightLarge": "32px", + "lineHeightNormal": "24px", + "lineHeightSmall": "16px", + "fontFamilySansSerif": "Mulish", + "weightSemiBold": 700, + "weightBase": 500, + "weightLight": 400, + "weightStrong": 600, + "weightBold": 900, + "h1FontFamily": "Mulish", + "h1FontWeight": 700, + "h1LineHeight": "40px", + "h1FontSize": "40px", + "h1LetterSpacing": 0, + "h1ParagraphSpacing": 0, + "h1TextDecoration": "none", + "h1TextCase": "none", + "h2FontFamily": "Mulish", + "h2FontWeight": 700, + "h2LineHeight": "40px", + "h2FontSize": "32px", + "h2LetterSpacing": 0, + "h2ParagraphSpacing": 0, + "h2TextDecoration": "none", + "h2TextCase": "none", + "h3FontFamily": "Mulish", + "h3FontWeight": 700, + "h3LineHeight": "32px", + "h3FontSize": "24px", + "h3LetterSpacing": 0, + "h3ParagraphSpacing": 0, + "h3TextDecoration": "none", + "h3TextCase": "none", + "h4FontFamily": "Mulish", + "h4FontWeight": 700, + "h4LineHeight": "24px", + "h4FontSize": "20px", + "h4LetterSpacing": 0, + "h4ParagraphSpacing": 0, + "h4TextDecoration": "none", + "h4TextCase": "none", + "h5FontFamily": "Mulish", + "h5FontWeight": 700, + "h5LineHeight": "24px", + "h5FontSize": "16px", + "h5LetterSpacing": 0, + "h5ParagraphSpacing": 0, + "h5TextDecoration": "none", + "h5TextCase": "none", + "bodyFontFamily": "Mulish", + "bodyFontWeight": 500, + "bodyLineHeight": "24px", + "bodyFontSize": "16px", + "bodyLetterSpacing": 0, + "bodyParagraphSpacing": 0, + "bodyTextDecoration": "none", + "bodyTextCase": "none", + "footnoteFontFamily": "Mulish", + "footnoteFontWeight": 500, + "footnoteLineHeight": "16px", + "footnoteFontSize": "14px", + "footnoteLetterSpacing": 0, + "footnoteParagraphSpacing": 0, + "footnoteTextDecoration": "none", + "footnoteTextCase": "none", + "captionFontFamily": "Mulish", + "captionFontWeight": 500, + "captionLineHeight": "16px", + "captionFontSize": "12px", + "captionLetterSpacing": 0, + "captionParagraphSpacing": 0, + "captionTextDecoration": "none", + "captionTextCase": "none", + "mobileH1FontFamily": "Mulish", + "mobileH1FontWeight": 700, + "mobileH1LineHeight": "40px", + "mobileH1FontSize": "32px", + "mobileH1LetterSpacing": 0, + "mobileH1ParagraphSpacing": 0, + "mobileH1TextDecoration": "none", + "mobileH1TextCase": "none", + "mobileH2FontFamily": "Mulish", + "mobileH2FontWeight": 700, + "mobileH2LineHeight": "32px", + "mobileH2FontSize": "28px", + "mobileH2LetterSpacing": 0, + "mobileH2ParagraphSpacing": 0, + "mobileH2TextDecoration": "none", + "mobileH2TextCase": "none", + "mobileH3FontFamily": "Mulish", + "mobileH3FontWeight": 700, + "mobileH3LineHeight": "32px", + "mobileH3FontSize": "22px", + "mobileH3LetterSpacing": 0, + "mobileH3ParagraphSpacing": 0, + "mobileH3TextDecoration": "none", + "mobileH3TextCase": "none" +}; \ No newline at end of file From 369d2fb313726f456925cfa67de410520af3f1d6 Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Tue, 22 Nov 2022 21:34:19 +0000 Subject: [PATCH 12/15] Files compiled! --- dist/helpers/colorProfileMapper.d.ts | 94 ++++++++++++++++++++++++ dist/helpers/colorProfileMapper.d.ts.map | 1 + dist/helpers/colorProfileMapper.js | 20 +++++ dist/helpers/index.d.ts | 2 + dist/helpers/index.d.ts.map | 1 + dist/helpers/index.js | 24 ++++++ dist/index.d.ts | 4 + dist/index.d.ts.map | 1 + dist/index.js | 69 +++++++++++++++++ dist/types/index.d.ts | 3 + dist/types/index.d.ts.map | 1 + dist/types/index.js | 37 ++++++++++ dist/types/interfaces.d.ts | 28 +++++++ dist/types/interfaces.d.ts.map | 1 + dist/types/interfaces.js | 42 +++++++++++ dist/types/profiles.d.ts | 6 ++ dist/types/profiles.d.ts.map | 1 + dist/types/profiles.js | 5 ++ dist/types/themes.d.ts | 5 ++ dist/types/themes.d.ts.map | 1 + dist/types/themes.js | 34 +++++++++ 21 files changed, 380 insertions(+) create mode 100644 dist/helpers/colorProfileMapper.d.ts create mode 100644 dist/helpers/colorProfileMapper.d.ts.map create mode 100644 dist/helpers/colorProfileMapper.js create mode 100644 dist/helpers/index.d.ts create mode 100644 dist/helpers/index.d.ts.map create mode 100644 dist/helpers/index.js create mode 100644 dist/index.d.ts create mode 100644 dist/index.d.ts.map create mode 100644 dist/index.js create mode 100644 dist/types/index.d.ts create mode 100644 dist/types/index.d.ts.map create mode 100644 dist/types/index.js create mode 100644 dist/types/interfaces.d.ts create mode 100644 dist/types/interfaces.d.ts.map create mode 100644 dist/types/interfaces.js create mode 100644 dist/types/profiles.d.ts create mode 100644 dist/types/profiles.d.ts.map create mode 100644 dist/types/profiles.js create mode 100644 dist/types/themes.d.ts create mode 100644 dist/types/themes.d.ts.map create mode 100644 dist/types/themes.js diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts new file mode 100644 index 00000000..f1f8e962 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts @@ -0,0 +1,94 @@ +import type { AviaryTheme } from "../types/themes"; +export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { + primary: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + info: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + warning: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + danger: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + highlight: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + system: { + textLabelEmphasis: string; + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + borderFocused: string; + }; +}; +//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map new file mode 100644 index 00000000..82925827 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js new file mode 100644 index 00000000..77f12372 --- /dev/null +++ b/dist/helpers/colorProfileMapper.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.colorProfileMapper = void 0; + +// Used for mapping over selected `isColor` properties +var colorProfileMapper = function colorProfileMapper(currentTheme) { + return { + primary: currentTheme.primary, + info: currentTheme.info, + warning: currentTheme.warning, + danger: currentTheme.danger, + highlight: currentTheme.highlight, + system: currentTheme.system + }; +}; + +exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts new file mode 100644 index 00000000..7a4a22d6 --- /dev/null +++ b/dist/helpers/index.d.ts @@ -0,0 +1,2 @@ +export * from "./colorProfileMapper"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map new file mode 100644 index 00000000..94ae4bb1 --- /dev/null +++ b/dist/helpers/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js new file mode 100644 index 00000000..155de21a --- /dev/null +++ b/dist/helpers/index.js @@ -0,0 +1,24 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _colorProfileMapper = require("./colorProfileMapper"); + +Object.keys(_colorProfileMapper).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _colorProfileMapper[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _colorProfileMapper[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 00000000..4e6d91d8 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,4 @@ +export * from "./helpers"; +export * from "./types"; +export * as typography from "../dist/tokens/ts/typography"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map new file mode 100644 index 00000000..90c36e9d --- /dev/null +++ b/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 00000000..2b85585c --- /dev/null +++ b/dist/index.js @@ -0,0 +1,69 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + typography: true +}; +exports.typography = void 0; + +var _helpers = require("./helpers"); + +Object.keys(_helpers).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _helpers[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _helpers[key]; + } + }); +}); + +var _types = require("./types"); + +Object.keys(_types).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _types[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _types[key]; + } + }); +}); + +var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); + +exports.typography = _typography; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts new file mode 100644 index 00000000..bf33064e --- /dev/null +++ b/dist/types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./interfaces"; +export * from "./profiles"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map new file mode 100644 index 00000000..1ca1b828 --- /dev/null +++ b/dist/types/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js new file mode 100644 index 00000000..9ce320c1 --- /dev/null +++ b/dist/types/index.js @@ -0,0 +1,37 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _interfaces = require("./interfaces"); + +Object.keys(_interfaces).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _interfaces[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _interfaces[key]; + } + }); +}); + +var _profiles = require("./profiles"); + +Object.keys(_profiles).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _profiles[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _profiles[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts new file mode 100644 index 00000000..0cea5539 --- /dev/null +++ b/dist/types/interfaces.d.ts @@ -0,0 +1,28 @@ +declare const AVIARY_COLORS: { + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; +}; +declare const EXTENDED_AVIARY_COLORS: { + light: string; + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; +}; +declare type AviaryColors = keyof typeof AVIARY_COLORS; +declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; +interface AviaryColorProps { + isColor?: AviaryColors; +} +interface AviaryExtendedColorProps { + isColor?: ExtendedAviaryColors; +} +export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; +export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; +//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map new file mode 100644 index 00000000..87d81861 --- /dev/null +++ b/dist/types/interfaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js new file mode 100644 index 00000000..42449ef5 --- /dev/null +++ b/dist/types/interfaces.js @@ -0,0 +1,42 @@ +"use strict"; + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.array.filter.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.get-own-property-descriptors.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var AVIARY_COLORS = { + primary: "primary", + info: "info", + warning: "warning", + danger: "danger", + highlight: "highlight", + system: "system" +}; +exports.AVIARY_COLORS = AVIARY_COLORS; + +var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { + light: "light" +}); + +exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts new file mode 100644 index 00000000..fdaa73de --- /dev/null +++ b/dist/types/profiles.d.ts @@ -0,0 +1,6 @@ +import type * as light from "../../dist/tokens/ts/themes/light.d"; +declare type StandardColorsProfileTheme = typeof light.primary; +declare type SystemColorProfileTheme = typeof light.system; +declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; +export type { ColorProfileTheme }; +//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map new file mode 100644 index 00000000..c292ac7a --- /dev/null +++ b/dist/types/profiles.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js new file mode 100644 index 00000000..430afc16 --- /dev/null +++ b/dist/types/profiles.js @@ -0,0 +1,5 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts new file mode 100644 index 00000000..e3961e9a --- /dev/null +++ b/dist/types/themes.d.ts @@ -0,0 +1,5 @@ +import * as light from "../../dist/tokens/ts/themes/light"; +declare type AviaryTheme = typeof light; +export { light }; +export type { AviaryTheme }; +//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map new file mode 100644 index 00000000..6d18b917 --- /dev/null +++ b/dist/types/themes.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAE3D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js new file mode 100644 index 00000000..18061b50 --- /dev/null +++ b/dist/types/themes.js @@ -0,0 +1,34 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.light = void 0; + +var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); + +exports.light = light; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file From cf49bfcfbffe7fd1b76a26c953ac0199e8ff98a1 Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Wed, 23 Nov 2022 19:54:54 +0000 Subject: [PATCH 13/15] Transformed tokens --- dist/helpers/colorProfileMapper.d.ts | 94 ----------------- dist/helpers/colorProfileMapper.d.ts.map | 1 - dist/helpers/colorProfileMapper.js | 20 ---- dist/helpers/index.d.ts | 2 - dist/helpers/index.d.ts.map | 1 - dist/helpers/index.js | 24 ----- dist/index.d.ts | 4 - dist/index.d.ts.map | 1 - dist/index.js | 69 ------------ dist/tokens/native/colors.d.ts | 12 --- dist/tokens/native/colors.js | 12 --- dist/tokens/native/themes/light.d.ts | 17 --- dist/tokens/native/themes/light.js | 17 --- dist/tokens/native/typography.d.ts | 117 --------------------- dist/tokens/native/typography.js | 119 --------------------- dist/tokens/scss/colors.scss | 55 ---------- dist/tokens/scss/themes/light.scss | 127 ----------------------- dist/tokens/scss/typography.scss | 116 --------------------- dist/tokens/ts/colors.d.ts | 12 --- dist/tokens/ts/colors.js | 12 --- dist/tokens/ts/themes/light.d.ts | 17 --- dist/tokens/ts/themes/light.js | 17 --- dist/tokens/ts/typography.d.ts | 117 --------------------- dist/tokens/ts/typography.js | 119 --------------------- dist/types/index.d.ts | 3 - dist/types/index.d.ts.map | 1 - dist/types/index.js | 37 ------- dist/types/interfaces.d.ts | 28 ----- dist/types/interfaces.d.ts.map | 1 - dist/types/interfaces.js | 42 -------- dist/types/profiles.d.ts | 6 -- dist/types/profiles.d.ts.map | 1 - dist/types/profiles.js | 5 - dist/types/themes.d.ts | 5 - dist/types/themes.d.ts.map | 1 - dist/types/themes.js | 34 ------ src/transformed/transformed-light.json | 6 +- 37 files changed, 1 insertion(+), 1271 deletions(-) delete mode 100644 dist/helpers/colorProfileMapper.d.ts delete mode 100644 dist/helpers/colorProfileMapper.d.ts.map delete mode 100644 dist/helpers/colorProfileMapper.js delete mode 100644 dist/helpers/index.d.ts delete mode 100644 dist/helpers/index.d.ts.map delete mode 100644 dist/helpers/index.js delete mode 100644 dist/index.d.ts delete mode 100644 dist/index.d.ts.map delete mode 100644 dist/index.js delete mode 100644 dist/tokens/native/colors.d.ts delete mode 100644 dist/tokens/native/colors.js delete mode 100644 dist/tokens/native/themes/light.d.ts delete mode 100644 dist/tokens/native/themes/light.js delete mode 100644 dist/tokens/native/typography.d.ts delete mode 100644 dist/tokens/native/typography.js delete mode 100644 dist/tokens/scss/colors.scss delete mode 100644 dist/tokens/scss/themes/light.scss delete mode 100644 dist/tokens/scss/typography.scss delete mode 100644 dist/tokens/ts/colors.d.ts delete mode 100644 dist/tokens/ts/colors.js delete mode 100644 dist/tokens/ts/themes/light.d.ts delete mode 100644 dist/tokens/ts/themes/light.js delete mode 100644 dist/tokens/ts/typography.d.ts delete mode 100644 dist/tokens/ts/typography.js delete mode 100644 dist/types/index.d.ts delete mode 100644 dist/types/index.d.ts.map delete mode 100644 dist/types/index.js delete mode 100644 dist/types/interfaces.d.ts delete mode 100644 dist/types/interfaces.d.ts.map delete mode 100644 dist/types/interfaces.js delete mode 100644 dist/types/profiles.d.ts delete mode 100644 dist/types/profiles.d.ts.map delete mode 100644 dist/types/profiles.js delete mode 100644 dist/types/themes.d.ts delete mode 100644 dist/types/themes.d.ts.map delete mode 100644 dist/types/themes.js diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts deleted file mode 100644 index f1f8e962..00000000 --- a/dist/helpers/colorProfileMapper.d.ts +++ /dev/null @@ -1,94 +0,0 @@ -import type { AviaryTheme } from "../types/themes"; -export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { - primary: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - info: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - warning: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - danger: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - highlight: { - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundHover: string; - backgroundActive: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - }; - system: { - textLabelEmphasis: string; - textBase: string; - textHover: string; - textActive: string; - backgroundBase: string; - backgroundMuted: string; - backgroundMutedHover: string; - backgroundMutedActive: string; - backgroundBox: string; - borderBase: string; - borderHover: string; - borderActive: string; - borderFocused: string; - }; -}; -//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map deleted file mode 100644 index 82925827..00000000 --- a/dist/helpers/colorProfileMapper.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js deleted file mode 100644 index 77f12372..00000000 --- a/dist/helpers/colorProfileMapper.js +++ /dev/null @@ -1,20 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.colorProfileMapper = void 0; - -// Used for mapping over selected `isColor` properties -var colorProfileMapper = function colorProfileMapper(currentTheme) { - return { - primary: currentTheme.primary, - info: currentTheme.info, - warning: currentTheme.warning, - danger: currentTheme.danger, - highlight: currentTheme.highlight, - system: currentTheme.system - }; -}; - -exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts deleted file mode 100644 index 7a4a22d6..00000000 --- a/dist/helpers/index.d.ts +++ /dev/null @@ -1,2 +0,0 @@ -export * from "./colorProfileMapper"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map deleted file mode 100644 index 94ae4bb1..00000000 --- a/dist/helpers/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js deleted file mode 100644 index 155de21a..00000000 --- a/dist/helpers/index.js +++ /dev/null @@ -1,24 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _colorProfileMapper = require("./colorProfileMapper"); - -Object.keys(_colorProfileMapper).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _colorProfileMapper[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _colorProfileMapper[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts deleted file mode 100644 index 4e6d91d8..00000000 --- a/dist/index.d.ts +++ /dev/null @@ -1,4 +0,0 @@ -export * from "./helpers"; -export * from "./types"; -export * as typography from "../dist/tokens/ts/typography"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map deleted file mode 100644 index 90c36e9d..00000000 --- a/dist/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js deleted file mode 100644 index 2b85585c..00000000 --- a/dist/index.js +++ /dev/null @@ -1,69 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -require("core-js/modules/es.array.iterator.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.string.iterator.js"); - -require("core-js/modules/es.weak-map.js"); - -require("core-js/modules/web.dom-collections.iterator.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.symbol.description.js"); - -require("core-js/modules/es.symbol.iterator.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -var _exportNames = { - typography: true -}; -exports.typography = void 0; - -var _helpers = require("./helpers"); - -Object.keys(_helpers).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; - if (key in exports && exports[key] === _helpers[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _helpers[key]; - } - }); -}); - -var _types = require("./types"); - -Object.keys(_types).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; - if (key in exports && exports[key] === _types[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _types[key]; - } - }); -}); - -var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); - -exports.typography = _typography; - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/tokens/native/colors.d.ts b/dist/tokens/native/colors.d.ts deleted file mode 100644 index c980ab6e..00000000 --- a/dist/tokens/native/colors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const shades : {white : string,black : string,transparent : string}; diff --git a/dist/tokens/native/colors.js b/dist/tokens/native/colors.js deleted file mode 100644 index 92f29c81..00000000 --- a/dist/tokens/native/colors.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, -blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, -red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, -purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, -orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, -grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, -shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; diff --git a/dist/tokens/native/themes/light.d.ts b/dist/tokens/native/themes/light.d.ts deleted file mode 100644 index c635d770..00000000 --- a/dist/tokens/native/themes/light.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; -export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; -export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; -export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const disabled : {text : string,background : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; -export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; -export const separator : {base : string}; -export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; diff --git a/dist/tokens/native/themes/light.js b/dist/tokens/native/themes/light.js deleted file mode 100644 index 59c22fa4..00000000 --- a/dist/tokens/native/themes/light.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, -system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, -surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, -primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, -info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, -warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, -danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, -highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, -disabled : {text : "#596D84",background : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, -input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, -separator : {base : "#E6EDF5"}, -light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; diff --git a/dist/tokens/native/typography.d.ts b/dist/tokens/native/typography.d.ts deleted file mode 100644 index f6b25b06..00000000 --- a/dist/tokens/native/typography.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -export const letterSpacingBase : number; -export const paragraphSpacingBase : number; -export const textDecorationBase : string; -export const textCaseBase : string; -export const size3xlarge : number; -export const size2xlarge : number; -export const sizeXlarge : number; -export const sizeLarge : number; -export const sizeNormal : number; -export const sizeSmall : number; -export const sizeXsmall : number; -export const sizeMobile3xlarge : number; -export const sizeMobile2xlarge : number; -export const sizeMobileXlarge : number; -export const lineHeightXlarge : number; -export const lineHeightLarge : number; -export const lineHeightNormal : number; -export const lineHeightSmall : number; -export const fontFamilySansSerif : string; -export const weightSemiBold : string; -export const weightBase : string; -export const weightLight : string; -export const weightStrong : string; -export const weightBold : string; -export const h1FontFamily : string; -export const h1FontWeight : string; -export const h1LineHeight : number; -export const h1FontSize : number; -export const h1LetterSpacing : number; -export const h1ParagraphSpacing : number; -export const h1TextDecoration : string; -export const h1TextCase : string; -export const h2FontFamily : string; -export const h2FontWeight : string; -export const h2LineHeight : number; -export const h2FontSize : number; -export const h2LetterSpacing : number; -export const h2ParagraphSpacing : number; -export const h2TextDecoration : string; -export const h2TextCase : string; -export const h3FontFamily : string; -export const h3FontWeight : string; -export const h3LineHeight : number; -export const h3FontSize : number; -export const h3LetterSpacing : number; -export const h3ParagraphSpacing : number; -export const h3TextDecoration : string; -export const h3TextCase : string; -export const h4FontFamily : string; -export const h4FontWeight : string; -export const h4LineHeight : number; -export const h4FontSize : number; -export const h4LetterSpacing : number; -export const h4ParagraphSpacing : number; -export const h4TextDecoration : string; -export const h4TextCase : string; -export const h5FontFamily : string; -export const h5FontWeight : string; -export const h5LineHeight : number; -export const h5FontSize : number; -export const h5LetterSpacing : number; -export const h5ParagraphSpacing : number; -export const h5TextDecoration : string; -export const h5TextCase : string; -export const bodyFontFamily : string; -export const bodyFontWeight : string; -export const bodyLineHeight : number; -export const bodyFontSize : number; -export const bodyLetterSpacing : number; -export const bodyParagraphSpacing : number; -export const bodyTextDecoration : string; -export const bodyTextCase : string; -export const footnoteFontFamily : string; -export const footnoteFontWeight : string; -export const footnoteLineHeight : number; -export const footnoteFontSize : number; -export const footnoteLetterSpacing : number; -export const footnoteParagraphSpacing : number; -export const footnoteTextDecoration : string; -export const footnoteTextCase : string; -export const captionFontFamily : string; -export const captionFontWeight : string; -export const captionLineHeight : number; -export const captionFontSize : number; -export const captionLetterSpacing : number; -export const captionParagraphSpacing : number; -export const captionTextDecoration : string; -export const captionTextCase : string; -export const mobileH1FontFamily : string; -export const mobileH1FontWeight : string; -export const mobileH1LineHeight : number; -export const mobileH1FontSize : number; -export const mobileH1LetterSpacing : number; -export const mobileH1ParagraphSpacing : number; -export const mobileH1TextDecoration : string; -export const mobileH1TextCase : string; -export const mobileH2FontFamily : string; -export const mobileH2FontWeight : string; -export const mobileH2LineHeight : number; -export const mobileH2FontSize : number; -export const mobileH2LetterSpacing : number; -export const mobileH2ParagraphSpacing : number; -export const mobileH2TextDecoration : string; -export const mobileH2TextCase : string; -export const mobileH3FontFamily : string; -export const mobileH3FontWeight : string; -export const mobileH3LineHeight : number; -export const mobileH3FontSize : number; -export const mobileH3LetterSpacing : number; -export const mobileH3ParagraphSpacing : number; -export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; diff --git a/dist/tokens/native/typography.js b/dist/tokens/native/typography.js deleted file mode 100644 index d846e38c..00000000 --- a/dist/tokens/native/typography.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -module.exports = { - "letterSpacingBase": 0, - "paragraphSpacingBase": 0, - "textDecorationBase": "none", - "textCaseBase": "none", - "size3xlarge": 40, - "size2xlarge": 32, - "sizeXlarge": 24, - "sizeLarge": 20, - "sizeNormal": 16, - "sizeSmall": 14, - "sizeXsmall": 12, - "sizeMobile3xlarge": 32, - "sizeMobile2xlarge": 28, - "sizeMobileXlarge": 22, - "lineHeightXlarge": 40, - "lineHeightLarge": 32, - "lineHeightNormal": 24, - "lineHeightSmall": 16, - "fontFamilySansSerif": "Mulish", - "weightSemiBold": "700", - "weightBase": "500", - "weightLight": "400", - "weightStrong": "600", - "weightBold": "900", - "h1FontFamily": "Mulish", - "h1FontWeight": "700", - "h1LineHeight": 40, - "h1FontSize": 40, - "h1LetterSpacing": 0, - "h1ParagraphSpacing": 0, - "h1TextDecoration": "none", - "h1TextCase": "none", - "h2FontFamily": "Mulish", - "h2FontWeight": "700", - "h2LineHeight": 40, - "h2FontSize": 32, - "h2LetterSpacing": 0, - "h2ParagraphSpacing": 0, - "h2TextDecoration": "none", - "h2TextCase": "none", - "h3FontFamily": "Mulish", - "h3FontWeight": "700", - "h3LineHeight": 32, - "h3FontSize": 24, - "h3LetterSpacing": 0, - "h3ParagraphSpacing": 0, - "h3TextDecoration": "none", - "h3TextCase": "none", - "h4FontFamily": "Mulish", - "h4FontWeight": "700", - "h4LineHeight": 24, - "h4FontSize": 20, - "h4LetterSpacing": 0, - "h4ParagraphSpacing": 0, - "h4TextDecoration": "none", - "h4TextCase": "none", - "h5FontFamily": "Mulish", - "h5FontWeight": "700", - "h5LineHeight": 24, - "h5FontSize": 16, - "h5LetterSpacing": 0, - "h5ParagraphSpacing": 0, - "h5TextDecoration": "none", - "h5TextCase": "none", - "bodyFontFamily": "Mulish", - "bodyFontWeight": "500", - "bodyLineHeight": 24, - "bodyFontSize": 16, - "bodyLetterSpacing": 0, - "bodyParagraphSpacing": 0, - "bodyTextDecoration": "none", - "bodyTextCase": "none", - "footnoteFontFamily": "Mulish", - "footnoteFontWeight": "500", - "footnoteLineHeight": 16, - "footnoteFontSize": 14, - "footnoteLetterSpacing": 0, - "footnoteParagraphSpacing": 0, - "footnoteTextDecoration": "none", - "footnoteTextCase": "none", - "captionFontFamily": "Mulish", - "captionFontWeight": "500", - "captionLineHeight": 16, - "captionFontSize": 12, - "captionLetterSpacing": 0, - "captionParagraphSpacing": 0, - "captionTextDecoration": "none", - "captionTextCase": "none", - "mobileH1FontFamily": "Mulish", - "mobileH1FontWeight": "700", - "mobileH1LineHeight": 40, - "mobileH1FontSize": 32, - "mobileH1LetterSpacing": 0, - "mobileH1ParagraphSpacing": 0, - "mobileH1TextDecoration": "none", - "mobileH1TextCase": "none", - "mobileH2FontFamily": "Mulish", - "mobileH2FontWeight": "700", - "mobileH2LineHeight": 32, - "mobileH2FontSize": 28, - "mobileH2LetterSpacing": 0, - "mobileH2ParagraphSpacing": 0, - "mobileH2TextDecoration": "none", - "mobileH2TextCase": "none", - "mobileH3FontFamily": "Mulish", - "mobileH3FontWeight": "700", - "mobileH3LineHeight": 32, - "mobileH3FontSize": 22, - "mobileH3LetterSpacing": 0, - "mobileH3ParagraphSpacing": 0, - "mobileH3TextDecoration": "none", - "mobileH3TextCase": "none" -}; diff --git a/dist/tokens/scss/colors.scss b/dist/tokens/scss/colors.scss deleted file mode 100644 index 3d350a53..00000000 --- a/dist/tokens/scss/colors.scss +++ /dev/null @@ -1,55 +0,0 @@ - -// Do not edit directly -// Generated on Tue, 22 Nov 2022 21:33:53 GMT - -$green100: #FAFFFC; -$green200: #EBF2EF; -$green300: #D1E0D9; -$green400: #B6CFC2; -$green500: #86B09B; -$green600: #307553; -$green700: #275E43; -$green800: #244C38; -$blue100: #F5FAFF; -$blue200: #E6F1FC; -$blue300: #C0D8F0; -$blue400: #88B1D9; -$blue500: #5D96CF; -$blue600: #3971A8; -$blue700: #21588F; -$blue800: #194673; -$red100: #FFF7F9; -$red200: #FEEEF2; -$red300: #F0C4CD; -$red400: #E296A6; -$red500: #C6516A; -$red600: #AF2645; -$red700: #980B29; -$red800: #800D25; -$purple100: #FCFAFF; -$purple200: #F2ECFE; -$purple300: #D7CEE9; -$purple400: #B9ABD5; -$purple500: #8471AB; -$purple600: #533E7D; -$purple700: #3B2566; -$purple800: #2A174F; -$orange100: #FFFAF5; -$orange200: #FFF3E8; -$orange300: #F3D8C0; -$orange400: #E7B88F; -$orange500: #CF8545; -$orange600: #B4631D; -$orange700: #8E4D14; -$orange800: #784213; -$grey100: #FCFEFF; -$grey200: #F5F7FA; -$grey300: #E6EDF5; -$grey400: #C8D3E0; -$grey500: #596D84; -$grey600: #475A70; -$grey700: #36485C; -$grey800: #2E3A47; -$shadesWhite: #FFFFFF; -$shadesBlack: #000000; -$shadesTransparent: transparent; diff --git a/dist/tokens/scss/themes/light.scss b/dist/tokens/scss/themes/light.scss deleted file mode 100644 index c9c4daeb..00000000 --- a/dist/tokens/scss/themes/light.scss +++ /dev/null @@ -1,127 +0,0 @@ - -// Do not edit directly -// Generated on Tue, 22 Nov 2022 21:33:53 GMT - -$textEmphasis: #36485C; -$textBody: #475A70; -$textSubdued: #596D84; -$textOnBackground: #FFFFFF; -$systemTextLabelEmphasis: #2E3A47; -$systemTextBase: #475A70; -$systemTextHover: #36485C; -$systemTextActive: #2E3A47; -$systemBackgroundBase: #FFFFFF; -$systemBackgroundMuted: #F5F7FA; -$systemBackgroundMutedHover: #E6EDF5; -$systemBackgroundMutedActive: #C8D3E0; -$systemBackgroundBox: #FCFEFF; -$systemBorderBase: #C8D3E0; -$systemBorderHover: #596D84; -$systemBorderActive: #475A70; -$systemBorderFocused: #3971A8; -$surfaceLevel0: #F5F7FA; -$surfaceLevel1: #FFFFFF; -$surfaceLevel2: #F5F7FA; -$surfaceLevel3: #FFFFFF; -$surfaceInteractiveBackground: #FFFFFF; -$surfaceInteractiveHover: #F5F7FA; -$surfaceInteractiveActive: #E6EDF5; -$surfaceOverlayInvertable: #2E3A47; -$surfaceOverlayWhiteInvertable: #FFFFFF; -$surfaceOverlayStatic: #36485C; -$primaryTextBase: #307553; -$primaryTextHover: #275E43; -$primaryTextActive: #244C38; -$primaryBackgroundBase: #307553; -$primaryBackgroundHover: #275E43; -$primaryBackgroundActive: #244C38; -$primaryBackgroundMuted: #EBF2EF; -$primaryBackgroundMutedHover: #D1E0D9; -$primaryBackgroundMutedActive: #B6CFC2; -$primaryBackgroundBox: #FAFFFC; -$primaryBorderBase: #307553; -$primaryBorderHover: #275E43; -$primaryBorderActive: #244C38; -$infoTextBase: #3971A8; -$infoTextHover: #21588F; -$infoTextActive: #194673; -$infoBackgroundBase: #3971A8; -$infoBackgroundHover: #21588F; -$infoBackgroundActive: #194673; -$infoBackgroundMuted: #E6F1FC; -$infoBackgroundMutedHover: #C0D8F0; -$infoBackgroundMutedActive: #88B1D9; -$infoBackgroundBox: #F5FAFF; -$infoBorderBase: #3971A8; -$infoBorderHover: #21588F; -$infoBorderActive: #194673; -$warningTextBase: #B4631D; -$warningTextHover: #8E4D14; -$warningTextActive: #784213; -$warningBackgroundBase: #B4631D; -$warningBackgroundHover: #8E4D14; -$warningBackgroundActive: #784213; -$warningBackgroundMuted: #FFF3E8; -$warningBackgroundMutedHover: #F3D8C0; -$warningBackgroundMutedActive: #E7B88F; -$warningBackgroundBox: #FFFAF5; -$warningBorderBase: #B4631D; -$warningBorderHover: #8E4D14; -$warningBorderActive: #784213; -$dangerTextBase: #AF2645; -$dangerTextHover: #980B29; -$dangerTextActive: #800D25; -$dangerBackgroundBase: #AF2645; -$dangerBackgroundHover: #980B29; -$dangerBackgroundActive: #800D25; -$dangerBackgroundMuted: #FEEEF2; -$dangerBackgroundMutedHover: #F0C4CD; -$dangerBackgroundMutedActive: #E296A6; -$dangerBackgroundBox: #FFF7F9; -$dangerBorderBase: #AF2645; -$dangerBorderHover: #980B29; -$dangerBorderActive: #800D25; -$highlightTextBase: #533E7D; -$highlightTextHover: #3B2566; -$highlightTextActive: #2A174F; -$highlightBackgroundBase: #533E7D; -$highlightBackgroundHover: #3B2566; -$highlightBackgroundActive: #2A174F; -$highlightBackgroundMuted: #F2ECFE; -$highlightBackgroundMutedHover: #D7CEE9; -$highlightBackgroundMutedActive: #B9ABD5; -$highlightBackgroundBox: #FCFAFF; -$highlightBorderBase: #533E7D; -$highlightBorderHover: #3B2566; -$highlightBorderActive: #2A174F; -$disabledText: #596D84; -$disabledBackground: #F5F7FA; -$disabledNakedBackground: transparent; -$disabledBorder: #C8D3E0; -$disabledInputBackground: #E6EDF5; -$disabledInputLabelText: #596D84; -$inputBackgroundBase: #F5F7FA; -$inputBackgroundHover: #E6EDF5; -$inputBackgroundInformation: #FFFFFF; -$inputTextBase: #475A70; -$inputTextInformation: #475A70; -$inputTextInformationError: #AF2645; -$inputTextLabel: #475A70; -$inputTextFloatingLabel: #3971A8; -$inputTextFloatingLabelError: #AF2645; -$inputTextPlaceholder: #596D84; -$inputTextActive: #2E3A47; -$inputBorderBase: #E6EDF5; -$inputBorderError: #AF2645; -$inputBorderHover: #C8D3E0; -$inputBorderEmphasized: #596D84; -$inputBorderEmphasizedHover: #475A70; -$inputBorderActive: #3971A8; -$separatorBase: #E6EDF5; -$lightBackgroundBase: #FFFFFF; -$lightBackgroundContrast: #475A70; -$lightBackgroundHover: #F5F7FA; -$lightBackgroundActive: #E6EDF5; -$lightTextBase: #2E3A47; -$lightLinkMutedBase: #F5F7FA; -$lightLinkMutedHover: #FFFFFF; diff --git a/dist/tokens/scss/typography.scss b/dist/tokens/scss/typography.scss deleted file mode 100644 index 6049fc69..00000000 --- a/dist/tokens/scss/typography.scss +++ /dev/null @@ -1,116 +0,0 @@ - -// Do not edit directly -// Generated on Tue, 22 Nov 2022 21:33:53 GMT - -$letterSpacingBase: 0; -$paragraphSpacingBase: 0; -$textDecorationBase: none; -$textCaseBase: none; -$size3xlarge: 40px; -$size2xlarge: 32px; -$sizeXlarge: 24px; -$sizeLarge: 20px; -$sizeNormal: 16px; -$sizeSmall: 14px; -$sizeXsmall: 12px; -$sizeMobile3xlarge: 32px; -$sizeMobile2xlarge: 28px; -$sizeMobileXlarge: 22px; -$lineHeightXlarge: 40px; -$lineHeightLarge: 32px; -$lineHeightNormal: 24px; -$lineHeightSmall: 16px; -$fontFamilySansSerif: Mulish; -$weightSemiBold: 700; -$weightBase: 500; -$weightLight: 400; -$weightStrong: 600; -$weightBold: 900; -$h1FontFamily: Mulish; -$h1FontWeight: 700; -$h1LineHeight: 40px; -$h1FontSize: 40px; -$h1LetterSpacing: 0; -$h1ParagraphSpacing: 0; -$h1TextDecoration: none; -$h1TextCase: none; -$h2FontFamily: Mulish; -$h2FontWeight: 700; -$h2LineHeight: 40px; -$h2FontSize: 32px; -$h2LetterSpacing: 0; -$h2ParagraphSpacing: 0; -$h2TextDecoration: none; -$h2TextCase: none; -$h3FontFamily: Mulish; -$h3FontWeight: 700; -$h3LineHeight: 32px; -$h3FontSize: 24px; -$h3LetterSpacing: 0; -$h3ParagraphSpacing: 0; -$h3TextDecoration: none; -$h3TextCase: none; -$h4FontFamily: Mulish; -$h4FontWeight: 700; -$h4LineHeight: 24px; -$h4FontSize: 20px; -$h4LetterSpacing: 0; -$h4ParagraphSpacing: 0; -$h4TextDecoration: none; -$h4TextCase: none; -$h5FontFamily: Mulish; -$h5FontWeight: 700; -$h5LineHeight: 24px; -$h5FontSize: 16px; -$h5LetterSpacing: 0; -$h5ParagraphSpacing: 0; -$h5TextDecoration: none; -$h5TextCase: none; -$bodyFontFamily: Mulish; -$bodyFontWeight: 500; -$bodyLineHeight: 24px; -$bodyFontSize: 16px; -$bodyLetterSpacing: 0; -$bodyParagraphSpacing: 0; -$bodyTextDecoration: none; -$bodyTextCase: none; -$footnoteFontFamily: Mulish; -$footnoteFontWeight: 500; -$footnoteLineHeight: 16px; -$footnoteFontSize: 14px; -$footnoteLetterSpacing: 0; -$footnoteParagraphSpacing: 0; -$footnoteTextDecoration: none; -$footnoteTextCase: none; -$captionFontFamily: Mulish; -$captionFontWeight: 500; -$captionLineHeight: 16px; -$captionFontSize: 12px; -$captionLetterSpacing: 0; -$captionParagraphSpacing: 0; -$captionTextDecoration: none; -$captionTextCase: none; -$mobileH1FontFamily: Mulish; -$mobileH1FontWeight: 700; -$mobileH1LineHeight: 40px; -$mobileH1FontSize: 32px; -$mobileH1LetterSpacing: 0; -$mobileH1ParagraphSpacing: 0; -$mobileH1TextDecoration: none; -$mobileH1TextCase: none; -$mobileH2FontFamily: Mulish; -$mobileH2FontWeight: 700; -$mobileH2LineHeight: 32px; -$mobileH2FontSize: 28px; -$mobileH2LetterSpacing: 0; -$mobileH2ParagraphSpacing: 0; -$mobileH2TextDecoration: none; -$mobileH2TextCase: none; -$mobileH3FontFamily: Mulish; -$mobileH3FontWeight: 700; -$mobileH3LineHeight: 32px; -$mobileH3FontSize: 22px; -$mobileH3LetterSpacing: 0; -$mobileH3ParagraphSpacing: 0; -$mobileH3TextDecoration: none; -$mobileH3TextCase: none; diff --git a/dist/tokens/ts/colors.d.ts b/dist/tokens/ts/colors.d.ts deleted file mode 100644 index c980ab6e..00000000 --- a/dist/tokens/ts/colors.d.ts +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; -export const shades : {white : string,black : string,transparent : string}; diff --git a/dist/tokens/ts/colors.js b/dist/tokens/ts/colors.js deleted file mode 100644 index 92f29c81..00000000 --- a/dist/tokens/ts/colors.js +++ /dev/null @@ -1,12 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, -blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, -red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, -purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, -orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, -grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, -shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; diff --git a/dist/tokens/ts/themes/light.d.ts b/dist/tokens/ts/themes/light.d.ts deleted file mode 100644 index c635d770..00000000 --- a/dist/tokens/ts/themes/light.d.ts +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; -export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; -export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; -export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; -export const disabled : {text : string,background : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; -export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; -export const separator : {base : string}; -export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; diff --git a/dist/tokens/ts/themes/light.js b/dist/tokens/ts/themes/light.js deleted file mode 100644 index 59c22fa4..00000000 --- a/dist/tokens/ts/themes/light.js +++ /dev/null @@ -1,17 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, -system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, -surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, -primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, -info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, -warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, -danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, -highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, -disabled : {text : "#596D84",background : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, -input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, -separator : {base : "#E6EDF5"}, -light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; diff --git a/dist/tokens/ts/typography.d.ts b/dist/tokens/ts/typography.d.ts deleted file mode 100644 index 48cfffb3..00000000 --- a/dist/tokens/ts/typography.d.ts +++ /dev/null @@ -1,117 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -export const letterSpacingBase : number; -export const paragraphSpacingBase : number; -export const textDecorationBase : string; -export const textCaseBase : string; -export const size3xlarge : string; -export const size2xlarge : string; -export const sizeXlarge : string; -export const sizeLarge : string; -export const sizeNormal : string; -export const sizeSmall : string; -export const sizeXsmall : string; -export const sizeMobile3xlarge : string; -export const sizeMobile2xlarge : string; -export const sizeMobileXlarge : string; -export const lineHeightXlarge : string; -export const lineHeightLarge : string; -export const lineHeightNormal : string; -export const lineHeightSmall : string; -export const fontFamilySansSerif : string; -export const weightSemiBold : number; -export const weightBase : number; -export const weightLight : number; -export const weightStrong : number; -export const weightBold : number; -export const h1FontFamily : string; -export const h1FontWeight : number; -export const h1LineHeight : string; -export const h1FontSize : string; -export const h1LetterSpacing : number; -export const h1ParagraphSpacing : number; -export const h1TextDecoration : string; -export const h1TextCase : string; -export const h2FontFamily : string; -export const h2FontWeight : number; -export const h2LineHeight : string; -export const h2FontSize : string; -export const h2LetterSpacing : number; -export const h2ParagraphSpacing : number; -export const h2TextDecoration : string; -export const h2TextCase : string; -export const h3FontFamily : string; -export const h3FontWeight : number; -export const h3LineHeight : string; -export const h3FontSize : string; -export const h3LetterSpacing : number; -export const h3ParagraphSpacing : number; -export const h3TextDecoration : string; -export const h3TextCase : string; -export const h4FontFamily : string; -export const h4FontWeight : number; -export const h4LineHeight : string; -export const h4FontSize : string; -export const h4LetterSpacing : number; -export const h4ParagraphSpacing : number; -export const h4TextDecoration : string; -export const h4TextCase : string; -export const h5FontFamily : string; -export const h5FontWeight : number; -export const h5LineHeight : string; -export const h5FontSize : string; -export const h5LetterSpacing : number; -export const h5ParagraphSpacing : number; -export const h5TextDecoration : string; -export const h5TextCase : string; -export const bodyFontFamily : string; -export const bodyFontWeight : number; -export const bodyLineHeight : string; -export const bodyFontSize : string; -export const bodyLetterSpacing : number; -export const bodyParagraphSpacing : number; -export const bodyTextDecoration : string; -export const bodyTextCase : string; -export const footnoteFontFamily : string; -export const footnoteFontWeight : number; -export const footnoteLineHeight : string; -export const footnoteFontSize : string; -export const footnoteLetterSpacing : number; -export const footnoteParagraphSpacing : number; -export const footnoteTextDecoration : string; -export const footnoteTextCase : string; -export const captionFontFamily : string; -export const captionFontWeight : number; -export const captionLineHeight : string; -export const captionFontSize : string; -export const captionLetterSpacing : number; -export const captionParagraphSpacing : number; -export const captionTextDecoration : string; -export const captionTextCase : string; -export const mobileH1FontFamily : string; -export const mobileH1FontWeight : number; -export const mobileH1LineHeight : string; -export const mobileH1FontSize : string; -export const mobileH1LetterSpacing : number; -export const mobileH1ParagraphSpacing : number; -export const mobileH1TextDecoration : string; -export const mobileH1TextCase : string; -export const mobileH2FontFamily : string; -export const mobileH2FontWeight : number; -export const mobileH2LineHeight : string; -export const mobileH2FontSize : string; -export const mobileH2LetterSpacing : number; -export const mobileH2ParagraphSpacing : number; -export const mobileH2TextDecoration : string; -export const mobileH2TextCase : string; -export const mobileH3FontFamily : string; -export const mobileH3FontWeight : number; -export const mobileH3LineHeight : string; -export const mobileH3FontSize : string; -export const mobileH3LetterSpacing : number; -export const mobileH3ParagraphSpacing : number; -export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; diff --git a/dist/tokens/ts/typography.js b/dist/tokens/ts/typography.js deleted file mode 100644 index 051ade8e..00000000 --- a/dist/tokens/ts/typography.js +++ /dev/null @@ -1,119 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 22 Nov 2022 21:33:53 GMT - */ - -module.exports = { - "letterSpacingBase": 0, - "paragraphSpacingBase": 0, - "textDecorationBase": "none", - "textCaseBase": "none", - "size3xlarge": "40px", - "size2xlarge": "32px", - "sizeXlarge": "24px", - "sizeLarge": "20px", - "sizeNormal": "16px", - "sizeSmall": "14px", - "sizeXsmall": "12px", - "sizeMobile3xlarge": "32px", - "sizeMobile2xlarge": "28px", - "sizeMobileXlarge": "22px", - "lineHeightXlarge": "40px", - "lineHeightLarge": "32px", - "lineHeightNormal": "24px", - "lineHeightSmall": "16px", - "fontFamilySansSerif": "Mulish", - "weightSemiBold": 700, - "weightBase": 500, - "weightLight": 400, - "weightStrong": 600, - "weightBold": 900, - "h1FontFamily": "Mulish", - "h1FontWeight": 700, - "h1LineHeight": "40px", - "h1FontSize": "40px", - "h1LetterSpacing": 0, - "h1ParagraphSpacing": 0, - "h1TextDecoration": "none", - "h1TextCase": "none", - "h2FontFamily": "Mulish", - "h2FontWeight": 700, - "h2LineHeight": "40px", - "h2FontSize": "32px", - "h2LetterSpacing": 0, - "h2ParagraphSpacing": 0, - "h2TextDecoration": "none", - "h2TextCase": "none", - "h3FontFamily": "Mulish", - "h3FontWeight": 700, - "h3LineHeight": "32px", - "h3FontSize": "24px", - "h3LetterSpacing": 0, - "h3ParagraphSpacing": 0, - "h3TextDecoration": "none", - "h3TextCase": "none", - "h4FontFamily": "Mulish", - "h4FontWeight": 700, - "h4LineHeight": "24px", - "h4FontSize": "20px", - "h4LetterSpacing": 0, - "h4ParagraphSpacing": 0, - "h4TextDecoration": "none", - "h4TextCase": "none", - "h5FontFamily": "Mulish", - "h5FontWeight": 700, - "h5LineHeight": "24px", - "h5FontSize": "16px", - "h5LetterSpacing": 0, - "h5ParagraphSpacing": 0, - "h5TextDecoration": "none", - "h5TextCase": "none", - "bodyFontFamily": "Mulish", - "bodyFontWeight": 500, - "bodyLineHeight": "24px", - "bodyFontSize": "16px", - "bodyLetterSpacing": 0, - "bodyParagraphSpacing": 0, - "bodyTextDecoration": "none", - "bodyTextCase": "none", - "footnoteFontFamily": "Mulish", - "footnoteFontWeight": 500, - "footnoteLineHeight": "16px", - "footnoteFontSize": "14px", - "footnoteLetterSpacing": 0, - "footnoteParagraphSpacing": 0, - "footnoteTextDecoration": "none", - "footnoteTextCase": "none", - "captionFontFamily": "Mulish", - "captionFontWeight": 500, - "captionLineHeight": "16px", - "captionFontSize": "12px", - "captionLetterSpacing": 0, - "captionParagraphSpacing": 0, - "captionTextDecoration": "none", - "captionTextCase": "none", - "mobileH1FontFamily": "Mulish", - "mobileH1FontWeight": 700, - "mobileH1LineHeight": "40px", - "mobileH1FontSize": "32px", - "mobileH1LetterSpacing": 0, - "mobileH1ParagraphSpacing": 0, - "mobileH1TextDecoration": "none", - "mobileH1TextCase": "none", - "mobileH2FontFamily": "Mulish", - "mobileH2FontWeight": 700, - "mobileH2LineHeight": "32px", - "mobileH2FontSize": "28px", - "mobileH2LetterSpacing": 0, - "mobileH2ParagraphSpacing": 0, - "mobileH2TextDecoration": "none", - "mobileH2TextCase": "none", - "mobileH3FontFamily": "Mulish", - "mobileH3FontWeight": 700, - "mobileH3LineHeight": "32px", - "mobileH3FontSize": "22px", - "mobileH3LetterSpacing": 0, - "mobileH3ParagraphSpacing": 0, - "mobileH3TextDecoration": "none", - "mobileH3TextCase": "none" -}; diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts deleted file mode 100644 index bf33064e..00000000 --- a/dist/types/index.d.ts +++ /dev/null @@ -1,3 +0,0 @@ -export * from "./interfaces"; -export * from "./profiles"; -//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map deleted file mode 100644 index 1ca1b828..00000000 --- a/dist/types/index.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js deleted file mode 100644 index 9ce320c1..00000000 --- a/dist/types/index.js +++ /dev/null @@ -1,37 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.keys.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); - -var _interfaces = require("./interfaces"); - -Object.keys(_interfaces).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _interfaces[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _interfaces[key]; - } - }); -}); - -var _profiles = require("./profiles"); - -Object.keys(_profiles).forEach(function (key) { - if (key === "default" || key === "__esModule") return; - if (key in exports && exports[key] === _profiles[key]) return; - Object.defineProperty(exports, key, { - enumerable: true, - get: function get() { - return _profiles[key]; - } - }); -}); \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts deleted file mode 100644 index 0cea5539..00000000 --- a/dist/types/interfaces.d.ts +++ /dev/null @@ -1,28 +0,0 @@ -declare const AVIARY_COLORS: { - primary: string; - info: string; - warning: string; - danger: string; - highlight: string; - system: string; -}; -declare const EXTENDED_AVIARY_COLORS: { - light: string; - primary: string; - info: string; - warning: string; - danger: string; - highlight: string; - system: string; -}; -declare type AviaryColors = keyof typeof AVIARY_COLORS; -declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; -interface AviaryColorProps { - isColor?: AviaryColors; -} -interface AviaryExtendedColorProps { - isColor?: ExtendedAviaryColors; -} -export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; -export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; -//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map deleted file mode 100644 index 87d81861..00000000 --- a/dist/types/interfaces.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js deleted file mode 100644 index 42449ef5..00000000 --- a/dist/types/interfaces.js +++ /dev/null @@ -1,42 +0,0 @@ -"use strict"; - -require("core-js/modules/es.object.keys.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.array.filter.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/web.dom-collections.for-each.js"); - -require("core-js/modules/es.object.get-own-property-descriptors.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; - -function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } - -function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } - -function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } - -var AVIARY_COLORS = { - primary: "primary", - info: "info", - warning: "warning", - danger: "danger", - highlight: "highlight", - system: "system" -}; -exports.AVIARY_COLORS = AVIARY_COLORS; - -var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { - light: "light" -}); - -exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts deleted file mode 100644 index fdaa73de..00000000 --- a/dist/types/profiles.d.ts +++ /dev/null @@ -1,6 +0,0 @@ -import type * as light from "../../dist/tokens/ts/themes/light.d"; -declare type StandardColorsProfileTheme = typeof light.primary; -declare type SystemColorProfileTheme = typeof light.system; -declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; -export type { ColorProfileTheme }; -//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map deleted file mode 100644 index c292ac7a..00000000 --- a/dist/types/profiles.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js deleted file mode 100644 index 430afc16..00000000 --- a/dist/types/profiles.js +++ /dev/null @@ -1,5 +0,0 @@ -"use strict"; - -Object.defineProperty(exports, "__esModule", { - value: true -}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts deleted file mode 100644 index e3961e9a..00000000 --- a/dist/types/themes.d.ts +++ /dev/null @@ -1,5 +0,0 @@ -import * as light from "../../dist/tokens/ts/themes/light"; -declare type AviaryTheme = typeof light; -export { light }; -export type { AviaryTheme }; -//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map deleted file mode 100644 index 6d18b917..00000000 --- a/dist/types/themes.d.ts.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAE3D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js deleted file mode 100644 index 18061b50..00000000 --- a/dist/types/themes.js +++ /dev/null @@ -1,34 +0,0 @@ -"use strict"; - -function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } - -require("core-js/modules/es.array.iterator.js"); - -require("core-js/modules/es.object.to-string.js"); - -require("core-js/modules/es.string.iterator.js"); - -require("core-js/modules/es.weak-map.js"); - -require("core-js/modules/web.dom-collections.iterator.js"); - -require("core-js/modules/es.object.get-own-property-descriptor.js"); - -require("core-js/modules/es.symbol.js"); - -require("core-js/modules/es.symbol.description.js"); - -require("core-js/modules/es.symbol.iterator.js"); - -Object.defineProperty(exports, "__esModule", { - value: true -}); -exports.light = void 0; - -var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); - -exports.light = light; - -function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } - -function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/src/transformed/transformed-light.json b/src/transformed/transformed-light.json index 7a11d375..21c0f959 100644 --- a/src/transformed/transformed-light.json +++ b/src/transformed/transformed-light.json @@ -435,10 +435,6 @@ "type": "color", "description": "Used as the background colour for disabled components" }, - "nakedContent": { - "value": "#F5F7FA", - "type": "color" - }, "nakedBackground": { "value": "transparent", "type": "color", @@ -588,4 +584,4 @@ } } } -} +} \ No newline at end of file From e390d430bd52c8f9b6ef0b146c8caaf7c9924aba Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Wed, 23 Nov 2022 19:55:17 +0000 Subject: [PATCH 14/15] Built and updated design tokens --- dist/tokens/native/colors.d.ts | 12 +++ dist/tokens/native/colors.js | 12 +++ dist/tokens/native/themes/light.d.ts | 17 ++++ dist/tokens/native/themes/light.js | 17 ++++ dist/tokens/native/typography.d.ts | 117 ++++++++++++++++++++++++ dist/tokens/native/typography.js | 119 +++++++++++++++++++++++++ dist/tokens/scss/colors.scss | 55 ++++++++++++ dist/tokens/scss/themes/light.scss | 127 +++++++++++++++++++++++++++ dist/tokens/scss/typography.scss | 116 ++++++++++++++++++++++++ dist/tokens/ts/colors.d.ts | 12 +++ dist/tokens/ts/colors.js | 12 +++ dist/tokens/ts/themes/light.d.ts | 17 ++++ dist/tokens/ts/themes/light.js | 17 ++++ dist/tokens/ts/typography.d.ts | 117 ++++++++++++++++++++++++ dist/tokens/ts/typography.js | 119 +++++++++++++++++++++++++ 15 files changed, 886 insertions(+) create mode 100644 dist/tokens/native/colors.d.ts create mode 100644 dist/tokens/native/colors.js create mode 100644 dist/tokens/native/themes/light.d.ts create mode 100644 dist/tokens/native/themes/light.js create mode 100644 dist/tokens/native/typography.d.ts create mode 100644 dist/tokens/native/typography.js create mode 100644 dist/tokens/scss/colors.scss create mode 100644 dist/tokens/scss/themes/light.scss create mode 100644 dist/tokens/scss/typography.scss create mode 100644 dist/tokens/ts/colors.d.ts create mode 100644 dist/tokens/ts/colors.js create mode 100644 dist/tokens/ts/themes/light.d.ts create mode 100644 dist/tokens/ts/themes/light.js create mode 100644 dist/tokens/ts/typography.d.ts create mode 100644 dist/tokens/ts/typography.js diff --git a/dist/tokens/native/colors.d.ts b/dist/tokens/native/colors.d.ts new file mode 100644 index 00000000..775ca407 --- /dev/null +++ b/dist/tokens/native/colors.d.ts @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/native/colors.js b/dist/tokens/native/colors.js new file mode 100644 index 00000000..36dc7c60 --- /dev/null +++ b/dist/tokens/native/colors.js @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, +blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, +red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, +purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, +orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, +grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, +shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.d.ts b/dist/tokens/native/themes/light.d.ts new file mode 100644 index 00000000..a58f00af --- /dev/null +++ b/dist/tokens/native/themes/light.d.ts @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; +export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; +export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; +export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const disabled : {text : string,background : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; +export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; +export const separator : {base : string}; +export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/native/themes/light.js b/dist/tokens/native/themes/light.js new file mode 100644 index 00000000..3de7ed04 --- /dev/null +++ b/dist/tokens/native/themes/light.js @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, +system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, +surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, +primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, +info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, +warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, +danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, +highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, +disabled : {text : "#596D84",background : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, +input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, +separator : {base : "#E6EDF5"}, +light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/native/typography.d.ts b/dist/tokens/native/typography.d.ts new file mode 100644 index 00000000..cb1ad81b --- /dev/null +++ b/dist/tokens/native/typography.d.ts @@ -0,0 +1,117 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +export const letterSpacingBase : number; +export const paragraphSpacingBase : number; +export const textDecorationBase : string; +export const textCaseBase : string; +export const size3xlarge : number; +export const size2xlarge : number; +export const sizeXlarge : number; +export const sizeLarge : number; +export const sizeNormal : number; +export const sizeSmall : number; +export const sizeXsmall : number; +export const sizeMobile3xlarge : number; +export const sizeMobile2xlarge : number; +export const sizeMobileXlarge : number; +export const lineHeightXlarge : number; +export const lineHeightLarge : number; +export const lineHeightNormal : number; +export const lineHeightSmall : number; +export const fontFamilySansSerif : string; +export const weightSemiBold : string; +export const weightBase : string; +export const weightLight : string; +export const weightStrong : string; +export const weightBold : string; +export const h1FontFamily : string; +export const h1FontWeight : string; +export const h1LineHeight : number; +export const h1FontSize : number; +export const h1LetterSpacing : number; +export const h1ParagraphSpacing : number; +export const h1TextDecoration : string; +export const h1TextCase : string; +export const h2FontFamily : string; +export const h2FontWeight : string; +export const h2LineHeight : number; +export const h2FontSize : number; +export const h2LetterSpacing : number; +export const h2ParagraphSpacing : number; +export const h2TextDecoration : string; +export const h2TextCase : string; +export const h3FontFamily : string; +export const h3FontWeight : string; +export const h3LineHeight : number; +export const h3FontSize : number; +export const h3LetterSpacing : number; +export const h3ParagraphSpacing : number; +export const h3TextDecoration : string; +export const h3TextCase : string; +export const h4FontFamily : string; +export const h4FontWeight : string; +export const h4LineHeight : number; +export const h4FontSize : number; +export const h4LetterSpacing : number; +export const h4ParagraphSpacing : number; +export const h4TextDecoration : string; +export const h4TextCase : string; +export const h5FontFamily : string; +export const h5FontWeight : string; +export const h5LineHeight : number; +export const h5FontSize : number; +export const h5LetterSpacing : number; +export const h5ParagraphSpacing : number; +export const h5TextDecoration : string; +export const h5TextCase : string; +export const bodyFontFamily : string; +export const bodyFontWeight : string; +export const bodyLineHeight : number; +export const bodyFontSize : number; +export const bodyLetterSpacing : number; +export const bodyParagraphSpacing : number; +export const bodyTextDecoration : string; +export const bodyTextCase : string; +export const footnoteFontFamily : string; +export const footnoteFontWeight : string; +export const footnoteLineHeight : number; +export const footnoteFontSize : number; +export const footnoteLetterSpacing : number; +export const footnoteParagraphSpacing : number; +export const footnoteTextDecoration : string; +export const footnoteTextCase : string; +export const captionFontFamily : string; +export const captionFontWeight : string; +export const captionLineHeight : number; +export const captionFontSize : number; +export const captionLetterSpacing : number; +export const captionParagraphSpacing : number; +export const captionTextDecoration : string; +export const captionTextCase : string; +export const mobileH1FontFamily : string; +export const mobileH1FontWeight : string; +export const mobileH1LineHeight : number; +export const mobileH1FontSize : number; +export const mobileH1LetterSpacing : number; +export const mobileH1ParagraphSpacing : number; +export const mobileH1TextDecoration : string; +export const mobileH1TextCase : string; +export const mobileH2FontFamily : string; +export const mobileH2FontWeight : string; +export const mobileH2LineHeight : number; +export const mobileH2FontSize : number; +export const mobileH2LetterSpacing : number; +export const mobileH2ParagraphSpacing : number; +export const mobileH2TextDecoration : string; +export const mobileH2TextCase : string; +export const mobileH3FontFamily : string; +export const mobileH3FontWeight : string; +export const mobileH3LineHeight : number; +export const mobileH3FontSize : number; +export const mobileH3LetterSpacing : number; +export const mobileH3ParagraphSpacing : number; +export const mobileH3TextDecoration : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/native/typography.js b/dist/tokens/native/typography.js new file mode 100644 index 00000000..31d3aff7 --- /dev/null +++ b/dist/tokens/native/typography.js @@ -0,0 +1,119 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +module.exports = { + "letterSpacingBase": 0, + "paragraphSpacingBase": 0, + "textDecorationBase": "none", + "textCaseBase": "none", + "size3xlarge": 40, + "size2xlarge": 32, + "sizeXlarge": 24, + "sizeLarge": 20, + "sizeNormal": 16, + "sizeSmall": 14, + "sizeXsmall": 12, + "sizeMobile3xlarge": 32, + "sizeMobile2xlarge": 28, + "sizeMobileXlarge": 22, + "lineHeightXlarge": 40, + "lineHeightLarge": 32, + "lineHeightNormal": 24, + "lineHeightSmall": 16, + "fontFamilySansSerif": "Mulish", + "weightSemiBold": "700", + "weightBase": "500", + "weightLight": "400", + "weightStrong": "600", + "weightBold": "900", + "h1FontFamily": "Mulish", + "h1FontWeight": "700", + "h1LineHeight": 40, + "h1FontSize": 40, + "h1LetterSpacing": 0, + "h1ParagraphSpacing": 0, + "h1TextDecoration": "none", + "h1TextCase": "none", + "h2FontFamily": "Mulish", + "h2FontWeight": "700", + "h2LineHeight": 40, + "h2FontSize": 32, + "h2LetterSpacing": 0, + "h2ParagraphSpacing": 0, + "h2TextDecoration": "none", + "h2TextCase": "none", + "h3FontFamily": "Mulish", + "h3FontWeight": "700", + "h3LineHeight": 32, + "h3FontSize": 24, + "h3LetterSpacing": 0, + "h3ParagraphSpacing": 0, + "h3TextDecoration": "none", + "h3TextCase": "none", + "h4FontFamily": "Mulish", + "h4FontWeight": "700", + "h4LineHeight": 24, + "h4FontSize": 20, + "h4LetterSpacing": 0, + "h4ParagraphSpacing": 0, + "h4TextDecoration": "none", + "h4TextCase": "none", + "h5FontFamily": "Mulish", + "h5FontWeight": "700", + "h5LineHeight": 24, + "h5FontSize": 16, + "h5LetterSpacing": 0, + "h5ParagraphSpacing": 0, + "h5TextDecoration": "none", + "h5TextCase": "none", + "bodyFontFamily": "Mulish", + "bodyFontWeight": "500", + "bodyLineHeight": 24, + "bodyFontSize": 16, + "bodyLetterSpacing": 0, + "bodyParagraphSpacing": 0, + "bodyTextDecoration": "none", + "bodyTextCase": "none", + "footnoteFontFamily": "Mulish", + "footnoteFontWeight": "500", + "footnoteLineHeight": 16, + "footnoteFontSize": 14, + "footnoteLetterSpacing": 0, + "footnoteParagraphSpacing": 0, + "footnoteTextDecoration": "none", + "footnoteTextCase": "none", + "captionFontFamily": "Mulish", + "captionFontWeight": "500", + "captionLineHeight": 16, + "captionFontSize": 12, + "captionLetterSpacing": 0, + "captionParagraphSpacing": 0, + "captionTextDecoration": "none", + "captionTextCase": "none", + "mobileH1FontFamily": "Mulish", + "mobileH1FontWeight": "700", + "mobileH1LineHeight": 40, + "mobileH1FontSize": 32, + "mobileH1LetterSpacing": 0, + "mobileH1ParagraphSpacing": 0, + "mobileH1TextDecoration": "none", + "mobileH1TextCase": "none", + "mobileH2FontFamily": "Mulish", + "mobileH2FontWeight": "700", + "mobileH2LineHeight": 32, + "mobileH2FontSize": 28, + "mobileH2LetterSpacing": 0, + "mobileH2ParagraphSpacing": 0, + "mobileH2TextDecoration": "none", + "mobileH2TextCase": "none", + "mobileH3FontFamily": "Mulish", + "mobileH3FontWeight": "700", + "mobileH3LineHeight": 32, + "mobileH3FontSize": 22, + "mobileH3LetterSpacing": 0, + "mobileH3ParagraphSpacing": 0, + "mobileH3TextDecoration": "none", + "mobileH3TextCase": "none" +}; \ No newline at end of file diff --git a/dist/tokens/scss/colors.scss b/dist/tokens/scss/colors.scss new file mode 100644 index 00000000..a54170e6 --- /dev/null +++ b/dist/tokens/scss/colors.scss @@ -0,0 +1,55 @@ + +// Do not edit directly +// Generated on Wed, 23 Nov 2022 19:55:17 GMT + +$green100: #FAFFFC; +$green200: #EBF2EF; +$green300: #D1E0D9; +$green400: #B6CFC2; +$green500: #86B09B; +$green600: #307553; +$green700: #275E43; +$green800: #244C38; +$blue100: #F5FAFF; +$blue200: #E6F1FC; +$blue300: #C0D8F0; +$blue400: #88B1D9; +$blue500: #5D96CF; +$blue600: #3971A8; +$blue700: #21588F; +$blue800: #194673; +$red100: #FFF7F9; +$red200: #FEEEF2; +$red300: #F0C4CD; +$red400: #E296A6; +$red500: #C6516A; +$red600: #AF2645; +$red700: #980B29; +$red800: #800D25; +$purple100: #FCFAFF; +$purple200: #F2ECFE; +$purple300: #D7CEE9; +$purple400: #B9ABD5; +$purple500: #8471AB; +$purple600: #533E7D; +$purple700: #3B2566; +$purple800: #2A174F; +$orange100: #FFFAF5; +$orange200: #FFF3E8; +$orange300: #F3D8C0; +$orange400: #E7B88F; +$orange500: #CF8545; +$orange600: #B4631D; +$orange700: #8E4D14; +$orange800: #784213; +$grey100: #FCFEFF; +$grey200: #F5F7FA; +$grey300: #E6EDF5; +$grey400: #C8D3E0; +$grey500: #596D84; +$grey600: #475A70; +$grey700: #36485C; +$grey800: #2E3A47; +$shadesWhite: #FFFFFF; +$shadesBlack: #000000; +$shadesTransparent: transparent; \ No newline at end of file diff --git a/dist/tokens/scss/themes/light.scss b/dist/tokens/scss/themes/light.scss new file mode 100644 index 00000000..0629d795 --- /dev/null +++ b/dist/tokens/scss/themes/light.scss @@ -0,0 +1,127 @@ + +// Do not edit directly +// Generated on Wed, 23 Nov 2022 19:55:17 GMT + +$textEmphasis: #36485C; +$textBody: #475A70; +$textSubdued: #596D84; +$textOnBackground: #FFFFFF; +$systemTextLabelEmphasis: #2E3A47; +$systemTextBase: #475A70; +$systemTextHover: #36485C; +$systemTextActive: #2E3A47; +$systemBackgroundBase: #FFFFFF; +$systemBackgroundMuted: #F5F7FA; +$systemBackgroundMutedHover: #E6EDF5; +$systemBackgroundMutedActive: #C8D3E0; +$systemBackgroundBox: #FCFEFF; +$systemBorderBase: #C8D3E0; +$systemBorderHover: #596D84; +$systemBorderActive: #475A70; +$systemBorderFocused: #3971A8; +$surfaceLevel0: #F5F7FA; +$surfaceLevel1: #FFFFFF; +$surfaceLevel2: #F5F7FA; +$surfaceLevel3: #FFFFFF; +$surfaceInteractiveBackground: #FFFFFF; +$surfaceInteractiveHover: #F5F7FA; +$surfaceInteractiveActive: #E6EDF5; +$surfaceOverlayInvertable: #2E3A47; +$surfaceOverlayWhiteInvertable: #FFFFFF; +$surfaceOverlayStatic: #36485C; +$primaryTextBase: #307553; +$primaryTextHover: #275E43; +$primaryTextActive: #244C38; +$primaryBackgroundBase: #307553; +$primaryBackgroundHover: #275E43; +$primaryBackgroundActive: #244C38; +$primaryBackgroundMuted: #EBF2EF; +$primaryBackgroundMutedHover: #D1E0D9; +$primaryBackgroundMutedActive: #B6CFC2; +$primaryBackgroundBox: #FAFFFC; +$primaryBorderBase: #307553; +$primaryBorderHover: #275E43; +$primaryBorderActive: #244C38; +$infoTextBase: #3971A8; +$infoTextHover: #21588F; +$infoTextActive: #194673; +$infoBackgroundBase: #3971A8; +$infoBackgroundHover: #21588F; +$infoBackgroundActive: #194673; +$infoBackgroundMuted: #E6F1FC; +$infoBackgroundMutedHover: #C0D8F0; +$infoBackgroundMutedActive: #88B1D9; +$infoBackgroundBox: #F5FAFF; +$infoBorderBase: #3971A8; +$infoBorderHover: #21588F; +$infoBorderActive: #194673; +$warningTextBase: #B4631D; +$warningTextHover: #8E4D14; +$warningTextActive: #784213; +$warningBackgroundBase: #B4631D; +$warningBackgroundHover: #8E4D14; +$warningBackgroundActive: #784213; +$warningBackgroundMuted: #FFF3E8; +$warningBackgroundMutedHover: #F3D8C0; +$warningBackgroundMutedActive: #E7B88F; +$warningBackgroundBox: #FFFAF5; +$warningBorderBase: #B4631D; +$warningBorderHover: #8E4D14; +$warningBorderActive: #784213; +$dangerTextBase: #AF2645; +$dangerTextHover: #980B29; +$dangerTextActive: #800D25; +$dangerBackgroundBase: #AF2645; +$dangerBackgroundHover: #980B29; +$dangerBackgroundActive: #800D25; +$dangerBackgroundMuted: #FEEEF2; +$dangerBackgroundMutedHover: #F0C4CD; +$dangerBackgroundMutedActive: #E296A6; +$dangerBackgroundBox: #FFF7F9; +$dangerBorderBase: #AF2645; +$dangerBorderHover: #980B29; +$dangerBorderActive: #800D25; +$highlightTextBase: #533E7D; +$highlightTextHover: #3B2566; +$highlightTextActive: #2A174F; +$highlightBackgroundBase: #533E7D; +$highlightBackgroundHover: #3B2566; +$highlightBackgroundActive: #2A174F; +$highlightBackgroundMuted: #F2ECFE; +$highlightBackgroundMutedHover: #D7CEE9; +$highlightBackgroundMutedActive: #B9ABD5; +$highlightBackgroundBox: #FCFAFF; +$highlightBorderBase: #533E7D; +$highlightBorderHover: #3B2566; +$highlightBorderActive: #2A174F; +$disabledText: #596D84; +$disabledBackground: #F5F7FA; +$disabledNakedBackground: transparent; +$disabledBorder: #C8D3E0; +$disabledInputBackground: #E6EDF5; +$disabledInputLabelText: #596D84; +$inputBackgroundBase: #F5F7FA; +$inputBackgroundHover: #E6EDF5; +$inputBackgroundInformation: #FFFFFF; +$inputTextBase: #475A70; +$inputTextInformation: #475A70; +$inputTextInformationError: #AF2645; +$inputTextLabel: #475A70; +$inputTextFloatingLabel: #3971A8; +$inputTextFloatingLabelError: #AF2645; +$inputTextPlaceholder: #596D84; +$inputTextActive: #2E3A47; +$inputBorderBase: #E6EDF5; +$inputBorderError: #AF2645; +$inputBorderHover: #C8D3E0; +$inputBorderEmphasized: #596D84; +$inputBorderEmphasizedHover: #475A70; +$inputBorderActive: #3971A8; +$separatorBase: #E6EDF5; +$lightBackgroundBase: #FFFFFF; +$lightBackgroundContrast: #475A70; +$lightBackgroundHover: #F5F7FA; +$lightBackgroundActive: #E6EDF5; +$lightTextBase: #2E3A47; +$lightLinkMutedBase: #F5F7FA; +$lightLinkMutedHover: #FFFFFF; \ No newline at end of file diff --git a/dist/tokens/scss/typography.scss b/dist/tokens/scss/typography.scss new file mode 100644 index 00000000..8c99c1cb --- /dev/null +++ b/dist/tokens/scss/typography.scss @@ -0,0 +1,116 @@ + +// Do not edit directly +// Generated on Wed, 23 Nov 2022 19:55:17 GMT + +$letterSpacingBase: 0; +$paragraphSpacingBase: 0; +$textDecorationBase: none; +$textCaseBase: none; +$size3xlarge: 40px; +$size2xlarge: 32px; +$sizeXlarge: 24px; +$sizeLarge: 20px; +$sizeNormal: 16px; +$sizeSmall: 14px; +$sizeXsmall: 12px; +$sizeMobile3xlarge: 32px; +$sizeMobile2xlarge: 28px; +$sizeMobileXlarge: 22px; +$lineHeightXlarge: 40px; +$lineHeightLarge: 32px; +$lineHeightNormal: 24px; +$lineHeightSmall: 16px; +$fontFamilySansSerif: Mulish; +$weightSemiBold: 700; +$weightBase: 500; +$weightLight: 400; +$weightStrong: 600; +$weightBold: 900; +$h1FontFamily: Mulish; +$h1FontWeight: 700; +$h1LineHeight: 40px; +$h1FontSize: 40px; +$h1LetterSpacing: 0; +$h1ParagraphSpacing: 0; +$h1TextDecoration: none; +$h1TextCase: none; +$h2FontFamily: Mulish; +$h2FontWeight: 700; +$h2LineHeight: 40px; +$h2FontSize: 32px; +$h2LetterSpacing: 0; +$h2ParagraphSpacing: 0; +$h2TextDecoration: none; +$h2TextCase: none; +$h3FontFamily: Mulish; +$h3FontWeight: 700; +$h3LineHeight: 32px; +$h3FontSize: 24px; +$h3LetterSpacing: 0; +$h3ParagraphSpacing: 0; +$h3TextDecoration: none; +$h3TextCase: none; +$h4FontFamily: Mulish; +$h4FontWeight: 700; +$h4LineHeight: 24px; +$h4FontSize: 20px; +$h4LetterSpacing: 0; +$h4ParagraphSpacing: 0; +$h4TextDecoration: none; +$h4TextCase: none; +$h5FontFamily: Mulish; +$h5FontWeight: 700; +$h5LineHeight: 24px; +$h5FontSize: 16px; +$h5LetterSpacing: 0; +$h5ParagraphSpacing: 0; +$h5TextDecoration: none; +$h5TextCase: none; +$bodyFontFamily: Mulish; +$bodyFontWeight: 500; +$bodyLineHeight: 24px; +$bodyFontSize: 16px; +$bodyLetterSpacing: 0; +$bodyParagraphSpacing: 0; +$bodyTextDecoration: none; +$bodyTextCase: none; +$footnoteFontFamily: Mulish; +$footnoteFontWeight: 500; +$footnoteLineHeight: 16px; +$footnoteFontSize: 14px; +$footnoteLetterSpacing: 0; +$footnoteParagraphSpacing: 0; +$footnoteTextDecoration: none; +$footnoteTextCase: none; +$captionFontFamily: Mulish; +$captionFontWeight: 500; +$captionLineHeight: 16px; +$captionFontSize: 12px; +$captionLetterSpacing: 0; +$captionParagraphSpacing: 0; +$captionTextDecoration: none; +$captionTextCase: none; +$mobileH1FontFamily: Mulish; +$mobileH1FontWeight: 700; +$mobileH1LineHeight: 40px; +$mobileH1FontSize: 32px; +$mobileH1LetterSpacing: 0; +$mobileH1ParagraphSpacing: 0; +$mobileH1TextDecoration: none; +$mobileH1TextCase: none; +$mobileH2FontFamily: Mulish; +$mobileH2FontWeight: 700; +$mobileH2LineHeight: 32px; +$mobileH2FontSize: 28px; +$mobileH2LetterSpacing: 0; +$mobileH2ParagraphSpacing: 0; +$mobileH2TextDecoration: none; +$mobileH2TextCase: none; +$mobileH3FontFamily: Mulish; +$mobileH3FontWeight: 700; +$mobileH3LineHeight: 32px; +$mobileH3FontSize: 22px; +$mobileH3LetterSpacing: 0; +$mobileH3ParagraphSpacing: 0; +$mobileH3TextDecoration: none; +$mobileH3TextCase: none; \ No newline at end of file diff --git a/dist/tokens/ts/colors.d.ts b/dist/tokens/ts/colors.d.ts new file mode 100644 index 00000000..775ca407 --- /dev/null +++ b/dist/tokens/ts/colors.d.ts @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +export const green : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const blue : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const red : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const purple : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const orange : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const grey : {100 : string,200 : string,300 : string,400 : string,500 : string,600 : string,700 : string,800 : string}; +export const shades : {white : string,black : string,transparent : string}; \ No newline at end of file diff --git a/dist/tokens/ts/colors.js b/dist/tokens/ts/colors.js new file mode 100644 index 00000000..36dc7c60 --- /dev/null +++ b/dist/tokens/ts/colors.js @@ -0,0 +1,12 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +module.exports = {green : {100 : "#FAFFFC",200 : "#EBF2EF",300 : "#D1E0D9",400 : "#B6CFC2",500 : "#86B09B",600 : "#307553",700 : "#275E43",800 : "#244C38"}, +blue : {100 : "#F5FAFF",200 : "#E6F1FC",300 : "#C0D8F0",400 : "#88B1D9",500 : "#5D96CF",600 : "#3971A8",700 : "#21588F",800 : "#194673"}, +red : {100 : "#FFF7F9",200 : "#FEEEF2",300 : "#F0C4CD",400 : "#E296A6",500 : "#C6516A",600 : "#AF2645",700 : "#980B29",800 : "#800D25"}, +purple : {100 : "#FCFAFF",200 : "#F2ECFE",300 : "#D7CEE9",400 : "#B9ABD5",500 : "#8471AB",600 : "#533E7D",700 : "#3B2566",800 : "#2A174F"}, +orange : {100 : "#FFFAF5",200 : "#FFF3E8",300 : "#F3D8C0",400 : "#E7B88F",500 : "#CF8545",600 : "#B4631D",700 : "#8E4D14",800 : "#784213"}, +grey : {100 : "#FCFEFF",200 : "#F5F7FA",300 : "#E6EDF5",400 : "#C8D3E0",500 : "#596D84",600 : "#475A70",700 : "#36485C",800 : "#2E3A47"}, +shades : {white : "#FFFFFF",black : "#000000",transparent : "transparent"},}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.d.ts b/dist/tokens/ts/themes/light.d.ts new file mode 100644 index 00000000..a58f00af --- /dev/null +++ b/dist/tokens/ts/themes/light.d.ts @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +export const text : {emphasis : string,body : string,subdued : string,onBackground : string}; +export const system : {textLabelEmphasis : string,textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string,borderFocused : string}; +export const surface : {level0 : string,level1 : string,level2 : string,level3 : string,interactiveBackground : string,interactiveHover : string,interactiveActive : string,overlayInvertable : string,overlayWhiteInvertable : string,overlayStatic : string}; +export const primary : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const info : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const warning : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const danger : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const highlight : {textBase : string,textHover : string,textActive : string,backgroundBase : string,backgroundHover : string,backgroundActive : string,backgroundMuted : string,backgroundMutedHover : string,backgroundMutedActive : string,backgroundBox : string,borderBase : string,borderHover : string,borderActive : string}; +export const disabled : {text : string,background : string,nakedBackground : string,border : string,inputBackground : string,inputLabelText : string}; +export const input : {backgroundBase : string,backgroundHover : string,backgroundInformation : string,textBase : string,textInformation : string,textInformationError : string,textLabel : string,textFloatingLabel : string,textFloatingLabelError : string,textPlaceholder : string,textActive : string,borderBase : string,borderError : string,borderHover : string,borderEmphasized : string,borderEmphasizedHover : string,borderActive : string}; +export const separator : {base : string}; +export const light : {backgroundBase : string,backgroundContrast : string,backgroundHover : string,backgroundActive : string,textBase : string,linkMutedBase : string,linkMutedHover : string}; \ No newline at end of file diff --git a/dist/tokens/ts/themes/light.js b/dist/tokens/ts/themes/light.js new file mode 100644 index 00000000..3de7ed04 --- /dev/null +++ b/dist/tokens/ts/themes/light.js @@ -0,0 +1,17 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +module.exports = {text : {emphasis : "#36485C",body : "#475A70",subdued : "#596D84",onBackground : "#FFFFFF"}, +system : {textLabelEmphasis : "#2E3A47",textBase : "#475A70",textHover : "#36485C",textActive : "#2E3A47",backgroundBase : "#FFFFFF",backgroundMuted : "#F5F7FA",backgroundMutedHover : "#E6EDF5",backgroundMutedActive : "#C8D3E0",backgroundBox : "#FCFEFF",borderBase : "#C8D3E0",borderHover : "#596D84",borderActive : "#475A70",borderFocused : "#3971A8"}, +surface : {level0 : "#F5F7FA",level1 : "#FFFFFF",level2 : "#F5F7FA",level3 : "#FFFFFF",interactiveBackground : "#FFFFFF",interactiveHover : "#F5F7FA",interactiveActive : "#E6EDF5",overlayInvertable : "#2E3A47",overlayWhiteInvertable : "#FFFFFF",overlayStatic : "#36485C"}, +primary : {textBase : "#307553",textHover : "#275E43",textActive : "#244C38",backgroundBase : "#307553",backgroundHover : "#275E43",backgroundActive : "#244C38",backgroundMuted : "#EBF2EF",backgroundMutedHover : "#D1E0D9",backgroundMutedActive : "#B6CFC2",backgroundBox : "#FAFFFC",borderBase : "#307553",borderHover : "#275E43",borderActive : "#244C38"}, +info : {textBase : "#3971A8",textHover : "#21588F",textActive : "#194673",backgroundBase : "#3971A8",backgroundHover : "#21588F",backgroundActive : "#194673",backgroundMuted : "#E6F1FC",backgroundMutedHover : "#C0D8F0",backgroundMutedActive : "#88B1D9",backgroundBox : "#F5FAFF",borderBase : "#3971A8",borderHover : "#21588F",borderActive : "#194673"}, +warning : {textBase : "#B4631D",textHover : "#8E4D14",textActive : "#784213",backgroundBase : "#B4631D",backgroundHover : "#8E4D14",backgroundActive : "#784213",backgroundMuted : "#FFF3E8",backgroundMutedHover : "#F3D8C0",backgroundMutedActive : "#E7B88F",backgroundBox : "#FFFAF5",borderBase : "#B4631D",borderHover : "#8E4D14",borderActive : "#784213"}, +danger : {textBase : "#AF2645",textHover : "#980B29",textActive : "#800D25",backgroundBase : "#AF2645",backgroundHover : "#980B29",backgroundActive : "#800D25",backgroundMuted : "#FEEEF2",backgroundMutedHover : "#F0C4CD",backgroundMutedActive : "#E296A6",backgroundBox : "#FFF7F9",borderBase : "#AF2645",borderHover : "#980B29",borderActive : "#800D25"}, +highlight : {textBase : "#533E7D",textHover : "#3B2566",textActive : "#2A174F",backgroundBase : "#533E7D",backgroundHover : "#3B2566",backgroundActive : "#2A174F",backgroundMuted : "#F2ECFE",backgroundMutedHover : "#D7CEE9",backgroundMutedActive : "#B9ABD5",backgroundBox : "#FCFAFF",borderBase : "#533E7D",borderHover : "#3B2566",borderActive : "#2A174F"}, +disabled : {text : "#596D84",background : "#F5F7FA",nakedBackground : "transparent",border : "#C8D3E0",inputBackground : "#E6EDF5",inputLabelText : "#596D84"}, +input : {backgroundBase : "#F5F7FA",backgroundHover : "#E6EDF5",backgroundInformation : "#FFFFFF",textBase : "#475A70",textInformation : "#475A70",textInformationError : "#AF2645",textLabel : "#475A70",textFloatingLabel : "#3971A8",textFloatingLabelError : "#AF2645",textPlaceholder : "#596D84",textActive : "#2E3A47",borderBase : "#E6EDF5",borderError : "#AF2645",borderHover : "#C8D3E0",borderEmphasized : "#596D84",borderEmphasizedHover : "#475A70",borderActive : "#3971A8"}, +separator : {base : "#E6EDF5"}, +light : {backgroundBase : "#FFFFFF",backgroundContrast : "#475A70",backgroundHover : "#F5F7FA",backgroundActive : "#E6EDF5",textBase : "#2E3A47",linkMutedBase : "#F5F7FA",linkMutedHover : "#FFFFFF"},}; \ No newline at end of file diff --git a/dist/tokens/ts/typography.d.ts b/dist/tokens/ts/typography.d.ts new file mode 100644 index 00000000..d15eb3ad --- /dev/null +++ b/dist/tokens/ts/typography.d.ts @@ -0,0 +1,117 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +export const letterSpacingBase : number; +export const paragraphSpacingBase : number; +export const textDecorationBase : string; +export const textCaseBase : string; +export const size3xlarge : string; +export const size2xlarge : string; +export const sizeXlarge : string; +export const sizeLarge : string; +export const sizeNormal : string; +export const sizeSmall : string; +export const sizeXsmall : string; +export const sizeMobile3xlarge : string; +export const sizeMobile2xlarge : string; +export const sizeMobileXlarge : string; +export const lineHeightXlarge : string; +export const lineHeightLarge : string; +export const lineHeightNormal : string; +export const lineHeightSmall : string; +export const fontFamilySansSerif : string; +export const weightSemiBold : number; +export const weightBase : number; +export const weightLight : number; +export const weightStrong : number; +export const weightBold : number; +export const h1FontFamily : string; +export const h1FontWeight : number; +export const h1LineHeight : string; +export const h1FontSize : string; +export const h1LetterSpacing : number; +export const h1ParagraphSpacing : number; +export const h1TextDecoration : string; +export const h1TextCase : string; +export const h2FontFamily : string; +export const h2FontWeight : number; +export const h2LineHeight : string; +export const h2FontSize : string; +export const h2LetterSpacing : number; +export const h2ParagraphSpacing : number; +export const h2TextDecoration : string; +export const h2TextCase : string; +export const h3FontFamily : string; +export const h3FontWeight : number; +export const h3LineHeight : string; +export const h3FontSize : string; +export const h3LetterSpacing : number; +export const h3ParagraphSpacing : number; +export const h3TextDecoration : string; +export const h3TextCase : string; +export const h4FontFamily : string; +export const h4FontWeight : number; +export const h4LineHeight : string; +export const h4FontSize : string; +export const h4LetterSpacing : number; +export const h4ParagraphSpacing : number; +export const h4TextDecoration : string; +export const h4TextCase : string; +export const h5FontFamily : string; +export const h5FontWeight : number; +export const h5LineHeight : string; +export const h5FontSize : string; +export const h5LetterSpacing : number; +export const h5ParagraphSpacing : number; +export const h5TextDecoration : string; +export const h5TextCase : string; +export const bodyFontFamily : string; +export const bodyFontWeight : number; +export const bodyLineHeight : string; +export const bodyFontSize : string; +export const bodyLetterSpacing : number; +export const bodyParagraphSpacing : number; +export const bodyTextDecoration : string; +export const bodyTextCase : string; +export const footnoteFontFamily : string; +export const footnoteFontWeight : number; +export const footnoteLineHeight : string; +export const footnoteFontSize : string; +export const footnoteLetterSpacing : number; +export const footnoteParagraphSpacing : number; +export const footnoteTextDecoration : string; +export const footnoteTextCase : string; +export const captionFontFamily : string; +export const captionFontWeight : number; +export const captionLineHeight : string; +export const captionFontSize : string; +export const captionLetterSpacing : number; +export const captionParagraphSpacing : number; +export const captionTextDecoration : string; +export const captionTextCase : string; +export const mobileH1FontFamily : string; +export const mobileH1FontWeight : number; +export const mobileH1LineHeight : string; +export const mobileH1FontSize : string; +export const mobileH1LetterSpacing : number; +export const mobileH1ParagraphSpacing : number; +export const mobileH1TextDecoration : string; +export const mobileH1TextCase : string; +export const mobileH2FontFamily : string; +export const mobileH2FontWeight : number; +export const mobileH2LineHeight : string; +export const mobileH2FontSize : string; +export const mobileH2LetterSpacing : number; +export const mobileH2ParagraphSpacing : number; +export const mobileH2TextDecoration : string; +export const mobileH2TextCase : string; +export const mobileH3FontFamily : string; +export const mobileH3FontWeight : number; +export const mobileH3LineHeight : string; +export const mobileH3FontSize : string; +export const mobileH3LetterSpacing : number; +export const mobileH3ParagraphSpacing : number; +export const mobileH3TextDecoration : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/dist/tokens/ts/typography.js b/dist/tokens/ts/typography.js new file mode 100644 index 00000000..4cd058b3 --- /dev/null +++ b/dist/tokens/ts/typography.js @@ -0,0 +1,119 @@ +/** + * Do not edit directly + * Generated on Wed, 23 Nov 2022 19:55:17 GMT + */ + +module.exports = { + "letterSpacingBase": 0, + "paragraphSpacingBase": 0, + "textDecorationBase": "none", + "textCaseBase": "none", + "size3xlarge": "40px", + "size2xlarge": "32px", + "sizeXlarge": "24px", + "sizeLarge": "20px", + "sizeNormal": "16px", + "sizeSmall": "14px", + "sizeXsmall": "12px", + "sizeMobile3xlarge": "32px", + "sizeMobile2xlarge": "28px", + "sizeMobileXlarge": "22px", + "lineHeightXlarge": "40px", + "lineHeightLarge": "32px", + "lineHeightNormal": "24px", + "lineHeightSmall": "16px", + "fontFamilySansSerif": "Mulish", + "weightSemiBold": 700, + "weightBase": 500, + "weightLight": 400, + "weightStrong": 600, + "weightBold": 900, + "h1FontFamily": "Mulish", + "h1FontWeight": 700, + "h1LineHeight": "40px", + "h1FontSize": "40px", + "h1LetterSpacing": 0, + "h1ParagraphSpacing": 0, + "h1TextDecoration": "none", + "h1TextCase": "none", + "h2FontFamily": "Mulish", + "h2FontWeight": 700, + "h2LineHeight": "40px", + "h2FontSize": "32px", + "h2LetterSpacing": 0, + "h2ParagraphSpacing": 0, + "h2TextDecoration": "none", + "h2TextCase": "none", + "h3FontFamily": "Mulish", + "h3FontWeight": 700, + "h3LineHeight": "32px", + "h3FontSize": "24px", + "h3LetterSpacing": 0, + "h3ParagraphSpacing": 0, + "h3TextDecoration": "none", + "h3TextCase": "none", + "h4FontFamily": "Mulish", + "h4FontWeight": 700, + "h4LineHeight": "24px", + "h4FontSize": "20px", + "h4LetterSpacing": 0, + "h4ParagraphSpacing": 0, + "h4TextDecoration": "none", + "h4TextCase": "none", + "h5FontFamily": "Mulish", + "h5FontWeight": 700, + "h5LineHeight": "24px", + "h5FontSize": "16px", + "h5LetterSpacing": 0, + "h5ParagraphSpacing": 0, + "h5TextDecoration": "none", + "h5TextCase": "none", + "bodyFontFamily": "Mulish", + "bodyFontWeight": 500, + "bodyLineHeight": "24px", + "bodyFontSize": "16px", + "bodyLetterSpacing": 0, + "bodyParagraphSpacing": 0, + "bodyTextDecoration": "none", + "bodyTextCase": "none", + "footnoteFontFamily": "Mulish", + "footnoteFontWeight": 500, + "footnoteLineHeight": "16px", + "footnoteFontSize": "14px", + "footnoteLetterSpacing": 0, + "footnoteParagraphSpacing": 0, + "footnoteTextDecoration": "none", + "footnoteTextCase": "none", + "captionFontFamily": "Mulish", + "captionFontWeight": 500, + "captionLineHeight": "16px", + "captionFontSize": "12px", + "captionLetterSpacing": 0, + "captionParagraphSpacing": 0, + "captionTextDecoration": "none", + "captionTextCase": "none", + "mobileH1FontFamily": "Mulish", + "mobileH1FontWeight": 700, + "mobileH1LineHeight": "40px", + "mobileH1FontSize": "32px", + "mobileH1LetterSpacing": 0, + "mobileH1ParagraphSpacing": 0, + "mobileH1TextDecoration": "none", + "mobileH1TextCase": "none", + "mobileH2FontFamily": "Mulish", + "mobileH2FontWeight": 700, + "mobileH2LineHeight": "32px", + "mobileH2FontSize": "28px", + "mobileH2LetterSpacing": 0, + "mobileH2ParagraphSpacing": 0, + "mobileH2TextDecoration": "none", + "mobileH2TextCase": "none", + "mobileH3FontFamily": "Mulish", + "mobileH3FontWeight": 700, + "mobileH3LineHeight": "32px", + "mobileH3FontSize": "22px", + "mobileH3LetterSpacing": 0, + "mobileH3ParagraphSpacing": 0, + "mobileH3TextDecoration": "none", + "mobileH3TextCase": "none" +}; \ No newline at end of file From 85e54b91e0c331712d235375da7761405eea101c Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Wed, 23 Nov 2022 19:55:47 +0000 Subject: [PATCH 15/15] Files compiled! --- dist/helpers/colorProfileMapper.d.ts | 94 ++++++++++++++++++++++++ dist/helpers/colorProfileMapper.d.ts.map | 1 + dist/helpers/colorProfileMapper.js | 20 +++++ dist/helpers/index.d.ts | 2 + dist/helpers/index.d.ts.map | 1 + dist/helpers/index.js | 24 ++++++ dist/index.d.ts | 4 + dist/index.d.ts.map | 1 + dist/index.js | 69 +++++++++++++++++ dist/types/index.d.ts | 3 + dist/types/index.d.ts.map | 1 + dist/types/index.js | 37 ++++++++++ dist/types/interfaces.d.ts | 28 +++++++ dist/types/interfaces.d.ts.map | 1 + dist/types/interfaces.js | 42 +++++++++++ dist/types/profiles.d.ts | 6 ++ dist/types/profiles.d.ts.map | 1 + dist/types/profiles.js | 5 ++ dist/types/themes.d.ts | 5 ++ dist/types/themes.d.ts.map | 1 + dist/types/themes.js | 34 +++++++++ 21 files changed, 380 insertions(+) create mode 100644 dist/helpers/colorProfileMapper.d.ts create mode 100644 dist/helpers/colorProfileMapper.d.ts.map create mode 100644 dist/helpers/colorProfileMapper.js create mode 100644 dist/helpers/index.d.ts create mode 100644 dist/helpers/index.d.ts.map create mode 100644 dist/helpers/index.js create mode 100644 dist/index.d.ts create mode 100644 dist/index.d.ts.map create mode 100644 dist/index.js create mode 100644 dist/types/index.d.ts create mode 100644 dist/types/index.d.ts.map create mode 100644 dist/types/index.js create mode 100644 dist/types/interfaces.d.ts create mode 100644 dist/types/interfaces.d.ts.map create mode 100644 dist/types/interfaces.js create mode 100644 dist/types/profiles.d.ts create mode 100644 dist/types/profiles.d.ts.map create mode 100644 dist/types/profiles.js create mode 100644 dist/types/themes.d.ts create mode 100644 dist/types/themes.d.ts.map create mode 100644 dist/types/themes.js diff --git a/dist/helpers/colorProfileMapper.d.ts b/dist/helpers/colorProfileMapper.d.ts new file mode 100644 index 00000000..f1f8e962 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts @@ -0,0 +1,94 @@ +import type { AviaryTheme } from "../types/themes"; +export declare const colorProfileMapper: (currentTheme: AviaryTheme) => { + primary: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + info: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + warning: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + danger: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + highlight: { + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundHover: string; + backgroundActive: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + }; + system: { + textLabelEmphasis: string; + textBase: string; + textHover: string; + textActive: string; + backgroundBase: string; + backgroundMuted: string; + backgroundMutedHover: string; + backgroundMutedActive: string; + backgroundBox: string; + borderBase: string; + borderHover: string; + borderActive: string; + borderFocused: string; + }; +}; +//# sourceMappingURL=colorProfileMapper.d.ts.map \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.d.ts.map b/dist/helpers/colorProfileMapper.d.ts.map new file mode 100644 index 00000000..82925827 --- /dev/null +++ b/dist/helpers/colorProfileMapper.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"colorProfileMapper.d.ts","sourceRoot":"","sources":["../../src/helpers/colorProfileMapper.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAEnD,eAAO,MAAM,kBAAkB,iBAAkB,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAS3D,CAAC"} \ No newline at end of file diff --git a/dist/helpers/colorProfileMapper.js b/dist/helpers/colorProfileMapper.js new file mode 100644 index 00000000..77f12372 --- /dev/null +++ b/dist/helpers/colorProfileMapper.js @@ -0,0 +1,20 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.colorProfileMapper = void 0; + +// Used for mapping over selected `isColor` properties +var colorProfileMapper = function colorProfileMapper(currentTheme) { + return { + primary: currentTheme.primary, + info: currentTheme.info, + warning: currentTheme.warning, + danger: currentTheme.danger, + highlight: currentTheme.highlight, + system: currentTheme.system + }; +}; + +exports.colorProfileMapper = colorProfileMapper; \ No newline at end of file diff --git a/dist/helpers/index.d.ts b/dist/helpers/index.d.ts new file mode 100644 index 00000000..7a4a22d6 --- /dev/null +++ b/dist/helpers/index.d.ts @@ -0,0 +1,2 @@ +export * from "./colorProfileMapper"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/helpers/index.d.ts.map b/dist/helpers/index.d.ts.map new file mode 100644 index 00000000..94ae4bb1 --- /dev/null +++ b/dist/helpers/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/helpers/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"} \ No newline at end of file diff --git a/dist/helpers/index.js b/dist/helpers/index.js new file mode 100644 index 00000000..155de21a --- /dev/null +++ b/dist/helpers/index.js @@ -0,0 +1,24 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _colorProfileMapper = require("./colorProfileMapper"); + +Object.keys(_colorProfileMapper).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _colorProfileMapper[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _colorProfileMapper[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/index.d.ts b/dist/index.d.ts new file mode 100644 index 00000000..4e6d91d8 --- /dev/null +++ b/dist/index.d.ts @@ -0,0 +1,4 @@ +export * from "./helpers"; +export * from "./types"; +export * as typography from "../dist/tokens/ts/typography"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/index.d.ts.map b/dist/index.d.ts.map new file mode 100644 index 00000000..90c36e9d --- /dev/null +++ b/dist/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAA;AACvB,OAAO,KAAK,UAAU,MAAM,8BAA8B,CAAC"} \ No newline at end of file diff --git a/dist/index.js b/dist/index.js new file mode 100644 index 00000000..2b85585c --- /dev/null +++ b/dist/index.js @@ -0,0 +1,69 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +var _exportNames = { + typography: true +}; +exports.typography = void 0; + +var _helpers = require("./helpers"); + +Object.keys(_helpers).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _helpers[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _helpers[key]; + } + }); +}); + +var _types = require("./types"); + +Object.keys(_types).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return; + if (key in exports && exports[key] === _types[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _types[key]; + } + }); +}); + +var _typography = _interopRequireWildcard(require("../dist/tokens/ts/typography")); + +exports.typography = _typography; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file diff --git a/dist/types/index.d.ts b/dist/types/index.d.ts new file mode 100644 index 00000000..bf33064e --- /dev/null +++ b/dist/types/index.d.ts @@ -0,0 +1,3 @@ +export * from "./interfaces"; +export * from "./profiles"; +//# sourceMappingURL=index.d.ts.map \ No newline at end of file diff --git a/dist/types/index.d.ts.map b/dist/types/index.d.ts.map new file mode 100644 index 00000000..1ca1b828 --- /dev/null +++ b/dist/types/index.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/types/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,YAAY,CAAC"} \ No newline at end of file diff --git a/dist/types/index.js b/dist/types/index.js new file mode 100644 index 00000000..9ce320c1 --- /dev/null +++ b/dist/types/index.js @@ -0,0 +1,37 @@ +"use strict"; + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.keys.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); + +var _interfaces = require("./interfaces"); + +Object.keys(_interfaces).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _interfaces[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _interfaces[key]; + } + }); +}); + +var _profiles = require("./profiles"); + +Object.keys(_profiles).forEach(function (key) { + if (key === "default" || key === "__esModule") return; + if (key in exports && exports[key] === _profiles[key]) return; + Object.defineProperty(exports, key, { + enumerable: true, + get: function get() { + return _profiles[key]; + } + }); +}); \ No newline at end of file diff --git a/dist/types/interfaces.d.ts b/dist/types/interfaces.d.ts new file mode 100644 index 00000000..0cea5539 --- /dev/null +++ b/dist/types/interfaces.d.ts @@ -0,0 +1,28 @@ +declare const AVIARY_COLORS: { + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; +}; +declare const EXTENDED_AVIARY_COLORS: { + light: string; + primary: string; + info: string; + warning: string; + danger: string; + highlight: string; + system: string; +}; +declare type AviaryColors = keyof typeof AVIARY_COLORS; +declare type ExtendedAviaryColors = keyof typeof EXTENDED_AVIARY_COLORS; +interface AviaryColorProps { + isColor?: AviaryColors; +} +interface AviaryExtendedColorProps { + isColor?: ExtendedAviaryColors; +} +export type { AviaryColors, AviaryColorProps, AviaryExtendedColorProps, ExtendedAviaryColors, }; +export { AVIARY_COLORS, EXTENDED_AVIARY_COLORS }; +//# sourceMappingURL=interfaces.d.ts.map \ No newline at end of file diff --git a/dist/types/interfaces.d.ts.map b/dist/types/interfaces.d.ts.map new file mode 100644 index 00000000..87d81861 --- /dev/null +++ b/dist/types/interfaces.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"interfaces.d.ts","sourceRoot":"","sources":["../../src/types/interfaces.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa;;;;;;;CAOlB,CAAC;AAEF,QAAA,MAAM,sBAAsB;;;;;;;;CAG3B,CAAC;AAEF,aAAK,YAAY,GAAG,MAAM,OAAO,aAAa,CAAC;AAC/C,aAAK,oBAAoB,GAAG,MAAM,OAAO,sBAAsB,CAAC;AAEhE,UAAU,gBAAgB;IACxB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB;AACD,UAAU,wBAAwB;IAChC,OAAO,CAAC,EAAE,oBAAoB,CAAC;CAChC;AAED,YAAY,EACV,YAAY,EACZ,gBAAgB,EAChB,wBAAwB,EACxB,oBAAoB,GACrB,CAAC;AACF,OAAO,EAAE,aAAa,EAAE,sBAAsB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/interfaces.js b/dist/types/interfaces.js new file mode 100644 index 00000000..42449ef5 --- /dev/null +++ b/dist/types/interfaces.js @@ -0,0 +1,42 @@ +"use strict"; + +require("core-js/modules/es.object.keys.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.array.filter.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/web.dom-collections.for-each.js"); + +require("core-js/modules/es.object.get-own-property-descriptors.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.EXTENDED_AVIARY_COLORS = exports.AVIARY_COLORS = void 0; + +function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; } + +function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; } + +function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; } + +var AVIARY_COLORS = { + primary: "primary", + info: "info", + warning: "warning", + danger: "danger", + highlight: "highlight", + system: "system" +}; +exports.AVIARY_COLORS = AVIARY_COLORS; + +var EXTENDED_AVIARY_COLORS = _objectSpread(_objectSpread({}, AVIARY_COLORS), {}, { + light: "light" +}); + +exports.EXTENDED_AVIARY_COLORS = EXTENDED_AVIARY_COLORS; \ No newline at end of file diff --git a/dist/types/profiles.d.ts b/dist/types/profiles.d.ts new file mode 100644 index 00000000..fdaa73de --- /dev/null +++ b/dist/types/profiles.d.ts @@ -0,0 +1,6 @@ +import type * as light from "../../dist/tokens/ts/themes/light.d"; +declare type StandardColorsProfileTheme = typeof light.primary; +declare type SystemColorProfileTheme = typeof light.system; +declare type ColorProfileTheme = StandardColorsProfileTheme | SystemColorProfileTheme; +export type { ColorProfileTheme }; +//# sourceMappingURL=profiles.d.ts.map \ No newline at end of file diff --git a/dist/types/profiles.d.ts.map b/dist/types/profiles.d.ts.map new file mode 100644 index 00000000..c292ac7a --- /dev/null +++ b/dist/types/profiles.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"profiles.d.ts","sourceRoot":"","sources":["../../src/types/profiles.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,qCAAqC,CAAC;AAElE,aAAK,0BAA0B,GAAG,OAAO,KAAK,CAAC,OAAO,CAAC;AACvD,aAAK,uBAAuB,GAAG,OAAO,KAAK,CAAC,MAAM,CAAC;AAEnD,aAAK,iBAAiB,GAAG,0BAA0B,GAAG,uBAAuB,CAAC;AAE9E,YAAY,EAAE,iBAAiB,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/profiles.js b/dist/types/profiles.js new file mode 100644 index 00000000..430afc16 --- /dev/null +++ b/dist/types/profiles.js @@ -0,0 +1,5 @@ +"use strict"; + +Object.defineProperty(exports, "__esModule", { + value: true +}); \ No newline at end of file diff --git a/dist/types/themes.d.ts b/dist/types/themes.d.ts new file mode 100644 index 00000000..e3961e9a --- /dev/null +++ b/dist/types/themes.d.ts @@ -0,0 +1,5 @@ +import * as light from "../../dist/tokens/ts/themes/light"; +declare type AviaryTheme = typeof light; +export { light }; +export type { AviaryTheme }; +//# sourceMappingURL=themes.d.ts.map \ No newline at end of file diff --git a/dist/types/themes.d.ts.map b/dist/types/themes.d.ts.map new file mode 100644 index 00000000..6d18b917 --- /dev/null +++ b/dist/types/themes.d.ts.map @@ -0,0 +1 @@ +{"version":3,"file":"themes.d.ts","sourceRoot":"","sources":["../../src/types/themes.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,KAAK,MAAM,mCAAmC,CAAC;AAE3D,aAAK,WAAW,GAAG,OAAO,KAAK,CAAC;AAEhC,OAAO,EAAE,KAAK,EAAE,CAAC;AACjB,YAAY,EAAE,WAAW,EAAE,CAAC"} \ No newline at end of file diff --git a/dist/types/themes.js b/dist/types/themes.js new file mode 100644 index 00000000..18061b50 --- /dev/null +++ b/dist/types/themes.js @@ -0,0 +1,34 @@ +"use strict"; + +function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); } + +require("core-js/modules/es.array.iterator.js"); + +require("core-js/modules/es.object.to-string.js"); + +require("core-js/modules/es.string.iterator.js"); + +require("core-js/modules/es.weak-map.js"); + +require("core-js/modules/web.dom-collections.iterator.js"); + +require("core-js/modules/es.object.get-own-property-descriptor.js"); + +require("core-js/modules/es.symbol.js"); + +require("core-js/modules/es.symbol.description.js"); + +require("core-js/modules/es.symbol.iterator.js"); + +Object.defineProperty(exports, "__esModule", { + value: true +}); +exports.light = void 0; + +var light = _interopRequireWildcard(require("../../dist/tokens/ts/themes/light")); + +exports.light = light; + +function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); } + +function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || _typeof(obj) !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; } \ No newline at end of file