Skip to content

Commit

Permalink
Update example
Browse files Browse the repository at this point in the history
  • Loading branch information
Temzasse committed Jul 22, 2022
1 parent e217b29 commit f550548
Show file tree
Hide file tree
Showing 6 changed files with 249 additions and 62 deletions.
2 changes: 1 addition & 1 deletion example/assets/icons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
36 changes: 36 additions & 0 deletions example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,42 @@
"author": "Teemu Taskula",
"license": "ISC",
"figmage": {
"outDir": "tokens",
"tokenize": {
"tokens": [
{
"name": "colors",
"type": "color"
},
{
"name": "typography",
"type": "text"
},
{
"name": "spacing",
"type": "width",
"nodeId": "22:582"
},
{
"name": "radii",
"type": "radius",
"nodeId": "22:641"
},
{
"name": "icons",
"type": "svg",
"nodeId": "1:1887"
}
]
},
"codegen": {
"defaults": {
"filetype": "ts",
"tokenCase": "camel"
}
}
},
"figmage2": {
"outDir": "tokens",
"tokenize": {
"tokens": [
Expand Down
2 changes: 1 addition & 1 deletion example/tokens/icons-ids.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
/* eslint-disable */
export const ids = ["aperture","arrowDownLeft","arrowLeftCircle","camera","checkCircle","cloudLightning","eye","heart",] as const;
export const ids = ["arrowDown","arrowLeft","arrowRight","arrowUp","bell","calendar","camera","checkmark","chevronDown","chevronLeft","chevronRight","chevronUp","clock","ellipsisHorizontal","ellipsisVertical","envelope","envelopeFilled","eyeFilled","eyeOutline","faceNeutral","faceSmile","filter","fullBody","graduationCapFilled","graduationCapOutline","heartFilled","heartOutlined","homeFilled","homeOutline","language","languageGlobe","lightningFilled","lightningOutline","logout","movieFilled","movieOpenFilled","movieOpenOutline","movieOutline","paperclip","pencil","phone","piggybank","pin","plus","questionMark","questionMarkFull","search","send","sortVertical","trash","userCicleFilled","userCicleOutline","warningTriangle","x",] as const;
Loading

0 comments on commit f550548

Please sign in to comment.