Skip to content
Snippets Groups Projects
Commit e9f55a06 authored by Benjamin Franzke's avatar Benjamin Franzke Committed by Andreas Kienast
Browse files

[TASK] Make DebuggerUtility::var_dump output context aware

DebuggerUtility::var_dump now respects the backend color
scheme (light/dark) and the color palette, if defined.

In frontend mode (when typo3 backend CSS variables are not defined)
it will render with the previous, self-defined colors as before.

To make the CSS readable/reviewable it has been refactored into array
that is compiled into a string on the fly.

Releases: main
Resolves: #105067
Change-Id: I77173b24363e6bdd62a7772d37cb4dc5087c77ff
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/86243


Tested-by: default avatarcore-ci <typo3@b13.com>
Tested-by: default avatarOliver Bartsch <bo@cedev.de>
Reviewed-by: default avatarOliver Bartsch <bo@cedev.de>
Tested-by: default avatarAndreas Kienast <akienast@scripting-base.de>
Reviewed-by: default avatarAndreas Kienast <akienast@scripting-base.de>
parent 1b4fa778
Branches
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