mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-07 01:09:54 +08:00
fix(core): bump theme to fix full-width-layout and editor font customization (#8704)
close AF-1610, AF-1601 **Original PR in design: [#138](https://github.com/toeverything/design/pull/138)**
This commit is contained in:
@@ -40,7 +40,7 @@
|
|||||||
"@radix-ui/react-toast": "^1.1.5",
|
"@radix-ui/react-toast": "^1.1.5",
|
||||||
"@radix-ui/react-tooltip": "^1.0.7",
|
"@radix-ui/react-tooltip": "^1.0.7",
|
||||||
"@radix-ui/react-visually-hidden": "^1.1.0",
|
"@radix-ui/react-visually-hidden": "^1.1.0",
|
||||||
"@toeverything/theme": "^1.0.16",
|
"@toeverything/theme": "^1.0.17",
|
||||||
"@vanilla-extract/dynamic": "^2.1.0",
|
"@vanilla-extract/dynamic": "^2.1.0",
|
||||||
"check-password-strength": "^2.0.10",
|
"check-password-strength": "^2.0.10",
|
||||||
"clsx": "^2.1.0",
|
"clsx": "^2.1.0",
|
||||||
|
|||||||
@@ -36,7 +36,7 @@
|
|||||||
"@radix-ui/react-scroll-area": "^1.0.5",
|
"@radix-ui/react-scroll-area": "^1.0.5",
|
||||||
"@radix-ui/react-toolbar": "^1.0.4",
|
"@radix-ui/react-toolbar": "^1.0.4",
|
||||||
"@sentry/react": "^8.0.0",
|
"@sentry/react": "^8.0.0",
|
||||||
"@toeverything/theme": "^1.0.16",
|
"@toeverything/theme": "^1.0.17",
|
||||||
"@vanilla-extract/dynamic": "^2.1.0",
|
"@vanilla-extract/dynamic": "^2.1.0",
|
||||||
"animejs": "^3.2.2",
|
"animejs": "^3.2.2",
|
||||||
"bytes": "^3.1.2",
|
"bytes": "^3.1.2",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { globalStyle, style } from '@vanilla-extract/css';
|
import { style } from '@vanilla-extract/css';
|
||||||
export const editor = style({
|
export const editor = style({
|
||||||
flex: 1,
|
flex: 1,
|
||||||
selectors: {
|
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',
|
|
||||||
},
|
|
||||||
});
|
|
||||||
|
|||||||
@@ -352,7 +352,7 @@ __metadata:
|
|||||||
"@storybook/react": "npm:^8.2.9"
|
"@storybook/react": "npm:^8.2.9"
|
||||||
"@storybook/react-vite": "npm:^8.2.9"
|
"@storybook/react-vite": "npm:^8.2.9"
|
||||||
"@testing-library/react": "npm:^16.0.0"
|
"@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": "npm:^18.2.75"
|
||||||
"@types/react-dom": "npm:^18.2.24"
|
"@types/react-dom": "npm:^18.2.24"
|
||||||
"@vanilla-extract/css": "npm:^1.14.2"
|
"@vanilla-extract/css": "npm:^1.14.2"
|
||||||
@@ -430,7 +430,7 @@ __metadata:
|
|||||||
"@radix-ui/react-toolbar": "npm:^1.0.4"
|
"@radix-ui/react-toolbar": "npm:^1.0.4"
|
||||||
"@sentry/react": "npm:^8.0.0"
|
"@sentry/react": "npm:^8.0.0"
|
||||||
"@testing-library/react": "npm:^16.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/animejs": "npm:^3.1.12"
|
||||||
"@types/bytes": "npm:^3.1.4"
|
"@types/bytes": "npm:^3.1.4"
|
||||||
"@types/image-blob-reduce": "npm:^4.1.4"
|
"@types/image-blob-reduce": "npm:^4.1.4"
|
||||||
@@ -13420,10 +13420,10 @@ __metadata:
|
|||||||
languageName: unknown
|
languageName: unknown
|
||||||
linkType: soft
|
linkType: soft
|
||||||
|
|
||||||
"@toeverything/theme@npm:^1.0.15, @toeverything/theme@npm:^1.0.16":
|
"@toeverything/theme@npm:^1.0.15, @toeverything/theme@npm:^1.0.17":
|
||||||
version: 1.0.16
|
version: 1.0.17
|
||||||
resolution: "@toeverything/theme@npm:1.0.16"
|
resolution: "@toeverything/theme@npm:1.0.17"
|
||||||
checksum: 10/ce4b05c976f921f14641c8078f918e60168bd1ca0604f439c8f61b4feab61958f4808fa72ef9f510093cac5f365c1b59715600693f04d5caf8ff65f61318faee
|
checksum: 10/77736bbae737539bbc1ef8e21a7c69a7146c463b7a3d8cdae9c523c4a53a6ac5b7549929efb3912e299f2acb56f0c797b8a077073d2b0826cd244776d4322010
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user