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 37081fb commit 8b60be4Copy full SHA for 8b60be4
packages/theming/src/utils/getColor.ts
@@ -175,6 +175,7 @@ const toColor = (
175
colors[hue as keyof typeof colors] /* ex. `hue` = 'primaryHue' */ ||
176
hue; /* ex. `hue` = '#fd5a1e' */
177
178
+ // eslint-disable-next-line n/no-unsupported-features/es-builtins
179
if (Object.hasOwn(palette, _hue)) {
180
_hue = palette[_hue]; /* ex. `hue` = 'grey' */
181
}
0 commit comments