[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:core-ci <typo3@b13.com> Tested-by:
Oliver Bartsch <bo@cedev.de> Reviewed-by:
Oliver Bartsch <bo@cedev.de> Tested-by:
Andreas Kienast <akienast@scripting-base.de> Reviewed-by:
Andreas Kienast <akienast@scripting-base.de>
Showing
- Build/Sources/Sass/backend.scss 1 addition, 0 deletionsBuild/Sources/Sass/backend.scss
- Build/Sources/Sass/component/_debugger-utility.scss 23 additions, 0 deletionsBuild/Sources/Sass/component/_debugger-utility.scss
- typo3/sysext/backend/Resources/Public/Css/backend.css 1 addition, 0 deletionstypo3/sysext/backend/Resources/Public/Css/backend.css
- typo3/sysext/extbase/Classes/Utility/DebuggerUtility.php 195 additions, 37 deletionstypo3/sysext/extbase/Classes/Utility/DebuggerUtility.php
Please register or sign in to comment