fix(#652): Fix broken lozenge dark mode text class

This commit is contained in:
Sam Keen 2022-06-27 23:02:28 +01:00 committed by GitHub
parent ea5a659989
commit 3abc15e7bd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -30,7 +30,7 @@ export const getIntentBorder = (intent = Intent.None) => {
export const getIntentTextAndBackground = (intent = Intent.None) => { export const getIntentTextAndBackground = (intent = Intent.None) => {
return { return {
'bg-black text-white dark:bg-white text-black': intent === Intent.None, 'bg-black text-white dark:bg-white dark:text-black': intent === Intent.None,
'bg-vega-pink text-black dark:bg-vega-yellow dark:text-black-normal': 'bg-vega-pink text-black dark:bg-vega-yellow dark:text-black-normal':
intent === Intent.Primary, intent === Intent.Primary,
'bg-danger text-white': intent === Intent.Danger, 'bg-danger text-white': intent === Intent.Danger,