From 91d6f455c6609d3fbac64af27d69153d11b4e1e6 Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Sat, 7 Dec 2013 07:25:08 +0000 Subject: [PATCH] Add four more color schemes to round out our collection at eight. The new schemes are Ectoplasm, Coffee, Ocean, Sunrise. For those following along, the first three were at one point named Ghostbusters, Pixel, and Cape Cod. See [26137] for the original color schemes. props ryelle, melchoyce, drw158, littlethingsstudio. fixes #26468. see #25858, #22862. git-svn-id: https://develop.svn.wordpress.org/trunk@26773 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-admin/css/colors/coffee/colors.scss | 8 ++++++ src/wp-admin/css/colors/ectoplasm/colors.scss | 17 +++++++++++++ src/wp-admin/css/colors/ocean/colors.scss | 9 +++++++ src/wp-admin/css/colors/sunrise/colors.scss | 7 ++++++ src/wp-includes/general-template.php | 25 +++++++++++++++++++ 5 files changed, 66 insertions(+) create mode 100644 src/wp-admin/css/colors/coffee/colors.scss create mode 100644 src/wp-admin/css/colors/ectoplasm/colors.scss create mode 100644 src/wp-admin/css/colors/ocean/colors.scss create mode 100644 src/wp-admin/css/colors/sunrise/colors.scss diff --git a/src/wp-admin/css/colors/coffee/colors.scss b/src/wp-admin/css/colors/coffee/colors.scss new file mode 100644 index 0000000000..3cd5013e8d --- /dev/null +++ b/src/wp-admin/css/colors/coffee/colors.scss @@ -0,0 +1,8 @@ +$base-color: #59524c; +$highlight-color: #c7a589; +$notification-color: #9ea476; + +$form-checked: $base-color; + +@import "../../colors.css"; +@import "../_admin.scss"; diff --git a/src/wp-admin/css/colors/ectoplasm/colors.scss b/src/wp-admin/css/colors/ectoplasm/colors.scss new file mode 100644 index 0000000000..a9266df90a --- /dev/null +++ b/src/wp-admin/css/colors/ectoplasm/colors.scss @@ -0,0 +1,17 @@ +$base-color: #523f6d; +$icon-color: #ece6f6; +$highlight-color: #a3b745; +$notification-color: #d46f15; + +$form-checked: $base-color; + +@import "../../colors.css"; +@import "../_admin.scss"; +$base-color: #523f6d; +$icon-color: #ece6f6; +$highlight-color: #a3b745; +$notification-color: #d46f15; + +$form-checked: $base-color; + +@import "../_admin.scss"; diff --git a/src/wp-admin/css/colors/ocean/colors.scss b/src/wp-admin/css/colors/ocean/colors.scss new file mode 100644 index 0000000000..fec5547af2 --- /dev/null +++ b/src/wp-admin/css/colors/ocean/colors.scss @@ -0,0 +1,9 @@ +$base-color: #738e96; +$icon-color: #f2fcff; +$highlight-color: #9ebaa0; +$notification-color: #aa9d88; + +$form-checked: $base-color; + +@import "../../colors.css"; +@import "../_admin.scss"; diff --git a/src/wp-admin/css/colors/sunrise/colors.scss b/src/wp-admin/css/colors/sunrise/colors.scss new file mode 100644 index 0000000000..ecd031cdf8 --- /dev/null +++ b/src/wp-admin/css/colors/sunrise/colors.scss @@ -0,0 +1,7 @@ +$base-color: #cf4944; +$highlight-color: #dd823b; +$notification-color: #ccaf0b; +$menu-submenu-focus-text: lighten( $highlight-color, 35% ); + +@import "../../colors.css"; +@import "../_admin.scss"; diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index 028b949acd..4dac0f7819 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -2142,6 +2142,31 @@ function register_admin_color_schemes() { array( '#25282b', '#363b3f', '#69a8bb', '#e14d43' ), array( 'base' => '#f1f2f3', 'focus' => '#fff', 'current' => '#fff' ) ); + + wp_admin_css_color( 'sunrise', _x( 'Sunrise', 'admin color scheme' ), + admin_url( 'css/colors/sunrise/colors.min.css' ), + array( '#b43c38', '#cf4944', '#dd823b', '#ccaf0b' ), + array( 'base' => '#f3f1f1', 'focus' => '#fff', 'current' => '#fff' ) + ); + + wp_admin_css_color( 'ectoplasm', _x( 'Ectoplasm', 'admin color scheme' ), + admin_url( 'css/colors/ectoplasm/colors.min.css' ), + array( '#413256', '#523f6d', '#a3b745', '#d46f15' ), + array( 'base' => '#ece6f6', 'focus' => '#fff', 'current' => '#fff' ) + ); + + wp_admin_css_color( 'ocean', _x( 'Ocean', 'admin color scheme' ), + admin_url( 'css/colors/ocean/colors.min.css' ), + array( '#627c83', '#738e96', '#9ebaa0', '#aa9d88' ), + array( 'base' => '#f2fcff', 'focus' => '#fff', 'current' => '#fff' ) + ); + + wp_admin_css_color( 'coffee', _x( 'Coffee', 'admin color scheme' ), + admin_url( 'css/colors/coffee/colors.min.css' ), + array( '#46403c', '#59524c', '#c7a589', '#9ea476' ), + array( 'base' => '#f3f2f1', 'focus' => '#fff', 'current' => '#fff' ) + ); + } /**