Admin Color Schema

The plugin to enable wordpress themes to add its own admin color schemas directly from theme

Features

  1. Adding new admin color shemas directly with theme
  2. Activating specific admin color schema for every new registered user automatically
  3. Removing admin color picker from users profile
  4. Applying selected admin color shema on the wordpress adminbar in the frontend

What I need

You will need scss for fast theme generating based on the wordpress scss files, But of course you can still use normal CSS file.

Contributing

Everyone is welcome to help contribute and improve this plugin. There are several ways you can contribute:

  • Reporting issues (please read issue guidelines)
  • Suggesting new features
  • Writing or refactoring code
  • Fixing issues

Eaxmple

The plugin comes with an example to see how the plugin works , it is under example/Dark folder.

To use the example :

  1. Copy example/Dark to your/theme/folder/color-schema/Dark
  2. Activate the new schema from you profile

Plugin configutaion

The plugin comes with following configuration as default :

<? php
$default = array(
    // path relative to the theme dir 
    'path' => '/color-schema',
    // default color-schema to activate for every new user
    'default' => '',
    // if true the user will be no more able to change its dashboard color schema
    // and the default one will be used
    'disable_color_picker' => false,
    // enable color-schema on fontend
    'enbale-on-frontend' => true,
);
?>

You can override the default configuration using add_filter function like in the following example :

<?php

// in the your theme's functions.php file
add_filter('Hyyan\AdminColorSchema.options', function(array $default) {

    // read schemas from "admin-color-schema" folder relative to current theme
    $default['path'] = '/admin-color-schema';

    // use Bluetheme as default schema for every new user
    $default['default'] = 'BlueTheme';

    return $default;
});
?>

Create new schema

If you are using the default path in the plugin configuration then :

  1. Create color-schema in your theme root dir
  2. Create new schema dir for example : (vivid) in the color-schema dir
  3. Create schema.ini file and configure it
  4. create colors.scss then complie it into colors.css
; schema.ini
; ==============
; 
; the name of your theme if not set the current dir name will  be used
; for example if your theme live in "color-schema/vivid" then "vivid" will be used as name of theme
name= my create theme 

;your translaion domain if not set the 'defualt' domain will be used
;the domain will be used to translate the theme name
domain= default

; colors preview (4 colors)
colors []= #52accc
colors []= #e5f8ff
colors []= #096484
colors []= #e1a948

; icons colors preview (4 colors)
icons []= #52accc
icons []= #e5f8ff
icons []= #096484
icons []= #e1a948
// colors.scss
// ============

$base-color: #52accc;
$icon-color: #e5f8ff;
$highlight-color: #096484;
$notification-color: #e1a948;
$button-color: #e1a948;

$menu-submenu-text: #e2ecf1;
$menu-submenu-focus-text: #fff;
$menu-submenu-background: #4796b3;

// require the path relative to your wordpres (wp-admin) folder
@import "...../wp-admin/css/colors/_admin.scss";

You are done ...

Go to your profile now and you will see your new color schema whiche you can activate  

Grey Admin Color Schemes

Due to a bug in previous versions (of this plugin, you will need to deactivate, uninstall and then re-install to receive future updates. Grey color schemes for the admin area of WordPress 3.8. 'A Touch of Blue' - The Modern Grey theme with a blue hilight for the current selected menu item. 'Class.........

Similar: 75%

Random Admin Color Scheme

Random admin color scheme - auto change your admin color scheme every time wp-admin page loaded. If you works with your WordPress Admin everyday, it would be so boring to see a boring admin color scheme all day long. This wordpress plugin will make your wordpress admin fresh in every page load. Mak.........

Similar: 63%

BossAdmin

A light-weight plugin to change WordPress admin style into its own dark color scheme....

Similar: 60%

WP Admin Color Schemes

Looking for even more WordPress admin color schemes? WP Admin Color Schemes brings 14 new color schemes to your WordPress dashboard, with more to follow. If you like this plugin, please consider leaving a review. Thank you! Follow the developer on Twitter Visit Developer Website Download My Other.........

Similar: 50%

Baltic Amber Themes & Schemes

With Baltic Amber Admin Themes & Schemes you can: create your own colour scheme by specifying only two base colours, have the theme colours change randomly every time you reload the page, or at any time interval you choose, use one of the administration themes which slightly alter/improve the .........

Similar: 45%

Solarized Admin Color Scheme

Adds an admin color scheme which not only colorizes the admin menu and the admin bar but the whole page. Use it if you know the admin pages, if you know the location of everything because solarized's contrast is lower than other color schemes to ease your eyes. This plugin is based on Ethan Schoon.........

Similar: 43%

WP Admin Classic Colors

If you installed WordPress 3.8 or above and have not found a color scheme you like, menu items are not quite separated, use this plugin! This plugin adds a new admin color scheme to your WP site, strikes a balance between earlier classical view and new flat view. Colors are similar to WordPress cla.........

Similar: 30%

Aquila Admin Color Scheme

A chic black and red color scheme for WordPress Admin (v4.0 onwards). We use this plugin for the handover to our clients to clean up the admin area from unnecessary or potentially confusing items. Many updates have been made to the admin area, including: Black and red color scheme. Dashboard meta.........

Similar: 22%

Adminimize

If you manage a multi-author WordPress blog or WordPress sites for clients, then you may have wondered if it was possible to clean up the WordPress admin area for your users? There are lots of things in the WordPress admin area that your users don’t need to see or use. This plugin help you to hide u.........

Similar: 19%

Admin UI Simplificator

The plugin simplifies the WordPress admin user interface by hiding most of the WordPress menus. This doesn't mean that the functionality is not accessible. It is just hidden. Also the admin navigation bar is cleaned as well. The plugin is intended to be used by developers/designers who manage WordPr.........

Similar: 11%