Darken the yes/no bg color
This commit is contained in:
parent
e9c183a493
commit
62da8ee3a9
|
@ -47,11 +47,10 @@ function Button(props: {
|
||||||
className={classNames(
|
className={classNames(
|
||||||
'inline-flex items-center px-8 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white',
|
'inline-flex items-center px-8 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white',
|
||||||
!hideFocusRing && 'focus:outline-none focus:ring-2 focus:ring-offset-2',
|
!hideFocusRing && 'focus:outline-none focus:ring-2 focus:ring-offset-2',
|
||||||
color === 'green' &&
|
color === 'green' && 'btn-primary',
|
||||||
'btn-primary',
|
|
||||||
color === 'red' && 'bg-red-400 hover:bg-red-500 focus:ring-red-400',
|
color === 'red' && 'bg-red-400 hover:bg-red-500 focus:ring-red-400',
|
||||||
color === 'deemphasized' &&
|
color === 'deemphasized' &&
|
||||||
'text-gray-700 bg-gray-200 hover:bg-gray-300 focus:ring-gray-300',
|
'text-gray-700 bg-gray-300 hover:bg-gray-400 focus:ring-gray-400',
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
onClick={onClick}
|
onClick={onClick}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user