Admin Color Scheme: Update the highlight color in the Modern color scheme.

In the Modern color scheme, the font color on hover in the admin bar is bright green. However, in the WordPress.org site itself, the color used is Blueberry 2. This commits aligns both colors on the more balanced Blueberry color.

Props fushar, Joen.
Fixes #62219.
Built from https://develop.svn.wordpress.org/trunk@59419


git-svn-id: http://core.svn.wordpress.org/trunk@58805 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
youknowriad 2024-11-19 08:02:16 +00:00
parent 70b4a18c97
commit e09a15b011
7 changed files with 23 additions and 23 deletions

View File

@ -287,7 +287,7 @@ textarea:focus {
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover {
color: #33f078;
color: #7b90ff;
}
/* Admin Menu: current */
@ -301,7 +301,7 @@ textarea:focus {
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus {
color: #33f078;
color: #7b90ff;
}
ul#adminmenu a.wp-has-current-submenu:after,
@ -351,7 +351,7 @@ ul#adminmenu > li.current > a.current:after {
#collapse-button:hover,
#collapse-button:focus {
color: #33f078;
color: #7b90ff;
}
/* Admin Bar */
@ -379,21 +379,21 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #33f078;
color: #7b90ff;
background: rgb(12.15, 12.15, 12.15);
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
color: #33f078;
color: #7b90ff;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
color: #33f078;
color: #7b90ff;
}
/* Admin Bar: submenu */
@ -436,7 +436,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
color: #33f078;
color: #7b90ff;
}
#wpadminbar .quicklinks li a:hover .blavatar,
@ -445,7 +445,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
color: #33f078;
color: #7b90ff;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
@ -493,7 +493,7 @@ ul#adminmenu > li.current > a.current:after {
}
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
color: #33f078;
color: #7b90ff;
}
#wpadminbar #wp-admin-bar-user-info .username {

File diff suppressed because one or more lines are too long

View File

@ -287,7 +287,7 @@ textarea:focus {
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:focus,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu a:hover {
color: #33f078;
color: #7b90ff;
}
/* Admin Menu: current */
@ -301,7 +301,7 @@ textarea:focus {
#adminmenu a.wp-has-current-submenu:focus + .wp-submenu li.current a:focus,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:hover,
#adminmenu .wp-has-current-submenu.opensub .wp-submenu li.current a:focus {
color: #33f078;
color: #7b90ff;
}
ul#adminmenu a.wp-has-current-submenu:after,
@ -351,7 +351,7 @@ ul#adminmenu > li.current > a.current:after {
#collapse-button:hover,
#collapse-button:focus {
color: #33f078;
color: #7b90ff;
}
/* Admin Bar */
@ -379,21 +379,21 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar.nojq .quicklinks .ab-top-menu > li > .ab-item:focus,
#wpadminbar.nojs .ab-top-menu > li.menupop:hover > .ab-item,
#wpadminbar .ab-top-menu > li.menupop.hover > .ab-item {
color: #33f078;
color: #7b90ff;
background: rgb(12.15, 12.15, 12.15);
}
#wpadminbar:not(.mobile) > #wp-toolbar li:hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar li.hover span.ab-label,
#wpadminbar:not(.mobile) > #wp-toolbar a:focus span.ab-label {
color: #33f078;
color: #7b90ff;
}
#wpadminbar:not(.mobile) li:hover .ab-icon:before,
#wpadminbar:not(.mobile) li:hover .ab-item:before,
#wpadminbar:not(.mobile) li:hover .ab-item:after,
#wpadminbar:not(.mobile) li:hover #adminbarsearch:before {
color: #33f078;
color: #7b90ff;
}
/* Admin Bar: submenu */
@ -436,7 +436,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar li.hover .ab-item:before,
#wpadminbar li:hover #adminbarsearch:before,
#wpadminbar li #adminbarsearch.adminbar-focused:before {
color: #33f078;
color: #7b90ff;
}
#wpadminbar .quicklinks li a:hover .blavatar,
@ -445,7 +445,7 @@ ul#adminmenu > li.current > a.current:after {
#wpadminbar .menupop .menupop > .ab-item:hover:before,
#wpadminbar.mobile .quicklinks .ab-icon:before,
#wpadminbar.mobile .quicklinks .ab-item:before {
color: #33f078;
color: #7b90ff;
}
#wpadminbar.mobile .quicklinks .hover .ab-icon:before,
@ -493,7 +493,7 @@ ul#adminmenu > li.current > a.current:after {
}
#wpadminbar #wp-admin-bar-user-info a:hover .display-name {
color: #33f078;
color: #7b90ff;
}
#wpadminbar #wp-admin-bar-user-info .username {

File diff suppressed because one or more lines are too long

View File

@ -3,7 +3,7 @@
$scheme-name: "modern";
$base-color: #1e1e1e;
$highlight-color: #3858e9;
$menu-submenu-focus-text: #33f078;
$menu-submenu-focus-text: #7b90ff;
$notification-color: $highlight-color;
$link: $highlight-color;

View File

@ -4762,7 +4762,7 @@ function register_admin_color_schemes() {
'modern',
_x( 'Modern', 'admin color scheme' ),
admin_url( "css/colors/modern/colors$suffix.css" ),
array( '#1e1e1e', '#3858e9', '#33f078' ),
array( '#1e1e1e', '#3858e9', '#7b90ff' ),
array(
'base' => '#f3f1f1',
'focus' => '#fff',

View File

@ -16,7 +16,7 @@
*
* @global string $wp_version
*/
$wp_version = '6.8-alpha-59418';
$wp_version = '6.8-alpha-59419';
/**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.