- audit.mjs: zero-dep rendered-CSS scanner — flags off-token hex/rgb()/hsl() literals, non-sanctioned font families, non-zero border-radius, box-shadow, backdrop-filter, blur/drop-shadow; violations printed as file:line: declaration - drift guards (exit 2): <40 color tokens, any non-zero --radius-* token, missing token sheet / registered page / CSS input — no silent passes (T-1-07) - scope adjudication: framework layers + @property --tw-* skipped; @layer utilities audited only for classes used by implementation pages (mockup vocabulary is reference material, D-06; sheet/basemap pages are the registry) - token-hue+alpha 8-digit forms sanctioned; rounded-full sanctioned as circle primitive (spec geometry — puck/medallion signets); 50% radius stays flagged - wired: theme npm audit + test scripts (root audit delegate resolves)
21 lines
684 B
JSON
21 lines
684 B
JSON
{
|
|
"name": "@araharah/theme",
|
|
"type": "module",
|
|
"devDependencies": {
|
|
"@tailwindcss/cli": "^4.0.0",
|
|
"tailwindcss": "^4.0.0"
|
|
},
|
|
"dependencies": {
|
|
"playwright": "^1.50.0"
|
|
},
|
|
"scripts": {
|
|
"build": "tailwindcss -i ./src/theme.css -o ./dist/rams.css --minify",
|
|
"send": "mkdir -p dist/fonts && cp -r fonts/geist fonts/space-grotesk dist/fonts/",
|
|
"sheet": "npm run build && echo 'open theme/src/sheet.html in browser ( Consumes theme/dist/rams.css )'",
|
|
"basemap": "node basemap/build.mjs",
|
|
"basemap:preview": "python3 -m http.server 8123",
|
|
"audit": "node ./scripts/audit.mjs ./dist/rams.css",
|
|
"test": "node ./scripts/audit.test.mjs"
|
|
}
|
|
}
|