Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@amedia/brick-tokens

Package Overview
Dependencies
Maintainers
53
Versions
34
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@amedia/brick-tokens

Tokens package

  • 0.0.34
  • unpublished
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
Maintainers
53
Weekly downloads
 
Created
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

Package last updated on 11 Jun 2021

Did you know?

Socket

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
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc