Skip to content

Commit

Permalink
New and improved + 2 test token sets
Browse files Browse the repository at this point in the history
  • Loading branch information
TimRoe committed Dec 16, 2023
1 parent f607bf4 commit 2e4f2b2
Show file tree
Hide file tree
Showing 3 changed files with 165 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/tokens-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
81 changes: 81 additions & 0 deletions packages/tokens/src/tokens/test1/base.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
81 changes: 81 additions & 0 deletions packages/tokens/src/tokens/test2/base.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}

0 comments on commit 2e4f2b2

Please sign in to comment.