From 52b766af82872ca44c68c70e0bf2797050706881 Mon Sep 17 00:00:00 2001 From: oddvernes Date: Thu, 13 Jun 2024 09:53:26 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20change=20default=20density=20to?= =?UTF-8?q?=20spacious?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/eds-tokens-build/src/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/eds-tokens-build/src/index.ts b/packages/eds-tokens-build/src/index.ts index 78feaed221..f1042e21f3 100644 --- a/packages/eds-tokens-build/src/index.ts +++ b/packages/eds-tokens-build/src/index.ts @@ -355,7 +355,7 @@ export function run({ outputReferences } = { outputReferences: true }) { dirName: spacingDirName, prefix: systemName, fileName: 'comfortable', - selector: ':root, [data-density="comfortable"]', + selector: '[data-density="comfortable"]', filter: (token) => token.filePath.includes('Density'), outputReferences, }) @@ -380,7 +380,7 @@ export function run({ outputReferences } = { outputReferences: true }) { dirName: spacingDirName, prefix: systemName, fileName: 'spacious', - selector: '[data-density="Spacious"]', + selector: ':root, [data-density="Spacious"]', filter: (token) => token.filePath.includes('Density'), outputReferences, })