10up / 10up-experience

The 10up Experience plugin configures WordPress to better protect and inform clients, aligned to 10up’s best practices.
GNU General Public License v2.0
129 stars 27 forks source link

'Admin Color Scheme' for Production environments #147

Open rickalee opened 10 months ago

rickalee commented 10 months ago

Is your enhancement related to a problem? Please describe.

As a precaution against accidental updates to production environment by 10up engineers and QA team, we should enable a different 'Admin Color Scheme' if 10up user detected and wp_get_environment_type is Production.

https://developer.wordpress.org/reference/functions/wp_get_environment_type/

I suggest we create a custom 'Admin Color Scheme' based on Sunrise core color scheme or 10up brand.

https://wpadmincolors.com/generate

Designs

Screenshot 2023-11-06 at 4 42 54 PM

Describe alternatives you've considered

No response

Code of Conduct

darylldoyle commented 10 months ago

@rickalee I'd love to hear your thoughts on including it in a less intrusive way. I'm always concerned about changing colour schemes for a11y reasons. I agree, this could be a massive help though.

I really like the approach taken by https://wordpress.org/plugins/display-environment-type/, what're your thoughts on that?

fabiankaegy commented 3 months ago

@darylldoyle I really like the approach taken by that plugin! :)