Created
December 31, 2014 23:28
-
-
Save jamiebrwr/e558f5f498584b53ea83 to your computer and use it in GitHub Desktop.
Customize WordPress Admin Color Scheme
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function additional_admin_color_schemes() { | |
//Get the theme directory | |
$theme_dir = get_template_directory_uri(); | |
//Ocean | |
wp_admin_css_color( 'ocean', __( 'Ocean' ), | |
$theme_dir . '/admin-colors/ocean/colors.min.css', | |
array( '#aa9d88', '#9ebaa0', '#738e96', '#f2fcff' ) | |
); | |
} | |
add_action('admin_init', 'additional_admin_color_schemes'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment