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

+1 -1
View File
@@ -32,4 +32,4 @@ Both margins and orientation are passed into the ODT export so the exported docu
## Themes (`theme.ts`, `styles/global.css`)
Four modes: `light`, `dark`, `allBlack` (forces font colors white), `auto` (follows `prefers-color-scheme`). Applied by setting `data-theme` on `<html>`; CSS variables for each theme live in `global.css`.
Four modes: `light`, `dark`, `allBlack` (forces font colors white), `auto` (follows `prefers-color-scheme`). Applied by setting `data-theme` on `<html>`; CSS variables for each theme live in `global.css`. The sheet keeps its own pair through light and dark — white paper, **black** text, the colour LibreOffice and Word draw an uncoloured run in (the app's slate would also differ from a run the file colours `#000000`); only `allBlack` inverts it.