Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#14144 closed enhancement (fixed)

Update colors in 'register_admin_color_schemes()' function

Reported by: ramiy's profile ramiy Owned by:
Milestone: 3.1 Priority: normal
Severity: normal Version: 3.0
Component: Graphic Design Keywords: ui-feedback
Focuses: Cc:

Description

In wp3.0 there were changes in "fresh" admin scheme colors (wp-admin/css/colors-fresh.css) but we forget to update the Admin Color Schemes in User Profile subpanel.

The new "fresh" (gray) CSS has a new color scheme, we need to update those colors in register_admin_color_schemes() function too.


function register_admin_color_schemes() {

  wp_admin_css_color(
    'classic',
    __('Blue'),
    admin_url("css/colors-classic.css"),
    array('#073447', '#21759B', '#EAF3FA', '#BBD8E7')
  );

  wp_admin_css_color(
    'fresh',
    __('Gray'),
    admin_url("css/colors-fresh.css"),
    array('#464646', '#6D6D6D', '#F1F1F1', '#DFDFDF')  // <--update colors
  );

}

Attachments (2)

14144.diff (704 bytes) - added by wojtek.szkutnik 15 years ago.
2010-07-15_00-26.jpg (3.5 KB) - added by wojtek.szkutnik 15 years ago.

Download all attachments as: .zip

Change History (7)

#1 @wojtek.szkutnik
15 years ago

  • Cc wojtek.szkutnik@… added
  • Keywords has-patch gsoc added; needs-patch removed

I don't know, the colors in the attached patch are more accurate than the previous ones but look worse for me.

#2 @ramiy
15 years ago

can you add a screenshot?

#3 @ramiy
15 years ago

  • Cc ramiy added

Thanks for the screenshot.
I think the colors look ok.

#4 @nacin
15 years ago

  • Keywords ui-feedback added; has-patch gsoc removed
  • Milestone changed from Awaiting Review to 3.1

Leaving this for the UI group.

#5 @nacin
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.