@helpscout/colorway

0.10.0 • Public • Published

🎨 Colorway

Build Status npm version

A color management syncing system

Table of Contents

Installation

npm install --save-dev @helpscout/colorway

Usage

Run the colorway command with the manifest you wish to sync, example:

colorway --manifest=hsds-react

For a more automated/magical feed, we recommend you add this as a prestart or prebuild command in your package.json:

{
  ...
  "colorway": "colorway --manifest=hsds-react",
  "prestart": "colorway",
  ...
}

find & Closest

Run the colorway command with find or closest as argument to:

Find

Find will retrieve the HEX color code for a given color name. It will only use the HSDS-react manifest

colorway find blue.500

// blue.500: #1292EE

Closest

Closest will find the color name from our palette that is the nearest from a given HEX code. It will only use the HSDS-react manifest

colorway closest #005500

// green.900: #23633e

Documentation

Check out our documentation to see how you can use and integrate Colorway into your Application/project.

Integrations

Application / Project Status
doc-article-styles Integrated
hsds-react Integrated
search-autocomplete Integrated
seed Integrated
hs-app Integrated
beacon2 Integrated
developer --
styleguide --

See Also

/@helpscout/colorway/

    Package Sidebar

    Install

    npm i @helpscout/colorway

    Weekly Downloads

    414

    Version

    0.10.0

    License

    MIT

    Unpacked Size

    46.8 kB

    Total Files

    31

    Last publish

    Collaborators

    • tinkertrain
    • knicklabs
    • itsjonq
    • charca
    • helpscout
    • plbabin