=== Digibitz Admin Theme ===
Contributors: digibitznl
Tags: admin, dashboard, command palette, admin ui, dark mode
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.1
Stable tag: 2.43.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A calm, clear WordPress admin with a command palette, a notice center and per-role visibility of menu items.

== Description ==

Digibitz Admin Theme restyles the WordPress admin into a quiet, well organised place. It uses hooks only: no core files are overridden, and forms and meta boxes are never moved in the DOM. Without JavaScript everything keeps working like native WordPress.

**What is in Digibitz Admin Theme**

* Design system: fonts, buttons, cards, tables, notices, light, dark and auto themes and three densities (comfortable, compact, dense). The WordPress screens follow the same style.
* Admin shell: a grouped sidebar, a topbar with search and user menu, a simple view and a focus mode.
* Search and command palette (Ctrl/Cmd+K) for posts, pages, media, users and settings, with keyboard shortcuts.
* Admin notices: notices move into a panel behind a bell, grouped per plugin. You can mute a kind of notice for yourself or, as an administrator, for a role.
* Visibility per role: hide the menu items of WordPress and of every plugin for a role, and look at the admin as another role. Capabilities never change.
* Save bar, smooth navigation, guides, Help panel and a few small time savers such as a start page after login.
* Safe mode, and a list of screens where the plugin stays off.
* Lightweight: assets load only on the screens where a part is active, and the frontend gets nothing except one search item in the admin bar for logged-in users who see that bar.

**Free and Pro**

Digibitz Admin Theme is complete on its own and needs no account, no license and no other plugin. Addofy Pro has more: order, product and customer screens for WooCommerce, saved views, notifications, an edit panel, visibility for meta boxes, columns, notices and dashboard widgets, moving content between sites, multisite tools and more. The Modules page of Digibitz Admin Theme shows these parts with a lock and a link to the Pro page. Nothing is switched off in Digibitz Admin Theme to push you: the locked parts are simply not in this plugin.

If you install Addofy Pro, Digibitz Admin Theme switches itself off and your settings stay.

== Installation ==

1. Upload the `addofy-light` folder to `/wp-content/plugins/`, or install the plugin under Plugins > Add New, and activate it.
2. Open Admin Theme in the admin menu. Modules switches parts on or off, Access sets what each role sees in the menu.
3. Press Ctrl/Cmd+K anywhere to open the command palette.

If something looks wrong on a screen, add it to the excluded screens on the Tools tab, or turn on safe mode with `define( 'ADBA_SAFE_MODE', true );` or `wp adba safe-mode on`.

== Frequently Asked Questions ==

= Do I need an account or a license? =

No. Digibitz Admin Theme is free and works on its own.

= Does it change what users are allowed to do? =

No. The plugin only changes what is shown. Capabilities and permissions are never touched.

= Does it work with WooCommerce? =

Yes. The WooCommerce screens get the same look. The WooCommerce specific parts (product editor, order screen, customers) are in Addofy Pro.

= Does it affect my website frontend? =

Hardly. Visitors get nothing. Logged-in users who see the admin bar get one search item there, which opens the command palette; its small script and stylesheet load only for them.

= What happens to my settings when I remove the plugin? =

By default they are kept. On the Tools tab you can choose to delete all plugin data when the plugin is deleted. If Addofy Pro is installed, Digibitz Admin Theme never deletes the shared settings.

= Does it contact other servers? =

No. The links to the Pro page on the Modules and Tools pages only open when you click them.

= Where is the source code of the compressed files? =

In the plugin itself, in `assets/src`. See the section Source code and build below.

== Source code and build ==

All JavaScript and CSS of this plugin ships in readable form inside the plugin. The minified files in `assets/dist` are generated from the source files in `assets/src`, file for file under the same path. For example `assets/dist/modules/shell/module.js` is built from `assets/src/modules/shell/module.js`, and `assets/dist/lazy/confirm.js` from `assets/src/lazy/confirm.js`. The three `chrome.css` files are a reduced copy of the stylesheet next to them, made by `build-chrome-css.mjs`.

To build the files again:

1. Install Node.js 18 or newer.
2. Run `npm install` in the plugin folder. This installs esbuild, the only build dependency (see `package.json`).
3. Run `npm run build`. The build script is `build.mjs`, which uses `build-chrome-css.mjs` and `build-flatten-is.mjs` from the same folder.

== Third party code ==

* Inter font by The Inter Project Authors, SIL Open Font License 1.1. The license is in `assets/fonts/inter/LICENSE.txt`.

== Changelog ==

= 2.43.1 =
* First release of Digibitz Admin Theme.
