mui / hackathon-figma-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MVP

Required

  • able to import a partial theme (json) and change palette & typography.
    • palette @siriwatknp
    • typography @flaviendelangle
  • able to export colors & typography from figma into json file.
  • import auxiliary color groups (e.g. action, text, background).
  • add "Export" button in https://mui.com/customization/color/#playground

Features

  • allow replace or override option when importing theme to figma @flaviendelangle
  • able to calculate runtime color like primary: contained hover

Development

HMR (Hot module replacement)

  • brew install modd
  • run chmod +x applescript.sh in the root project dir
  • run yarn dev
  • open the plugin in Figma
  • try changing code in src/ui.tsx

About


Languages

Language:TypeScript 84.6%Language:JavaScript 13.9%Language:Shell 1.4%Language:HTML 0.2%