Skip to content

Commit

Permalink
feat(plasma-sb-utils): add spacing category to exclude from colors list
Browse files Browse the repository at this point in the history
  • Loading branch information
TitanKuzmich committed Dec 27, 2024
1 parent 402438d commit ab3477a
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion utils/plasma-sb-utils/src/helpers/colorTokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit ab3477a

Please sign in to comment.