Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m47s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m41s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m8s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m6s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m25s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 5m23s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 4m39s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 4m40s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m8s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
31 lines
1.1 KiB
PHP
31 lines
1.1 KiB
PHP
<?php
|
||
|
||
namespace App\Filament\Pages\Appearance;
|
||
|
||
use BackedEnum;
|
||
use Filament\Forms\Components\Textarea;
|
||
use Filament\Support\Icons\Heroicon;
|
||
|
||
class AppearanceAdvanced extends AppearancePage
|
||
{
|
||
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedCodeBracket;
|
||
|
||
protected static int $formColumns = 1;
|
||
|
||
protected static ?int $navigationSort = 7;
|
||
|
||
protected static ?string $navigationLabel = 'Erweitert';
|
||
|
||
protected static ?string $title = 'Erweitert';
|
||
|
||
protected static ?string $slug = 'erweitert';
|
||
|
||
protected function fields(): array
|
||
{
|
||
return [
|
||
Textarea::make('custom_css')->label('Eigenes CSS')->rows(12)->maxLength(50000)
|
||
->extraInputAttributes(['class' => 'font-mono text-xs', 'spellcheck' => 'false'])
|
||
->helperText('Für Fortgeschrittene. Wird nach dem Portal-CSS geladen und bei Aktualisierungen unverändert übernommen. Klassennamen können sich mit neuen Versionen ändern – bitte nach jedem Update prüfen. Verfügbare Variablen: --brand, --brand-50 … --brand-950, --radius, --font-body, --font-heading.'),
|
||
];
|
||
}
|
||
}
|