<aside> 📐
A reusable method for turning live Figma variables and styles into a precise, framework-neutral Notion contract. Inspect first, normalize only with authorization, document exact bindings and literals, then verify counts and identity.
</aside>
This documentation is a technology-agnostic design contract. One documented Figma variable or style must have one addressable code counterpart or stable mapping. Preserve names, modes, aliases, configured property values, and dependency links; the consuming stack chooses its representation.
A Figma entity does not prescribe a code entity. A text style may map to a CSS class, theme key, utility composition, component variant, native style, or another local abstraction. The invariants are one-to-one identity or stable mapping and compositional equivalence, not the implementation mechanism.
Non-goals: prescribing React, CSS, Tailwind, native frameworks, repositories, file structure, naming syntax in code, or a token build pipeline.
Worked reference: PaidHR variables & style composition. Use it to inspect a completed instance; this playbook is independently executable.
[Project] Variables & Style Composition (root guide/navigation)
├── Variables
│ ├── Complete variables JSON — expand to view
│ ├── [Variable collection A] (inline database)
│ └── [Variable collection B] (inline database)
├── Text Styles
│ ├── [Platform/category A] (inline database)
│ └── [Platform/category B] (inline database)
├── Effects
│ ├── Layer Blur (inline database)
│ ├── Backdrop Blur (inline database)
│ ├── Shadow (inline database)
│ └── Inner Shadow (inline database)
└── Grid Styles
└── Grid (inline database)
Each listed family is a genuinely separate database with its own data source, not a filtered view of one mega-database. Split variable databases by actual Figma collection. Split text styles by a stable platform or category boundary. Split effects by effect family. Keep one separate Grid database.
The Text Styles, Effects, and Grid Styles category pages contain only their database blocks. Do not repeat a database title as a heading or description immediately above it. Variables is the intentional exception: its single JSON toggle comes first, followed only by collection database blocks.
Documentation must mirror Figma. If cleanup is approved, normalize Figma first and re-inventory before documenting.