Closed yscik closed 2 months ago
So regarding CSS variables, the new styles rely pretty heavily on it, and it makes it pretty easy to customize things with just a few variables. This is an alternative to rewriting or overriding everything with CSS, which is what they currently have to do. I'm putting together a documentation page with some examples to get started.
This approach also makes it easy to add an UI on top in the future, where they can change the colors in the site editor or the setup wizard.
This PR adds the color detections so styles are not broken out of the box on various themes. Most of it is for the new overlay modal, where we'd end up with stuff like white links on white background if it's a dark theme.
Thanks for the review @gikaragia, all should be fixed now!
Changes Proposed in this Pull Request
Testing Instructions
New or Updated Hooks and Templates
job_manager_ui_theme_support_script
- disable theme color support scriptScreenshot / Video