Bug 148016 - [NEWHELP] Add Dark mode to Help
Summary: [NEWHELP] Add Dark mode to Help
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Documentation (show other bugs)
(earliest affected)
Hardware: All All
: medium enhancement
Assignee: Not Assigned
: 153284 (view as bug list)
Depends on:
Blocks: New-Help
  Show dependency treegraph
Reported: 2022-03-15 18:54 UTC by Olivier Hallot
Modified: 2023-01-31 16:16 UTC (History)
5 users (show)

See Also:
Crash report or crash signature:


Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Hallot 2022-03-15 18:54:40 UTC
Add dark mode to new Help CSS (default.css)

- respect user browser choice.
- Concerns on icons in dark mode

ref: https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme
Comment 1 steve 2022-03-18 11:21:53 UTC
Valid feature request, confirming, NEW
Would be great to use https://developer.mozilla.org/en-US/docs/Web/CSS/@media/prefers-color-scheme and have a switcher at the top (can also be seen on linked website) to allow switching for users.
Comment 2 Heiko Tietze 2022-03-21 09:42:54 UTC
I wouldn't want to switch the theme manually but expect it to follow the system.

According the feature requirements aka wiki:

CSS for branding
This easy hack will enhance or define new CSS entries to achieve a visual effect that is aligned with TDF branding of LibreOffice or to other LibreOffice derived products.

So we should take the colors used in LibreOffice into the CSS.
Comment 3 Adolfo Jayme Barrientos 2023-01-31 16:16:05 UTC
*** Bug 153284 has been marked as a duplicate of this bug. ***