10up-experience icon indicating copy to clipboard operation
10up-experience copied to clipboard

'Admin Color Scheme' for Production environments

Open rickalee opened this issue 1 year ago • 2 comments

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

  • [X] I agree to follow this project's Code of Conduct

rickalee avatar Nov 06 '23 21:11 rickalee

@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?

darylldoyle avatar Nov 07 '23 09:11 darylldoyle

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

fabiankaegy avatar May 27 '24 15:05 fabiankaegy