nits: Add fadedWarning and fix globalStyle type

This commit is contained in:
jaredvu 2024-02-09 20:35:39 -08:00
parent 1ffbead4b3
commit 4e6742ba9d
No known key found for this signature in database
GPG Key ID: B9FE2F3F0A5D523C
3 changed files with 11 additions and 6 deletions

5
src/styles/styled.d.ts vendored Normal file
View File

@ -0,0 +1,5 @@
import { ThemeColorBase } from '@/constants/styles/colors';
declare module 'styled-components' {
export interface DefaultTheme extends ThemeColorBase {}
}

View File

@ -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)`

View File

@ -22,6 +22,6 @@
"@/*": ["src/*"]
}
},
"include": ["src", "scripts"],
"include": ["src", "scripts", "styled.d.ts"],
"references": [{ "path": "./tsconfig.node.json" }]
}