6.0.1 • Published 2 months ago

@artsy/palette-tokens v6.0.1

Weekly downloads
38
License
MIT
Repository
github
Last release
2 months ago

palette-tokens

The design tokens that power Artsy's Palette.

:warning: This package isn't intended to be consumed directly, but rather included as a transitive dependency of palette. :warning:

Usage

In the main theme file for a Palette implementation:

import tokens from "@artsy/palette-tokens"

/**
 * This is required only in consuming versions of palette to keep
 * the existing api the same. If you're using the tokens as a standalone
 * you may not necessarily need to include this export statement.
 */
export * from "@artsy/palette-tokens";

/**
 * Any platform specific tokens can be included in the final `themeConfig` as
 * shown.
 */
export const themeConfig = {
  ...tokens,
  fontFamily: {
    // ...
  }
}

License

MIT License. See LICENSE.

About Artsy

This project is the work of engineers at Artsy, the world's leading and largest online art marketplace and platform for discovering art. One of our core Engineering Principles is being Open Source by Default which means we strive to share as many details of our work as possible.

You can learn more about this work from our blog and by following @ArtsyOpenSource or explore our public data by checking out our API. If you're interested in a career at Artsy, read through our job postings!

6.0.1

2 months ago

6.0.0

4 months ago

5.1.0

4 months ago

5.0.0

1 year ago

4.0.1

2 years ago

3.0.1

2 years ago

4.0.0

2 years ago

3.0.0

2 years ago

2.6.0

3 years ago

2.5.0

3 years ago

2.4.0

3 years ago

2.3.0

3 years ago

2.2.0

3 years ago

2.1.2

3 years ago

2.1.1

3 years ago

2.1.0

3 years ago

2.0.0

3 years ago

1.6.0-canary-1

3 years ago

1.5.0

3 years ago

1.4.0

3 years ago

1.3.1

3 years ago

1.3.0

3 years ago

1.2.2

3 years ago

1.2.1

3 years ago

1.2.0

3 years ago

1.1.0

3 years ago

1.0.0

3 years ago