Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

Style the Admin

code to create a plugin in order to style the admin dashboard, plus a condition to check if user is admin to load the style in frontend also

function my_admin_theme_style() {
    wp_enqueue_style('my-admin-theme', plugins_url('wp-admin.css', __FILE__));
}
    add_action('admin_enqueue_scripts', 'my_admin_theme_style');
    add_action('login_enqueue_scripts', 'my_admin_theme_style');
if (is_admin) {
    add_action( 'wp_enqueue_scripts', 'change_adminbar_css' ); 
}