Table of Contents
This Figma plugin is an internal resource for New Relic. It's functionality is closely tied to One Core's (New Relic's design system) design tokens, and components. The goal of the project is to take some of the load of utilizing One Core off of the shoulders of New Relic product designers and place it on the shoulders of Figma itself.
The plugin is automatically installed for all Figma users at New Relic. Usage stats for the plugin are tracked in New Relic (staging). These usage stats have often served as the first warning about bugs before users report them.
Feature | Status | Notes |
---|---|---|
Table creator | ✅ Shipped | Will need to be updated when table redesign ships! |
Theme switcher | ✅ Shipped | Token library in plugin needs to be updated regularly |
Color linter | ✅ Shipped | Token library in plugin needs to be updated regularly |
Language linter | ✅ Shipped | Used in the plugin via a language linter NPM package |
- Run
yarn
to install dependencies. - Run
yarn build:watch
to start webpack in watch mode. - Open
Figma
->Plugins
->Development
->New Plugin...
and choosemanifest.json
file from this repo.
⭐ To change the UI of the plugin (the react code), start editing App.tsx.
⭐ To interact with the Figma API edit controller.ts.
⭐ Read more on the Figma API Overview.
One.Core.Toolbox.Preview.mov
- Boilerplate plugin template: Figma Plugin React Template by nirsky
- Design for the Grid UI in the table creator came straight from Table Creator by Gavin McFarland