Skip to content

Commit c661984

Browse files
committed
Refactor theme palette token arrays
Replaces large, sparse color arrays in theme palette tokens with more concise representations. This change improves maintainability and readability of the theme token files. Also updates a script in package.json to properly quote the glob pattern.
1 parent 29d943e commit c661984

File tree

4 files changed

+495
-23557
lines changed

4 files changed

+495
-23557
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
"build:watch": "watch 'yarn build' ./src",
4040
"chromatic": "npx chromatic",
4141
"dev": "vite",
42-
"generate-tokens": "node build-tokens.js && prettier --write src/theme/tokens/*.ts --config .prettierrc",
42+
"generate-tokens": "node build-tokens.js && prettier --write \"src/theme/tokens/*.ts\" --config .prettierrc",
4343
"lint": "eslint src --report-unused-disable-directives --max-warnings 0",
4444
"prettify": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\" --config .prettierrc",
4545
"prettier:check": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\" --config .prettierrc",

0 commit comments

Comments
 (0)