wp-stage-switcher
wp-stage-switcher copied to clipboard
Add support for applying different colors based on environment
Summary
Add support for changing the color of the wp-admin based on environment
Having the ability for each environment to have a different color scheme would help make it more obvious as to which environment you are currently viewing
Implementation Ideas
- Add
env-<environment>
<body>
classes to allow writing CSS to target based by environmentadd_filter('body_class', function($classes) { $classes[] = 'env-'.sanitize_title(WP_ENV); return $classes; });
- Add the ability to swap the wp-admin color scheme based on environment (inspired by wpmark)
That would be super helpful.