Remove the extensible theme catalog (config/themes.php + ThemeConfigGateway) in favor of a two-entry const on SettingsAppGateway. appThemes() now returns the list directly — no container lookup, no file include. Drop the dark-green theme assets, narrow [data-theme^="dark"] selectors to [data-theme="dark"], and tighten isDarkTheme() to an exact match. Ship an idempotent migration that corrects any leftover 'dark-green' rows on users and tenants to safe defaults (light / NULL). Tenant scoping (default_theme, allow_user_theme) and per-user override stay intact; only the catalog extensibility and the third theme are removed. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
47 lines
1.4 KiB
PHP
47 lines
1.4 KiB
PHP
<?php
|
|
|
|
return [
|
|
'styles' => [
|
|
'groups' => [
|
|
'base' => [
|
|
'css/app-layers.css',
|
|
'css/base/variables.base.css',
|
|
'css/base/variables.contrast.css',
|
|
],
|
|
'shared' => [
|
|
'css/components/app-badges.css',
|
|
'css/layout/app-shell.css',
|
|
'css/components/app-dialog.css',
|
|
'css/components/app-blockquote.css',
|
|
'css/components/app-forms.css',
|
|
'css/components/app-flash.css',
|
|
'css/components/app-brand.css',
|
|
'css/components/app-file-upload.css',
|
|
'css/components/app-footer.css',
|
|
],
|
|
'core' => [
|
|
'css/core.css',
|
|
'css/components/app-details-validation-summary.css',
|
|
],
|
|
'login' => [
|
|
'css/pages/app-login.css',
|
|
],
|
|
'error' => [
|
|
'css/pages/app-error.css',
|
|
],
|
|
'page-layout' => [
|
|
'css/layout/app-page-layout.css',
|
|
],
|
|
'docs' => [
|
|
'css/pages/app-docs.css',
|
|
],
|
|
],
|
|
'templates' => [
|
|
'default' => ['base', 'core'],
|
|
'login' => ['base', 'shared', 'login'],
|
|
'error' => ['base', 'error'],
|
|
'page' => ['base', 'shared', 'page-layout'],
|
|
],
|
|
],
|
|
];
|