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 af8b8ad commit 9d46471Copy full SHA for 9d46471
src/commons/modifiers.js
@@ -23,7 +23,7 @@ export function extractBackgroundColorValue(props) {
23
24
const keys = Object.keys(props);
25
const bgProp = _.findLast(keys, prop => Colors.getBackgroundKeysPattern().test(prop));
26
- if (bgProp) {
+ if (props[bgProp]) {
27
const key = bgProp.replace(Colors.getBackgroundKeysPattern(), '');
28
backgroundColor = Colors[key];
29
}
0 commit comments