Skip to content

[BUGFIX] Improve visibility of last checked row in dark mode#482

Merged
sypets merged 2 commits intosypets:mainfrom
TechnoQuebecca:bugfix/dark-mode-broken-links
Apr 22, 2026
Merged

[BUGFIX] Improve visibility of last checked row in dark mode#482
sypets merged 2 commits intosypets:mainfrom
TechnoQuebecca:bugfix/dark-mode-broken-links

Conversation

@ennakouriamina-pixel
Copy link
Copy Markdown
Contributor

The current implementation uses a hardcoded background color (#ace9ff) to highlight the "last checked" row in the broken links table.

In TYPO3 dark mode, this results in poor contrast and readability.

This change:

  • Replaces the hardcoded color with a TYPO3 CSS variable for light mode
  • Introduces a dedicated background color for dark mode to ensure proper contrast
  • Adds support for prefers-color-scheme: dark as a fallback when no explicit theme is set

The highlight now remains clearly visible in both light and dark modes.

Tested in TYPO3 v13 backend:

  • Light mode: OK
  • Dark mode: OK
  • Auto dark mode (prefers-color-scheme): OK

@sypets
Copy link
Copy Markdown
Owner

sypets commented Apr 22, 2026

Thank your for your PR. I could reproduce and PR fixes problem.

@sypets sypets merged commit d42f770 into sypets:main Apr 22, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants