🔧(demo) update demo app to ts config file, customize one token

Showcase a situation where we want to customize a component's design token.
This commit is contained in:
Nathan Vasse
2023-01-04 15:53:36 +01:00
committed by NathanVss
parent be1c9d000b
commit f48dac79c0
10 changed files with 31 additions and 19 deletions

View File

@@ -5,7 +5,7 @@
"type": "module",
"scripts": {
"lint": "eslint . 'src/**/*.{ts,tsx}'",
"dev": "vite",
"dev": "vite & nodemon --watch cunningham.ts --exec yarn build-theme",
"build-theme": "cunningham -o src -g css,ts",
"build": "tsc && vite build",
"preview": "vite preview"