diff --git a/.changeset/fuzzy-timers-kneel.md b/.changeset/fuzzy-timers-kneel.md new file mode 100644 index 00000000000..19365557ea4 --- /dev/null +++ b/.changeset/fuzzy-timers-kneel.md @@ -0,0 +1,5 @@ +--- +'@shopify/polaris-tokens': minor +--- + +Added new z-index tokens that will be the default in v7.0.0 diff --git a/polaris-tokens/src/token-groups/zIndex.ts b/polaris-tokens/src/token-groups/zIndex.ts index ad41fdedc0a..0ce8f26d5dc 100644 --- a/polaris-tokens/src/token-groups/zIndex.ts +++ b/polaris-tokens/src/token-groups/zIndex.ts @@ -1,6 +1,42 @@ import type {TokenGroup} from '../types'; export const zIndex = { + 'z-index-1': { + value: '100', + }, + 'z-index-2': { + value: '400', + }, + 'z-index-3': { + value: '510', + }, + 'z-index-4': { + value: '512', + }, + 'z-index-5': { + value: '513', + }, + 'z-index-6': { + value: '514', + }, + 'z-index-7': { + value: '515', + }, + 'z-index-8': { + value: '516', + }, + 'z-index-9': { + value: '517', + }, + 'z-index-10': { + value: '518', + }, + 'z-index-11': { + value: '519', + }, + 'z-index-12': { + value: '520', + }, 'z-1': { value: '100', },