3.0.3 • Published 10 months ago

@automattic/color-studio v3.0.3

Weekly downloads
2,529
License
SEE LICENSE IN LI...
Repository
github
Last release
10 months ago

Color Studio

The color palette for Automattic products, exported in multiple formats.

Color palette preview

Using Color Studio as a Dependency

npm install @automattic/color-studio

This package is dependency-free.

SCSS

@import "~@automattic/color-studio/dist/color-variables";

button {
  background: $studio-pink-50;
  color: $studio-white;
}

JavaScript

const PALETTE = require( '@automattic/color-studio' );

console.log( PALETTE.colors[ 'Pink 50' ] );

The above imports the contents of the JSON file.

Development

# Spin up Color Studio
yarn install
yarn test
yarn start

# Generate the JSON file, the stylesheets, and the Sketch Palettes file
yarn palette

# Build the documentation and the examples from `docs/source`
yarn docs

# Build and link the Sketch extension
yarn sketch

# Generate the preview image (by taking a screenshot of the documentation)
yarn meta

All the build commands run automatically before every commit.

License

Color Studio is licensed under GNU General Public License v2.0 (or later).

3.0.3

10 months ago

3.0.2

10 months ago

3.0.1

11 months ago

3.0.0

11 months ago

2.6.0

1 year ago

2.5.0

4 years ago

2.4.0

4 years ago

2.3.1

5 years ago

2.3.0

5 years ago

2.2.1

5 years ago

2.2.0

6 years ago

2.1.0

6 years ago

2.0.1

6 years ago

2.0.0

6 years ago

1.0.6

6 years ago