Design tokens for Polaris, Shopify’s design system
Added iconInteractive
to colors (#189)
onSurface.onSurfaceBackground
to surface.surfaceSearchField
. (#183)
onSurfaceBackground
should replace it with surfaceSearchField
. The color value is unchanged.icon
and action
colors not being exposed in dist/color-filters.color-map.scss
. (#182)mergeConfigs
and Config
to the public API of dist-modern/index.js
(#180)import {colorInk} from '@shopify/polaris-tokens';
shall load content from dist/index.esm.js
which allows for better tree shaking. A default export so you can do import tokens from '@shopify/polaris-tokens';
is provided for backwards compatability however this is just a stopgap, and will be removed in polaris-tokens v3.0.0. You should use either named imports (import {colorInk}
) or a namespace import (import * as tokens
) (#181)./dist
. In a future version, this directory may be moved to ./dist-legacy
(#170)