All Projects → oriziv → microsoft-figma

oriziv / microsoft-figma

Licence: other
Produce sass/less variables files from figma

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to microsoft-figma

figma-api
Figma REST API implementation with TypeScript, Promises & ES6
Stars: ✭ 126 (+600%)
Mutual labels:  figma, figma-api
manage-demo
后台管理系统模版
Stars: ✭ 19 (+5.56%)
Mutual labels:  gulp, less
figma-dev
Build figma plugins with a modern toolchain
Stars: ✭ 15 (-16.67%)
Mutual labels:  figma, figma-api
campus-leaflets
校园传单是一个使用 Node.js、MongoDB、Koa、EJS、MDL、Less、RequireJS 和 Gulp 开发的 Node 应用程序。
Stars: ✭ 16 (-11.11%)
Mutual labels:  gulp, less
Gulp Starter Kit
A simple Gulp 4 Starter Kit for modern web development.
Stars: ✭ 134 (+644.44%)
Mutual labels:  gulp, less
adfab-gulp-boilerplate
A boilerplate including Gulp, Less/SASS, BrowserSync.
Stars: ✭ 17 (-5.56%)
Mutual labels:  gulp, less
generator-speedseed
Oriented to components, allow create/choice template, multiple configuration with easy maintenance
Stars: ✭ 13 (-27.78%)
Mutual labels:  gulp, less
designfactory-app
A project that generates pdf documents from design templates from Figma + your own data via the GUI or REST API.
Stars: ✭ 30 (+66.67%)
Mutual labels:  figma, figma-api
Manhuaren
vue2.0全家桶,仿漫画人官网(移动端)
Stars: ✭ 18 (+0%)
Mutual labels:  gulp, less
generator-yeomify-landing
Yeoman generator for landing project powered by Gulp
Stars: ✭ 29 (+61.11%)
Mutual labels:  gulp, less
eadmin
eadmin - 极致用户体验与极简开发并存的开箱即用的后台UI框架
Stars: ✭ 258 (+1333.33%)
Mutual labels:  gulp, less
Compile Hero
🔰Visual Studio Code Extension For Compiling Language
Stars: ✭ 169 (+838.89%)
Mutual labels:  gulp, less
Glup
Some of the gulp tutorial -《gulp笔记》
Stars: ✭ 136 (+655.56%)
Mutual labels:  gulp, less
magento-2-gulp
Gulp for Magento 2. It works with core Magento styles (less) and structure. Uses default theme configs from dev/tools/grunt/configs/local-themes.js.
Stars: ✭ 37 (+105.56%)
Mutual labels:  gulp, less
generator-fountain-react
Yeoman 'fountain' generator to start a webapp with React
Stars: ✭ 36 (+100%)
Mutual labels:  gulp
next-plugin-antd
A @zeit/next-less patch with full support for Ant Design, Less and CSS modules
Stars: ✭ 27 (+50%)
Mutual labels:  less
gulp-sort
Sort files in stream by path or any custom sort comparator
Stars: ✭ 22 (+22.22%)
Mutual labels:  gulp
bootstrap-4-boilerplate
Basic Bootstrap 4 Starter Template
Stars: ✭ 50 (+177.78%)
Mutual labels:  gulp
Shangchao-Website
(官网案例) - 上朝科技 - Vue 2.0 - SPA项目
Stars: ✭ 22 (+22.22%)
Mutual labels:  gulp
assistant
🤖 Bring your Figma design & development pipeline to the next level - with design to code, in-design-content-management, component management, tools for faster design
Stars: ✭ 451 (+2405.56%)
Mutual labels:  figma

Figma styles to SASS/LESS files

THIS IS NO LONGER MAINTAINED AND MOVED HERE https://github.com/oriziv/figma-sass-less-plugin AS FIGMA PLUGIN

CAN BE FOUND HERE https://www.figma.com/community/plugin/742750636238601912/CSSGen

Extract figma styles into scss/less files.

Project image

Prerequisites

You need to install Node JS if you dont have it already installed

1. Install NPM dependencies

npm install

2. Install gulp

npm install -g gulp

3. Get you figma personal access token

Documentation on how to get tokens

How to create styles at figma file

Learn More

Run

gulp extract-figma-styles --token=<FIGMA_PERSONAL_ACCSESS_TOKEN> --fileId=<FIGMA_FILE_ID>

This will produce 3 files: colors.scss ,typo.scss and the json file figma output.

More options

--colorFormat

rgba/hex

example: --colorFormat=hex

--colorFilename

name of the file contains the colors variables

default: _colors

example: --colorFilename=my_colors

--typoFilename

name of the file contains the texts styles mixins

default: _typo

example: --typoFilename=typography

--output

output fotmat scss or less

default: scss

example: --output=less

--outputDir

output location dir

default: dist/

example: --outputDir=../build/

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].