Replaces the old light/dark toggle with 10 fixed color themes (plus Black & Grey and White) that drive a coordinated gradient palette across the whole admin UI, a Google Fonts picker, and a native-page dark-mode stylesheet that now covers modals and plugin/theme card grids. Fixes several background/gradient seams where the sidebar, toolbar, and content frame were each painting their own independent copy of the page gradient instead of sharing one continuous plane. Also adds a macOS-style traffic-light title bar to every page (close, minimize, maximize) and a persistent bottom taskbar so a minimized page can be restored from anywhere, plus a Plugins management page. Co-Authored-By: Claude Sonnet 5 <[email protected]>
45 lines
1.9 KiB
PHP
45 lines
1.9 KiB
PHP
<?php
|
|
/*
|
|
* Plugin Name: Aurora Admin
|
|
* Plugin URI: https://aurora.co
|
|
* Description: A modern, fast WordPress admin interface.
|
|
* Version: 2.0.0
|
|
* Author: Aurora
|
|
* Text Domain: aurora-admin
|
|
* Domain Path: /languages/
|
|
* Requires PHP: 7.4
|
|
* Requires at least: 5.5
|
|
* License: GPLv2 or later
|
|
*/
|
|
|
|
defined("ABSPATH") || exit();
|
|
|
|
define("AURORA_ADMIN_VERSION", "2.0.0");
|
|
define("AURORA_ADMIN_PATH", plugin_dir_path(__FILE__));
|
|
define("AURORA_ADMIN_URL", plugins_url("aurora-admin/"));
|
|
|
|
require AURORA_ADMIN_PATH . "admin/src/App/AuroraAdmin.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Options/Settings.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Utility/Assets.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Shell/MenuSerializer.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Shell/Shell.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Pages/DashboardTakeover.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Pages/SettingsPage.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Rest/DashboardData.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Analytics/Analytics.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Rest/AnalyticsData.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Rest/PluginsData.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Posts/ScheduledDayFilter.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/WhiteLabel/WhiteLabel.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Pages/SubApps.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/MenuCreator/MenuCreator.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/MenuCreator/MenuCreatorData.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Notices/Notices.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Notices/NoticesData.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/Roles/RolesData.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/ActivityLog/ActivityLog.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/ActivityLog/ActivityLogData.php";
|
|
require AURORA_ADMIN_PATH . "admin/src/DatabaseExplorer/DatabaseExplorerData.php";
|
|
|
|
new AuroraAdmin\App\AuroraAdmin();
|