gutacher kopf farben

This commit is contained in:
salam committed 2025-10-16 20:18:46 +02:00
1 parent 00cdc5b152
commit a16cf05a8f
3 files changed
+61 -26

No files matched your search

@@ -4,8 +4,8 @@ namespace App\Filament\Resources\Gutachters\Schemas;
use Filament\Forms\Components\CheckboxList;
use Filament\Forms\Components\FileUpload;
use Filament\Forms\Components\RichEditor;
use Filament\Forms\Components\Select;
use Filament\Forms\Components\Textarea;
use Filament\Forms\Components\TextInput;
use Filament\Schemas\Components\Tabs;
use Filament\Schemas\Components\Tabs\Tab;
@@ -23,12 +23,40 @@ class GutachterForm
->tabs([
Tab::make('Firmenname')
->icon('lucide-stamp')
->inlineLabel()
->schema([
TextInput::make('company')
->label('Firma')
->required(),
Textarea::make('address')
RichEditor::make('address')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->toolbarButtons([
['bold', 'italic', 'underline', 'horizontalRule', 'clearFormatting'],
['h1', 'h2', 'h3', 'alignStart', 'alignCenter', 'alignEnd', 'alignJustify'],
['undo', 'redo', 'textColor'],
])
->textColors([
'#fb2c36' => 'Rot',
'#ff6900' => 'Orange',
'#fe9a00' => 'Bernstein',
'#f0b100' => 'Gelb',
'#7ccf00' => 'Limette',
'#00c950' => 'Grün',
'#00bc7d' => 'Smaragd',
'#00bba7' => 'Blaugrün',
'#00b8db' => 'Cyan',
'#00a6f4' => 'Himmelblau',
'#2b7fff' => 'Blau',
'#615fff' => 'Indigo',
'#8e51ff' => 'Violett',
'#ad46ff' => 'Lila',
'#e12afb' => 'Fuchisa',
'#f6339a' => 'Rosa',
'#ff2056' => 'Rose',
'#a6a09b' => 'Steingrau Hell',
'#44403b' => 'Steingrau Dunkel',
'#cad5e2' => 'Schiefer Hell',
'#314158' => 'Schiefer Dunkel',
])
->label('Adresse')
->required(),
]),