update
This commit is contained in:
@@ -771,5 +771,6 @@ The app toggles dark mode by setting `data-theme="dark"` on `<html>` inside its
|
||||
```
|
||||
|
||||
- Do NOT use `prefers-color-scheme` — the app controls the attribute.
|
||||
- Do not hardcode callout/infobox backgrounds — or darken them explicitly in the dark block (e.g. to `var(--bg-soft)`); the colored border stays.
|
||||
- Keep dark rules inside `@media screen` only, so WeasyPrint/PDF renders the light theme.
|
||||
- Elements with light text on accent backgrounds (table headers, cover) may keep their light-theme background.
|
||||
|
||||
Reference in New Issue
Block a user