Skip to content

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.

feat: update code-block background color (#1841)

Flrande7d55d0ea0b22
diff --git a/packages/component/src/styles/theme.ts b/packages/component/src/styles/theme.ts
index 44b24b4cee..d496716129 100644
--- a/packages/component/src/styles/theme.ts
+++ b/packages/component/src/styles/theme.ts
@@ -24,7 +24,7 @@ export const getLightTheme = (
popoverBackground: '#fff',
tooltipBackground: '#261499',
codeBackground: '#f2f5f9',
- codeBlockBackground: '#F9F9FB',
+ codeBlockBackground: '#FAFBFD',
hubBackground: '#fbfbfc',
cardHoverBackground: '#f8f9ff',
warningBackground: '#FFF9C7',
@@ -118,7 +118,7 @@ export const getDarkTheme = (
editorMode === 'edgeless'
? lightTheme.colors.codeBackground
: '#505662',
- codeBlockBackground: '#36383D',
+ codeBlockBackground: '#292C33',
hubBackground: '#272727',
cardHoverBackground: '#363636',
warningBackground: '#FFF9C7',