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" diff --git a/build.js b/build.js index e4eb2201..f8f52a65 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,97 @@ 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", +const getStyleDictionaryConfig = (theme) => { + const core = theme === "core"; + 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: core ? "colors.scss" : `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: core ? "colors.js" : `themes/${theme}.js`, + filter: { + type: "color", + }, + }, + { + format: "typescript/es6-declarations", + destination: core ? "colors.d.ts" : `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: "colors.d.ts", - filter: { - type: "color", + { + format: "typescript/es6-declarations", + destination: "typography.d.ts", + filter: "filter-typography", }, - }, - ], + { + format: "javascript/module-flat", + destination: core ? "colors.js" : `themes/${theme}.js`, + filter: { + type: "color", + }, + }, + { + format: "typescript/es6-declarations", + destination: core ? "colors.d.ts" : `themes/${theme}.d.ts`, + filter: { + type: "color", + }, + }, + ], + }, }, - }, -}).buildAllPlatforms(); + }; +}; + +// 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(); +}); 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 new file mode 100644 index 00000000..4f353b66 --- /dev/null +++ b/build/native/themes/light.d.ts @@ -0,0 +1,82 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:44:09 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..221241d5 --- /dev/null +++ b/build/native/themes/light.js @@ -0,0 +1,84 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:44:09 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..4f1e0cea 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:44:08 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..d39f51d8 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:44:08 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/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 new file mode 100644 index 00000000..25511341 --- /dev/null +++ b/build/scss/themes/light.scss @@ -0,0 +1,81 @@ + +// Do not edit directly +// Generated on Tue, 09 Aug 2022 21:44:08 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..de5d6743 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:44:08 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/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 new file mode 100644 index 00000000..4f353b66 --- /dev/null +++ b/build/ts/themes/light.d.ts @@ -0,0 +1,82 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:44:09 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..221241d5 --- /dev/null +++ b/build/ts/themes/light.js @@ -0,0 +1,84 @@ +/** + * Do not edit directly + * Generated on Tue, 09 Aug 2022 21:44:09 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..4b58b907 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:44:08 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..72f43502 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:44:08 GMT */ module.exports = { @@ -116,4 +116,4 @@ module.exports = { "mobileH3ParagraphSpacing": 0, "mobileH3TextDecoration": "none", "mobileH3TextCase": "none" -}; +}; \ No newline at end of file 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"] -}