Skip to content

Commit

Permalink
Initial prototyping
Browse files Browse the repository at this point in the history
  • Loading branch information
TimRoe committed Nov 16, 2023
1 parent 68b132b commit c9d41d5
Show file tree
Hide file tree
Showing 3 changed files with 51 additions and 0 deletions.
26 changes: 26 additions & 0 deletions packages/tokens/colorTokenTest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"primary-darker": {
"$value": "#003e73",
"$type": "color"
},
"primary-alt-lightest": {
"$value": "#e1f3f8",
"$type": "color"
},
"white": {
"$value": "#ffffff",
"$type": "color"
},
"gray-*": {
"$value": "#5b616b",
"$type": "color"
},
"gray-lightest": {
"$value": "#f1f1f1",
"$type": "color"
},
"uswds-system-color-blue-vivid-30": {
"$value": "#58b4ff",
"$type": "color"
}
}
11 changes: 11 additions & 0 deletions packages/tokens/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,17 @@
"destination": "index.d.ts"
}
]
},
"figma": {
"transformGroup": "react-native",
"buildPath": "./figma/",
"prefix": "",
"files": [
{
"destination": "tokens.json",
"format": "json"
}
]
}
}
}
14 changes: 14 additions & 0 deletions packages/tokens/spacerTokenTest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"full": {
"$value": "8px",
"$type": "dimension"
},
"half": {
"$value": "4px",
"$type": "dimension"
},
"quarter": {
"$value": "2px",
"$type": "dimension"
}
}

0 comments on commit c9d41d5

Please sign in to comment.