standardizing red and green colors (#1032)
This commit is contained in:
parent
1c209f68f6
commit
f587e0256d
|
@ -93,7 +93,7 @@ export function AnswerItem(props: {
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'text-2xl',
|
'text-2xl',
|
||||||
tradingAllowed(contract) ? 'text-green-500' : 'text-gray-500'
|
tradingAllowed(contract) ? 'text-teal-500' : 'text-gray-500'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
{probPercent}
|
{probPercent}
|
||||||
|
@ -144,7 +144,7 @@ export function AnswerItem(props: {
|
||||||
<div
|
<div
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'text-xl',
|
'text-xl',
|
||||||
resolution === 'MKT' ? 'text-blue-700' : 'text-green-700'
|
resolution === 'MKT' ? 'text-blue-700' : 'text-teal-600'
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
Chosen{' '}
|
Chosen{' '}
|
||||||
|
|
|
@ -128,7 +128,7 @@ export function ProbChange(props: {
|
||||||
probChanges: { day: change },
|
probChanges: { day: change },
|
||||||
} = contract
|
} = contract
|
||||||
|
|
||||||
const color = change >= 0 ? 'text-green-500' : 'text-red-500'
|
const color = change >= 0 ? 'text-teal-500' : 'text-red-400'
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Col className={clsx('flex flex-col items-end', className)}>
|
<Col className={clsx('flex flex-col items-end', className)}>
|
||||||
|
|
|
@ -166,14 +166,14 @@ export function QuickBet(props: {
|
||||||
<TriangleFillIcon
|
<TriangleFillIcon
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'mx-auto h-5 w-5',
|
'mx-auto h-5 w-5',
|
||||||
upHover ? 'text-green-500' : 'text-gray-400'
|
upHover ? 'text-teal-500' : 'text-gray-400'
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<TriangleFillIcon
|
<TriangleFillIcon
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'mx-auto h-5 w-5',
|
'mx-auto h-5 w-5',
|
||||||
upHover ? 'text-green-500' : 'text-gray-200'
|
upHover ? 'text-teal-500' : 'text-gray-200'
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
@ -201,14 +201,14 @@ export function QuickBet(props: {
|
||||||
<TriangleDownFillIcon
|
<TriangleDownFillIcon
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'mx-auto h-5 w-5',
|
'mx-auto h-5 w-5',
|
||||||
downHover ? 'text-red-500' : 'text-gray-400'
|
downHover ? 'text-red-400' : 'text-gray-400'
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<TriangleDownFillIcon
|
<TriangleDownFillIcon
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'mx-auto h-5 w-5',
|
'mx-auto h-5 w-5',
|
||||||
downHover ? 'text-red-500' : 'text-gray-200'
|
downHover ? 'text-red-400' : 'text-gray-200'
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
|
@ -46,7 +46,7 @@ export function TipButton(props: {
|
||||||
className={clsx(
|
className={clsx(
|
||||||
'h-5 w-5 sm:h-6 sm:w-6',
|
'h-5 w-5 sm:h-6 sm:w-6',
|
||||||
totalTipped > 0 ? 'mr-2' : '',
|
totalTipped > 0 ? 'mr-2' : '',
|
||||||
userTipped ? 'fill-green-700 text-green-700' : ''
|
userTipped ? 'fill-teal-500 text-teal-500' : ''
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
{totalTipped > 0 && (
|
{totalTipped > 0 && (
|
||||||
|
|
|
@ -303,7 +303,7 @@ export function ProfilePrivateStats(props: {
|
||||||
}
|
}
|
||||||
onClick={() => setShowLoansModal(true)}
|
onClick={() => setShowLoansModal(true)}
|
||||||
>
|
>
|
||||||
<span className="text-green-600">
|
<span className="text-teal-600">
|
||||||
🏦 {formatMoney(user.nextLoanCached ?? 0)}
|
🏦 {formatMoney(user.nextLoanCached ?? 0)}
|
||||||
</span>
|
</span>
|
||||||
<span className="mx-auto text-xs sm:text-sm">next loan</span>
|
<span className="mx-auto text-xs sm:text-sm">next loan</span>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user