diff --git a/packages/cli/bin/designsystemet.ts b/packages/cli/bin/designsystemet.ts index 1de85c37fe..968422c2ea 100644 --- a/packages/cli/bin/designsystemet.ts +++ b/packages/cli/bin/designsystemet.ts @@ -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 diff --git a/packages/cli/src/tokens/build.ts b/packages/cli/src/tokens/build.ts index 7a6bbd4df1..a0ef0363d4 100644 --- a/packages/cli/src/tokens/build.ts +++ b/packages/cli/src/tokens/build.ts @@ -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();