From 4cdc8d8f678dbaba86e0d418c324046370b97566 Mon Sep 17 00:00:00 2001 From: scottrepreneur Date: Mon, 6 Nov 2023 10:45:23 -0600 Subject: [PATCH] Update automated commit message (#105) Co-authored-by: memosys --- .github/workflows/tokens.yml | 9 +- src/theme/tokens/tokens-output.json | 1098 --------------------------- 2 files changed, 4 insertions(+), 1103 deletions(-) delete mode 100644 src/theme/tokens/tokens-output.json diff --git a/.github/workflows/tokens.yml b/.github/workflows/tokens.yml index 23a1122..915f5d5 100644 --- a/.github/workflows/tokens.yml +++ b/.github/workflows/tokens.yml @@ -2,9 +2,8 @@ name: Sync Design Tokens on: push: - branches: - - '*' - - '!main' + branches-ignore: + - 'main' paths: - 'src/theme/tokens/tokens.json' @@ -26,10 +25,10 @@ jobs: node-version: 18 - name: Transform tokens - run: npx token-transformer ./src/theme/tokens/tokens.json ./src/theme/tokens/tokens-output.json + run: npx token-transformer ./src/theme/tokens/tokens.json ./src/theme/tokens/token-output.json - name: Commit changes uses: devops-infra/action-commit-push@master with: github_token: ${{ secrets.GITHUB_TOKEN }} - commit_message: "Updated tokens" \ No newline at end of file + commit_message: "[Auto-Commit via Github Workflow] Updated tokens" \ No newline at end of file diff --git a/src/theme/tokens/tokens-output.json b/src/theme/tokens/tokens-output.json deleted file mode 100644 index eb57a05..0000000 --- a/src/theme/tokens/tokens-output.json +++ /dev/null @@ -1,1098 +0,0 @@ -{ - "dimension": { - "scale": { - "value": 2, - "type": "dimension" - }, - "xs": { - "value": 4, - "type": "dimension" - }, - "sm": { - "value": 8, - "type": "dimension" - }, - "md": { - "value": 16, - "type": "dimension" - }, - "lg": { - "value": 32, - "type": "dimension" - }, - "xl": { - "value": 64, - "type": "dimension" - } - }, - "spacing": { - "xs": { - "value": 4, - "type": "spacing" - }, - "sm": { - "value": 8, - "type": "spacing" - }, - "md": { - "value": 16, - "type": "spacing" - }, - "lg": { - "value": 32, - "type": "spacing" - }, - "xl": { - "value": 64, - "type": "spacing" - }, - "multi-value": { - "value": "8 64", - "type": "spacing", - "description": "You can have multiple values in a single spacing token. Read more on these: https://docs.tokens.studio/available-tokens/spacing-tokens#multi-value-spacing-tokens" - } - }, - "borderRadius": { - "sm": { - "value": 4, - "type": "borderRadius" - }, - "lg": { - "value": 8, - "type": "borderRadius" - }, - "xl": { - "value": 16, - "type": "borderRadius" - }, - "multi-value": { - "value": "4 8", - "type": "borderRadius", - "description": "You can have multiple values in a single radius token. Read more on these: https://docs.tokens.studio/available-tokens/border-radius-tokens#single--multiple-values" - }, - "xs": { - "value": 2, - "type": "borderRadius" - }, - "md": { - "value": 6, - "type": "borderRadius" - } - }, - "colors": { - "base": { - "black": { - "value": "#000000", - "type": "color" - }, - "white": { - "value": "#ffffff", - "type": "color" - } - }, - "gray": { - "50": { - "value": "#f7fafc", - "type": "color" - }, - "100": { - "value": "#edf2f7", - "type": "color" - }, - "200": { - "value": "#e2e8f0", - "type": "color" - }, - "300": { - "value": "#cbd5e0", - "type": "color" - }, - "400": { - "value": "#a0aec0", - "type": "color" - }, - "500": { - "value": "#718096", - "type": "color" - }, - "600": { - "value": "#4a5568", - "type": "color" - }, - "700": { - "value": "#2d3748", - "type": "color" - }, - "800": { - "value": "#1a202c", - "type": "color", - "description": "PRIMARY BACKGROUND" - }, - "900": { - "value": "#171923", - "type": "color" - } - }, - "red": { - "50": { - "value": "#fff5f5", - "type": "color" - }, - "100": { - "value": "#fed7d7", - "type": "color" - }, - "200": { - "value": "#feb2b2", - "type": "color" - }, - "300": { - "value": "#fc8181", - "type": "color" - }, - "400": { - "value": "#f56565", - "type": "color" - }, - "500": { - "value": "#FF3864", - "type": "color", - "description": "PRIMARY COLOR" - }, - "600": { - "value": "#c53030", - "type": "color" - }, - "700": { - "value": "#9b2c2c", - "type": "color" - }, - "800": { - "value": "#822727", - "type": "color" - }, - "900": { - "value": "#63171B", - "type": "color" - } - }, - "orange": { - "50": { - "value": "#fffaf0", - "type": "color" - }, - "100": { - "value": "#feebc8", - "type": "color" - }, - "200": { - "value": "#fbd38d", - "type": "color" - }, - "300": { - "value": "#f6ad55", - "type": "color" - }, - "400": { - "value": "#ed8936", - "type": "color" - }, - "500": { - "value": "#dd6b20", - "type": "color" - }, - "600": { - "value": "#c05621", - "type": "color" - }, - "700": { - "value": "#9c4221", - "type": "color" - }, - "800": { - "value": "#7b341e", - "type": "color" - }, - "900": { - "value": "#652b19", - "type": "color" - } - }, - "yellow": { - "50": { - "value": "#fffff0", - "type": "color" - }, - "100": { - "value": "#fefcbf", - "type": "color" - }, - "200": { - "value": "#faf089", - "type": "color" - }, - "300": { - "value": "#f6e05e", - "type": "color" - }, - "400": { - "value": "#ecc94b", - "type": "color" - }, - "500": { - "value": "#D69E2E", - "type": "color" - }, - "600": { - "value": "#b7791f", - "type": "color" - }, - "700": { - "value": "#975a16", - "type": "color" - }, - "800": { - "value": "#744210", - "type": "color" - }, - "900": { - "value": "#5f370e", - "type": "color" - } - }, - "green": { - "50": { - "value": "#f0fff4", - "type": "color" - }, - "100": { - "value": "#c6f6d5", - "type": "color" - }, - "200": { - "value": "#9ae6b4", - "type": "color" - }, - "300": { - "value": "#68d391", - "type": "color" - }, - "400": { - "value": "#48bb78", - "type": "color" - }, - "500": { - "value": "#38a169", - "type": "color" - }, - "600": { - "value": "#2f855a", - "type": "color" - }, - "700": { - "value": "#276749", - "type": "color" - }, - "800": { - "value": "#22543d", - "type": "color" - }, - "900": { - "value": "#1c4532", - "type": "color" - } - }, - "teal": { - "50": { - "value": "#e6fffa", - "type": "color" - }, - "100": { - "value": "#b2f5ea", - "type": "color" - }, - "200": { - "value": "#81e6d9", - "type": "color" - }, - "300": { - "value": "#4fd1c5", - "type": "color" - }, - "400": { - "value": "#38b2ac", - "type": "color" - }, - "500": { - "value": "#319795", - "type": "color" - }, - "600": { - "value": "#2c7a7b", - "type": "color" - }, - "700": { - "value": "#285e61", - "type": "color" - }, - "800": { - "value": "#234e52", - "type": "color" - }, - "900": { - "value": "#1d4044", - "type": "color" - } - }, - "blue": { - "100": { - "value": "#ebf8ff", - "type": "color" - }, - "200": { - "value": "#bee3f8", - "type": "color" - }, - "300": { - "value": "#90cdf4", - "type": "color" - }, - "400": { - "value": "#63b3ed", - "type": "color" - }, - "500": { - "value": "#4299e1", - "type": "color" - }, - "600": { - "value": "#3182ce", - "type": "color" - }, - "700": { - "value": "#2b6cb0", - "type": "color" - }, - "800": { - "value": "#2c5282", - "type": "color" - }, - "900": { - "value": "#2a4365", - "type": "color" - } - }, - "cyan": { - "50": { - "value": "#edfdfd", - "type": "color" - }, - "100": { - "value": "#c4f1f9", - "type": "color" - }, - "200": { - "value": "#9decf9", - "type": "color" - }, - "300": { - "value": "#76e4f7", - "type": "color" - }, - "400": { - "value": "#0bc5ea", - "type": "color" - }, - "500": { - "value": "#00b5d8", - "type": "color" - }, - "600": { - "value": "#00a3c4", - "type": "color" - }, - "700": { - "value": "#0987a0", - "type": "color" - }, - "800": { - "value": "#086f83", - "type": "color" - }, - "900": { - "value": "#065666", - "type": "color" - } - }, - "purple": { - "50": { - "value": "#faf5ff", - "type": "color" - }, - "100": { - "value": "#e9d8fd", - "type": "color" - }, - "200": { - "value": "#d6bcfa", - "type": "color" - }, - "300": { - "value": "#b794f4", - "type": "color" - }, - "400": { - "value": "#9f7aea", - "type": "color" - }, - "500": { - "value": "#822ea6", - "type": "color" - }, - "600": { - "value": "#6b46c1", - "type": "color" - }, - "700": { - "value": "#553c9a", - "type": "color" - }, - "800": { - "value": "#44337a", - "type": "color" - }, - "900": { - "value": "#322659", - "type": "color" - } - }, - "pink": { - "50": { - "value": "#fff5f7", - "type": "color" - }, - "100": { - "value": "#fed7e2", - "type": "color" - }, - "200": { - "value": "#fbb6ce", - "type": "color" - }, - "300": { - "value": "#f687b3", - "type": "color" - }, - "400": { - "value": "#ed64a6", - "type": "color" - }, - "500": { - "value": "#d53f8c", - "type": "color" - }, - "600": { - "value": "#b83280", - "type": "color" - }, - "700": { - "value": "#97266d", - "type": "color" - }, - "800": { - "value": "#702459", - "type": "color" - }, - "900": { - "value": "#521b41", - "type": "color" - } - }, - "primary": { - "50": { - "value": "#ff95ad", - "type": "color" - }, - "200": { - "value": "#ff95ad", - "type": "color" - }, - "300": { - "value": "#ff6788", - "type": "color" - }, - "400": { - "value": "#ff577c", - "type": "color" - }, - "500": { - "value": "#FF3864", - "type": "color", - "description": "RAID GUILD RUBY RED (Primary Color)" - }, - "600": { - "value": "#ff194c", - "type": "color" - }, - "700": { - "value": "#ff0940", - "type": "color" - }, - "800": { - "value": "#da0030", - "type": "color" - } - }, - "whiteAlpha": { - "50": { - "value": "#ffffff0a", - "type": "color" - }, - "100": { - "value": "#ffffff0f", - "type": "color" - }, - "200": { - "value": "#ffffff14", - "type": "color" - }, - "300": { - "value": "#ffffff29", - "type": "color" - }, - "400": { - "value": "#ffffff3d", - "type": "color" - }, - "500": { - "value": "#ffffff5c", - "type": "color" - }, - "600": { - "value": "#ffffff7a", - "type": "color" - }, - "700": { - "value": "#ffffffa3", - "type": "color" - }, - "800": { - "value": "#ffffffcc", - "type": "color" - }, - "900": { - "value": "#ffffffeb", - "type": "color" - } - }, - "blackAlpha": { - "50": { - "value": "#0000000a", - "type": "color" - }, - "100": { - "value": "#0000000f", - "type": "color" - }, - "200": { - "value": "#00000014", - "type": "color" - }, - "300": { - "value": "#00000029", - "type": "color" - }, - "400": { - "value": "#0000003d", - "type": "color" - }, - "500": { - "value": "#0000005c", - "type": "color" - }, - "600": { - "value": "#0000007a", - "type": "color" - }, - "700": { - "value": "#000000a3", - "type": "color" - }, - "800": { - "value": "#000000cc", - "type": "color" - }, - "900": { - "value": "#000000eb", - "type": "color" - } - } - }, - "opacity": { - "low": { - "value": "10%", - "type": "opacity" - }, - "md": { - "value": "50%", - "type": "opacity" - }, - "high": { - "value": "90%", - "type": "opacity" - } - }, - "fontFamilies": { - "heading": { - "value": "Uncial Antiqua", - "type": "fontFamilies", - "description": "Heading Font" - }, - "body": { - "value": "Texturina", - "type": "fontFamilies" - }, - "links": { - "value": "Space Mono", - "type": "fontFamilies", - "description": "Use for Links and Button texts" - } - }, - "lineHeights": { - "heading": { - "value": "100%", - "type": "lineHeights" - }, - "body": { - "value": "120%", - "type": "lineHeights" - }, - "headingSmall": { - "value": "120%", - "type": "lineHeights" - }, - "bodySmall": { - "value": "160%", - "type": "lineHeights" - } - }, - "letterSpacing": { - "default": { - "value": 0, - "type": "letterSpacing" - }, - "increased": { - "value": "150%", - "type": "letterSpacing" - }, - "decreased": { - "value": "-5%", - "type": "letterSpacing" - } - }, - "paragraphSpacing": { - "h1": { - "value": 32, - "type": "paragraphSpacing" - }, - "h2": { - "value": 26, - "type": "paragraphSpacing" - } - }, - "fontWeights": { - "headingRegular": { - "value": "Regular", - "type": "fontWeights" - }, - "headingBold": { - "value": "Bold", - "type": "fontWeights" - }, - "bodyRegular": { - "value": "Regular", - "type": "fontWeights" - }, - "bodyBold": { - "value": "Bold", - "type": "fontWeights" - } - }, - "fontSizes": { - "4xl": { - "value": 72, - "type": "fontSizes" - }, - "3xl": { - "value": 60, - "type": "fontSizes" - }, - "2xl": { - "value": 48, - "type": "fontSizes" - }, - "xl": { - "value": 36, - "type": "fontSizes" - }, - "lg": { - "value": 30, - "type": "fontSizes" - }, - "md": { - "value": 20, - "type": "fontSizes" - }, - "sm": { - "value": 16, - "type": "fontSizes", - "description": "body" - }, - "xs": { - "value": 12, - "type": "fontSizes" - } - }, - "textShadow": { - "value": { - "x": 0, - "y": 0, - "blur": 8, - "spread": 0, - "color": "#ff3864", - "type": "dropShadow" - }, - "type": "boxShadow", - "description": "Heading Text Shadow" - }, - "heading": { - "4xl": { - "value": { - "fontFamily": "Uncial Antiqua", - "fontWeight": "Regular", - "lineHeight": "100%", - "fontSize": 72, - "letterSpacing": 0, - "paragraphSpacing": 32 - }, - "type": "typography" - }, - "3xl": { - "value": { - "fontFamily": "Uncial Antiqua", - "fontWeight": "Regular", - "lineHeight": "100%", - "fontSize": 60, - "letterSpacing": 0, - "paragraphSpacing": 32 - }, - "type": "typography" - }, - "2xl": { - "value": { - "fontFamily": "Uncial Antiqua", - "fontWeight": "Regular", - "lineHeight": "100%", - "fontSize": 48, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "xl": { - "value": { - "fontFamily": "Uncial Antiqua", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 36, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "lg": { - "value": { - "fontFamily": "Uncial Antiqua", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 30, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "md": { - "value": { - "fontFamily": "Uncial Antiqua", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 20, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "sm": { - "value": { - "fontFamily": "Uncial Antiqua", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 16, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - } - }, - "bodyText": { - "4xl": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 72, - "letterSpacing": 0, - "paragraphSpacing": 32 - }, - "type": "typography" - }, - "3xl": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 60, - "letterSpacing": 0, - "paragraphSpacing": 32 - }, - "type": "typography" - }, - "2xl": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 48, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "xl": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 36, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "lg": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 30, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "md": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 20, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "sm": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 16, - "letterSpacing": 0 - }, - "type": "typography" - }, - "xs": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Regular", - "lineHeight": "160%", - "fontSize": 12, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "xsBold": { - "value": { - "fontFamily": "Texturina", - "fontWeight": "Bold", - "fontSize": 12, - "letterSpacing": 0, - "lineHeight": 8 - }, - "type": "typography" - } - }, - "buttonOrLink": { - "xl": { - "value": { - "fontFamily": "Space Mono", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 36, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "lg": { - "value": { - "fontFamily": "Space Mono", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 30, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "md": { - "value": { - "fontFamily": "Space Mono", - "fontWeight": "Bold", - "lineHeight": "120%", - "fontSize": 20, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - }, - "sm": { - "value": { - "fontFamily": "Space Mono", - "fontWeight": "Regular", - "lineHeight": "120%", - "fontSize": 16, - "letterSpacing": 0, - "paragraphSpacing": 26 - }, - "type": "typography" - } - }, - "borderWidth": { - "One": { - "value": 1, - "type": "borderWidth" - }, - "Half": { - "value": 0.5, - "type": "borderWidth" - }, - "Two": { - "value": 2, - "type": "borderWidth" - } - }, - "borderGray": { - "value": { - "color": "#718096", - "width": 1, - "style": "sloid" - }, - "type": "border" - }, - "boderRed": { - "value": { - "color": "#FF3864", - "width": 1, - "style": "solid" - }, - "type": "border" - }, - "borderPrimary": { - "value": { - "color": "#FF3864", - "width": 1, - "style": "solid" - }, - "type": "border" - }, - "borderGreen": { - "value": { - "color": "#38a169", - "width": 1, - "style": "solid" - }, - "type": "border" - }, - "gradient": { - "redToPurpleVerticalGradient": { - "value": "linear-gradient(90deg, #2B0000 0%, #3D0610 26.04%, #5A1049 53.65%, #461881 100%)", - "type": "color" - }, - "purpleToRedVerticalGradient": { - "value": "linear-gradient(90deg, #2B0000 0%, #3D0610 26.04%, #5A1049 53.65%, #461881 100%)", - "type": "color" - }, - "redToPurpleHorizontalGradient": { - "value": "linear-gradient(180deg, #2B0000 0%, #3D0610 26.04%, #5A1049 53.65%, #461881 100%)", - "type": "color" - }, - "purpleToRedDiagonalGradient": { - "value": "linear-gradient(134deg, #2B0000 0%, #3D0610 26.04%, #5A1049 53.65%, #461881 100%)", - "type": "color" - }, - "pinkToPurpleGradient": { - "value": "linear-gradient(135deg, #FF3864 0%, #8B1DBA 53.65%, #4353DF 100%)", - "type": "color" - }, - "orangeToPurpleGradient": { - "value": "linear-gradient(90deg, #FD5807 0%, #BC1DA0 100%)", - "type": "color" - }, - "primaryGradient": { - "value": "radial-gradient(324.00% 100.00% at 100.00% 50.00%, #24003A 0%, #00000000 100%)", - "type": "color" - } - }, - "borderPurple": { - "value": { - "color": "#6b46c1", - "width": 2, - "style": "solid" - }, - "type": "border" - }, - "borderWhite": { - "value": { - "color": "#ffffff", - "width": 2, - "style": "solid" - }, - "type": "border" - }, - "borderGradient": { - "value": { - "color": "linear-gradient(135deg, #FF3864 0%, #8B1DBA 53.65%, #4353DF 100%)", - "width": 2, - "style": "solid" - }, - "type": "border" - }, - "tokenSetOrder": { - "0": { - "value": "core", - "type": "other" - } - } -} \ No newline at end of file