mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 04:18:54 +00:00
feat: modify theme
This commit is contained in:
@@ -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,
|
||||
};
|
||||
|
||||
@@ -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'];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user