docs/theme.md: Desktop-App lässt bei „Automatisch“ das System entscheiden (0.1.31)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a399374216
commit
e43facb620
1 changed files with 4 additions and 0 deletions
|
|
@ -17,6 +17,10 @@ podcast-ui.css, feeds.js) and diora-desktop (desktop.css).
|
||||||
answers that query from the app's own (dark) theme, not the system's: there the page asks
|
answers that query from the app's own (dark) theme, not the system's: there the page asks
|
||||||
`DioraNative.systemScheme()` ("dark" | "light") and the app calls
|
`DioraNative.systemScheme()` ("dark" | "light") and the app calls
|
||||||
`window.__dioraSystemScheme(scheme)` when the system switches (uiMode change, or on return).
|
`window.__dioraSystemScheme(scheme)` when the system switches (uiMode change, or on return).
|
||||||
|
* The desktop app (Electron) sets `nativeTheme.themeSource` to the scheme for a fixed choice
|
||||||
|
(title bar, scrollbars, form controls match) but leaves it on `"system"` for "auto", so
|
||||||
|
`prefers-color-scheme` there is the system's; the page tells it the choice along with the
|
||||||
|
scheme (`dioraDesktop.setTheme(scheme, choice)`, desktop 0.1.31).
|
||||||
* E-ink mode (`html.nui-eink`) keeps its own black-on-white rules and ignores this.
|
* E-ink mode (`html.nui-eink`) keeps its own black-on-white rules and ignores this.
|
||||||
* The reader has its own themes; its default is now "Wie die App" (`readerSettings.theme = 'app'`):
|
* The reader has its own themes; its default is now "Wie die App" (`readerSettings.theme = 'app'`):
|
||||||
dark → reader dark, light → reader bright. Sepia, Dunkel and Hell stay choosable.
|
dark → reader dark, light → reader bright. Sepia, Dunkel and Hell stay choosable.
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue