Skip to content
This repository has been archived by the owner on Jul 23, 2023. It is now read-only.

lbb00/figma-css-better

Repository files navigation

Figma CSS Better

由于 Figma 更新了 Dev 模式,该插件已放弃维护。

Figma CSS 转换为你需要的样式

  • 内置 postcss px-to-viewport 可转换为小程序样式
  • 支持过滤不需要的属性
  • 支持替换属性
  • 支持添加多份配置
  • 支持加载远程.json 配置文件

Install

Click here to install: Figma Css Better

Example

如下图中的🔥 复制样式按钮,点击后拷贝下来的内容为:

.foo {
  font-weight: normal;
  font-size: 24rpx;
  line-height: 36rpx;
  color: #202426;
}

示例图

Releases

No releases published

Packages

No packages published