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:
CatsJuice
2024-11-05 07:16:28 +00:00
parent 9e41918a1a
commit c41646be7f
4 changed files with 9 additions and 16 deletions
+1 -1
View File
@@ -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",
+1 -1
View File
@@ -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",
@@ -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',
},
});