Home / Market / Pencil To Code

Pencil To Code

Convert Pencil `.pen` design files and named Pencil node IDs into production frontend code. Use when asked to implement, migrate, reproduce, or refine a Penc...

skill★ 00 dlclawhubMIT-0Install in CosmosUpstream Source

Documentation & Preview

Pencil To Code Handoff Checklist

Use this checklist while implementing or debugging visual fidelity.

Pencil Extraction

Facts To Capture

Code Mapping

Background Rules

Typography Rules

Useful browser check:

Array.from(document.querySelectorAll(".selector")).map((el) => {
  const s = getComputedStyle(el);
  return {
    text: el.textContent,
    fontFamily: s.fontFamily,
    fontSize: s.fontSize,
    fontWeight: s.fontWeight,
    lineHeight: s.lineHeight,
    letterSpacing: s.letterSpacing,
  };
});

Responsive Verification

Final Checks