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
@@ -0,0 +1 @@
|
||||
{"name":"/blog/building-this-site — mobile 390","slug":"blog-building-this-site-mobile","viewport":"mobile","route":"/blog/building-this-site","width":390,"height":1518,"background":"#ffffff","sections":[{"name":"01 bar","x":0,"y":0,"w":390,"h":62,"layers":[{"type":"rect","name":"bar","x":0,"y":0,"w":390,"h":62,"fill":{"color":"#e9ecdf","opacity":1},"stroke":null,"radius":0,"shadow":null,"rotation":0},{"type":"rect","name":"mark","x":14,"y":9,"w":42,"h":42,"fill":{"color":"#c60c30","opacity":1},"stroke":{"color":"#141412","opacity":1,"width":2},"radius":20.779953002929688,"shadow":"rgb(20, 20, 18) 2px 2px 0px 0px","rotation":0},{"type":"text","name":"yo","x":23,"y":17,"w":22,"h":25,"text":"yo","font":"Dela Gothic One","size":15.456,"weight":"800","italic":false,"lineHeight":1,"letterSpacing":-0.92736,"transform":null,"align":"left","color":"#ffffff","opacity":1,"stroke":{"color":"#141412","opacity":1,"width":1},"shadow":null},{"type":"image","withText":true,"name":"sparkle","x":40,"y":5,"w":16,"h":16,"src":"img/blog-building-this-site-mobile-1.jpg"},{"type":"text","name":"yoyos.sh","x":60,"y":19,"w":87,"h":20,"text":"yoyos.sh","font":"Archivo","size":18.4,"weight":"800","italic":false,"lineHeight":1.6,"letterSpacing":-0.552,"transform":null,"align":"left","color":"#10172e","opacity":1,"stroke":null,"shadow":null}]},{"name":"02 wrap","x":16,"y":62,"w":358,"h":870,"layers":[{"type":"text","name":"← Back to blog","x":16,"y":94,"w":121,"h":24,"text":"← Back to blog","font":"DotGothic16","size":16.105,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#10172e","opacity":1,"stroke":null,"shadow":null},{"type":"rect","name":"win","x":16,"y":144,"w":358,"h":756,"fill":{"color":"#fbfcf6","opacity":1},"stroke":{"color":"#1d3fd8","opacity":1,"width":2},"radius":0,"shadow":"oklab(0.462803 -0.0160061 -0.232815 / 0.3) 5px 5px 0px 0px","rotation":0},{"type":"text","name":"building-this-site.md","x":28,"y":151,"w":151,"h":21,"text":"building-this-site.md","font":"DotGothic16","size":14.4,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#ffffff","opacity":1,"stroke":null,"shadow":null},{"type":"rect","name":"i","x":303,"y":152,"w":19,"h":18,"fill":{"color":"#e9ecdf","opacity":1},"stroke":null,"radius":0,"shadow":"rgb(125, 133, 151) -1px -1px 0px 0px inset, rgb(255, 255, 255) 1px 1px 0px 0px inset","rotation":0},{"type":"text","name":"_","x":309,"y":152,"w":6,"h":17,"text":"_","font":"DotGothic16","size":12,"weight":"400","italic":false,"lineHeight":1,"letterSpacing":0,"transform":null,"align":"left","color":"#10172e","opacity":1,"stroke":null,"shadow":null},{"type":"rect","name":"i","x":325,"y":152,"w":19,"h":18,"fill":{"color":"#e9ecdf","opacity":1},"stroke":null,"radius":0,"shadow":"rgb(125, 133, 151) -1px -1px 0px 0px inset, rgb(255, 255, 255) 1px 1px 0px 0px inset","rotation":0},{"type":"text","name":"□","x":329,"y":152,"w":12,"h":17,"text":"□","font":"DotGothic16","size":12,"weight":"400","italic":false,"lineHeight":1,"letterSpacing":0,"transform":null,"align":"left","color":"#10172e","opacity":1,"stroke":null,"shadow":null},{"type":"rect","name":"i","x":347,"y":152,"w":19,"h":18,"fill":{"color":"#e9ecdf","opacity":1},"stroke":null,"radius":0,"shadow":"rgb(125, 133, 151) -1px -1px 0px 0px inset, rgb(255, 255, 255) 1px 1px 0px 0px inset","rotation":0},{"type":"text","name":"×","x":354,"y":152,"w":6,"h":17,"text":"×","font":"DotGothic16","size":12,"weight":"400","italic":false,"lineHeight":1,"letterSpacing":0,"transform":null,"align":"left","color":"#10172e","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"October 8, 2026 · 1 min read","x":42,"y":201,"w":225,"h":24,"text":"October 8, 2026 · 1 min read","font":"DotGothic16","size":16.105,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#4f5874","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Building this site","x":42,"y":228,"w":197,"h":108,"text":"Building this site","font":"DotGothic16","size":43.7,"weight":"400","italic":false,"lineHeight":1,"letterSpacing":0,"transform":null,"align":"left","color":"#1d3fd8","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Why I built a portfolio from scratch, wh","x":42,"y":341,"w":261,"h":118,"text":"Why I built a portfolio from scratch, what it runs on, and what I'll be writing about here each week.","font":"IBM Plex Sans","size":19.445,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#4f5874","opacity":1,"stroke":null,"shadow":null},{"type":"rect","name":"tag","x":42,"y":474,"w":53,"h":23,"fill":null,"stroke":{"color":"#1d3fd8","opacity":1,"width":1},"radius":0,"shadow":null,"rotation":0},{"type":"text","name":"astro","x":50,"y":478,"w":37,"h":15,"text":"astro","font":"IBM Plex Mono","size":11.52,"weight":"400","italic":false,"lineHeight":1.6,"letteLine truncated
|
||||
Reference in new issue
Block a user