frontend-monorepo-607: Added correct text colours to intent backgrounds (#614)
This commit is contained in:
parent
c254c87a26
commit
fca92bbdec
@ -19,7 +19,8 @@ export const getIntentShadow = (intent?: Intent) => {
|
||||
|
||||
export const getVariantBackground = (variant?: Intent) => {
|
||||
return {
|
||||
'bg-black dark:bg-white': variant === Intent.None,
|
||||
'bg-black text-white dark:bg-white dark:text-black':
|
||||
variant === Intent.None,
|
||||
'bg-vega-pink text-black dark:bg-vega-yellow dark:text-black-normal':
|
||||
variant === Intent.Primary,
|
||||
'bg-danger text-white': variant === Intent.Danger,
|
||||
|
Loading…
Reference in New Issue
Block a user