Skip to content

Commit

Permalink
Create dark mode prototype
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanhleung committed Mar 8, 2022
1 parent fc5b00d commit c9dd29f
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/components/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { Footer } from "./Footer";

export const Layout = ({ children }: { children: any }) => {
return (
<Box pb={10}>
<Box pb={10} background="darkmatte">
<Header
pb={40}
position="relative"
Expand All @@ -23,7 +23,7 @@ export const Layout = ({ children }: { children: any }) => {
>
{children}
</Box>
<Footer/>
<Footer />
</Box>
);
};
Expand Down
4 changes: 1 addition & 3 deletions src/components/MarketCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ const MarketCard: React.FC<MarketCardProps> = ({
p={4}
py={6}
width="100%"
variant="light"
inAccordion={true}
expandableChildren={
<Internal
Expand Down Expand Up @@ -167,10 +166,9 @@ const Internal = ({
const isEmpty = debouncedAmount === "0" || debouncedAmount === ""

return (
<VStack spacing={4} alignItems="stretch" background="#F0F0F0">
<VStack spacing={4} alignItems="stretch">
<TokenAmountInput
border="none"
variant="light"
tokenSymbol={tokenData?.symbol}
tokenAddress={market.underlyingToken}
value={amount}
Expand Down
2 changes: 0 additions & 2 deletions src/components/Positions.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ const PositionCard = ({
return (
<ExpandableCard
inAccordion
variant="active"
expandableChildren={
<Internal
type={action}
Expand Down Expand Up @@ -234,7 +233,6 @@ const Internal = ({
<VStack mt={4} spacing={4} alignItems="stretch">
<TokenAmountInput
size="lg"
variant="light"
value={amount}
tokenSymbol={tokenData?.symbol}
tokenAddress={market.underlyingToken}
Expand Down
2 changes: 0 additions & 2 deletions src/components/Stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,6 @@ export const Stats = ({

return (
<StatisticTable
variant="light"
backgroundColor="white"
border="none"
statistics={stats}
/>
Expand Down

0 comments on commit c9dd29f

Please sign in to comment.