From ab3477a933600475e8b95514010b299b50fa2bf4 Mon Sep 17 00:00:00 2001 From: TitanKuzmich Date: Fri, 27 Dec 2024 13:47:47 +0300 Subject: [PATCH] feat(plasma-sb-utils): add spacing category to exclude from colors list --- utils/plasma-sb-utils/src/helpers/colorTokens.ts | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/utils/plasma-sb-utils/src/helpers/colorTokens.ts b/utils/plasma-sb-utils/src/helpers/colorTokens.ts index f518af2254..b3b6896c5c 100644 --- a/utils/plasma-sb-utils/src/helpers/colorTokens.ts +++ b/utils/plasma-sb-utils/src/helpers/colorTokens.ts @@ -53,7 +53,16 @@ export const getOpacityFromHex = (color: string) => { }; export const getGroupedTokens = (themes: string): GroupedTokens => { - const tokensExclude = ['border-radius', 'shadow', 'plasma-typo', 'plasma-colors', 'brightness', 'hover', 'active']; + const tokensExclude = [ + 'border-radius', + 'shadow', + 'plasma-typo', + 'plasma-colors', + 'brightness', + 'hover', + 'active', + 'spacing', + ]; const processedTokens = convertTheme(themes);