Rebrand Hub+Flux
This commit is contained in:
parent
0a3e52d603
commit
9b47296cea
130 changed files with 9357 additions and 3345 deletions
|
|
@ -1,10 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
{{--
|
||||
Hub × FluxUI Phase 1 — Portal-Shell im Hub-Design.
|
||||
class="dark" wurde entfernt; Light Mode ist Default, Dark kommt mit
|
||||
FluxUI Appearance-Switcher in Phase 5.
|
||||
Hub × FluxUI Phase 5 — Portal-Shell im Hub-Design.
|
||||
Erscheinung (Light/Dark) wird über FluxUI Appearance-Switcher
|
||||
gesteuert. Server liest das `flux_appearance`-Cookie (gesetzt vom
|
||||
JS-Bridge in partials/head.blade.php) und rendert class="dark"
|
||||
direkt im <html>, damit es bei wire:navigate kein Theme-Flash gibt.
|
||||
Bei fehlendem Cookie (Erstbesuch) wird Light gerendert und das JS
|
||||
schaltet bei dunkler Präferenz nach Page-Load nach — der einmalige
|
||||
Flash beim allerersten Aufruf ist akzeptiert.
|
||||
--}}
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
||||
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" @class(['dark' => request()->cookie('flux_appearance') === 'dark'])>
|
||||
<head>
|
||||
@include('partials.head')
|
||||
</head>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue