Mark Dark Text Light in Dark Mode Changelog
← Back to User Scripts
1.3.0 - 2026-05-20
- Fixed empty divs with white backgrounds (e.g. those containing only
<br>) not having their background colour cleared in dark mode, causing visible white boxes.
1.2.0 - 2026-03-26
- Fixed
code and pre elements having their text colour changed to light grey when inside a dark-text-adjusted container, which caused light-on-light contrast issues for inline code with a light background.
1.1.0 - 2026-03-02
- Added detection of light backgrounds within ticket comments. Elements with a light background colour now have their background set to transparent in dark mode, preventing dark-text-on-light-background content from appearing as invisible light-on-light.
- Fixed light backgrounds in HTML emails not being fully removed in dark mode. HTML emails use table-based layouts (
table, tr, tbody, etc.) which were not included in the background-detection check, causing white boxes to remain visible behind the light-coloured text.
1.0.2 - 2026-02-25
- Fixed dark
<font> elements not being adjusted to light text colour by including font elements in the selector.
1.0.1 - 2026-02-04
- Updated logging to follow new guidelines with LOG_PREFIX constant and appropriate use of console.debug() for verbose logging and console.log() with emoji for key events.
1.0.0 - 2026-02-04
- Detects dark text in Zendesk ticket comments within dark mode and adjusts it to light colour for better readability.