We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ecb688 commit 03de2d9Copy full SHA for 03de2d9
style-dictionary.js
@@ -15,6 +15,7 @@ const flattenColors = (dictionary) => {
15
for (const colorKey of Object.keys(colors)) {
16
if (
17
typeof colors[colorKey] === 'string' ||
18
+ // eslint-disable-next-line unicorn/no-instanceof-builtins
19
colors[colorKey] instanceof String
20
) {
21
flatColors[colorKey] = colors[colorKey];
0 commit comments