feat: upgrate to new theme (#2027)

Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
Flrande
2023-04-20 16:31:19 +08:00
committed by GitHub
parent 63f7b2556e
commit 372377dd6b
61 changed files with 624 additions and 1037 deletions

View File

@@ -94,7 +94,7 @@ const StyledContainer = styled('div')(({ theme }) => {
height: '100vh',
...displayFlex('center', 'center'),
flexDirection: 'column',
backgroundColor: theme.colors.pageBackground,
backgroundColor: 'var(--affine-background-primary-color)',
img: {
width: '300px',
height: '300px',
@@ -103,7 +103,7 @@ const StyledContainer = styled('div')(({ theme }) => {
...displayFlex('center', 'center'),
marginTop: '24px',
svg: {
color: theme.colors.primaryColor,
color: 'var(--affine-primary-color)',
fontSize: '24px',
marginRight: '12px',
},

View File

@@ -32,7 +32,7 @@ export const NavContainer = styled('div')(({ theme }) => {
width: '100vw',
height: '52px',
...displayFlex('space-between', 'center'),
backgroundColor: theme.colors.pageBackground,
backgroundColor: 'var(--affine-background-primary-color)',
};
});
@@ -43,13 +43,13 @@ export const StyledBreadcrumbs = styled(Link)(({ theme }) => {
paddingLeft: '12px',
span: {
padding: '0 12px',
fontSize: theme.font.base,
lineHeight: theme.font.lineHeight,
fontSize: 'var(--affine-font-base)',
lineHeight: 'var(--affine-line-height)',
},
':hover': { color: theme.colors.primaryColor },
':hover': { color: 'var(--affine-primary-color)' },
transition: 'all .15s',
':visited': {
':hover': { color: theme.colors.primaryColor },
':hover': { color: 'var(--affine-primary-color)' },
},
};
});