From 67aecdcabfcc610bc9bd15c23cf7b8502460e03b Mon Sep 17 00:00:00 2001 From: Robb Niznik Date: Tue, 5 Nov 2024 11:52:01 -0500 Subject: [PATCH] fix: themes --- packages/tokens/build.ts | 2 +- packages/tokens/stories/theme.stories.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tokens/build.ts b/packages/tokens/build.ts index e95733d75..706f3d885 100644 --- a/packages/tokens/build.ts +++ b/packages/tokens/build.ts @@ -118,7 +118,7 @@ sd.registerFormat({ }); }); - const defaultTokens = `${header}:root, [data-theme='default'] {\n${dictionary.allTokens + const defaultTokens = `${header}:root, [data-theme] {\n${dictionary.allTokens .filter((token) => !!token.$value) .map(formatProperty) .join('\n')}\n}\n`; diff --git a/packages/tokens/stories/theme.stories.tsx b/packages/tokens/stories/theme.stories.tsx index 0c8df2786..ca5a0d8e4 100644 --- a/packages/tokens/stories/theme.stories.tsx +++ b/packages/tokens/stories/theme.stories.tsx @@ -23,7 +23,7 @@ export const NestedThemes = {

Currently, we are in a default mode context.

-
+