Penpot design workflow: baseline export, importer plugin, tokens
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:
Johan Sandoval committed 2026-10-08 19:40:41 +00:00
1 parent 38b5213138
commit bf0d1efa2c
263 files changed
+1054 -1

No files matched your search

+1
View File
@@ -0,0 +1 @@
{"name":"/contact — mobile 390","slug":"contact-mobile","viewport":"mobile","route":"/contact","width":390,"height":2093,"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":"#3f78b8","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/contact-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":"#fbf5e4","opacity":1,"stroke":null,"shadow":null}]},{"name":"02 wrap","x":16,"y":62,"w":358,"h":1445,"layers":[{"type":"rect","name":"greetings","x":14,"y":88,"w":362,"h":129,"fill":{"color":"#fbf5e4","opacity":1},"stroke":{"color":"#142033","opacity":1,"width":2},"radius":0,"shadow":"rgb(20, 32, 51) 6px 6px 0px 0px","rotation":0},{"type":"rect","name":"from","x":144,"y":108,"w":100,"h":40,"fill":{"color":"#ffd31a","opacity":1},"stroke":{"color":"#142033","opacity":1,"width":2},"radius":0,"shadow":null,"rotation":0},{"type":"text","name":"Say hello!","x":156,"y":116,"w":75,"h":23,"text":"Say hello!","font":"Archivo","size":16,"weight":"700","italic":true,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#142033","opacity":1,"stroke":null,"shadow":null},{"type":"image","name":"city","x":39,"y":138,"w":314,"h":58,"fill":null,"stroke":null,"radius":0,"shadow":null,"rotation":0,"src":"img/contact-mobile-2.jpg"},{"type":"text","name":"HI THERE","x":38,"y":123,"w":315,"h":87,"text":"HI THERE","font":"Dela Gothic One","size":52.65,"weight":"400","italic":false,"lineHeight":0.9,"letterSpacing":-2.106,"transform":"uppercase","align":"left","color":"#000000","opacity":1,"stroke":{"color":"#142033","opacity":1,"width":2},"shadow":null},{"type":"image","withText":true,"name":"sparkle","x":332,"y":100,"w":23,"h":23,"src":"img/contact-mobile-3.jpg"},{"type":"image","withText":true,"name":"sparkle","x":38,"y":186,"w":17,"h":17,"src":"img/contact-mobile-4.jpg"},{"type":"text","name":"Get in touch","x":16,"y":228,"w":357,"h":57,"text":"Get in touch","font":"Archivo","size":52,"weight":"800","italic":false,"lineHeight":0.9,"letterSpacing":-1.56,"transform":null,"align":"left","color":"#fbf5e4","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Hiring, freelance work, collaborations, ","x":16,"y":308,"w":353,"h":118,"text":"Hiring, freelance work, collaborations, or you want to talk about a game, a 3D model or a riff. I read everything and usually reply within a couple of days.","font":"IBM Plex Sans","size":19.445,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#fbf5e4","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Email","x":16,"y":454,"w":39,"h":17,"text":"Email","font":"IBM Plex Mono","size":12.87,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#d6e3f2","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"contact@mail.yoyos.sh","x":94,"y":454,"w":162,"h":17,"text":"contact@mail.yoyos.sh","font":"IBM Plex Mono","size":12.87,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#fbf5e4","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Based in","x":16,"y":479,"w":62,"h":17,"text":"Based in","font":"IBM Plex Mono","size":12.87,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#d6e3f2","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Chicago, IL · open to remote","x":94,"y":479,"w":216,"h":17,"text":"Chicago, IL · open to remote","font":"IBM Plex Mono","size":12.87,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#fbf5e4","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Status","x":16,"y":505,"w":46,"h":17,"text":"Status","font":"IBM Plex Mono","size":12.87,"weight":"400","italic":false,"lineHeight":1.6,"letterSpacing":0,"transform":null,"align":"left","color":"#d6e3f2","opacity":1,"stroke":null,"shadow":null},{"type":"text","name":"Open to software engineering roles","x":94,"y":505,"w":262,"h":17,"text":"Open to software engineering rolLine truncated