Skip to content

Commit

Permalink
Merge branch 'main' into feature/7425-nr-update-tokens-in-components
Browse files Browse the repository at this point in the history
  • Loading branch information
narin authored Feb 5, 2024
2 parents 5d164c4 + 82f9077 commit 5ca8aac
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/tokens/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ StyleDictionary.registerFormat({
StyleDictionary.registerFormat({
name: 'typescript/es6-declarations/colors',
formatter: function (dictionary) {
let declaration = 'export declare const Colors: { [key: string]: string;\n'
let declaration = 'export declare const Colors: {\n'
dictionary.allProperties.forEach((token) => {
declaration += ` ${token.name}: string;\n`
})
Expand Down
8 changes: 8 additions & 0 deletions packages/tokens/figma/color.json
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,14 @@
"$value": "#112f4e",
"$type": "color"
},
"uswdsGray30": {
"$value": "#adadad",
"$type": "color"
},
"uswdsGray80": {
"$value": "#2e2e2e",
"$type": "color"
},
"uswdsGrayWarm90": {
"$value": "#171716",
"$type": "color"
Expand Down
2 changes: 1 addition & 1 deletion packages/tokens/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@department-of-veterans-affairs/mobile-tokens",
"version": "0.4.0",
"version": "0.5.0",
"description": "VA Design System Mobile Token Library",
"main": "dist/js/index.js",
"types": "dist/index.d.ts",
Expand Down
14 changes: 14 additions & 0 deletions packages/tokens/src/tokens/color/uswds.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,20 @@
"category": "uswds-system-color-blue-vivid-80"
}
},
"uswds-system-color-gray-30": {
"value": "#adadad",
"name": "uswds-system-color-gray-30",
"attributes": {
"category": "uswds-system-color-gray-30"
}
},
"uswds-system-color-gray-80": {
"value": "#2e2e2e",
"name": "uswds-system-color-gray-80",
"attributes": {
"category": "uswds-system-color-gray-80"
}
},
"uswds-system-color-gray-warm-90": {
"value": "#171716",
"name": "uswds-system-color-gray-warm-90",
Expand Down

0 comments on commit 5ca8aac

Please sign in to comment.