Phase 5: Erscheinungsbild mit Entwurf, Vorschau und Veröffentlichen
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m7s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m11s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 2m16s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 2m18s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m49s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 2m46s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 2m41s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 2m33s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m0s
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 2m7s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 2m11s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 2m16s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 2m18s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 2m49s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 2m46s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 2m41s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 2m33s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m0s
- Theme in den Einstellungen (Entwurf/veröffentlicht), Übernahme der Einstellungen aus Phase 0; statische CSS-Datei mit Hash beim Veröffentlichen - Logos hell/dunkel, Signet, App-Symbol → Favicon, Homescreen-Symbole, Web-App-Manifest; SVG-Bereinigung - Markenfarbe exakt, zweite Akzentfarbe, Kopfleiste hell/Marke/dunkel, Kontrastprüfung (WCAG AA) mit automatisch lesbarer Linkfarbe - Lokale Schriften (Latein), Überschriften-Schrift, eigene WOFF2-Schrift, Ecken, Dichte, Dunkelmodus-Regel - Anmeldeseite (geteilt/zentriert, Bild, Texte), Fußzeile, E-Mails im Design - Admin: Live-Vorschau (Startseite, Anmeldung, Beispielseite; hell/dunkel), Veröffentlichen, Verwerfen, Export/Import, Zurücksetzen, eigenes CSS - Admin-Bereich übernimmt Logo, Farbe und Favicon; Whitelabel Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
ee8dde93c0
commit
82bbeef31b
148 changed files with 2884 additions and 362 deletions
|
|
@ -1,6 +1,10 @@
|
|||
@php
|
||||
$branding = app(\App\Support\Branding::class);
|
||||
$theme = auth()->user()?->theme ?? 'system';
|
||||
// Erzwungene Darstellung aus dem Erscheinungsbild, sonst die Wahl der Person; ?modus= nur für die Vorschau.
|
||||
$theme = $branding->forcedColorMode() ?? (auth()->user()?->theme ?? 'system');
|
||||
if ($branding->isPreviewing() && in_array(request()->query('modus'), ['hell', 'dunkel'], true)) {
|
||||
$theme = request()->query('modus') === 'dunkel' ? 'dark' : 'light';
|
||||
}
|
||||
@endphp
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" @class(['dark' => $theme === 'dark']) data-theme="{{ $theme }}">
|
||||
|
|
@ -10,12 +14,22 @@
|
|||
<meta name="color-scheme" content="light dark">
|
||||
<meta name="theme-color" content="{{ $branding->primaryColor() }}">
|
||||
<title inertia>{{ $branding->portalName() }}</title>
|
||||
<style>:root{ {!! $branding->cssVariables() !!} }</style>
|
||||
<link rel="icon" href="{{ $branding->faviconUrl() }}">
|
||||
@if ($branding->appleTouchIconUrl())
|
||||
<link rel="apple-touch-icon" href="{{ $branding->appleTouchIconUrl() }}">
|
||||
@endif
|
||||
<link rel="manifest" href="/manifest.webmanifest">
|
||||
@if ($theme === 'system')
|
||||
{{-- Dunkles Systemdesign vor dem ersten Zeichnen übernehmen – kein helles Aufblitzen. --}}
|
||||
<script>if (matchMedia('(prefers-color-scheme: dark)').matches) document.documentElement.classList.add('dark');</script>
|
||||
@endif
|
||||
@vite('resources/js/app.js')
|
||||
{{-- Erscheinungsbild nach dem Portal-CSS, damit seine Variablen gelten. --}}
|
||||
@if ($stylesheet = $branding->stylesheetUrl())
|
||||
<link rel="stylesheet" href="{{ $stylesheet }}">
|
||||
@else
|
||||
<style>{!! $branding->inlineCss() !!}</style>
|
||||
@endif
|
||||
@inertiaHead
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue