diff --git a/src/styles/styled.d.ts b/src/styles/styled.d.ts new file mode 100644 index 0000000..d28135e --- /dev/null +++ b/src/styles/styled.d.ts @@ -0,0 +1,5 @@ +import { ThemeColorBase } from '@/constants/styles/colors'; + +declare module 'styled-components' { + export interface DefaultTheme extends ThemeColorBase {} +} diff --git a/src/views/dialogs/WithdrawalGateDialog.tsx b/src/views/dialogs/WithdrawalGateDialog.tsx index 7af97fb..5edf22e 100644 --- a/src/views/dialogs/WithdrawalGateDialog.tsx +++ b/src/views/dialogs/WithdrawalGateDialog.tsx @@ -74,12 +74,12 @@ Styled.IconContainer = styled.div` justify-content: center; align-items: center; - width: 72px; - height: 72px; + width: 4.5rem; + height: 4.5rem; border-radius: 50%; - min-width: 72px; - min-height: 72px; - background-color: rgba(100, 100, 0, 0.1); + min-width: 4.5rem; + min-height: 4.5rem; + background-color: var(--color-gradient-warning); `; Styled.Icon = styled(Icon)` diff --git a/tsconfig.json b/tsconfig.json index e8cf44e..b0f0336 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -22,6 +22,6 @@ "@/*": ["src/*"] } }, - "include": ["src", "scripts"], + "include": ["src", "scripts", "styled.d.ts"], "references": [{ "path": "./tsconfig.node.json" }] }