[wp-hackers] Admin Color Schemes: generic classes for colors?

Chris McCoy chris at lod.com
Fri Dec 20 16:00:14 UTC 2013

Have a look at http://wordpress.org/plugins/admin-color-schemes/

It has examples of adding other color schemes.

On 12/20/2013, 10:26 AM, "Dino Termini" <dino at duechiacchiere.it> wrote:

>Hi folks,
>we are trying to adapt our plugin to the new admin color schemes, and it
>would be great if we could have generic CSS class declarations that
>allow us to apply the current scheme's background/text colors to our
>elements. Something like
>.admin-color-flat .sidebar-background-color{ background-color: #.... }
>.admin-color-vineyard .sidebar-background-color{ background-color: #.... }
>This would allow plugin developers to leverage those schemes without
>having to reinvent the wheel every time, and would make their plugins
>adapt to any third-party color scheme people may be using on their site.
>Thank you,
>wp-hackers mailing list
>wp-hackers at lists.automattic.com

More information about the wp-hackers mailing list