A little toy app to help you find the nearest match for a given color within a Figma Tokens color palette.

Overview

Hey Palette

So you've got a color palette in Figma and you've used the Figma Tokens plugin to export that palette to JSON. Let's say you have a color that's not in the palette, but you want to find the nearest match in the palette. That's what this little toy app is for!

Development

Start the dev server:

yarn dev

Deployment

CD is set up on the main branch. Commits to main will trigger automated deploys to Vercel.

You might also like...

BookStore is a website that allows a given user to view a list of books, to add a new book and remove a given book.

BookStore is a website that allows a given user to view a list of books, to add a new book and remove a given book.

Project Name : BookStore CMS BookStore is a website that allows a given user to view a list of books, to add a new book and remove a given book. In or

Aug 22, 2022

Color palette text parser to a function, compatible with GMT, GDAL, GRASS, PostGIS, ArcGIS

cpt2js Color palette text parser to a function, input compatible with GMT, GDAL, GRASS, PostGIS, ArcGIS Demo From GDAL docs: The text-based color conf

Dec 4, 2022

Color palette generation function using hue cycling and simple easing functions.

Color palette generation function using hue cycling and simple easing functions.

Rampensau 🐷 Color palette generation function using hue cycling and easing functions. Check out a simple demo or see it in action over on farbvelo 10

Dec 28, 2022

Exposes theming options available in Joy UI by providing color palette and typography controls.

Joy Theme Creator Note: Joy UI is currently in alpha - some things may not be finished or working as expected. This project exposes the theming option

Dec 28, 2022

Receive crypto payments from anywhere around the world, options including native tokens (MATIC, ETHER,BUSD), Tokens (USDT,BUSD), NFTs and more.

Receive crypto payments from anywhere around the world, options including native tokens (MATIC, ETHER,BUSD), Tokens (USDT,BUSD), NFTs and more.

Receive payments for service rendered in crypto using different options. Go borderless with bonpay, gain access to varities of crypto assets, safe and

Nov 11, 2022

a toy project to explore Stable Diffusion locally through a nodeJS server.

SD-explorer foreword this is a toy project to run the Stable Diffusion model locally. if you're after something more solid, I'd suggest you use WebUI

Dec 18, 2022

This is a toy, it is an enhanced version of console.log

This is a toy,  it is an enhanced version of console.log

uu-console Hi, this is a toy. When you use console.log to print some logs, this can help you do some useless things. What is uu-console Support built-

Sep 25, 2022

Twitter bot to find what song is playing in a given uploaded twitter video.

Twitter bot to find what song is playing in a given uploaded twitter video.

what-song-is-this Twitter bot to find what song is playing in a given uploaded twitter video. How to setup. yarn install How to run. via npm script ya

Dec 11, 2022

Generate random ethereum wallets & private keys and then check if they match a wallet that contains some kind of balance, so that you can take it. In Node.js

Ethereum-Stealer Generate random ethereum wallets & private keys and then check if they match a wallet that contains some kind of balance, so that you

Dec 24, 2022
Comments
  • Bugfix: prefix hash symbol when missing from hex codes

    Bugfix: prefix hash symbol when missing from hex codes

    The nearest-color library will accept hex codes without the leading # symbol (e.g. 000), but we need the leading hash when rendering the corresponding color swatch, otherwise it looks like this:

    Screen Shot 2022-08-26 at 10 08 14 PM

    This PR checks for a valid-ish hex code (i.e. valid but missing the leading #), and adds the missing # to give us this:

    Screen Shot 2022-08-26 at 10 08 32 PM

    So now the searched color's swatch renders correctly, and if we copy the searched code to clipboard it will be a valid hex code.

    Fixes #2

    opened by kalopilato 1
  • Add 'accuracy' info to colour match results

    Add 'accuracy' info to colour match results

    Seeing the color swatches for the searched colour and the nearest match is nice, but including some kind of numeric 'accuracy' metric would be even better! nearest-color gives us a distance property, so we can just convert this to a percentage and show it alongside the colour match:

    Screen Shot 2022-08-26 at 1 51 41 PM

    Closes #3

    opened by kalopilato 1
  • Hex colours without hash prefixes are matched but not rendered correctly

    Hex colours without hash prefixes are matched but not rendered correctly

    If we enter a hex code without including the # prefix the nearest match is found, but the swatch for the searched colour is rendered with no background colour.

    e.g. search for 140d30 results in:

    Screen Shot 2022-08-15 at 11 50 45 am

    Either this should be invalid input, or the swatch should have backgroundColor set to #140d30

    bug 
    opened by kalopilato 0
e-ONG, an authorial project, whose objective is to help ONGs to find people who need help or would like to help them

This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: npm start Runs the app in the developmen

Lucas Lima 2 Nov 11, 2022
🏗️ Figma Plugin for speeding up and ensure consistency in the structure of your Figma projects

??️ Codely Structurer Figma Plugin Figma Plugin for speeding up and ensure consistency in the structure of your Figma projects Stars are welcome ?? ??

CodelyTV 18 Dec 14, 2022
Supercharge your All-in-One workspace with the Command Palette within Notion 🕹️

Notion Palette Supercharge your All-in-One workspace with the Command Palette within Notion ??️ Notion Palette is a free and open source extension, yo

Ruter 13 Nov 10, 2022
Find a local sport match that fits your skill level. Built with NextJS and AWS.

MatchUp This is a Next.js project bootstrapped with create-next-app. Getting Started First, run the development server: npm run dev # or yarn dev Open

Mitchell Smith 7 Oct 27, 2022
Find a local sports match that fits your skill level. Built with NextJS and AWS.

MatchUp MatchUp Find local sport matches Beta walkthrough About The Project Looking for a fun and easy way to meet up and play sports with locals in y

MatchUp 7 Oct 27, 2022
Use 1400+ 3dicons within Figma or Figjam files quickly

3dicons Figma plugin Use 1400+ 3dicons within Figma or Figjam files quickly. The icons can be searched and filtered by color and angle. Figma Communit

vijay verma 17 Dec 8, 2022
A utility that mutates and transforms a style-dictionary object into something Figma Tokens plugin understands

Brought to you by Style Dictionary To Figma A utility that transforms a style-dictionary object into something Figma Tokens plugin understands. Used b

‹div›RIOTS 74 Jan 4, 2023
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023