diff --git a/includes/admin-theme.php b/includes/admin-theme.php new file mode 100644 index 0000000..e7d5f22 --- /dev/null +++ b/includes/admin-theme.php @@ -0,0 +1,49 @@ +roles, true)) { + unset($all_colors); + $all_colors = array( + 'metier_patrimoine' => array( + 'name' => __('Métiers du patrimoine', 'metiers-du-patrimoine'), + 'url' => get_stylesheet_directory_uri() . '/metier_patrimoine.css', + 'colors' => array('#282a34', '#8b2ff7', '#e14d43', '#f1f2f3') + ) + ); + } + + return $all_colors; +} +add_filter('admin_color_scheme_picker', 'lock_admin_color');