Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Sync Tokens Studio config 🤖 #50

Merged
merged 13 commits into from
Oct 23, 2023
2 changes: 1 addition & 1 deletion .github/workflows/merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:

- name: Build Tokens
shell: bash
run: yarn build:tokens
run: yarn build:tokens --no-cache

# Build Storybook and extract component stories for Storybook aggregation. This will be used
# for Chromatic rebaselining and publishing to GH Pages.
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
node_version: 18.x

- name: Build Tokens
run: yarn build:tokens
run: yarn build:tokens --no-cache

- name: Build Storybook
run: yarn build-storybook --quiet
run: yarn build-storybook --no-cache

- name: Cache Build
id: build-cache
Expand All @@ -54,7 +54,7 @@ jobs:
run: yarn lint

- name: Build Tokens
run: yarn build:tokens
run: yarn build:tokens --no-cache

- name: Type Check
shell: bash
Expand Down
3 changes: 0 additions & 3 deletions packages/canvas-tokens-docs/.storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ const config: StorybookConfig = {
viteFinal: async config =>
mergeConfig(config, {
plugins: [nxViteTsPaths()],
optimizeDeps: {
include: ['@workday/canvas-tokens-web'],
},
}),
};

Expand Down
40 changes: 20 additions & 20 deletions packages/canvas-tokens-docs/stories/base/examples/Color.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,33 @@ import {Stack} from '../../../components/Stack';
import {ColorGrid, buildColorSwatch, ColorSwatch} from '../../../components/ColorGrid';

const colorPaletteNames = [
'cinnamon',
'peach',
'chiliMango',
'berrySmoothie',
'blackPepper',
'blackberry',
'blueberry',
'cantaloupe',
'sourLemon',
'juicyPear',
'kiwi',
'cappuccino',
'chiliMango',
'cinnamon',
'coconut',
'frenchVanilla',
'fruitPunch',
'grapeSoda',
'greenApple',
'watermelon',
'islandPunch',
'jewel',
'toothpaste',
'blueberry',
'juicyPear',
'kiwi',
'licorice',
'peach',
'plum',
'berrySmoothie',
'blackberry',
'islandPunch',
'grapeSoda',
'pomegranate',
'fruitPunch',
'rootBeer',
'toastedMarshmallow',
'coconut',
'capuccino', // Misspelled
'licorice',
'soap',
'frenchVanilla',
'blackPepper',
'sourLemon',
'toastedMarshmallow',
'toothpaste',
'watermelon',
] as const;

const colorRegExp = new RegExp(colorPaletteNames.join('|'));
Expand Down
Loading
Loading