Skip to content

Commit

Permalink
feat(prefix): BREAKING CHANGE update token prefix from auro to ds #118
Browse files Browse the repository at this point in the history
  • Loading branch information
jordanjones243 committed Sep 13, 2023
1 parent 5b42b7a commit 9aaa33a
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 27 deletions.
28 changes: 14 additions & 14 deletions scripts/config-dark.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"platforms": {
"SCSSVariables--dark": {
"transformGroup": "scss",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: Sass; filter: public, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -27,7 +27,7 @@
},
"CSSVariables--dark": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: CSS; variable type: css; filter: public",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -50,7 +50,7 @@
},
"SCSSOpacityVariables--dark": {
"transformGroup": "scss",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: Sass; filter: opacity, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -65,7 +65,7 @@
},
"SCSSVariableMap--dark": {
"transformGroup": "scss",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: Sassmap; filter: size, public, theme: dark mode",
"dependency": "WCSS: ./src/utilityMixins/_spacingUtility.scss",
"buildPath": "./dist/tokens/",
Expand All @@ -85,7 +85,7 @@

"CSSCustomProperties--dark": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: CSS; variable type: CSS; filter: public, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -101,7 +101,7 @@
"CSSCustomPropertiesColorRGB--dark": {
"transformGroup": "css",
"transforms": ["attribute/cti", "name/cti/kebab", "custom/color/rgb"],
"prefix": "auro-rgb",
"prefix": "ds-rgb",
"comment": "File type: CSS; variable type: CSS; filter: color; custom rgb output, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -120,7 +120,7 @@
"SassCustomPropertiesColorRGB--dark": {
"transformGroup": "css",
"transforms": ["attribute/cti", "name/cti/kebab", "custom/color/rgb"],
"prefix": "auro-rgb",
"prefix": "ds-rgb",
"comment": "File type: Sass; variable type: CSS; filter: color; custom rgb output, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -138,7 +138,7 @@
},
"CSSOpacityCustomProp--darkerties": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: Sass; filter: opacity, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -153,7 +153,7 @@
},
"CSSSizeCustomProperties--dark": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: CSS; variable type: CSS; filter: size, public, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -171,7 +171,7 @@
},
"SassSizeCustomProperties--dark": {
"transformGroup": "scss",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: Sass; variable type: Sass; filter: size, public, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -189,7 +189,7 @@
},
"SassCustomProperties--dark": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: CSS; filter: public, theme: dark mode",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -203,7 +203,7 @@
]
},
"JSmoduledarkC-color": {
"prefix": "auro",
"prefix": "ds",
"transformGroup": "js",
"comment": "File type: JS; data type: JS; filter: colors || public, theme: dark mode",
"buildPath": "./dist/tokens/",
Expand All @@ -222,7 +222,7 @@
]
},
"JSes6--darkColor": {
"prefix": "auro",
"prefix": "ds",
"transformGroup": "js",
"comment": "File type: JS; data type: JS; filter: colors || public, theme: dark mode",
"buildPath": "./dist/tokens/",
Expand All @@ -241,7 +241,7 @@
},
"JSObject--allDarkTokens": {
"transformGroup": "js",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: JS; data type: JS; filter: classic colors, theme: dark mode",
"buildPath": "./dist/tokens/",
"transforms": ["attribute/cti", "name/cti/kebab", "color/css"],
Expand Down
26 changes: 13 additions & 13 deletions scripts/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"platforms": {
"SCSSVariables": {
"transformGroup": "scss",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: Sass; filter: public",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -27,7 +27,7 @@
},
"SCSSOpacityVariables": {
"transformGroup": "scss",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: Sass; filter: opacity",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -42,7 +42,7 @@
},
"SCSSVariableMap": {
"transformGroup": "scss",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: Sassmap; filter: size, public",
"dependency": "WCSS: ./src/utilityMixins/_spacingUtility.scss",
"buildPath": "./dist/tokens/",
Expand All @@ -62,7 +62,7 @@

"CSSCustomProperties": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: CSS; variable type: CSS; filter: public",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -78,7 +78,7 @@
"CSSCustomPropertiesColorRGB": {
"transformGroup": "css",
"transforms": ["attribute/cti", "name/cti/kebab", "custom/color/rgb"],
"prefix": "auro-rgb",
"prefix": "ds-rgb",
"comment": "File type: CSS; variable type: CSS; filter: color; custom rgb output",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -97,7 +97,7 @@
"SassCustomPropertiesColorRGB": {
"transformGroup": "css",
"transforms": ["attribute/cti", "name/cti/kebab", "custom/color/rgb"],
"prefix": "auro-rgb",
"prefix": "ds-rgb",
"comment": "File type: Sass; variable type: CSS; filter: color; custom rgb output",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -115,7 +115,7 @@
},
"CSSOpacityCustomProperties": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: Sass; filter: opacity",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -130,7 +130,7 @@
},
"CSSSizeCustomProperties": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: CSS; variable type: CSS; filter: size, public",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -148,7 +148,7 @@
},
"SassSizeCustomProperties": {
"transformGroup": "scss",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: Sass; variable type: Sass; filter: size, public",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -166,7 +166,7 @@
},
"SassCustomProperties": {
"transformGroup": "css",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: SCSS; variable type: CSS; filter: public",
"buildPath": "./dist/tokens/",
"files": [
Expand All @@ -180,7 +180,7 @@
]
},
"JSmodule--color": {
"prefix": "auro",
"prefix": "ds",
"transformGroup": "js",
"comment": "File type: JS; data type: JS; filter: colors || public",
"buildPath": "./dist/tokens/",
Expand All @@ -199,7 +199,7 @@
]
},
"JSes6--color": {
"prefix": "auro",
"prefix": "ds",
"transformGroup": "js",
"comment": "File type: JS; data type: JS; filter: colors || public",
"buildPath": "./dist/tokens/",
Expand All @@ -218,7 +218,7 @@
},
"JSObject--allTokens": {
"transformGroup": "js",
"prefix": "auro",
"prefix": "ds",
"comment": "File type: JS; data type: JS; filter: classic colors",
"buildPath": "./dist/tokens/",
"transforms": ["attribute/cti", "name/cti/kebab", "color/css"],
Expand Down

0 comments on commit 9aaa33a

Please sign in to comment.