mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 19:16:29 +08:00
feat: upgrate to new theme (#2027)
Co-authored-by: Himself65 <himself65@outlook.com>
This commit is contained in:
@@ -13,7 +13,7 @@ export const StyledModalWrapper = styled(ModalWrapper)(() => {
|
||||
|
||||
export const StyledConfirmTitle = styled('div')(({ theme }) => {
|
||||
return {
|
||||
fontSize: theme.font.h6,
|
||||
fontSize: 'var(--affine-font-h6)',
|
||||
fontWeight: 600,
|
||||
textAlign: 'center',
|
||||
lineHeight: '28px',
|
||||
@@ -22,10 +22,10 @@ export const StyledConfirmTitle = styled('div')(({ theme }) => {
|
||||
|
||||
export const StyledConfirmContent = styled('div')(({ theme }) => {
|
||||
return {
|
||||
fontSize: theme.font.base,
|
||||
fontSize: 'var(--affine-font-base)',
|
||||
textAlign: 'center',
|
||||
marginTop: '12px',
|
||||
color: theme.colors.textColor,
|
||||
color: 'var(--affine-text-primary-color)',
|
||||
lineHeight: '26px',
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user