label('Schrift')->options(fn (Get $get) => Fonts::options((bool) $get('custom_font')))->required()->native(false), Select::make('font_heading')->label('Schrift für Überschriften')->options(fn (Get $get) => ['same' => 'Wie die Schrift'] + Fonts::options((bool) $get('custom_font')))->required()->native(false), FileUpload::make('custom_font')->label('Eigene Schrift (WOFF2)') ->helperText('Z. B. die Hausschrift aus dem Corporate Design. Wird lokal ausgeliefert – keine Verbindung zu Google oder anderen Diensten. Bitte die Lizenz für die Nutzung im Web beachten.') ->disk('uploads')->directory('theme/fonts')->visibility('public')->maxSize(2048) ->acceptedFileTypes(['font/woff2', 'application/font-woff2', 'application/octet-stream']) ->getUploadedFileNameForStorageUsing(fn ($file) => SafeUpload::name($file, 'woff2')) ->rule('extensions:woff2')->live()->columnSpanFull(), Radio::make('radius')->label('Ecken')->options(collect(Theme::RADII)->map(fn ($r) => $r[0])->all())->inline()->required(), Radio::make('density')->label('Abstände')->options(collect(Theme::DENSITIES)->map(fn ($d) => $d[0])->all())->inline()->required(), Radio::make('dark_mode')->label('Dunkelmodus')->options(Theme::DARK_MODES)->required()->columnSpanFull(), ]; } }