Skip to content

Commit 85afe6f

Browse files
author
Albert Folch
committed
wip
1 parent e28f4dc commit 85afe6f

File tree

4 files changed

+28
-30
lines changed

4 files changed

+28
-30
lines changed

package-lock.json

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"dependencies": {
4747
"@apollo/client": "^3.8.1",
4848
"@bosonprotocol/chat-sdk": "^1.3.1-alpha.9",
49-
"@bosonprotocol/react-kit": "^0.36.0-alpha.9",
49+
"@bosonprotocol/react-kit": "^0.36.0-alpha.11",
5050
"@davatar/react": "^1.10.4",
5151
"@ethersproject/address": "^5.6.1",
5252
"@ethersproject/units": "^5.7.0",

src/components/modal/components/SellerFinance/FinanceWithdraw.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { subgraph } from "@bosonprotocol/react-kit";
1+
import { colors, subgraph } from "@bosonprotocol/react-kit";
22
import { Provider, WithdrawFundsButton } from "@bosonprotocol/react-kit";
33
import {
44
extractUserFriendlyError,
@@ -15,7 +15,6 @@ import {
1515
import { useState } from "react";
1616
import styled from "styled-components";
1717

18-
import { colors } from "../../../../lib/styles/colors";
1918
import { useSigner } from "../../../../lib/utils/hooks/connection/connection";
2019
import { useAddPendingTransaction } from "../../../../lib/utils/hooks/transactions/usePendingTransactions";
2120
import { Spinner } from "../../../loading/Spinner";
@@ -30,7 +29,7 @@ import {
3029
} from "./FinancesStyles";
3130

3231
const MaxLimitWrapper = styled.div`
33-
color: ${colors.grey};
32+
color: ${colors.greyDark};
3433
margin-top: 0.25rem;
3534
`;
3635

src/components/modal/components/SellerFinance/FinancesStyles.tsx

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { defaultFontFamily } from "lib/styles/fonts";
2-
import styled from "styled-components";
2+
import styled, { css } from "styled-components";
33

44
import { colors } from "../../../../lib/styles/colors";
55
import Button from "../../../ui/Button";
@@ -26,11 +26,11 @@ export const InputWrapper = styled(Grid)<{ $hasError?: boolean }>`
2626
margin-top: -1rem;
2727
padding: 1.125rem 1rem;
2828
max-height: 3.5rem;
29-
background: ${colors.greyDark};
29+
background: ${colors.greyLight};
3030
${({ $hasError }) =>
3131
$hasError &&
32-
`
33-
border: 0.0625rem solid ${colors.red};
32+
css`
33+
border: 0.0625rem solid ${colors.red};
3434
`}
3535
`;
3636

@@ -44,7 +44,6 @@ export const Input = styled.input`
4444
font-size: 1rem;
4545
font-weight: 500;
4646
line-height: 1.5;
47-
color: ${colors.white};
4847
&:focus {
4948
outline: none;
5049
}

0 commit comments

Comments
 (0)