Penpot design workflow: baseline export, importer plugin, tokens
Mirror to Gitea / mirror (push) Skipped
Mirror to Gitea / mirror (push) Skipped
- tools/penpot/capture.mjs captures every page at 390 and 1440 px as editable layers (text, boxes, images) grouped by section - tools/penpot/plugin: Penpot plugin that rebuilds the captures as native boards; serve.py hosts it locally; preview.html shows the result - tools/penpot/tokens.mjs exports colours and fonts as design tokens - design/README.md documents the design -> hand-off -> code loop
This commit is contained in:
263 files changed
+1054
-1
No files matched your search
+6
-1
@@ -11,7 +11,10 @@
|
||||
"build": "astro build",
|
||||
"preview": "astro preview",
|
||||
"start": "node ./dist/server/entry.mjs",
|
||||
"check": "astro check"
|
||||
"check": "astro check",
|
||||
"design:serve": "python3 tools/penpot/serve.py",
|
||||
"design:tokens": "node tools/penpot/tokens.mjs",
|
||||
"design:capture": "npm run build && (node dist/server/entry.mjs & echo $! > .capture.pid; sleep 2; node tools/penpot/capture.mjs; kill $(cat .capture.pid); rm .capture.pid)"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/mdx": "^8.0.3",
|
||||
@@ -43,9 +46,11 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/check": "^0.9.10",
|
||||
"@penpot/plugin-types": "^1.4.2",
|
||||
"@types/nodemailer": "^8.0.2",
|
||||
"@types/react": "^19.3.0",
|
||||
"@types/react-dom": "^19.3.0",
|
||||
"playwright": "^1.56.1",
|
||||
"typescript": "^6.0.3"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user