Skip to content

Commit

Permalink
chore(common): add non-color values for tokenList in themed
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonailea committed Apr 1, 2024
1 parent 2a9472c commit e1d204f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/calcite-components/src/tests/commonTests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1981,7 +1981,7 @@ export async function themed(
const themedTokens = {};

tokens.forEach((token, i) => {
themedTokens[token] = colorList[i];
themedTokens[token] = token.includes("color") ? colorList[i] : `${i * 10}${token.includes("z-index") ? "" : "px"}`;
});

component.setAttribute(
Expand Down

0 comments on commit e1d204f

Please sign in to comment.