Socket
Socket
Sign inDemoInstall

@amedia/brick-tokens

Package Overview
Dependencies
1
Maintainers
53
Versions
34
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @amedia/brick-tokens

Tokens package


Version published
Maintainers
53
Created

Readme

Source

brick-tokens

From Figma to Brick: Design Tokens

Using Figmagic to read figma api and update the design tokens and the graphics

https://github.com/mikaelvesavuori/figmagic

Create your token and add an .env file (look at .example.env)


npm run figmagic

example:

figmagic --token your-figma-token --url khngYEYm4PVNEKOjNpOn9C // demo
figmagic --token your-figma-token --url Jm2ChrupQy3hQPD8yGNXWp // Amedia Brick Design for IU

The new and hot CSS-in-JS kid in town, Stitches, is used for themeing and variants:

https://github.com/modulz/stitches/tree/canary/packages/core

Other example also using Figmagic, or other tools

https://www.skypack.dev/view/@velove/design-system

Other info: https://blog.prototypr.io/design-tokens-with-figma-aef25c42430f https://noti.st/klaufel/RFcTe9 https://github.com/renatewr/pattern-library-skeleton (https://www.figma.com/file/IGr2xoqcZX91CU7CDr4ZsI/Design-tokens-(skeleton)?node-id=167%3A391) https://github.com/PavelLaptev/wunderzin/blob/master/style-dictionary/build.js

Keywords

FAQs

Last updated on 11 Jun 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc