This commit is contained in:
Henry Jameson 2020-01-20 01:45:48 +02:00
parent 2b36a62c56
commit a7b6c79136
2 changed files with 3 additions and 3 deletions

View file

@ -202,8 +202,8 @@ export default {
...acc,
...textColors.reduce((acc, textColorKey) => {
const newKey = slotIsBaseText
? 'bg' + textColorKey[0].toUpperCase() + textColorKey.slice(1)
: textColorKey
? 'bg' + textColorKey[0].toUpperCase() + textColorKey.slice(1)
: textColorKey
return {
...acc,
[newKey]: getContrastRatioLayers(