diff --git a/frontend/src/features/notes/NoteEditor.jsx b/frontend/src/features/notes/NoteEditor.jsx index 09be154..eb24bbd 100644 --- a/frontend/src/features/notes/NoteEditor.jsx +++ b/frontend/src/features/notes/NoteEditor.jsx @@ -100,10 +100,6 @@ export function NoteEditor({ muted: dark ? "#8b949e" : "#656d76", active: dark ? "#388bfd" : "#0969da", faint: dark ? "#484f58" : "#afb8c1", - /* A shade apart from the desk it lies on — enough to read as a surface, - not so much that it glares in a dark room. */ - pageBg: dark ? "#131922" : "#ffffff", - desk: dark ? "#0b0f14" : "#e9ecef", }), [dark] ); @@ -502,7 +498,11 @@ export function NoteEditor({ * width a property of the window, which is what it always looked like. */ flex: 1, minWidth: 0, - background: isMobileViewport ? T.pageBg : T.desk, + background: isMobileViewport + ? T.bg + : dark + ? "linear-gradient(180deg,#0f141b 0%,#0d1117 60%)" + : "linear-gradient(180deg,#f8fafd 0%,#eef3f8 70%)", }} > {/* Main toolbar */} @@ -716,65 +716,41 @@ export function NoteEditor({ padding: isMobileViewport ? "10px 0 18px" : "18px 0 28px", }} > - {/* The page is a surface, always. - With the text capped at a readable measure and nothing behind it, - the right 40% of the pane was simply void. A page gives that space - a meaning — it is the margin — and it is what lets "page 2" show as - a page rather than as a line across an empty field. */}