The design tokens that power Artsy's Palette.
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: {
// ...
}
}
MIT License. See LICENSE.
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!