mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Code Editors: Update the current file highlight to use notice styling.
Improves color contrast and readability, and reuses a core design pattern. Props kekkakokkers, monopine, Travel_girl, afercia, melchoyce, karmatosed. Fixes #31604. git-svn-id: https://develop.svn.wordpress.org/trunk@41595 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -283,7 +283,7 @@ if ( $allowed_files ) :
|
||||
}
|
||||
|
||||
if ( $absolute_filename === $file ) {
|
||||
$file_description = '<span class="highlight">' . $file_description . '</span>';
|
||||
$file_description = '<span class="notice notice-info">' . $file_description . '</span>';
|
||||
}
|
||||
|
||||
$previous_file_type = $file_type;
|
||||
|
||||
Reference in New Issue
Block a user