You can create property-text from any element and update it all when you update element.
- Select element you want to create text
- Click Visual Property plugin from Plugin menu
- Click Add to add Color code text under your element
- You can edit text style but not node name
- You can Click Update all to update color code when you change element's color
-
General setup > https://www.figma.com/plugin-docs/setup/
-
Install dependencies
npm install
-
Develop 😄
npm run dev
npm run dev
: starts the watcher for changes. Modify the files under thesrc
folder and the code will be compiled automatically. Then, go to the Figma app and run your development plugin.npm run build
: generates the production build in thedist
folder. Important: run this command before releaseing a new version of your plugin. Before generating the build, it checks TypeScript, JavaScript and CSS files for linting errors.npm run test
: runs tests via Jest. This script runs beforebuild
.npm run test:watch
: runs tests via Jest in watch mode.npm run lint
: lint TypeScript and JavaScript files with ESLint and CSS with Stylelint.npm run lint:fix
: lint and apply automatic fixes to TypeScript, JavaScript and CSS files. This script runs beforebuild
.
- Complext element has more than one fills and stroke
- Enable Add Description of component
Repository url: https://github.com/apirak/visible-property
Figma design: https://www.figma.com/file/IYX2diPRY4Vir7FzhIB2la/Visual-Property
Made with