Skip to content

Instantly share code, notes, and snippets.

@jamiebrwr
Created December 31, 2014 23:28
Show Gist options
  • Save jamiebrwr/e558f5f498584b53ea83 to your computer and use it in GitHub Desktop.
Save jamiebrwr/e558f5f498584b53ea83 to your computer and use it in GitHub Desktop.
Customize WordPress Admin Color Scheme
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