mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-08-02 01:49:51 +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-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",
|
||||
|
||||
@@ -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',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user