📱(demo) make demo responsive

The responsive version of the demo app was buggy, so we need to
make it shiny!

Fixes #275
This commit is contained in:
Nathan Vasse
2024-02-23 14:28:14 +01:00
committed by NathanVss
parent 4fbd75cdcf
commit 1707ad0b66
8 changed files with 517 additions and 26 deletions

View File

@@ -6,7 +6,7 @@
"scripts": {
"lint": "eslint . 'src/**/*.{ts,tsx}'",
"dev": "vite & nodemon --watch cunningham.ts --exec yarn build-theme",
"build-theme": "cunningham -o src -g css,ts",
"build-theme": "cunningham -o src -g css,ts,scss && mv src/cunningham-tokens.scss src/cunningham-tokens-sass.scss",
"build": "tsc && vite build",
"build-demo": "tsc && vite build --base=/cunningham/demo/",
"preview": "vite preview"