mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 21:05:19 +00:00
feat: upgrate to new theme (#2027)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
@@ -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',
|
||||
},
|
||||
|
||||
@@ -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)' },
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user