From 2e39d7b6cc4214146e2d8bfd7c91eee61c3c819d Mon Sep 17 00:00:00 2001 From: Sinclair Chen Date: Wed, 12 Oct 2022 18:19:47 -0700 Subject: [PATCH] Uninstall daisy. Migrate colors --- common/charity.ts | 5 ++- web/components/add-funds-modal.tsx | 2 +- web/components/bet-panel.tsx | 8 ++-- web/components/bets-list.tsx | 2 +- web/components/contract-search.tsx | 2 +- web/components/groups/edit-group-button.tsx | 2 +- web/components/groups/group-overview.tsx | 2 +- web/components/toast-clipboard.tsx | 2 +- web/package.json | 1 - web/pages/_document.tsx | 2 +- web/pages/create.tsx | 6 ++- web/pages/groups.tsx | 2 +- web/pages/post/[...slugs]/index.tsx | 2 +- web/tailwind.config.js | 43 ++------------------- yarn.lock | 5 --- 15 files changed, 24 insertions(+), 62 deletions(-) diff --git a/common/charity.ts b/common/charity.ts index 0ebeeec1..568ad1a0 100644 --- a/common/charity.ts +++ b/common/charity.ts @@ -246,7 +246,7 @@ Future plans: We expect to focus on similar theoretical problems in alignment un description: `At Rethink Charity, we’re excited about improving the world by providing vital support to high-impact charities and charitable projects. We equip them with tools to boost their impact, through our projects that empower their donors with tax-efficient giving options and strategically coordinated matching opportunities. What we do: - - Rethink Charity Forward is a cause-neutral donation routing fund for high-impact charities around the world. Canadians have used RC Forward to donate $10 million to high-impact charities since the project was launched in late 2017. + - Rethink Charity Forward is a cause-gray-700 donation routing fund for high-impact charities around the world. Canadians have used RC Forward to donate $10 million to high-impact charities since the project was launched in late 2017. - EA Giving Tuesday supports both donors and highly effective nonprofits participating in Facebook’s annual Giving Tuesday match. In addition to setting up systems and processes, the team provides analysis-based recommendations, detailed instructions, and responsive support. The team’s goal is to make it as easy as possible for donors to direct matching dollars to highly effective nonprofits.`, }, @@ -595,7 +595,8 @@ In addition to housing impact litigation, we provide free legal aid, education a photo: 'https://firebasestorage.googleapis.com/v0/b/mantic-markets.appspot.com/o/user-images%2Fdefault%2Fci2h3hStFM.47?alt=media&token=0d2cdc3d-e4d8-4f5e-8f23-4a586b6ff637', preview: 'Donate supplies to soldiers in Ukraine', - description: 'Donate supplies to soldiers in Ukraine, including tourniquets and plate carriers.', + description: + 'Donate supplies to soldiers in Ukraine, including tourniquets and plate carriers.', }, ].map((charity) => { const slug = charity.name.toLowerCase().replace(/\s/g, '-') diff --git a/web/components/add-funds-modal.tsx b/web/components/add-funds-modal.tsx index cac21f96..335410c7 100644 --- a/web/components/add-funds-modal.tsx +++ b/web/components/add-funds-modal.tsx @@ -35,7 +35,7 @@ export function AddFundsModal(props: {
{manaToUSD(amountSelected)}
-
+
diff --git a/web/components/bet-panel.tsx b/web/components/bet-panel.tsx index 75fe430d..c661cef2 100644 --- a/web/components/bet-panel.tsx +++ b/web/components/bet-panel.tsx @@ -980,11 +980,11 @@ export function SellPanel(props: { Sale amount - {formatMoney(saleValue)} + {formatMoney(saleValue)} Profit - {formatMoney(profit)} + {formatMoney(profit)}
@@ -1000,11 +1000,11 @@ export function SellPanel(props: { <> Loan payment - {formatMoney(-loanPaid)} + {formatMoney(-loanPaid)} Net proceeds - {formatMoney(netProceeds)} + {formatMoney(netProceeds)} )} diff --git a/web/components/bets-list.tsx b/web/components/bets-list.tsx index 8ce2f9d1..0a050596 100644 --- a/web/components/bets-list.tsx +++ b/web/components/bets-list.tsx @@ -550,7 +550,7 @@ function BetRow(props: { return ( - + {isYourBet && !isCPMM && !isResolved && diff --git a/web/components/contract-search.tsx b/web/components/contract-search.tsx index ad0163a9..bd2c4363 100644 --- a/web/components/contract-search.tsx +++ b/web/components/contract-search.tsx @@ -438,7 +438,7 @@ function ContractSearchControls(props: { } return ( - +
-
+