nits: Add fadedWarning and fix globalStyle type
This commit is contained in:
parent
1ffbead4b3
commit
4e6742ba9d
5
src/styles/styled.d.ts
vendored
Normal file
5
src/styles/styled.d.ts
vendored
Normal file
@ -0,0 +1,5 @@
|
||||
import { ThemeColorBase } from '@/constants/styles/colors';
|
||||
|
||||
declare module 'styled-components' {
|
||||
export interface DefaultTheme extends ThemeColorBase {}
|
||||
}
|
||||
@ -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)`
|
||||
|
||||
@ -22,6 +22,6 @@
|
||||
"@/*": ["src/*"]
|
||||
}
|
||||
},
|
||||
"include": ["src", "scripts"],
|
||||
"include": ["src", "scripts", "styled.d.ts"],
|
||||
"references": [{ "path": "./tsconfig.node.json" }]
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user