mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat: update code-block background color (#1841)
This commit is contained in:
@@ -24,7 +24,7 @@ export const getLightTheme = (
|
|||||||
popoverBackground: '#fff',
|
popoverBackground: '#fff',
|
||||||
tooltipBackground: '#261499',
|
tooltipBackground: '#261499',
|
||||||
codeBackground: '#f2f5f9',
|
codeBackground: '#f2f5f9',
|
||||||
codeBlockBackground: '#F9F9FB',
|
codeBlockBackground: '#FAFBFD',
|
||||||
hubBackground: '#fbfbfc',
|
hubBackground: '#fbfbfc',
|
||||||
cardHoverBackground: '#f8f9ff',
|
cardHoverBackground: '#f8f9ff',
|
||||||
warningBackground: '#FFF9C7',
|
warningBackground: '#FFF9C7',
|
||||||
@@ -118,7 +118,7 @@ export const getDarkTheme = (
|
|||||||
editorMode === 'edgeless'
|
editorMode === 'edgeless'
|
||||||
? lightTheme.colors.codeBackground
|
? lightTheme.colors.codeBackground
|
||||||
: '#505662',
|
: '#505662',
|
||||||
codeBlockBackground: '#36383D',
|
codeBlockBackground: '#292C33',
|
||||||
hubBackground: '#272727',
|
hubBackground: '#272727',
|
||||||
cardHoverBackground: '#363636',
|
cardHoverBackground: '#363636',
|
||||||
warningBackground: '#FFF9C7',
|
warningBackground: '#FFF9C7',
|
||||||
|
|||||||
Reference in New Issue
Block a user