Skip to content
Snippets Groups Projects
Commit 63896b1d authored by Andreas Fernandez's avatar Andreas Fernandez Committed by Benni Mack
Browse files

[TASK] Bind CodeMirror theme to prefers-color-scheme

With the upgrade to CodeMirror 6, the dark theme is enforced, which may
have a negative impact on UX as this stresses the user's eyesight.

The implementation is adapted to 1) respect and 2) react on changing
`prefers-color-scheme` settings.

Resolves: #99730
Releases: main
Change-Id: Ia4dc0baf927aef13d3ea545fa2314c281ce8f373
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78335


Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Tested-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarChris Müller <typo3@krue.ml>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
Tested-by: default avatarJasmina Ließmann <minapokhalo+typo3@gmail.com>
Reviewed-by: default avatarChristian Kuhn <lolli@schwarzbu.ch>
parent aff27c25
Branches
Tags
No related merge requests found
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment