Back to Plugins
global style to code

global style to code

'Global Style To Code' enables developers to quickly convert global styles to code.

code exportsconverttext stylespaint stylesdevelopercodeexporteffect stylesfigma colorfigma to codeglobal stylecode-generators

Plugin Preview

global style to code preview

About this plugin

Global Style To Code enables developers to quickly convert global styles (text, paint, and effect) to code. 


All support styles

  • text styles
  • paint styles
  • effect styles


Variable Options

you can convert styles to code in several ways

  • Javascript object style
  • CSS class style (only in paint style)
  • CSS variable style
  • SCSS mixin style
  • SCSS variable style(only in paint style)


if you choose to convert paint style, there are options for color expression

  • RGBA code (default)
  • HEX code (ex. #EEFF00)
  • HSL code (ex. hsl(240, 100%, 50%))


How to use

  1. turn on this plugin in your figma file
  2. check styles that you want to get
  3. check export options
  4. copy and paste on your code!


Got questions?

please contact me :)


If you like this plugin, visit my repository and press star button!

https://github.com/YumYumNyang/yummy-figma-plugin

Plugin Details

Version5
CreatedAugust 23, 2022
Last UpdatedApril 21, 2023
CategorySoftware development
Creatoryumyumnyang
Stats224 installs, 44 likes
PricingFree

Technical Details

  • API:1.0.0
  • UI:dist/ui.html
  • main:dist/code.js
  • Editor Types:
    figma