diff --git a/.github/workflows/tokens-build.yml b/.github/workflows/tokens-build.yml index 2bf14fa7..8629cfe8 100644 --- a/.github/workflows/tokens-build.yml +++ b/.github/workflows/tokens-build.yml @@ -29,6 +29,9 @@ jobs: cache: yarn cache-dependency-path: yarn.lock - run: yarn install + - name: Clean `figma` folder + working-directory: packages/tokens + run: rm -r figma - run: yarn tokens:build - name: Prepare commit working-directory: packages/tokens diff --git a/packages/tokens/src/tokens/test1/base.json b/packages/tokens/src/tokens/test1/base.json new file mode 100644 index 00000000..e9137444 --- /dev/null +++ b/packages/tokens/src/tokens/test1/base.json @@ -0,0 +1,81 @@ +{ + "color": { + "primary": { + "darker": { + "value": "#003e73" + }, + "alt": { + "lightest": { + "value": "#e1f3f8" + } + } + }, + "secondary": { + "lightest": { + "value": "#f9dede" + } + }, + "white": { + "value": "#ffffff" + }, + "black": { + "value": "#000000" + }, + "gray": { + "*": { + "value": "#5b616b" + }, + "dark": { + "value": "#323a45" + }, + "medium": { + "value": "#757575" + }, + "light": { + "value": "#aeb0b5" + }, + "light-alt": { + "value": "#eeeeee" + }, + "lighter": { + "value": "#d6d7d9" + }, + "lightest": { + "value": "#f1f1f1" + }, + "warm-dark": { + "value": "#494440" + }, + "warm-light": { + "value": "#e4e2e0" + }, + "cool-light": { + "value": "#dce4ef" + } + }, + "uswds-system-color-blue-vivid-30": { + "value": "#58b4ff" + }, + "uswds-system-color-blue-vivid-60": { + "value": "#005ea2" + }, + "uswds-system-color-blue-warm-vivid-80": { + "value": "#162e51" + }, + "uswds-system-color-gray-30": { + "value": "#adadad" + }, + "uswds-system-color-gray-80": { + "value": "#2e2e2e" + }, + "uswds-system-color-red-vivid-40": { + "value": "#fb5a47" + }, + "uswds-system-color-red-vivid-60": { + "value": "#b50909" + }, + "uswds-system-color-red-vivid-80": { + "value": "#5c1111" + } + } +} diff --git a/packages/tokens/src/tokens/test2/base.json b/packages/tokens/src/tokens/test2/base.json new file mode 100644 index 00000000..e9137444 --- /dev/null +++ b/packages/tokens/src/tokens/test2/base.json @@ -0,0 +1,81 @@ +{ + "color": { + "primary": { + "darker": { + "value": "#003e73" + }, + "alt": { + "lightest": { + "value": "#e1f3f8" + } + } + }, + "secondary": { + "lightest": { + "value": "#f9dede" + } + }, + "white": { + "value": "#ffffff" + }, + "black": { + "value": "#000000" + }, + "gray": { + "*": { + "value": "#5b616b" + }, + "dark": { + "value": "#323a45" + }, + "medium": { + "value": "#757575" + }, + "light": { + "value": "#aeb0b5" + }, + "light-alt": { + "value": "#eeeeee" + }, + "lighter": { + "value": "#d6d7d9" + }, + "lightest": { + "value": "#f1f1f1" + }, + "warm-dark": { + "value": "#494440" + }, + "warm-light": { + "value": "#e4e2e0" + }, + "cool-light": { + "value": "#dce4ef" + } + }, + "uswds-system-color-blue-vivid-30": { + "value": "#58b4ff" + }, + "uswds-system-color-blue-vivid-60": { + "value": "#005ea2" + }, + "uswds-system-color-blue-warm-vivid-80": { + "value": "#162e51" + }, + "uswds-system-color-gray-30": { + "value": "#adadad" + }, + "uswds-system-color-gray-80": { + "value": "#2e2e2e" + }, + "uswds-system-color-red-vivid-40": { + "value": "#fb5a47" + }, + "uswds-system-color-red-vivid-60": { + "value": "#b50909" + }, + "uswds-system-color-red-vivid-80": { + "value": "#5c1111" + } + } +}