Hi Dave,
yes, that can be done. I’ll get to it later today.
Version 1.14.7 is released. Added an option that adds CSS variables to the dashboard as well.
Thank you, thank you, thank you!
Hi, could you clarify where on the dashboard these appear?
With this option checked, I go to my WP dashboard and I have the following screen options:
Boxes
Site Health Status
At a Glance
Activity
Newsletter
Quick Draft
WordPress Events and News
Welcome
no CSS variables?
CSS Variables are a relatively new addition to the CSS specification and do not show up directly on the WP dashboard like those boxes you referred to. They are a programming aid for theme and plugin developers. CSS is a programming language which you can use to style a web document, anything from size, positioning, including colour and so forth.
For more details on what they are and what you can do with them please have a look at Using CSS custom properties (variables) [MDN web docs].
Here’s a way to get the current admin theme colors as CSS variables:
https://wordpress.stackexchange.com/a/369713/181870