From 2eeb7428fdffb404e6b8fa6c862031d7e3543436 Mon Sep 17 00:00:00 2001 From: Alexandra Lim Date: Tue, 9 Aug 2022 17:06:18 -0400 Subject: [PATCH 1/7] delete config, map build to separate themes --- build.js | 161 +++++++++++++++++++++++++++------------------------- config.json | 3 - 2 files changed, 84 insertions(+), 80 deletions(-) delete mode 100644 config.json diff --git a/build.js b/build.js index e4eb2201..23a3c934 100644 --- a/build.js +++ b/build.js @@ -1,4 +1,4 @@ -const StyleDictionary = require("style-dictionary").extend("config.json"); +const StyleDictionary = require("style-dictionary"); const ChangeCase = require("change-case"); function isStringPxValue(token) { @@ -72,87 +72,94 @@ StyleDictionary.registerTransformGroup({ ], }); -StyleDictionary.extend({ - platforms: { - Owlery: { - transformGroup: "custom/aviary", - buildPath: "build/scss/", - files: [ - { - destination: "typography.scss", - format: "scss/variables", - filter: "filter-typography", - }, - { - destination: "colors.scss", - format: "scss/variables", - filter: { - type: "color", +function getStyleDictionaryConfig(theme) { + return { + source: [`transformed/transformed-${theme}.json`], + platforms: { + Owlery: { + transformGroup: "custom/aviary", + buildPath: "build/scss/", + files: [ + { + destination: `typography.scss`, + format: "scss/variables", + filter: "filter-typography", }, - }, - ], - }, + { + destination: `themes/${theme}.scss`, + format: "scss/variables", + filter: { + type: "color", + }, + }, + ], + }, - Aviary: { - transformGroup: "custom/aviary", - buildPath: "build/ts/", - files: [ - { - format: "javascript/module-flat", - destination: "typography.js", - filter: "filter-typography", - }, - { - format: "typescript/es6-declarations", - destination: "typography.d.ts", - filter: "filter-typography", - }, - { - format: "javascript/module-flat", - destination: "colors.js", - filter: { - type: "color", + Aviary: { + transformGroup: "custom/aviary", + buildPath: "build/ts/", + files: [ + { + format: "javascript/module-flat", + destination: "typography.js", + filter: "filter-typography", }, - }, - { - format: "typescript/es6-declarations", - destination: "colors.d.ts", - filter: { - type: "color", + { + format: "typescript/es6-declarations", + destination: "typography.d.ts", + filter: "filter-typography", }, - }, - ], - }, + { + format: "javascript/module-flat", + destination: `themes/${theme}.js`, + filter: { + type: "color", + }, + }, + { + format: "typescript/es6-declarations", + destination: `themes/${theme}.d.ts`, + filter: { + type: "color", + }, + }, + ], + }, - Native: { - transformGroup: "custom/native", - buildPath: "build/native/", - files: [ - { - format: "javascript/module-flat", - destination: "typography.js", - filter: "filter-typography", - }, - { - format: "typescript/es6-declarations", - destination: "typography.d.ts", - filter: "filter-typography", - }, - { - format: "javascript/module-flat", - destination: "colors.js", - filter: { - type: "color", + Native: { + transformGroup: "custom/native", + buildPath: "build/native/", + files: [ + { + format: "javascript/module-flat", + destination: "typography.js", + filter: "filter-typography", + }, + { + format: "typescript/es6-declarations", + destination: "typography.d.ts", + filter: "filter-typography", }, - }, - { - format: "typescript/es6-declarations", - destination: "colors.d.ts", - filter: { - type: "color", + { + format: "javascript/module-flat", + destination: `themes/${theme}.js`, + filter: { + type: "color", + }, }, - }, - ], + { + format: "typescript/es6-declarations", + destination: `themes/${theme}.d.ts", + filter: { + type: "color", + }, + }, + ], + }, }, - }, -}).buildAllPlatforms(); + }; +} + +["core", "light"].map(function (theme) { + StyleDictionary.extend(getStyleDictionaryConfig(theme)).buildAllPlatforms(); +}); diff --git a/config.json b/config.json deleted file mode 100644 index 78627b7e..00000000 --- a/config.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "source": ["transformed/transformed-core.json"] -} From 7bc48996e73570863d5bea005e27a513a303209b Mon Sep 17 00:00:00 2001 From: Alexandra Lim Date: Tue, 9 Aug 2022 17:07:19 -0400 Subject: [PATCH 2/7] missed template literal --- build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.js b/build.js index 23a3c934..43c82644 100644 --- a/build.js +++ b/build.js @@ -149,7 +149,7 @@ function getStyleDictionaryConfig(theme) { }, { format: "typescript/es6-declarations", - destination: `themes/${theme}.d.ts", + destination: `themes/${theme}.d.ts`, filter: { type: "color", }, From d3f57c0432723cc0e2bc4e7ec03917c0fc77b680 Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Tue, 9 Aug 2022 21:08:16 +0000 Subject: [PATCH 3/7] Built and updated design tokens --- build/native/themes/core.d.ts | 56 +++++++++++++++++++++++ build/native/themes/core.js | 58 +++++++++++++++++++++++ build/native/themes/light.d.ts | 82 +++++++++++++++++++++++++++++++++ build/native/themes/light.js | 84 ++++++++++++++++++++++++++++++++++ build/native/typography.d.ts | 4 +- build/native/typography.js | 4 +- build/scss/themes/core.scss | 55 ++++++++++++++++++++++ build/scss/themes/light.scss | 81 ++++++++++++++++++++++++++++++++ build/scss/typography.scss | 4 +- build/ts/themes/core.d.ts | 56 +++++++++++++++++++++++ build/ts/themes/core.js | 58 +++++++++++++++++++++++ build/ts/themes/light.d.ts | 82 +++++++++++++++++++++++++++++++++ build/ts/themes/light.js | 84 ++++++++++++++++++++++++++++++++++ build/ts/typography.d.ts | 4 +- build/ts/typography.js | 4 +- 15 files changed, 706 insertions(+), 10 deletions(-) create mode 100644 build/native/themes/core.d.ts create mode 100644 build/native/themes/core.js create mode 100644 build/native/themes/light.d.ts create mode 100644 build/native/themes/light.js create mode 100644 build/scss/themes/core.scss create mode 100644 build/scss/themes/light.scss create mode 100644 build/ts/themes/core.d.ts create mode 100644 build/ts/themes/core.js create mode 100644 build/ts/themes/light.d.ts create mode 100644 build/ts/themes/light.js diff --git a/build/native/themes/core.d.ts b/build/native/themes/core.d.ts new file mode 100644 index 00000000..5fd013d8 --- /dev/null +++ b/build/native/themes/core.d.ts @@ -0,0 +1,56 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:08:15 GMT + */ + +export const green100 : string; +export const green200 : string; +export const green300 : string; +export const green400 : string; +export const green500 : string; +export const green600 : string; +export const green700 : string; +export const green800 : string; +export const blue100 : string; +export const blue200 : string; +export const blue300 : string; +export const blue400 : string; +export const blue500 : string; +export const blue600 : string; +export const blue700 : string; +export const blue800 : string; +export const red100 : string; +export const red200 : string; +export const red300 : string; +export const red400 : string; +export const red500 : string; +export const red600 : string; +export const red700 : string; +export const red800 : string; +export const purple100 : string; +export const purple200 : string; +export const purple300 : string; +export const purple400 : string; +export const purple500 : string; +export const purple600 : string; +export const purple700 : string; +export const purple800 : string; +export const orange100 : string; +export const orange200 : string; +export const orange300 : string; +export const orange400 : string; +export const orange500 : string; +export const orange600 : string; +export const orange700 : string; +export const orange800 : string; +export const grey100 : string; +export const grey200 : string; +export const grey300 : string; +export const grey400 : string; +export const grey500 : string; +export const grey600 : string; +export const grey700 : string; +export const grey800 : string; +export const white : string; +export const black : string; +export const transparent : string; \ No newline at end of file diff --git a/build/native/themes/core.js b/build/native/themes/core.js new file mode 100644 index 00000000..0880e4bb --- /dev/null +++ b/build/native/themes/core.js @@ -0,0 +1,58 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:08:15 GMT + */ + +module.exports = { + "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", + "white": "#FFFFFF", + "black": "#000000", + "transparent": "transparent" +}; \ No newline at end of file diff --git a/build/native/themes/light.d.ts b/build/native/themes/light.d.ts new file mode 100644 index 00000000..acdd1e99 --- /dev/null +++ b/build/native/themes/light.d.ts @@ -0,0 +1,82 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:08:15 GMT + */ + +export const textBase : string; +export const textEmphasis : string; +export const textSubdued : string; +export const surfaceLevel0 : string; +export const surfaceLevel1 : string; +export const surfaceLevel2 : string; +export const surfaceLevel3 : string; +export const primaryTextBase : string; +export const primaryTextHover : string; +export const primaryTextActive : string; +export const primaryBackgroundBase : string; +export const primaryBackgroundHover : string; +export const primaryBackgroundActive : string; +export const primaryBackgroundMuted : string; +export const primaryBackgroundMutedHover : string; +export const primaryBackgroundMutedActive : string; +export const primaryBackgroundBox : string; +export const primaryBorderBase : string; +export const primaryBorderHover : string; +export const primaryBorderActive : string; +export const infoTextBase : string; +export const infoTextHover : string; +export const infoTextActive : string; +export const infoBackgroundBase : string; +export const infoBackgroundHover : string; +export const infoBackgroundActive : string; +export const infoBackgroundMuted : string; +export const infoBackgroundMutedHover : string; +export const infoBackgroundMutedActive : string; +export const infoBackgroundBox : string; +export const infoBorderBase : string; +export const infoBorderHover : string; +export const infoBorderActive : string; +export const warningTextBase : string; +export const warningTextHover : string; +export const warningTextActive : string; +export const warningBackgroundBase : string; +export const warningBackgroundHover : string; +export const warningBackgroundActive : string; +export const warningBackgroundMuted : string; +export const warningBackgroundMutedHover : string; +export const warningBackgroundMutedActive : string; +export const warningBackgroundBox : string; +export const warningBorderBase : string; +export const warningBorderHover : string; +export const warningBorderActive : string; +export const dangerTextBase : string; +export const dangerTextHover : string; +export const dangerTextActive : string; +export const dangerBackgroundBase : string; +export const dangerBackgroundHover : string; +export const dangerBackgroundActive : string; +export const dangerBackgroundMuted : string; +export const dangerBackgroundMutedHover : string; +export const dangerBackgroundMutedActive : string; +export const dangerBackgroundBox : string; +export const dangerBorderBase : string; +export const dangerBorderHover : string; +export const dangerBorderActive : string; +export const highlightTextBase : string; +export const highlightTextHover : string; +export const highlightTextActive : string; +export const highlightBackgroundBase : string; +export const highlightBackgroundHover : string; +export const highlightBackgroundActive : string; +export const highlightBackgroundMuted : string; +export const highlightBackgroundMutedHover : string; +export const highlightBackgroundMutedActive : string; +export const highlightBackgroundBox : string; +export const highlightBorderBase : string; +export const highlightBorderHover : string; +export const highlightBorderActive : string; +export const disabledText : string; +export const disabledBackground : string; +export const disabledNakedContent : string; +export const disabledNakedBackground : string; +export const disabledBorder : string; \ No newline at end of file diff --git a/build/native/themes/light.js b/build/native/themes/light.js new file mode 100644 index 00000000..18ae3aca --- /dev/null +++ b/build/native/themes/light.js @@ -0,0 +1,84 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:08:15 GMT + */ + +module.exports = { + "textBase": "#2E3A47", + "textEmphasis": "#36485C", + "textSubdued": "#596D84", + "surfaceLevel0": "#F5F7FA", + "surfaceLevel1": "#FFFFFF", + "surfaceLevel2": "#FCFEFF", + "surfaceLevel3": "#FFFFFF", + "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" +}; \ No newline at end of file diff --git a/build/native/typography.d.ts b/build/native/typography.d.ts index 88197301..1f86483d 100644 --- a/build/native/typography.d.ts +++ b/build/native/typography.d.ts @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 08 Aug 2022 16:30:42 GMT + * Generated on Tue, 09 Aug 2022 21:08:15 GMT */ export const letterSpacingBase : number; @@ -114,4 +114,4 @@ export const mobileH3FontSize : number; export const mobileH3LetterSpacing : number; export const mobileH3ParagraphSpacing : number; export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/build/native/typography.js b/build/native/typography.js index e785ddbb..a9445ae6 100644 --- a/build/native/typography.js +++ b/build/native/typography.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 08 Aug 2022 16:30:42 GMT + * Generated on Tue, 09 Aug 2022 21:08:15 GMT */ module.exports = { @@ -116,4 +116,4 @@ module.exports = { "mobileH3ParagraphSpacing": 0, "mobileH3TextDecoration": "none", "mobileH3TextCase": "none" -}; +}; \ No newline at end of file diff --git a/build/scss/themes/core.scss b/build/scss/themes/core.scss new file mode 100644 index 00000000..3f870d7b --- /dev/null +++ b/build/scss/themes/core.scss @@ -0,0 +1,55 @@ + +// Do not edit directly +// Generated on Tue, 09 Aug 2022 21:08:15 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; +$white: #FFFFFF; +$black: #000000; +$transparent: transparent; \ No newline at end of file diff --git a/build/scss/themes/light.scss b/build/scss/themes/light.scss new file mode 100644 index 00000000..dd89043c --- /dev/null +++ b/build/scss/themes/light.scss @@ -0,0 +1,81 @@ + +// Do not edit directly +// Generated on Tue, 09 Aug 2022 21:08:15 GMT + +$textBase: #2E3A47; +$textEmphasis: #36485C; +$textSubdued: #596D84; +$surfaceLevel0: #F5F7FA; +$surfaceLevel1: #FFFFFF; +$surfaceLevel2: #FCFEFF; +$surfaceLevel3: #FFFFFF; +$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; \ No newline at end of file diff --git a/build/scss/typography.scss b/build/scss/typography.scss index c23224c3..29594d02 100644 --- a/build/scss/typography.scss +++ b/build/scss/typography.scss @@ -1,6 +1,6 @@ // Do not edit directly -// Generated on Mon, 08 Aug 2022 16:30:42 GMT +// Generated on Tue, 09 Aug 2022 21:08:15 GMT $letterSpacingBase: 0; $paragraphSpacingBase: 0; @@ -113,4 +113,4 @@ $mobileH3FontSize: 22px; $mobileH3LetterSpacing: 0; $mobileH3ParagraphSpacing: 0; $mobileH3TextDecoration: none; -$mobileH3TextCase: none; +$mobileH3TextCase: none; \ No newline at end of file diff --git a/build/ts/themes/core.d.ts b/build/ts/themes/core.d.ts new file mode 100644 index 00000000..5fd013d8 --- /dev/null +++ b/build/ts/themes/core.d.ts @@ -0,0 +1,56 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:08:15 GMT + */ + +export const green100 : string; +export const green200 : string; +export const green300 : string; +export const green400 : string; +export const green500 : string; +export const green600 : string; +export const green700 : string; +export const green800 : string; +export const blue100 : string; +export const blue200 : string; +export const blue300 : string; +export const blue400 : string; +export const blue500 : string; +export const blue600 : string; +export const blue700 : string; +export const blue800 : string; +export const red100 : string; +export const red200 : string; +export const red300 : string; +export const red400 : string; +export const red500 : string; +export const red600 : string; +export const red700 : string; +export const red800 : string; +export const purple100 : string; +export const purple200 : string; +export const purple300 : string; +export const purple400 : string; +export const purple500 : string; +export const purple600 : string; +export const purple700 : string; +export const purple800 : string; +export const orange100 : string; +export const orange200 : string; +export const orange300 : string; +export const orange400 : string; +export const orange500 : string; +export const orange600 : string; +export const orange700 : string; +export const orange800 : string; +export const grey100 : string; +export const grey200 : string; +export const grey300 : string; +export const grey400 : string; +export const grey500 : string; +export const grey600 : string; +export const grey700 : string; +export const grey800 : string; +export const white : string; +export const black : string; +export const transparent : string; \ No newline at end of file diff --git a/build/ts/themes/core.js b/build/ts/themes/core.js new file mode 100644 index 00000000..0880e4bb --- /dev/null +++ b/build/ts/themes/core.js @@ -0,0 +1,58 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:08:15 GMT + */ + +module.exports = { + "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", + "white": "#FFFFFF", + "black": "#000000", + "transparent": "transparent" +}; \ No newline at end of file diff --git a/build/ts/themes/light.d.ts b/build/ts/themes/light.d.ts new file mode 100644 index 00000000..acdd1e99 --- /dev/null +++ b/build/ts/themes/light.d.ts @@ -0,0 +1,82 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:08:15 GMT + */ + +export const textBase : string; +export const textEmphasis : string; +export const textSubdued : string; +export const surfaceLevel0 : string; +export const surfaceLevel1 : string; +export const surfaceLevel2 : string; +export const surfaceLevel3 : string; +export const primaryTextBase : string; +export const primaryTextHover : string; +export const primaryTextActive : string; +export const primaryBackgroundBase : string; +export const primaryBackgroundHover : string; +export const primaryBackgroundActive : string; +export const primaryBackgroundMuted : string; +export const primaryBackgroundMutedHover : string; +export const primaryBackgroundMutedActive : string; +export const primaryBackgroundBox : string; +export const primaryBorderBase : string; +export const primaryBorderHover : string; +export const primaryBorderActive : string; +export const infoTextBase : string; +export const infoTextHover : string; +export const infoTextActive : string; +export const infoBackgroundBase : string; +export const infoBackgroundHover : string; +export const infoBackgroundActive : string; +export const infoBackgroundMuted : string; +export const infoBackgroundMutedHover : string; +export const infoBackgroundMutedActive : string; +export const infoBackgroundBox : string; +export const infoBorderBase : string; +export const infoBorderHover : string; +export const infoBorderActive : string; +export const warningTextBase : string; +export const warningTextHover : string; +export const warningTextActive : string; +export const warningBackgroundBase : string; +export const warningBackgroundHover : string; +export const warningBackgroundActive : string; +export const warningBackgroundMuted : string; +export const warningBackgroundMutedHover : string; +export const warningBackgroundMutedActive : string; +export const warningBackgroundBox : string; +export const warningBorderBase : string; +export const warningBorderHover : string; +export const warningBorderActive : string; +export const dangerTextBase : string; +export const dangerTextHover : string; +export const dangerTextActive : string; +export const dangerBackgroundBase : string; +export const dangerBackgroundHover : string; +export const dangerBackgroundActive : string; +export const dangerBackgroundMuted : string; +export const dangerBackgroundMutedHover : string; +export const dangerBackgroundMutedActive : string; +export const dangerBackgroundBox : string; +export const dangerBorderBase : string; +export const dangerBorderHover : string; +export const dangerBorderActive : string; +export const highlightTextBase : string; +export const highlightTextHover : string; +export const highlightTextActive : string; +export const highlightBackgroundBase : string; +export const highlightBackgroundHover : string; +export const highlightBackgroundActive : string; +export const highlightBackgroundMuted : string; +export const highlightBackgroundMutedHover : string; +export const highlightBackgroundMutedActive : string; +export const highlightBackgroundBox : string; +export const highlightBorderBase : string; +export const highlightBorderHover : string; +export const highlightBorderActive : string; +export const disabledText : string; +export const disabledBackground : string; +export const disabledNakedContent : string; +export const disabledNakedBackground : string; +export const disabledBorder : string; \ No newline at end of file diff --git a/build/ts/themes/light.js b/build/ts/themes/light.js new file mode 100644 index 00000000..18ae3aca --- /dev/null +++ b/build/ts/themes/light.js @@ -0,0 +1,84 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:08:15 GMT + */ + +module.exports = { + "textBase": "#2E3A47", + "textEmphasis": "#36485C", + "textSubdued": "#596D84", + "surfaceLevel0": "#F5F7FA", + "surfaceLevel1": "#FFFFFF", + "surfaceLevel2": "#FCFEFF", + "surfaceLevel3": "#FFFFFF", + "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" +}; \ No newline at end of file diff --git a/build/ts/typography.d.ts b/build/ts/typography.d.ts index c8601385..58e343e9 100644 --- a/build/ts/typography.d.ts +++ b/build/ts/typography.d.ts @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 08 Aug 2022 16:30:42 GMT + * Generated on Tue, 09 Aug 2022 21:08:15 GMT */ export const letterSpacingBase : number; @@ -114,4 +114,4 @@ export const mobileH3FontSize : string; export const mobileH3LetterSpacing : number; export const mobileH3ParagraphSpacing : number; export const mobileH3TextDecoration : string; -export const mobileH3TextCase : string; +export const mobileH3TextCase : string; \ No newline at end of file diff --git a/build/ts/typography.js b/build/ts/typography.js index 052092d3..d19f77e4 100644 --- a/build/ts/typography.js +++ b/build/ts/typography.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 08 Aug 2022 16:30:42 GMT + * Generated on Tue, 09 Aug 2022 21:08:15 GMT */ module.exports = { @@ -116,4 +116,4 @@ module.exports = { "mobileH3ParagraphSpacing": 0, "mobileH3TextDecoration": "none", "mobileH3TextCase": "none" -}; +}; \ No newline at end of file From b423a488b387c3e90c1bd7161c2b6518674a1ddd Mon Sep 17 00:00:00 2001 From: Alexandra Lim Date: Tue, 9 Aug 2022 17:08:19 -0400 Subject: [PATCH 4/7] remove config.json from build-tokens workflow --- .github/workflows/build-tokens.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build-tokens.yml b/.github/workflows/build-tokens.yml index 494d228a..10de2311 100644 --- a/.github/workflows/build-tokens.yml +++ b/.github/workflows/build-tokens.yml @@ -5,7 +5,6 @@ on: paths: - "data/light.json" - "data/core.json" - - "config.json" - "build.js" branches-ignore: - "main" From 1f57c9e303ab781cc536ba39db58931781c9ca08 Mon Sep 17 00:00:00 2001 From: Alexandra Lim Date: Tue, 9 Aug 2022 17:43:04 -0400 Subject: [PATCH 5/7] add ternaries to build files to themes folder if not core theme --- build.js | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/build.js b/build.js index 43c82644..f8f52a65 100644 --- a/build.js +++ b/build.js @@ -72,7 +72,8 @@ StyleDictionary.registerTransformGroup({ ], }); -function getStyleDictionaryConfig(theme) { +const getStyleDictionaryConfig = (theme) => { + const core = theme === "core"; return { source: [`transformed/transformed-${theme}.json`], platforms: { @@ -86,7 +87,7 @@ function getStyleDictionaryConfig(theme) { filter: "filter-typography", }, { - destination: `themes/${theme}.scss`, + destination: core ? "colors.scss" : `themes/${theme}.scss`, format: "scss/variables", filter: { type: "color", @@ -111,14 +112,14 @@ function getStyleDictionaryConfig(theme) { }, { format: "javascript/module-flat", - destination: `themes/${theme}.js`, + destination: core ? "colors.js" : `themes/${theme}.js`, filter: { type: "color", }, }, { format: "typescript/es6-declarations", - destination: `themes/${theme}.d.ts`, + destination: core ? "colors.d.ts" : `themes/${theme}.d.ts`, filter: { type: "color", }, @@ -142,14 +143,14 @@ function getStyleDictionaryConfig(theme) { }, { format: "javascript/module-flat", - destination: `themes/${theme}.js`, + destination: core ? "colors.js" : `themes/${theme}.js`, filter: { type: "color", }, }, { format: "typescript/es6-declarations", - destination: `themes/${theme}.d.ts`, + destination: core ? "colors.d.ts" : `themes/${theme}.d.ts`, filter: { type: "color", }, @@ -158,8 +159,10 @@ function getStyleDictionaryConfig(theme) { }, }, }; -} +}; -["core", "light"].map(function (theme) { +// Add themes to the array to create theme-specific files under themes folder +// "core" theme will build files outside of the themes folder +["core", "light"].map((theme) => { StyleDictionary.extend(getStyleDictionaryConfig(theme)).buildAllPlatforms(); }); From ef05fd08e0a9ae1cb8f0bc9ebebf634239ecf2c0 Mon Sep 17 00:00:00 2001 From: alexandra-lim Date: Tue, 9 Aug 2022 21:44:10 +0000 Subject: [PATCH 6/7] Built and updated design tokens --- build/native/colors.d.ts | 4 ++-- build/native/colors.js | 4 ++-- build/native/themes/light.d.ts | 2 +- build/native/themes/light.js | 2 +- build/native/typography.d.ts | 2 +- build/native/typography.js | 2 +- build/scss/colors.scss | 4 ++-- build/scss/themes/light.scss | 2 +- build/scss/typography.scss | 2 +- build/ts/colors.d.ts | 4 ++-- build/ts/colors.js | 4 ++-- build/ts/themes/light.d.ts | 2 +- build/ts/themes/light.js | 2 +- build/ts/typography.d.ts | 2 +- build/ts/typography.js | 2 +- 15 files changed, 20 insertions(+), 20 deletions(-) diff --git a/build/native/colors.d.ts b/build/native/colors.d.ts index 7dee636e..02733ffd 100644 --- a/build/native/colors.d.ts +++ b/build/native/colors.d.ts @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 08 Aug 2022 16:30:42 GMT + * Generated on Tue, 09 Aug 2022 21:44:08 GMT */ export const green100 : string; @@ -53,4 +53,4 @@ export const grey700 : string; export const grey800 : string; export const white : string; export const black : string; -export const transparent : string; +export const transparent : string; \ No newline at end of file diff --git a/build/native/colors.js b/build/native/colors.js index 363d6bb6..ca0832c7 100644 --- a/build/native/colors.js +++ b/build/native/colors.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 08 Aug 2022 16:30:42 GMT + * Generated on Tue, 09 Aug 2022 21:44:08 GMT */ module.exports = { @@ -55,4 +55,4 @@ module.exports = { "white": "#FFFFFF", "black": "#000000", "transparent": "transparent" -}; +}; \ No newline at end of file diff --git a/build/native/themes/light.d.ts b/build/native/themes/light.d.ts index acdd1e99..4f353b66 100644 --- a/build/native/themes/light.d.ts +++ b/build/native/themes/light.d.ts @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT + * Generated on Tue, 09 Aug 2022 21:44:09 GMT */ export const textBase : string; diff --git a/build/native/themes/light.js b/build/native/themes/light.js index 18ae3aca..221241d5 100644 --- a/build/native/themes/light.js +++ b/build/native/themes/light.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT + * Generated on Tue, 09 Aug 2022 21:44:09 GMT */ module.exports = { diff --git a/build/native/typography.d.ts b/build/native/typography.d.ts index 1f86483d..4f1e0cea 100644 --- a/build/native/typography.d.ts +++ b/build/native/typography.d.ts @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT + * Generated on Tue, 09 Aug 2022 21:44:08 GMT */ export const letterSpacingBase : number; diff --git a/build/native/typography.js b/build/native/typography.js index a9445ae6..d39f51d8 100644 --- a/build/native/typography.js +++ b/build/native/typography.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT + * Generated on Tue, 09 Aug 2022 21:44:08 GMT */ module.exports = { diff --git a/build/scss/colors.scss b/build/scss/colors.scss index d8d871f1..10921628 100644 --- a/build/scss/colors.scss +++ b/build/scss/colors.scss @@ -1,6 +1,6 @@ // Do not edit directly -// Generated on Mon, 08 Aug 2022 16:30:42 GMT +// Generated on Tue, 09 Aug 2022 21:44:08 GMT $green100: #FAFFFC; $green200: #EBF2EF; @@ -52,4 +52,4 @@ $grey700: #36485C; $grey800: #2E3A47; $white: #FFFFFF; $black: #000000; -$transparent: transparent; +$transparent: transparent; \ No newline at end of file diff --git a/build/scss/themes/light.scss b/build/scss/themes/light.scss index dd89043c..25511341 100644 --- a/build/scss/themes/light.scss +++ b/build/scss/themes/light.scss @@ -1,6 +1,6 @@ // Do not edit directly -// Generated on Tue, 09 Aug 2022 21:08:15 GMT +// Generated on Tue, 09 Aug 2022 21:44:08 GMT $textBase: #2E3A47; $textEmphasis: #36485C; diff --git a/build/scss/typography.scss b/build/scss/typography.scss index 29594d02..de5d6743 100644 --- a/build/scss/typography.scss +++ b/build/scss/typography.scss @@ -1,6 +1,6 @@ // Do not edit directly -// Generated on Tue, 09 Aug 2022 21:08:15 GMT +// Generated on Tue, 09 Aug 2022 21:44:08 GMT $letterSpacingBase: 0; $paragraphSpacingBase: 0; diff --git a/build/ts/colors.d.ts b/build/ts/colors.d.ts index 7dee636e..02733ffd 100644 --- a/build/ts/colors.d.ts +++ b/build/ts/colors.d.ts @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 08 Aug 2022 16:30:42 GMT + * Generated on Tue, 09 Aug 2022 21:44:08 GMT */ export const green100 : string; @@ -53,4 +53,4 @@ export const grey700 : string; export const grey800 : string; export const white : string; export const black : string; -export const transparent : string; +export const transparent : string; \ No newline at end of file diff --git a/build/ts/colors.js b/build/ts/colors.js index 363d6bb6..ca0832c7 100644 --- a/build/ts/colors.js +++ b/build/ts/colors.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Mon, 08 Aug 2022 16:30:42 GMT + * Generated on Tue, 09 Aug 2022 21:44:08 GMT */ module.exports = { @@ -55,4 +55,4 @@ module.exports = { "white": "#FFFFFF", "black": "#000000", "transparent": "transparent" -}; +}; \ No newline at end of file diff --git a/build/ts/themes/light.d.ts b/build/ts/themes/light.d.ts index acdd1e99..4f353b66 100644 --- a/build/ts/themes/light.d.ts +++ b/build/ts/themes/light.d.ts @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT + * Generated on Tue, 09 Aug 2022 21:44:09 GMT */ export const textBase : string; diff --git a/build/ts/themes/light.js b/build/ts/themes/light.js index 18ae3aca..221241d5 100644 --- a/build/ts/themes/light.js +++ b/build/ts/themes/light.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT + * Generated on Tue, 09 Aug 2022 21:44:09 GMT */ module.exports = { diff --git a/build/ts/typography.d.ts b/build/ts/typography.d.ts index 58e343e9..4b58b907 100644 --- a/build/ts/typography.d.ts +++ b/build/ts/typography.d.ts @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT + * Generated on Tue, 09 Aug 2022 21:44:08 GMT */ export const letterSpacingBase : number; diff --git a/build/ts/typography.js b/build/ts/typography.js index d19f77e4..72f43502 100644 --- a/build/ts/typography.js +++ b/build/ts/typography.js @@ -1,6 +1,6 @@ /** * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT + * Generated on Tue, 09 Aug 2022 21:44:08 GMT */ module.exports = { From b3543acb3f078b3be11afdac76cd60262d9d3a41 Mon Sep 17 00:00:00 2001 From: Alexandra Lim Date: Tue, 9 Aug 2022 17:47:25 -0400 Subject: [PATCH 7/7] remove core files from previous build without core conditionals --- build/native/themes/core.d.ts | 56 --------------------------------- build/native/themes/core.js | 58 ----------------------------------- build/scss/themes/core.scss | 55 --------------------------------- build/ts/themes/core.d.ts | 56 --------------------------------- build/ts/themes/core.js | 58 ----------------------------------- 5 files changed, 283 deletions(-) delete mode 100644 build/native/themes/core.d.ts delete mode 100644 build/native/themes/core.js delete mode 100644 build/scss/themes/core.scss delete mode 100644 build/ts/themes/core.d.ts delete mode 100644 build/ts/themes/core.js diff --git a/build/native/themes/core.d.ts b/build/native/themes/core.d.ts deleted file mode 100644 index 5fd013d8..00000000 --- a/build/native/themes/core.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT - */ - -export const green100 : string; -export const green200 : string; -export const green300 : string; -export const green400 : string; -export const green500 : string; -export const green600 : string; -export const green700 : string; -export const green800 : string; -export const blue100 : string; -export const blue200 : string; -export const blue300 : string; -export const blue400 : string; -export const blue500 : string; -export const blue600 : string; -export const blue700 : string; -export const blue800 : string; -export const red100 : string; -export const red200 : string; -export const red300 : string; -export const red400 : string; -export const red500 : string; -export const red600 : string; -export const red700 : string; -export const red800 : string; -export const purple100 : string; -export const purple200 : string; -export const purple300 : string; -export const purple400 : string; -export const purple500 : string; -export const purple600 : string; -export const purple700 : string; -export const purple800 : string; -export const orange100 : string; -export const orange200 : string; -export const orange300 : string; -export const orange400 : string; -export const orange500 : string; -export const orange600 : string; -export const orange700 : string; -export const orange800 : string; -export const grey100 : string; -export const grey200 : string; -export const grey300 : string; -export const grey400 : string; -export const grey500 : string; -export const grey600 : string; -export const grey700 : string; -export const grey800 : string; -export const white : string; -export const black : string; -export const transparent : string; \ No newline at end of file diff --git a/build/native/themes/core.js b/build/native/themes/core.js deleted file mode 100644 index 0880e4bb..00000000 --- a/build/native/themes/core.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT - */ - -module.exports = { - "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", - "white": "#FFFFFF", - "black": "#000000", - "transparent": "transparent" -}; \ No newline at end of file diff --git a/build/scss/themes/core.scss b/build/scss/themes/core.scss deleted file mode 100644 index 3f870d7b..00000000 --- a/build/scss/themes/core.scss +++ /dev/null @@ -1,55 +0,0 @@ - -// Do not edit directly -// Generated on Tue, 09 Aug 2022 21:08:15 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; -$white: #FFFFFF; -$black: #000000; -$transparent: transparent; \ No newline at end of file diff --git a/build/ts/themes/core.d.ts b/build/ts/themes/core.d.ts deleted file mode 100644 index 5fd013d8..00000000 --- a/build/ts/themes/core.d.ts +++ /dev/null @@ -1,56 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT - */ - -export const green100 : string; -export const green200 : string; -export const green300 : string; -export const green400 : string; -export const green500 : string; -export const green600 : string; -export const green700 : string; -export const green800 : string; -export const blue100 : string; -export const blue200 : string; -export const blue300 : string; -export const blue400 : string; -export const blue500 : string; -export const blue600 : string; -export const blue700 : string; -export const blue800 : string; -export const red100 : string; -export const red200 : string; -export const red300 : string; -export const red400 : string; -export const red500 : string; -export const red600 : string; -export const red700 : string; -export const red800 : string; -export const purple100 : string; -export const purple200 : string; -export const purple300 : string; -export const purple400 : string; -export const purple500 : string; -export const purple600 : string; -export const purple700 : string; -export const purple800 : string; -export const orange100 : string; -export const orange200 : string; -export const orange300 : string; -export const orange400 : string; -export const orange500 : string; -export const orange600 : string; -export const orange700 : string; -export const orange800 : string; -export const grey100 : string; -export const grey200 : string; -export const grey300 : string; -export const grey400 : string; -export const grey500 : string; -export const grey600 : string; -export const grey700 : string; -export const grey800 : string; -export const white : string; -export const black : string; -export const transparent : string; \ No newline at end of file diff --git a/build/ts/themes/core.js b/build/ts/themes/core.js deleted file mode 100644 index 0880e4bb..00000000 --- a/build/ts/themes/core.js +++ /dev/null @@ -1,58 +0,0 @@ -/** - * Do not edit directly - * Generated on Tue, 09 Aug 2022 21:08:15 GMT - */ - -module.exports = { - "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", - "white": "#FFFFFF", - "black": "#000000", - "transparent": "transparent" -}; \ No newline at end of file