Darker text on gray resolve buttons.
This commit is contained in:
parent
041bfe5ac0
commit
192b54f986
|
@ -132,11 +132,11 @@ function Button(props: {
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'flex-1 inline-flex justify-center items-center px-8 py-3 border border-transparent rounded-md shadow-sm text-sm font-medium text-white',
|
'flex-1 inline-flex justify-center items-center px-8 py-3 border border-transparent rounded-md shadow-sm text-sm font-medium',
|
||||||
color === 'green' && 'btn-primary',
|
color === 'green' && 'btn-primary text-white',
|
||||||
color === 'red' && 'bg-red-400 hover:bg-red-500',
|
color === 'red' && 'bg-red-400 hover:bg-red-500 text-white',
|
||||||
color === 'yellow' && 'bg-yellow-400 hover:bg-yellow-500',
|
color === 'yellow' && 'bg-yellow-400 hover:bg-yellow-500 text-white',
|
||||||
color === 'blue' && 'bg-blue-400 hover:bg-blue-500',
|
color === 'blue' && 'bg-blue-400 hover:bg-blue-500 text-white',
|
||||||
color === 'gray' && 'text-gray-700 bg-gray-300 hover:bg-gray-400',
|
color === 'gray' && 'text-gray-700 bg-gray-300 hover:bg-gray-400',
|
||||||
className
|
className
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user