Git Product home page Git Product logo

invert-color's Introduction

Invert Color

Figma downloads Figma likes GitHub license Travis

About

Simply invert fills, strokes & effects colors in Figma

Features

  • Invert fills, strokes and effects colors of components including images! ๐Ÿคฉ
  • Select which parts, nodes and paints should be inverted; filter options; toggle one, group or all SOON options with single click!
  • Save configuration in storage to use it later or run configuration once SOON
  • Set configuration based on existing components (get type of node, parts and paints) SOON
  • Exclude colors (set them manually or get from components) SOON

Commands

  • Invert
  • Configure Settings
  • Configure From Elements

All Supported Properties

Parts

  • Fills
  • Strokes
  • Effects

Nodes

  • Boolean Operation
  • Component
  • Document
  • Ellipse
  • Frame
  • Group
  • Instance
  • Line
  • Page
  • Polygon
  • Rectangle
  • Slice
  • Star
  • Text
  • Vector

Paints

  • Solid
  • Gradient Linear
  • Gradient Radial
  • Gradient Diamond
  • Gradient Angular
  • Image

How to run locally

Prerequisites

Clone the repo and run:

yarn && yarn watch

Add it to Figma by going to "Your Face > Plugins" and clicking on create a new plugin, this will give you the option to link to an existing plugin and you can select the manifest.json in this directory.

Open Figma and right click a component and you can access the plugin in Plugins > Development > Invert Color.

When making changes go to Menu > Plugins > "Run Last Plugin" (Or hit โŒฅโŒ˜P for Mac or Ctrl+Alt+P for Windows).

Build with

License

This project is licensed under the MIT License ยฉ 2019-present Jakub Biesiada

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.