mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
Merge pull request #774 from toeverything/bump
chore: bump blocksuite version
This commit is contained in:
@@ -11,10 +11,10 @@
|
||||
"dependencies": {
|
||||
"@affine/datacenter": "workspace:*",
|
||||
"@affine/i18n": "workspace:*",
|
||||
"@blocksuite/blocks": "0.4.0-20230201063624-4e0463b",
|
||||
"@blocksuite/editor": "0.4.0-20230201063624-4e0463b",
|
||||
"@blocksuite/blocks": "0.4.0-20230203030233-b22bea7",
|
||||
"@blocksuite/editor": "0.4.0-20230203030233-b22bea7",
|
||||
"@blocksuite/icons": "^2.0.2",
|
||||
"@blocksuite/store": "0.4.0-20230201063624-4e0463b",
|
||||
"@blocksuite/store": "0.4.0-20230203030233-b22bea7",
|
||||
"@emotion/css": "^11.10.0",
|
||||
"@emotion/react": "^11.10.4",
|
||||
"@emotion/server": "^11.10.0",
|
||||
|
||||
@@ -21,12 +21,15 @@ export const getLightTheme = (
|
||||
tooltipBackground: '#6880FF',
|
||||
codeBackground: '#f2f5f9',
|
||||
codeBlockBackground: '#fafbfd',
|
||||
blockHubBackground: '#fbfbfc',
|
||||
blockHubHoverBackground: '#f8f9ff',
|
||||
warningBackground: '#FFF9C7',
|
||||
errorBackground: '#FFDED8',
|
||||
|
||||
textColor: '#3A4C5C',
|
||||
edgelessTextColor: '#3A4C5C',
|
||||
iconColor: '#888a9e',
|
||||
handleColor: '#c7c3d9',
|
||||
linkColor: '#6880FF',
|
||||
linkColor2: '#6880FF',
|
||||
linkVisitedColor: '#ABB8FE',
|
||||
@@ -99,12 +102,15 @@ export const getDarkTheme = (
|
||||
? lightTheme.colors.codeBackground
|
||||
: '#505662',
|
||||
codeBlockBackground: '#36383D',
|
||||
blockHubBackground: '#fbfbfc',
|
||||
blockHubHoverBackground: '#f8f9ff',
|
||||
warningBackground: '#FFF9C7',
|
||||
errorBackground: '#FFDED8',
|
||||
|
||||
textColor: '#fff',
|
||||
edgelessTextColor: '#3A4C5C',
|
||||
iconColor: '#888a9e',
|
||||
handleColor: '#c7c3d9',
|
||||
linkColor: '#7D91FF',
|
||||
linkColor2: '#6880FF',
|
||||
linkVisitedColor: '#505FAB',
|
||||
@@ -148,6 +154,9 @@ export const globalThemeVariables: (
|
||||
'--affine-code-background': theme.colors.codeBackground,
|
||||
'--affine-tooltip-background': theme.colors.tooltipBackground,
|
||||
|
||||
'--affine-block-hub-background': theme.colors.blockHubBackground,
|
||||
'--affine-block-hub-hover-background': theme.colors.blockHubHoverBackground,
|
||||
|
||||
'--affine-text-color': theme.colors.textColor,
|
||||
'--affine-edgeless-text-color': theme.colors.edgelessTextColor,
|
||||
'--affine-link-color': theme.colors.linkColor,
|
||||
@@ -155,6 +164,7 @@ export const globalThemeVariables: (
|
||||
'--affine-link-color2': theme.colors.linkColor2,
|
||||
'--affine-link-visited-color': theme.colors.linkVisitedColor,
|
||||
'--affine-icon-color': theme.colors.iconColor,
|
||||
'--affine-block-handle-color': theme.colors.handleColor,
|
||||
'--affine-popover-color': theme.colors.popoverColor,
|
||||
'--affine-input-color': theme.colors.inputColor,
|
||||
'--affine-code-color': theme.colors.codeColor,
|
||||
|
||||
@@ -26,6 +26,8 @@ export interface AffineTheme {
|
||||
innerHoverBackground: string;
|
||||
codeBackground: string;
|
||||
codeBlockBackground: string;
|
||||
blockHubBackground: string;
|
||||
blockHubHoverBackground: string;
|
||||
warningBackground: string;
|
||||
errorBackground: string;
|
||||
// Use for the page`s text
|
||||
@@ -37,6 +39,7 @@ export interface AffineTheme {
|
||||
linkColor2: string;
|
||||
linkVisitedColor: string;
|
||||
iconColor: string;
|
||||
handleColor: string;
|
||||
popoverColor: string;
|
||||
inputColor: string;
|
||||
tooltipColor: string;
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
"yjs": "^13.5.44"
|
||||
},
|
||||
"dependencies": {
|
||||
"@blocksuite/blocks": "0.4.0-20230201063624-4e0463b",
|
||||
"@blocksuite/store": "0.4.0-20230201063624-4e0463b",
|
||||
"@blocksuite/blocks": "0.4.0-20230203030233-b22bea7",
|
||||
"@blocksuite/store": "0.4.0-20230203030233-b22bea7",
|
||||
"debug": "^4.3.4",
|
||||
"encoding": "^0.1.13",
|
||||
"firebase": "^9.15.0",
|
||||
|
||||
Reference in New Issue
Block a user