Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 1.19 KB

README.md

File metadata and controls

40 lines (28 loc) · 1.19 KB

palettable

you have a bunch of colours you like and look them up all the time don't you?

website with colors and corresponding hex codes

I found myself frequently using the same colors in apps, which resulted in me frequently opening up my own project implementations to dig for them

Palettable generates a website that demos all the colors that you like so you can get them at the click of a button, hosted wherever you want

All you need to do is fork the repo is give your color a name and color code in palettable.js!

If you supply a github username it will also add a link to your github account at the bottom so other people can fork yours and find other stuff you've made

palettable.js api

palettable.js is a simple json object, a key for your color name, and a value for it's hex code!

here's mine at the time of authoring!

const palettable = {
  colors: [
    {
      "do not merge": "#f9af9d",
    },
    {
      glade: "#1A535C",
    },
    {
      "m@": "#4a148c",
    },
  ],
  githubUsername: "johnstonmatt",
};

export default palettable;

example at https://palettable.ma.ttjohnston.com !