style: run rector
This commit is contained in:
@@ -193,7 +193,7 @@ class PanelSettings extends AbstractPageSettings
|
||||
->rgb()
|
||||
->regex('/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/')
|
||||
->live()
|
||||
->afterStateUpdated(function ($state, callable $set): void {
|
||||
->afterStateUpdated(function (string $state, callable $set): void {
|
||||
$shades = ColorHelper::generateOklchFromRGBShades($state);
|
||||
$set('panel_color_shade_' . $this->getPanelID(), $shades ?? '// Invalid RGB');
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user