【文件属性】:
文件名称:import-styles-from-json:从JSON导入样式-Figma插件
文件大小:107KB
文件格式:ZIP
更新时间:2021-04-18 11:11:22
JavaScript
从JSON导入样式
通过JSON以编程方式生成Figma样式。
JSON格式
例子
{
" colorStyles " : [
{
" name " : " Blue/100 " ,
" description " : " Primary blue used for marketing backgrounds. " ,
" hex " : " #0000FF " ,
" opacity " : 1
}
],
" textStyles " : [
{
" name " : " Body/30 " ,
" description " : " Primary text style used for body copy. " ,
" fontSize " : 16 ,
【文件预览】:
import-styles-from-json-master
----.gitignore(39B)
----manifest.json(138B)
----tsconfig.json(214B)
----README.md(3KB)
----package.json(739B)
----src()
--------code.tsx(968B)
--------utils()
--------ui.tsx(482B)
--------ui.html(894B)
----webpack.config.js(86B)
----package-lock.json(446KB)