Skip to content

Commit

Permalink
chore: deleted unused Figma tokens (#3014)
Browse files Browse the repository at this point in the history
Co-authored-by: Michael Marszalek <mimarz@gmail.com>
  • Loading branch information
Febakke and mimarz authored Jan 17, 2025
1 parent 13b3b50 commit afd9f61
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 28 deletions.
3 changes: 1 addition & 2 deletions design-tokens/$metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@
"semantic/modes/support-color/brand1",
"semantic/modes/support-color/brand2",
"semantic/modes/support-color/brand3",
"semantic/style",
"Figma/components"
"semantic/style"
]
}
22 changes: 0 additions & 22 deletions design-tokens/Figma/components.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
"semantic/modes/support-color/brand1",
"semantic/modes/support-color/brand2",
"semantic/modes/support-color/brand3",
"semantic/style",
"Figma/components"
"semantic/style"
]
}
1 change: 0 additions & 1 deletion packages/cli/src/tokens/template.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ const endsWithOneOf = (suffixes: string[], str: string): boolean =>

export const updateTemplates = async () => {
// Copy default files
await fs.cp(...argsFromToPaths('Figma'), options);
await fs.cp(...argsFromToPaths('primitives/globals.json'), options);
await fs.cp(...argsFromToPaths('primitives/modes/size'), options);
await fs.cp(...argsFromToPaths('primitives/modes/typography/size'), options);
Expand Down
1 change: 0 additions & 1 deletion packages/cli/src/tokens/write/generate$metadata.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@ export function generateMetadataJson(schemes: ColorSchemes, themes: string[], co
...Object.entries(colors.main).map(([color]) => `semantic/modes/main-color/${color}`),
...Object.entries(colors.support).map(([color]) => `semantic/modes/support-color/${color}`),
'semantic/style',
'Figma/components',
],
};
}

0 comments on commit afd9f61

Please sign in to comment.