=== Dprime Admin ===
Contributors: dprimesolutions
Tags: admin, theme, branding, sidebar, footer
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 8.2
Stable tag: 2.1.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Branded WordPress admin theme with appearance presets, colour controls, footer branding, and role based menu visibility.

== Description ==

Reskins the WordPress admin area with a preset appearance system, full colour controls, footer branding, and a menu visibility table for controlling what each user role sees.

Main features:

* Four appearance presets: Dprime Navy, Blue, Ink, and Sand
* Colour pickers for admin bar, sidebar, text, and accent colours
* Footer branding with custom text and link
* Menu visibility table: hide any top level menu item from any role
* Master toggle to turn the theme on or off without changing settings
* Help tab with plain explanations for every setting
* Nests under the Dprime parent menu when Dprime Core is installed
* Leaves the settings pages of other Dprime plugins untouched, they carry the Dprime design system already

== Installation ==

1. Upload the dprime-admin folder to /wp-content/plugins/
2. Activate the plugin from the Plugins screen
3. Go to Admin in your sidebar, or Dprime and then Admin when Dprime Core is installed
4. Pick an appearance preset and adjust colours if needed
5. Click Save changes

== Frequently Asked Questions ==

= Does this plugin need Dprime Core? =

No. Dprime Admin works fully on its own. If Dprime Core is installed, Admin nests under the Dprime parent menu automatically.

= Will my existing colour settings be kept after an update? =

Yes. The option key has not changed since version 1.7.4. Your colours, footer branding, and menu rules carry forward across updates.

= Can I hide the admin bar from certain roles too? =

The admin bar on the front end is handled by a separate plugin: Dprime Hide Admin Bar. Install it alongside this one for front end toolbar control.

= What happens if I turn off the theme toggle? =

WordPress admin reverts to its default appearance. Your colour settings stay saved and come back when you turn the toggle on again.

= Why do Dprime plugin settings pages look different from the rest of wp-admin? =

Dprime plugin pages ship their own design system styling. The theme detects those screens and skips its content restyling there, so the two never fight.

== Screenshots ==

1. The Admin settings page with appearance presets and colour controls
2. The menu visibility table showing which items are hidden per role
3. The Help tab with settings explanations

== Changelog ==

= 2.1.1 =
* Added request-level option caching with immediate invalidation after settings updates.
* Promoted the verified release to the stable channel.

= 2.0.0 =
* Rebuilt on Design System v6: cream canvas, ink hairlines, Geist type, pill buttons and tabs
* Appearance presets replaced with the v6 palette: Dprime Navy, Blue, Ink, and Sand
* Content restyling no longer applies on Dprime plugin screens, fixing conflicts with other Dprime plugins
* Menu registration follows the standard Dprime pattern: own top level menu at position 57, or a submenu when the Dprime Core parent exists
* All Dprime plugin menu items are protected from menu visibility rules
* Settings page rebuilt with server side tabs, toggle rows, and a reset confirmation modal

= 1.9.0 =
* AJAX quick apply for appearance presets and colour swatches
* Update URI added to the plugin header
* uninstall.php removes plugin options on deletion

= 1.8.0 =
* Added includes/help.php as a standalone include with full Help tab documentation
* Added override CSS class documentation

= 1.7.9 =
* Kept Dprime Admin under the Dprime menu at all times
* Added a Dprime parent menu fallback when no other Dprime menu exists

= 1.7.7 =
* Added four appearance presets for the WordPress admin style
* Added menu visibility rules for hiding selected top level admin menu items from chosen roles

== Upgrade Notice ==

= 2.0.0 =
Major visual update to Design System v6 and a conflict fix for other Dprime plugin screens. Saved colours are kept. The default presets changed, so custom colour sets now show as Custom.
