diff --git a/src/wp-admin/css/admin-menu.css b/src/wp-admin/css/admin-menu.css index 06ad951f4dd21..2cd64e84f807d 100644 --- a/src/wp-admin/css/admin-menu.css +++ b/src/wp-admin/css/admin-menu.css @@ -3,7 +3,7 @@ #adminmenu, #adminmenu .wp-submenu { width: 160px; - background-color: #1d2327; + background-color: #070b0d; } #adminmenuback { @@ -122,7 +122,7 @@ word-wrap: break-word; padding: 6px 0; z-index: 9999; - background-color: #2c3338; + background-color: #1a1e21; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); } @@ -161,7 +161,7 @@ #adminmenu li.opensub > a.menu-top, #adminmenu li > a.menu-top:focus-visible { position: relative; - background-color: #1d2327; + background-color: #070b0d; color: #72aee6; } @@ -174,7 +174,7 @@ #adminmenu li.wp-has-current-submenu a.wp-has-current-submenu, #adminmenu li.current a.menu-top, #adminmenu .wp-has-current-submenu .wp-submenu .wp-submenu-head { - background: #2271b1; + background: #006daa; color: #fff; } @@ -399,7 +399,7 @@ ul#adminmenu > li.current > a.current::after { #adminmenu li.wp-has-submenu.wp-not-current-submenu.opensub:hover::after, #adminmenu li.wp-has-submenu.wp-not-current-submenu:focus-within::after { - border-right-color: #2c3338; + border-right-color: #1a1e21; } #adminmenu li.menu-top:hover .wp-menu-image img, @@ -817,7 +817,7 @@ li#wp-admin-bar-menu-toggle { } .wp-responsive-open #wpadminbar #wp-admin-bar-menu-toggle a { - background: #2c3338; + background: #1a1e21; } li#wp-admin-bar-menu-toggle { diff --git a/src/wp-admin/css/colors/blue/colors.scss b/src/wp-admin/css/colors/blue/colors.scss index f1d5f66a1fa8d..3f237fdc7cf9c 100644 --- a/src/wp-admin/css/colors/blue/colors.scss +++ b/src/wp-admin/css/colors/blue/colors.scss @@ -2,7 +2,7 @@ $highlight-color: #437aa8; @use "../_admin.scss" with ( $scheme-name: "blue", - $base-color: #245278, + $base-color: #215177, $icon-color: #e5f8ff, $highlight-color: $highlight-color, $notification-color: #e1a948, diff --git a/src/wp-admin/css/colors/coffee/colors.scss b/src/wp-admin/css/colors/coffee/colors.scss index 30e9e0649f4cf..905cfe2d2f761 100644 --- a/src/wp-admin/css/colors/coffee/colors.scss +++ b/src/wp-admin/css/colors/coffee/colors.scss @@ -1,4 +1,4 @@ -$base-color: #5c4c40; +$base-color: #574b42; @use "../_admin.scss" with ( $scheme-name: "coffee", diff --git a/src/wp-admin/css/colors/ectoplasm/colors.scss b/src/wp-admin/css/colors/ectoplasm/colors.scss index b2c4005313e50..a463ca5416f81 100644 --- a/src/wp-admin/css/colors/ectoplasm/colors.scss +++ b/src/wp-admin/css/colors/ectoplasm/colors.scss @@ -1,14 +1,16 @@ -$base-color: #4a3369; +$base-color: #523f6d; @use "../_admin.scss" with ( $scheme-name: "ectoplasm", $base-color: $base-color, $icon-color: #ece6f6, - $highlight-color: #646c3e, + $highlight-color: #606e00, + $button-color: #455100, $notification-color: #d46f15, $menu-highlight-text: #fff, $menu-highlight-icon: #fff, $menu-bubble-text: #1e1e1e, + $menu-submenu-text: #dcd9e2, $menu-submenu-focus-text: #fff, $form-checked: $base-color, diff --git a/src/wp-admin/css/colors/light/colors.scss b/src/wp-admin/css/colors/light/colors.scss index e53e4daed1aff..89baa4c718d75 100644 --- a/src/wp-admin/css/colors/light/colors.scss +++ b/src/wp-admin/css/colors/light/colors.scss @@ -6,7 +6,7 @@ $menu-avatar-frame: #aaa; @use "../_admin.scss" with ( $scheme-name: "light", - $base-color: #e5e5e5, + $base-color: #e1e5e4, $icon-color: #6a6a6a, $text-color: $text-color, $highlight-color: $highlight-color, diff --git a/src/wp-admin/css/colors/midnight/colors.scss b/src/wp-admin/css/colors/midnight/colors.scss index 67f6f665a8567..d2dc503fcc0ef 100644 --- a/src/wp-admin/css/colors/midnight/colors.scss +++ b/src/wp-admin/css/colors/midnight/colors.scss @@ -1,13 +1,14 @@ @use "sass:color"; -$base-color: #333c42; -$highlight-color: #cf4339; +$base-color: #06080a; +$highlight-color: #bf332b; $notification-color: #69a8bb; @use "../_admin.scss" with ( $scheme-name: "midnight", $base-color: $base-color, $highlight-color: $highlight-color, + $menu-submenu-background: #191d1f, $notification-color: $notification-color, $menu-highlight-text: #fff, $menu-highlight-icon: #fff, diff --git a/src/wp-admin/css/colors/modern/colors.scss b/src/wp-admin/css/colors/modern/colors.scss index 45c750c0f583a..087931119e73e 100644 --- a/src/wp-admin/css/colors/modern/colors.scss +++ b/src/wp-admin/css/colors/modern/colors.scss @@ -4,8 +4,9 @@ $highlight-color: #3858e9; @use "../_admin.scss" with ( $scheme-name: "modern", - $base-color: #1e1e1e, + $base-color: #070a09, $highlight-color: #3858e9, + $menu-submenu-background: #1a1d1c, $menu-submenu-focus-text: #7b90ff, $notification-color: $highlight-color, diff --git a/src/wp-admin/css/colors/ocean/colors.scss b/src/wp-admin/css/colors/ocean/colors.scss index b96b7a8520f2d..9c01ceb6bc336 100644 --- a/src/wp-admin/css/colors/ocean/colors.scss +++ b/src/wp-admin/css/colors/ocean/colors.scss @@ -1,4 +1,4 @@ -$base-color: #39535a; +$base-color: #375158; @use "../_admin.scss" with ( $scheme-name: "ocean", diff --git a/src/wp-admin/css/colors/sunrise/colors.scss b/src/wp-admin/css/colors/sunrise/colors.scss index a1ef34054906e..8f18f75311896 100644 --- a/src/wp-admin/css/colors/sunrise/colors.scss +++ b/src/wp-admin/css/colors/sunrise/colors.scss @@ -1,6 +1,6 @@ @use "../_admin.scss" with ( $scheme-name: "sunrise", - $base-color: #8a312d, + $base-color: #892e2b, $highlight-color: #ad631e, $notification-color: #ccaf0b, $menu-highlight-text: #fff, diff --git a/src/wp-admin/css/common.css b/src/wp-admin/css/common.css index 06ebb77c37658..94f1846357b6b 100644 --- a/src/wp-admin/css/common.css +++ b/src/wp-admin/css/common.css @@ -263,7 +263,7 @@ td { /* Any change to the default link style must be applied to button-link too. */ a { - color: #2271b1; + color: #006daa; transition-property: border, background, color; transition-duration: 0.05s; transition-timing-function: ease-in-out; @@ -276,7 +276,7 @@ div { a:hover, a:active { - color: #135e96; + color: #005e9a; } a:focus, @@ -660,14 +660,14 @@ code { text-shadow: none; top: -3px; margin-left: 4px; - border: 1px solid #2271b1; + border: 1px solid #006daa; border-radius: 2px; background: transparent; font-size: 13px; font-weight: 500; min-height: 32px; line-height: 2.30769231; /* 30px for 32px height */ - color: #2271b1; /* use the standard color used for buttons */ + color: #006daa; /* use the standard color used for buttons */ padding: 0 12px; -webkit-appearance: none; @@ -679,13 +679,13 @@ code { .wrap .add-new-h2:hover, /* deprecated */ .wrap .page-title-action:hover { - border-color: #0a4b78; - color: #0a4b78; + border-color: #004e89; + color: #004e89; } /* lower specificity: color needs to be overridden by :hover and :active */ .page-title-action:focus { - color: #0a4b78; + color: #004e89; } /* Dashicon for language options on General Settings and Profile screens */ @@ -696,8 +696,8 @@ code { } .wrap .page-title-action:focus { - border-color: #3582c4; - box-shadow: 0 0 0 1px #3582c4; + border-color: #006daa; + box-shadow: 0 0 0 1px #006daa; /* Only visible in Windows High Contrast mode */ outline: 2px solid transparent; } @@ -748,20 +748,20 @@ ul.striped > :nth-child(odd), .wp-ui-primary { color: #fff; - background-color: #2c3338; + background-color: #1a1e21; } .wp-ui-text-primary { - color: #2c3338; + color: #1a1e21; } .wp-ui-highlight { color: #fff; - background-color: #2271b1; + background-color: #006daa; } .wp-ui-text-highlight { - color: #2271b1; + color: #006daa; } .wp-ui-notification { diff --git a/src/wp-admin/css/forms.css b/src/wp-admin/css/forms.css index 547cd6462bc53..2e1e0d8c0ecfb 100644 --- a/src/wp-admin/css/forms.css +++ b/src/wp-admin/css/forms.css @@ -151,7 +151,7 @@ input[type="radio"]:checked + label::before { .wp-core-ui input[type="reset"]:hover, .wp-core-ui input[type="reset"]:active { - color: #135e96; + color: #005e9a; } td > input[type="checkbox"], diff --git a/src/wp-admin/css/list-tables.css b/src/wp-admin/css/list-tables.css index f6105ad5a59fb..eff662abea1a8 100644 --- a/src/wp-admin/css/list-tables.css +++ b/src/wp-admin/css/list-tables.css @@ -797,7 +797,7 @@ th.sorted a span { } .view-switch a.current::before { - color: #2271b1; + color: #006daa; } .view-switch .view-list::before { diff --git a/src/wp-admin/css/media.css b/src/wp-admin/css/media.css index 08155c862049e..47f3bb185e1e1 100644 --- a/src/wp-admin/css/media.css +++ b/src/wp-admin/css/media.css @@ -202,7 +202,7 @@ height: 100%; margin-top: -22px; border-radius: 22px; - background-color: #2271b1; + background-color: #006daa; box-shadow: inset 0 0 2px rgba(0, 0, 0, 0.3); } diff --git a/src/wp-admin/css/themes.css b/src/wp-admin/css/themes.css index 2c59593f4392b..4d31326f1960b 100644 --- a/src/wp-admin/css/themes.css +++ b/src/wp-admin/css/themes.css @@ -228,7 +228,7 @@ body.js .theme-browser.search-loading { * The currently active theme */ .theme-browser .theme.active .theme-name { - background: #1d2327; + background: #070b0d; color: #fff; padding-right: 115px; font-weight: 300; @@ -388,14 +388,14 @@ body.js .theme-browser.search-loading { .theme-browser .theme.add-new-theme a:hover span::after, .theme-browser .theme.add-new-theme a:focus span::after { background: #fff; - color: #2271b1; + color: #006daa; } .theme-browser .theme.add-new-theme a:hover::after, .theme-browser .theme.add-new-theme a:focus::after { border-color: transparent; color: #fff; - background: #2271b1; + background: #006daa; content: ""; } @@ -1655,7 +1655,7 @@ body.full-overlay-active { .wp-core-ui .wp-full-overlay .collapse-sidebar:hover, .wp-core-ui .wp-full-overlay .collapse-sidebar:focus { - color: #2271b1; + color: #006daa; } .wp-full-overlay .collapse-sidebar-arrow, @@ -1792,7 +1792,7 @@ body.full-overlay-active { .wp-full-overlay-footer .devices button:focus, .wp-full-overlay-footer .devices button.active:hover { - border-bottom-color: #2271b1; + border-bottom-color: #006daa; } .wp-full-overlay-footer .devices button.active::before { @@ -1801,7 +1801,7 @@ body.full-overlay-active { .wp-full-overlay-footer .devices button:hover::before, .wp-full-overlay-footer .devices button:focus::before { - color: #2271b1; + color: #006daa; } .wp-full-overlay-footer .devices .preview-desktop::before { diff --git a/src/wp-includes/css/admin-bar.css b/src/wp-includes/css/admin-bar.css index 520dabb4d4a85..613f2b0e5a977 100644 --- a/src/wp-includes/css/admin-bar.css +++ b/src/wp-includes/css/admin-bar.css @@ -123,7 +123,7 @@ html:lang(he-il) .rtl #wpadminbar * { width: 100%; min-width: 600px; /* match the min-width of the body in wp-admin/css/common.css */ z-index: 99999; - background: #1d2327; + background: #070b0d; /* Only visible in Windows High Contrast mode */ outline: 1px solid transparent; } @@ -171,7 +171,7 @@ html:lang(he-il) .rtl #wpadminbar * { margin: 0; padding: 0; box-shadow: 0 3px 5px rgba(0, 0, 0, 0.2); - background: #2c3338; + background: #1a1e21; display: none; position: absolute; float: none; @@ -247,7 +247,7 @@ html:lang(he-il) .rtl #wpadminbar * { /* Painted on the list item, as the item's border-radius (for its focus outline) would round the background. */ #wpadminbar:not(.mobile) .ab-top-menu > li:hover, #wpadminbar .ab-top-menu > li.hover { - background: #2c3338; + background: #1a1e21; } #wpadminbar > #wp-toolbar li:hover span.ab-label, @@ -426,7 +426,7 @@ html:lang(he-il) .rtl #wpadminbar * { #wpadminbar .quicklinks .menupop ul.ab-sub-secondary, #wpadminbar .quicklinks .menupop ul.ab-sub-secondary .ab-submenu { - background: #3c434a; + background: #2e3336; } #wpadminbar .quicklinks .menupop .ab-sub-secondary > li > a:hover, diff --git a/src/wp-includes/css/editor.css b/src/wp-includes/css/editor.css index 86c9db87b3d32..1541d7223f71a 100644 --- a/src/wp-includes/css/editor.css +++ b/src/wp-includes/css/editor.css @@ -592,7 +592,7 @@ div.mce-path { .mce-menu .mce-menu-item:focus, .mce-menu .mce-menu-item.mce-active.mce-menu-item-normal, .mce-menu .mce-menu-item.mce-active.mce-menu-item-preview { - background: #2271b1; /* See color scheme. */ + background: #006daa; /* See color scheme. */ color: #fff; } diff --git a/src/wp-includes/css/wp-pointer.css b/src/wp-includes/css/wp-pointer.css index 0d6238796d12c..729cb69766f0a 100644 --- a/src/wp-includes/css/wp-pointer.css +++ b/src/wp-includes/css/wp-pointer.css @@ -11,18 +11,18 @@ position: relative; margin: -1px -1px 5px; padding: 15px 18px 14px 60px; - border: 1px solid #2271b1; + border: 1px solid #006daa; border-bottom: none; line-height: 1.4; font-size: 14px; color: #fff; - background: #2271b1; + background: #006daa; } .wp-pointer-content h3::before { background: #fff; border-radius: 50%; - color: #2271b1; + color: #006daa; content: "\f227"; content: "\f227" / ""; font: 400 20px/1.6 dashicons; @@ -141,7 +141,7 @@ .wp-pointer-undefined .wp-pointer-arrow { top: 0; border-width: 0 13px 13px; - border-bottom-color: #2271b1; + border-bottom-color: #006daa; } .wp-pointer-top .wp-pointer-arrow-inner, @@ -150,7 +150,7 @@ margin-left: -13px; margin-top: -13px; border: 13px solid transparent; - border-bottom-color: #2271b1; + border-bottom-color: #006daa; display: block; content: " "; } diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php index bfb400cbda4cd..7547831e88a50 100644 --- a/src/wp-includes/general-template.php +++ b/src/wp-includes/general-template.php @@ -5260,7 +5260,7 @@ function register_admin_color_schemes() { 'modern', _x( 'Default', 'admin color scheme' ), admin_url( "css/colors/modern/colors$suffix.css" ), - array( '#1e1e1e', '#3858e9', '#7b90ff' ), + array( '#070a09', '#3858e9', '#7b90ff' ), array( 'base' => '#f3f1f1', 'focus' => '#fff', @@ -5272,7 +5272,7 @@ function register_admin_color_schemes() { 'fresh', _x( 'Fresh', 'admin color scheme' ), false, - array( '#1d2327', '#2c3338', '#2271b1', '#72aee6' ), + array( '#070b0d', '#1a1e21', '#006daa', '#72aee6' ), array( 'base' => '#c3c4c7', 'focus' => '#72aee6', @@ -5284,7 +5284,7 @@ function register_admin_color_schemes() { 'light', _x( 'Light', 'admin color scheme' ), admin_url( "css/colors/light/colors$suffix.css" ), - array( '#e5e5e5', '#6a6a6a', '#c64606', '#007cba' ), + array( '#e1e5e4', '#6a6a6a', '#c64606', '#007cba' ), array( 'base' => '#999', 'focus' => '#ccc', @@ -5296,7 +5296,7 @@ function register_admin_color_schemes() { 'blue', _x( 'Blue', 'admin color scheme' ), admin_url( "css/colors/blue/colors$suffix.css" ), - array( '#183751', '#245278', '#437aa8', '#e1a948' ), + array( '#163650', '#215177', '#437aa8', '#e1a948' ), array( 'base' => '#e5f8ff', 'focus' => '#fff', @@ -5308,7 +5308,7 @@ function register_admin_color_schemes() { 'midnight', _x( 'Midnight', 'admin color scheme' ), admin_url( "css/colors/midnight/colors$suffix.css" ), - array( '#232a2e', '#333c42', '#69a8bb', '#cf4339' ), + array( '#06080a', '#69a8bb', '#bf332b' ), array( 'base' => '#f1f2f3', 'focus' => '#fff', @@ -5320,7 +5320,7 @@ function register_admin_color_schemes() { 'sunrise', _x( 'Sunrise', 'admin color scheme' ), admin_url( "css/colors/sunrise/colors$suffix.css" ), - array( '#6f2724', '#8a312d', '#ad631e', '#ccaf0b' ), + array( '#6e2522', '#892e2b', '#ad631e', '#ccaf0b' ), array( 'base' => '#f3f1f1', 'focus' => '#fff', @@ -5332,7 +5332,7 @@ function register_admin_color_schemes() { 'ectoplasm', _x( 'Ectoplasm', 'admin color scheme' ), admin_url( "css/colors/ectoplasm/colors$suffix.css" ), - array( '#392751', '#4a3369', '#646c3e', '#d46f15' ), + array( '#3f3054', '#523f6d', '#606e00', '#d46f15' ), array( 'base' => '#ece6f6', 'focus' => '#fff', @@ -5344,7 +5344,7 @@ function register_admin_color_schemes() { 'ocean', _x( 'Ocean', 'admin color scheme' ), admin_url( "css/colors/ocean/colors$suffix.css" ), - array( '#2b3f44', '#39535a', '#567958', '#aa9d88' ), + array( '#293d42', '#375158', '#567958', '#aa9d88' ), array( 'base' => '#f2fcff', 'focus' => '#fff', @@ -5356,7 +5356,7 @@ function register_admin_color_schemes() { 'coffee', _x( 'Coffee', 'admin color scheme' ), admin_url( "css/colors/coffee/colors$suffix.css" ), - array( '#382e27', '#5c4c40', '#916745', '#9ea476' ), + array( '#352d28', '#574b42', '#916745', '#9ea476' ), array( 'base' => '#f3f2f1', 'focus' => '#fff', diff --git a/tests/phpunit/tests/admin/includes/misc/adminColorSchemePicker.php b/tests/phpunit/tests/admin/includes/misc/adminColorSchemePicker.php index d14a24d677ca4..8df83ef263cb7 100644 --- a/tests/phpunit/tests/admin/includes/misc/adminColorSchemePicker.php +++ b/tests/phpunit/tests/admin/includes/misc/adminColorSchemePicker.php @@ -37,7 +37,7 @@ public function test_admin_color_scheme_picker_default_selection() { 'fresh' => (object) array( 'name' => 'Default', 'url' => 'fresh.css', - 'colors' => array( '#1d2327', '#2c3338', '#2271b1', '#72aee6' ), + 'colors' => array( '#070b0d', '#1a1e21', '#006daa', '#72aee6' ), 'icon_colors' => array( 'base' => '#c3c4c7', 'focus' => '#72aee6',