user meta – Which admin color represents what?
In wordpress, the admin color scheme has 7(basic, more or less) colors, the first 4 represent “colors”, and the last 3 “base”, “focus”, “current”. In the first 4 colors, which color represents what?
In the default-fresh scheme in array 1 color # 1d2327, represents the background, and in sunrise 2 colors # cf4944 in the array represents the backround. Why is this so and how to get and insert color for text and hover etc …
Also the colors for hover and text are mixed, how to understand the admin color scheme?
Fresh 1. color = #1d2327 = background
wp_admin_css_color(
'fresh',
_x( 'Default', 'admin color scheme' ),
false,
array( '#1d2327', '#2c3338', '#3582c4', '#72aee6' ),
array(
'base' => '#a7aaad',
'focus' => '#72aee6',
'current' => '#fff',
)
);
Sunrise 2. color = #cf4944 = background
wp_admin_css_color(
'sunrise',
_x( 'Sunrise', 'admin color scheme' ),
admin_url( "css/colors/sunrise/colors$suffix.css" ),
array( '#b43c38', '#cf4944', '#dd823b', '#ccaf0b' ),
array(
'base' => '#f3f1f1',
'focus' => '#fff',
'current' => '#fff',
)
);
Leave an answer