RN-283 Properly render uppercase theme colours (#849)

This commit is contained in:
Harrison Healey 2017-08-11 16:45:27 -04:00 committed by enahum
parent d88f59bc6b
commit 321a2bf576

View file

@ -45,6 +45,11 @@ export const getTheme = createSelector(
// At this point, the theme should be a plain object
// Fix a case where upper case theme colours are rendered as black
for (const key of Object.keys(theme)) {
theme[key] = theme[key].toLowerCase();
}
return theme;
}
);