Giter Site home page Giter Site logo

designr-figma-plugin's Introduction

DESIGNR Figma Plugin

image

This is a figma plugin that helps us achieve consistent color & spacing.

🎁 Installation

  1. Go to latest release and download the source code.
  2. Unzip the designr-figma-plugin.zip file and place the unzipped folder in a safe directory anywhere on your machine.
  3. Right click anywhere in Figma canvas β†’ Plugins β†’ Manage Plugins
  4. At the right side of the screen, tap "+ Create your own plugin".
  5. Tap "Link existing plugin" and choose the manifest.json file inside the folder you unzipped.
  6. Open the plugin by these two methods:
    • right clicking anywhere on canvas β†’ Plugins β†’ Development β†’ Designr Helper.
    • cmd + / to open Figma menu and search "helper".

πŸš€ Features

Check Colors

color check

What? Checks all the colours in the selected frame that aren't using the intended functional colors defined from our design library.

Why? Because it's okay to design quickly with the color picker (we're all guity of this, don't lie). But this tool should help us clean up the mess afterwards.

Convert to Dark / Light Theme

theme swap

What? One click function to convert the entire frame to Dark / Light theme function colours

Why? Because doing it one by one under the native Figma "Selection Color" is laborious.

Auto Layout Spacings

auto layout spacing

Adjust auto layout spacings with spacing defined from our tokens. Visible when you have a Frame with Auto Layout enabled selected.

What? A shortcut for applying spacing values in the Auto Layout properties.

Why? Gets us thinking in sizes (ie. S, M, L ) instead of pixel values (ie. 16px, 24px, 32px)

Note There’s a weird Figma glitch: After you change a slider value, your cursor needs to go back to Figma canvas to update the frame to the most up to date value. Not sure why, it’s a weird Figma plugin issue I couldn’t fix.

Layout Grids shortcut

Layout Grids shortcut What? A shortcut for applying layout grids based on our spacing values. Inspired by Google Chrome's box model visualisation, this should look familar.

Why? Figma's layout grids doesn't let us apply multiple styles at a time. This is a workaround.

πŸ’¬ To Contribute

If you want to contribute, run this plugin locally on your machine and watch for code changes.

  1. npm install to install all the dependencies
  2. npx webpack to watch the ./src folder and compile any code changes.
  3. To see the changes after each compile, bring the Figma desktop app to the foreground, and use command + option + p shortcut which tells Figma to re-run the last plugin.

designr-figma-plugin's People

Contributors

aboutjax avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

aubinlrx whjvenyl

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.