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":"/models — mobile 390","slug":"models-mobile","viewport":"mobile","route":"/models","width":390,"height":2647,"background":"#ffffff","sections":[{"name":"01 bar","x":0,"y":0,"w":390,"h":61,"layers":[{"type":"rect","name":"bar","x":0,"y":0,"w":390,"h":61,"fill":{"color":"#050507","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/models-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":"#f4ead2","opacity":1,"stroke":null,"shadow":null}]},{"name":"02 hero","x":0,"y":61,"w":390,"h":359,"layers":[{"type":"rect","name":"hero","x":0,"y":61,"w":390,"h":359,"fill":{"color":"#000000","opacity":1},"stroke":null,"radius":0,"shadow":null,"rotation":0},{"type":"text","name":"Blender · glTF · real-time in the browse","x":16,"y":245,"w":341,"h":21,"text":"Blender · glTF · real-time in the browser","font":"VT323","size":20.8,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#4dff8a","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"3D MODELS","x":16,"y":266,"w":280,"h":74,"text":"3D MODELS","font":"VT323","size":74.1,"weight":"400","italic":false,"lineHeight":0.85,"letterSpacing":1.482,"transform":"uppercase","align":"left","color":"#ff9a2a","opacity":1,"stroke":null,"shadow":"oklab(0.774843 0.0775428 0.146428 / 0.55) 0px 0px 37.05px"},{"type":"text","name":"Models I've built in Blender. Drag to ro","x":16,"y":337,"w":351,"h":47,"text":"Models I've built in Blender. Drag to rotate, pinch or scroll to zoom.","font":"IBM Plex Sans","size":16.105,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#f4ead2","opacity":1,"stroke":null,"shadow":null}]},{"name":"03 wrap","x":16,"y":420,"w":358,"h":635,"layers":[{"type":"rect","name":"face","x":81,"y":494,"w":229,"h":229,"fill":null,"stroke":{"color":"#67e8f9","opacity":1,"width":1},"radius":0,"shadow":"oklab(0.864991 -0.102651 -0.0525016 / 0.3) 0px 0px 12px 0px","rotation":0},{"type":"rect","name":"face","x":104,"y":517,"w":182,"h":182,"fill":null,"stroke":{"color":"#67e8f9","opacity":1,"width":1},"radius":0,"shadow":"oklab(0.864991 -0.102651 -0.0525016 / 0.3) 0px 0px 12px 0px","rotation":0},{"type":"rect","name":"face","x":81,"y":494,"w":23,"h":229,"fill":null,"stroke":{"color":"#67e8f9","opacity":1,"width":1},"radius":0,"shadow":"oklab(0.864991 -0.102651 -0.0525016 / 0.3) 0px 0px 12px 0px","rotation":0},{"type":"rect","name":"face","x":286,"y":494,"w":23,"h":229,"fill":null,"stroke":{"color":"#67e8f9","opacity":1,"width":1},"radius":0,"shadow":"oklab(0.864991 -0.102651 -0.0525016 / 0.3) 0px 0px 12px 0px","rotation":0},{"type":"rect","name":"face","x":81,"y":494,"w":229,"h":23,"fill":null,"stroke":{"color":"#67e8f9","opacity":1,"width":1},"radius":0,"shadow":"oklab(0.864991 -0.102651 -0.0525016 / 0.3) 0px 0px 12px 0px","rotation":0},{"type":"rect","name":"face","x":81,"y":699,"w":229,"h":23,"fill":null,"stroke":{"color":"#67e8f9","opacity":1,"width":1},"radius":0,"shadow":"oklab(0.864991 -0.102651 -0.0525016 / 0.3) 0px 0px 12px 0px","rotation":0},{"type":"image","name":"cloud","x":109,"y":550,"w":172,"h":115,"src":"img/models-mobile-2.jpg"},{"type":"text","name":"Pipeline","x":16,"y":802,"w":67,"h":21,"text":"Pipeline","font":"VT323","size":20.8,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#4dff8a","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"FROM BLENDER TO YOUR BROWSER","x":16,"y":837,"w":222,"h":70,"text":"FROM BLENDER TO YOUR BROWSER","font":"VT323","size":35.2,"weight":"400","italic":false,"lineHeight":1,"letterSpacing":0.704,"transform":"uppercase","align":"left","color":"#f4ead2","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Everything here is modeled in Blender, e","x":16,"y":921,"w":346,"h":98,"text":"Everything here is modeled in Blender, exported as compressed glTF and rendered live with three.js, so you can inspect it from any angle on your phone.","font":"IBM Plex Sans","size":16.105,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#a39a86","opacity":1,"stroke":null,"shadow"Line truncated
|
||||
Reference in new issue
Block a user