=== SideTint – Color-Code Your Admin Menu ===
Contributors: fazamehmood321
Tags: admin menu, color, highlight, productivity, dashboard
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Right-click any admin sidebar menu item to highlight it with a color, so you find the menus you use most faster. Saved per user.

== Description ==

SideTint lets you color admin menu items in the WordPress dashboard. Highlight the admin menu entries you use every day and organize your WordPress admin sidebar at a glance.

A busy admin sidebar is a wall of gray text. Color-code the items you use most and your eye finds them instantly, which saves a little time on every click.

Right-click a menu item, pick one of nine colors, and it is applied immediately. No settings screen, no page reload, no configuration.

**How it works**

* Right-click any top-level or submenu item to open a compact palette.
* Or hover an item and click the small dot that appears on its right.
* Pick a color, or choose **Remove color** to clear it.
* The palette closes on Escape or when you click elsewhere.

**Built for real sites**

* Works with core menus, WooCommerce, custom post types and any plugin menu. Nothing is hard-coded to a menu name.
* Colors are stored per user, so every account keeps its own sidebar.
* Colors survive navigation because they are rendered server side, not painted in by JavaScript after the page loads.
* Survives every admin color scheme, including Midnight, Ocean and Modern.
* Admin only. Not one byte is loaded on the front end.

**Accessibility**

* All nine colors were measured against WCAG 2.1 and pass AA (4.5:1) for their label text at rest and on hover. The lowest pair is 5.14:1.
* Every swatch has a text label, and the color currently in use is marked with a checkmark and `aria-pressed`.
* Keyboard users open the picker with the context menu key, or Shift+F10, on a focused menu link. Arrow keys move between swatches, Escape closes.
* The picker is a labelled dialog and returns focus where it came from.

**Security**

* Colors can only ever be one of the nine palette slugs. There is no free-text color field, so no CSS can be injected through the picker.
* Every save is nonce-checked and capability-checked, and a user can only write to their own preference.
* Stored values are re-validated on read, so a hand-edited database row cannot widen what reaches the stylesheet.

== Installation ==

1. In the admin, go to **Plugins → Add Plugin**.
2. Search for **SideTint**, then select **Install Now** and **Activate**.
3. Right-click any item in the admin sidebar to color it.

To install manually, upload the `sidetint` folder to `wp-content/plugins/` and activate **SideTint – Color-Code Your Admin Menu** from the Plugins screen.

== Frequently Asked Questions ==

= Where are the settings? =

There aren't any. The picker is the interface. Right-click a menu item, or hover it and click the dot on its right.

= Do my colors affect other users? =

No. Colors are saved against your own account. Every user sets their own, and nobody sees anyone else's.

= Can I use my own hex colors? =

Not in the free version. The palette is deliberately closed: it keeps the nine colors distinct and readable, it guarantees the contrast of the labels, and it means no arbitrary CSS can reach the page.

= Does it work with WooCommerce and my other plugins? =

Yes. The plugin reads whatever menu WordPress is about to render, so core menus, WooCommerce, custom post types and plugin menus are all colorable without any configuration.

= Does it slow the admin down? =

No. There is one small stylesheet, one small script, and no extra database queries: the colors come from the user record WordPress has already loaded.

= How do I remove all my colors? =

Open the picker on each colored item and choose **Remove color**. Deleting the plugin removes every stored color for every user.

= Does it work on a phone or tablet? =

Yes. Where there is no hover, the color dots stay visible so you can tap them.

== Screenshots ==

1. Right-click any admin menu item to open the palette and pick a color. Here Products, Analytics and Appearance are already colored.

== Changelog ==

= 1.0.0 =
* Initial release.

== Upgrade Notice ==

= 1.0.0 =
Initial release.
