diff options
| author | Henry Jameson <me@hjkos.com> | 2020-01-20 01:45:48 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-01-20 01:45:48 +0200 |
| commit | a7b6c79136012353397203f937d2baa667d08895 (patch) | |
| tree | 0522a647ff9b524e863430aeb4f183f115a3996c /src/components/style_switcher | |
| parent | 2b36a62c5600738737e0fda4e0fc92e6e1f59c33 (diff) | |
eslint
Diffstat (limited to 'src/components/style_switcher')
| -rw-r--r-- | src/components/style_switcher/style_switcher.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 2a1e439b..799646b1 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -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( |
