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 e0ee91c commit c652f48Copy full SHA for c652f48
src/components/ColorPaletteReference.js
@@ -16,7 +16,7 @@ export function ColorPaletteReference({ colors }) {
16
typeof value === 'string'
17
? [50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 950].map((variant) => ({
18
name: variant,
19
- value: dlv(colorPalette, [value, variant === 950 ? 900 : variant]),
+ value: dlv(colorPalette, [value, variant]),
20
}))
21
: Object.keys(value).map((name) => ({ name, value: value[name] }))
22
0 commit comments