There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.
TypeScript appcrdteditorelectronknowledge-basemarkdownmironotesnotionnotion-alternativerustrust-langrust-languagetabletableviewwhiteboardwikiworkspace
feat: modify theme
QiShaoXuan96baeacc26ec
diff --git a/packages/app/src/styles/theme.ts b/packages/app/src/styles/theme.tsindex fb011861c3..0d7aaadb79 100644--- a/packages/app/src/styles/theme.ts+++ b/packages/app/src/styles/theme.ts@@ -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,};diff --git a/packages/app/src/styles/types.ts b/packages/app/src/styles/types.tsindex da54956d91..3e70ffc340 100644--- a/packages/app/src/styles/types.ts+++ b/packages/app/src/styles/types.ts@@ -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'];}