feat: modify theme

This commit is contained in:
QiShaoXuan
2022-10-19 16:17:41 +08:00
parent 2647453e16
commit 96baeacc26
2 changed files with 6 additions and 0 deletions

View File

@@ -103,6 +103,9 @@ export const globalThemeVariables: (
'--affine-font-sm': theme.font.sm, // small
'--affine-font-base': theme.font.base,
'--affine-z-index-modal': theme.zIndex.modal,
'--affine-z-index-popover': theme.zIndex.popover,
'--affine-font-family': theme.font.family,
'--affine-font-family2': theme.font.family2,
};

View File

@@ -76,6 +76,9 @@ export interface AffineThemeCSSVariables {
'--affine-font-sm': AffineTheme['font']['sm']; // small
'--affine-font-base': AffineTheme['font']['base'];
'--affine-z-index-modal': AffineTheme['zIndex']['modal'];
'--affine-z-index-popover': AffineTheme['zIndex']['popover'];
'--affine-font-family': AffineTheme['font']['family'];
'--affine-font-family2': AffineTheme['font']['family2'];
}