mirror of
https://github.com/filamentphp/filament.git
synced 2026-09-24 15:42:09 +08:00
Merge pull request #9665 from binaryfire/add-panel-colors-getter
Add panel colors getter
This commit is contained in:
@@ -20,4 +20,12 @@ trait HasColors
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array<string, array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string} | string>
|
||||
*/
|
||||
public function getColors(): array
|
||||
{
|
||||
return $this->colors;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user