fix: the page draws its text black, as a word processor does

The sheet took the app's slate (#1e293b), so every uncoloured run
differed from LibreOffice — and from a run the same document colours
#000000 explicitly. Light and dark themes now paint the page black on
white; allBlack still inverts it, and the PDF export no longer has to
override anything.
This commit is contained in:
Steffen Becker committed 2026-08-11 21:27:39 +00:00
1 parent f055fc4850
commit fe55aec95f
2 files changed
+5 -3

No files matched your search

+4 -2
View File
@@ -302,7 +302,9 @@
--color-toolbar-bg: #ffffff;
--color-btn-hover: #cbd5e1;
--color-page-bg: #ffffff;
--color-page-text: #1e293b;
/* The sheet is the document, so its text is the black LibreOffice and Word draw —
the app's own slate would differ from a run the file colours #000000. */
--color-page-text: #000000;
--color-page-border: #e2e8f0;
--scrollbar-thumb: #cbd5e1;
}
@@ -317,7 +319,7 @@
--color-toolbar-bg: #161b22;
--color-btn-hover: #3b4350;
--color-page-bg: #ffffff;
--color-page-text: #1e293b;
--color-page-text: #000000;
--color-page-border: #e2e8f0;
/* Primary (active-button color) so the toolbar scrollbar stands out on dark. */
--scrollbar-thumb: var(--color-primary);