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.

fix(core): bump theme to fix full-width-layout and editor font customization (#8704)

CatsJuicec41646be7fa3
diff --git a/packages/frontend/component/package.json b/packages/frontend/component/package.json
index b62eaee7d2..1491714411 100644
--- a/packages/frontend/component/package.json
+++ b/packages/frontend/component/package.json
@@ -40,7 +40,7 @@
"@radix-ui/react-toast": "^1.1.5",
"@radix-ui/react-tooltip": "^1.0.7",
"@radix-ui/react-visually-hidden": "^1.1.0",
- "@toeverything/theme": "^1.0.16",
+ "@toeverything/theme": "^1.0.17",
"@vanilla-extract/dynamic": "^2.1.0",
"check-password-strength": "^2.0.10",
"clsx": "^2.1.0",
diff --git a/packages/frontend/core/package.json b/packages/frontend/core/package.json
index fc980b245d..7e6cfd084c 100644
--- a/packages/frontend/core/package.json
+++ b/packages/frontend/core/package.json
@@ -36,7 +36,7 @@
"@radix-ui/react-scroll-area": "^1.0.5",
"@radix-ui/react-toolbar": "^1.0.4",
"@sentry/react": "^8.0.0",
- "@toeverything/theme": "^1.0.16",
+ "@toeverything/theme": "^1.0.17",
"@vanilla-extract/dynamic": "^2.1.0",
"animejs": "^3.2.2",
"bytes": "^3.1.2",
diff --git a/packages/frontend/core/src/components/page-detail-editor.css.ts b/packages/frontend/core/src/components/page-detail-editor.css.ts
index e6dd60a2a9..567cca65c3 100644
--- a/packages/frontend/core/src/components/page-detail-editor.css.ts
+++ b/packages/frontend/core/src/components/page-detail-editor.css.ts
@@ -1,4 +1,4 @@
-import { globalStyle, style } from '@vanilla-extract/css';
+import { style } from '@vanilla-extract/css';
export const editor = style({
flex: 1,
selectors: {
@@ -22,10 +22,3 @@ export const editor = style({
},
},
});
-
-globalStyle(`${editor}.full-screen .page-editor-container`, {
- vars: {
- '--affine-editor-width': '100%',
- '--affine-editor-side-padding': '72px',
- },
-});
diff --git a/yarn.lock b/yarn.lock
index f663554b6a..2731943e43 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -352,7 +352,7 @@ __metadata:
"@storybook/react": "npm:^8.2.9"
"@storybook/react-vite": "npm:^8.2.9"
"@testing-library/react": "npm:^16.0.0"
- "@toeverything/theme": "npm:^1.0.16"
+ "@toeverything/theme": "npm:^1.0.17"
"@types/react": "npm:^18.2.75"
"@types/react-dom": "npm:^18.2.24"
"@vanilla-extract/css": "npm:^1.14.2"
@@ -430,7 +430,7 @@ __metadata:
"@radix-ui/react-toolbar": "npm:^1.0.4"
"@sentry/react": "npm:^8.0.0"
"@testing-library/react": "npm:^16.0.0"
- "@toeverything/theme": "npm:^1.0.16"
+ "@toeverything/theme": "npm:^1.0.17"
"@types/animejs": "npm:^3.1.12"
"@types/bytes": "npm:^3.1.4"
"@types/image-blob-reduce": "npm:^4.1.4"
@@ -13420,10 +13420,10 @@ __metadata:
languageName: unknown
linkType: soft
-"@toeverything/theme@npm:^1.0.15, @toeverything/theme@npm:^1.0.16":
- version: 1.0.16
- resolution: "@toeverything/theme@npm:1.0.16"
- checksum: 10/ce4b05c976f921f14641c8078f918e60168bd1ca0604f439c8f61b4feab61958f4808fa72ef9f510093cac5f365c1b59715600693f04d5caf8ff65f61318faee
+"@toeverything/theme@npm:^1.0.15, @toeverything/theme@npm:^1.0.17":
+ version: 1.0.17
+ resolution: "@toeverything/theme@npm:1.0.17"
+ checksum: 10/77736bbae737539bbc1ef8e21a7c69a7146c463b7a3d8cdae9c523c4a53a6ac5b7549929efb3912e299f2acb56f0c797b8a077073d2b0826cd244776d4322010
languageName: node
linkType: hard