From f587e0256d80e933a5a7265ab48a2611062719cf Mon Sep 17 00:00:00 2001 From: ingawei <46611122+ingawei@users.noreply.github.com> Date: Wed, 12 Oct 2022 01:58:20 -0500 Subject: [PATCH] standardizing red and green colors (#1032) --- web/components/answers/answer-item.tsx | 4 ++-- web/components/contract/prob-change-table.tsx | 2 +- web/components/contract/quick-bet.tsx | 8 ++++---- web/components/contract/tip-button.tsx | 2 +- web/components/user-page.tsx | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/web/components/answers/answer-item.tsx b/web/components/answers/answer-item.tsx index 323a8b9b..71ce677e 100644 --- a/web/components/answers/answer-item.tsx +++ b/web/components/answers/answer-item.tsx @@ -93,7 +93,7 @@ export function AnswerItem(props: {
{probPercent} @@ -144,7 +144,7 @@ export function AnswerItem(props: {
Chosen{' '} diff --git a/web/components/contract/prob-change-table.tsx b/web/components/contract/prob-change-table.tsx index 48a39db1..594f0653 100644 --- a/web/components/contract/prob-change-table.tsx +++ b/web/components/contract/prob-change-table.tsx @@ -128,7 +128,7 @@ export function ProbChange(props: { probChanges: { day: change }, } = contract - const color = change >= 0 ? 'text-green-500' : 'text-red-500' + const color = change >= 0 ? 'text-teal-500' : 'text-red-400' return ( diff --git a/web/components/contract/quick-bet.tsx b/web/components/contract/quick-bet.tsx index e4a85139..4c364829 100644 --- a/web/components/contract/quick-bet.tsx +++ b/web/components/contract/quick-bet.tsx @@ -166,14 +166,14 @@ export function QuickBet(props: { ) : ( )} @@ -201,14 +201,14 @@ export function QuickBet(props: { ) : ( )} diff --git a/web/components/contract/tip-button.tsx b/web/components/contract/tip-button.tsx index c34f88ff..b974938f 100644 --- a/web/components/contract/tip-button.tsx +++ b/web/components/contract/tip-button.tsx @@ -46,7 +46,7 @@ export function TipButton(props: { className={clsx( 'h-5 w-5 sm:h-6 sm:w-6', totalTipped > 0 ? 'mr-2' : '', - userTipped ? 'fill-green-700 text-green-700' : '' + userTipped ? 'fill-teal-500 text-teal-500' : '' )} /> {totalTipped > 0 && ( diff --git a/web/components/user-page.tsx b/web/components/user-page.tsx index 3f2176dc..e722547c 100644 --- a/web/components/user-page.tsx +++ b/web/components/user-page.tsx @@ -303,7 +303,7 @@ export function ProfilePrivateStats(props: { } onClick={() => setShowLoansModal(true)} > - + 🏦 {formatMoney(user.nextLoanCached ?? 0)} next loan