Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz committed May 15, 2024
1 parent ce01d40 commit 107de7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
9 changes: 2 additions & 7 deletions packages/cli/bin/designsystemet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,11 @@ program
'Path to "design-tokens"',
'../../design-tokens',
)
.option(
'-b, --brands [brands...]',
'Brand files in "design-tokens" to include',
['Digdir'],
)

.option('-p, --preview')
.action((opts) => {
const brands = Array.isArray(opts.brands) ? opts.brands : [];
const tokens = typeof opts.tokens === 'string' ? opts.tokens : '';
return run({ brands, tokens });
return run({ tokens });
});

program
Expand Down
2 changes: 0 additions & 2 deletions packages/cli/src/tokens/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,6 @@ const getStorefrontConfig = ({
type Options = {
/** Design tokens path */
tokens: string;
/** File names of Token studio brand files located in @type {Options['tokens']} */
brands: string[];
};

const sd = new StyleDictionary();
Expand Down

0 comments on commit 107de7e

Please sign in to comment.