Neue Seitenköpfe, global wählbar (0.48.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m29s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m31s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m36s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m33s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m56s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 12m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m58s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 50s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m13s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 7m29s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 7m31s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 9m3s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 9m36s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 13m33s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 13m56s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 12m35s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 11m58s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 50s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m13s
- PageHeader: Kopfband (Standard, kompakt), Kopfband mit Symbol, mit Symbol, kräftiger Titel – Einstellung page_header im Erscheinungsbild - Symbol vom passenden Menüpunkt (aktiv oder per Adresse), Prop icon - In Spalten (z. B. Downloads) schlichte Form statt Band - Zurück-Links als breadcrumbs (IT-Service), Profil bearbeiten mit PageHeader - Plugin-Assets: Fingerabdruck berücksichtigt Änderungszeiten der Dateien Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
36a58d4748
commit
800e267e1c
144 changed files with 524 additions and 390 deletions
|
|
@ -24,6 +24,7 @@ class Theme
|
|||
'secondary_color' => null,
|
||||
'header_style' => 'light',
|
||||
'nav_style' => 'bar',
|
||||
'page_header' => 'band',
|
||||
'font_body' => 'inter',
|
||||
'font_heading' => 'same',
|
||||
'custom_font' => null,
|
||||
|
|
@ -51,6 +52,14 @@ class Theme
|
|||
/** Hauptmenü am PC: Leiste in der Kopfzeile oder – wie auf dem Handy – ein Burger-Menü */
|
||||
public const NAV_STYLES = ['bar' => 'Leiste in der Kopfzeile', 'burger' => 'Burger-Menü (wie auf dem Handy)'];
|
||||
|
||||
/** Gestaltung der Seitenköpfe (Titel, Beschreibung, Aktionen oben auf jeder Seite) */
|
||||
public const PAGE_HEADERS = [
|
||||
'band' => 'Kopfband – weißes Band über die volle Breite',
|
||||
'band_icon' => 'Kopfband mit Symbol des Bereichs',
|
||||
'icon' => 'Mit Symbol des Bereichs',
|
||||
'bold' => 'Kräftiger Titel mit Akzentstrich',
|
||||
];
|
||||
|
||||
public const RADII = ['none' => ['Eckig', '0rem'], 'small' => ['Leicht gerundet', '0.25rem'], 'medium' => ['Gerundet', '0.5rem'], 'large' => ['Stark gerundet', '0.75rem'], 'round' => ['Rund', '1rem']];
|
||||
|
||||
public const DENSITIES = ['compact' => ['Kompakt', '0.225rem'], 'normal' => ['Normal', '0.25rem'], 'comfortable' => ['Luftig', '0.275rem']];
|
||||
|
|
@ -184,6 +193,7 @@ class Theme
|
|||
$theme['secondary_color'] = $hex($theme['secondary_color']);
|
||||
$theme['header_style'] = array_key_exists($theme['header_style'], self::HEADER_STYLES) ? $theme['header_style'] : 'light';
|
||||
$theme['nav_style'] = array_key_exists((string) ($theme['nav_style'] ?? ''), self::NAV_STYLES) ? $theme['nav_style'] : 'bar';
|
||||
$theme['page_header'] = array_key_exists((string) ($theme['page_header'] ?? ''), self::PAGE_HEADERS) ? $theme['page_header'] : 'band';
|
||||
$theme['font_body'] = array_key_exists($theme['font_body'], Fonts::FONTS) || ($theme['font_body'] === 'custom' && $theme['custom_font']) ? $theme['font_body'] : 'inter';
|
||||
$theme['font_heading'] = $theme['font_heading'] === 'same' || array_key_exists($theme['font_heading'], Fonts::FONTS) || ($theme['font_heading'] === 'custom' && $theme['custom_font']) ? $theme['font_heading'] : 'same';
|
||||
$theme['radius'] = array_key_exists($theme['radius'], self::RADII) ? $theme['radius'] : 'medium';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue