PHPackages                             hyyan/admin-color-schema - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. hyyan/admin-color-schema

AbandonedArchivedWordpress-plugin[Utility &amp; Helpers](/categories/utility)

hyyan/admin-color-schema
========================

A wordpress plugin to enable wordpress themes to add its own admin color schema directly from theme

0.4.4(11y ago)373MITCSSPHP &gt;=5.3.2

Since Oct 5Pushed 11y ago1 watchersCompare

[ Source](https://github.com/hyyan/admin-color-schema)[ Packagist](https://packagist.org/packages/hyyan/admin-color-schema)[ RSS](/packages/hyyan-admin-color-schema/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (11)Used By (0)

[Wordpress Admin Color Schema ](https://github.com/hyyan/admin-color-schema/)
=============================================================================

[](#wordpress-admin-color-schema-)

[![project status](https://camo.githubusercontent.com/4fec26921c31cc51a207f43b590aa0f0fda3e5b1eaf32653c96ac95c0f6feb0d/687474703a2f2f7374696c6c6d61696e7461696e65642e636f6d2f687979616e2f61646d696e2d636f6c6f722d736368656d612e706e67)](http://stillmaintained.com/hyyan/admin-color-schema)[![Latest Stable Version](https://camo.githubusercontent.com/ee5f4715287e97cb39fe2cd170d0ee910eedbd8dcb7669fc515fa4ff9180eaf4/68747470733a2f2f706f7365722e707567782e6f72672f687979616e2f61646d696e2d636f6c6f722d736368656d612f762f737461626c652e737667)](https://packagist.org/packages/hyyan/admin-color-schema)[![Total Downloads](https://camo.githubusercontent.com/fba9672bd2761632b3137207feeb47d14c626c2765f9ec524fbfadf5e7cd560a/68747470733a2f2f706f7365722e707567782e6f72672f687979616e2f61646d696e2d636f6c6f722d736368656d612f646f776e6c6f6164732e737667)](https://packagist.org/packages/hyyan/admin-color-schema)[![License](https://camo.githubusercontent.com/e097c9c015df5e353225a4a209a5b5b9cc8ec4487ee203a572f29eea94365d3d/68747470733a2f2f706f7365722e707567782e6f72672f687979616e2f61646d696e2d636f6c6f722d736368656d612f6c6963656e73652e737667)](https://packagist.org/packages/hyyan/admin-color-schema)

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

Features
--------

[](#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

How to install
--------------

[](#how-to-install)

### Classical way

[](#classical-way)

1. Download the plugin as zip archive and then upload it to your wordpress plugins folder and extract it there.
2. Activate the plugin from your admin panel

### Composer way

[](#composer-way)

1. run composer command : ` composer require hyyan/admin-color-schema`

Example
-------

[](#example)

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

[![ScreenShot](https://camo.githubusercontent.com/a839c0416f692330d283e217cd782201d102425b33f7ce3c68646a9763804be2/68747470733a2f2f7261772e6769746875622e636f6d2f687979616e2f61646d696e2d636f6c6f722d736368656d612f6d61737465722f6578616d706c652f4461726b2f73637265656e73686f742e706e67)](https://camo.githubusercontent.com/a839c0416f692330d283e217cd782201d102425b33f7ce3c68646a9763804be2/68747470733a2f2f7261772e6769746875622e636f6d2f687979616e2f61646d696e2d636f6c6f722d736368656d612f6d61737465722f6578616d706c652f4461726b2f73637265656e73686f742e706e67)

How to use
----------

[](#how-to-use)

### Plugin configutaion

[](#plugin-configutaion)

The plugin comes with following configuration as default :

```
$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_filters` function like in the following example :

```
// 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

[](#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`
3. Create `schema.ini` file and configure it like in the following example :

```
; 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
```

4. create 'colors.scss' like the following example then complie it into `colors.css`

```
$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;

@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

Contributing
------------

[](#contributing)

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

- Reporting issues (please read [issue guidelines](https://github.com/necolas/issue-guidelines))
- Suggesting new features
- Writing or refactoring code
- Fixing [issues](https://github.com/hyyan/admin-color-schema/issues)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~10 days

Recently: every ~17 days

Total

9

Last Release

4211d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4313420?v=4)[Hyyan Abo Fakher](/maintainers/hyyan)[@hyyan](https://github.com/hyyan)

---

Tags

wordpresswordpress pluginbedrockhyyanwordpress adminwordpress mupluginwordpress widgetwordpress admin color schema

### Embed Badge

![Health badge](/badges/hyyan-admin-color-schema/health.svg)

```
[![Health](https://phpackages.com/badges/hyyan-admin-color-schema/health.svg)](https://phpackages.com/packages/hyyan-admin-color-schema)
```

###  Alternatives

[roots/bedrock

WordPress boilerplate with Composer, easier configuration, and an improved folder structure

6.5k463.8k2](/packages/roots-bedrock)[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.5k10](/packages/helsingborg-stad-municipio)[roots/wp-stage-switcher

WordPress plugin that allows you to switch between different environments from the admin bar

383469.2k3](/packages/roots-wp-stage-switcher)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
