Primary color set as an array not working.

Hello! I have tried to use custom color pallet as described in the docs https://filamentphp.com/docs/3.x/panels/themes#changing-the-colors I have added it to the $panel like so:
->colors([
'primary' => [
50 => '253, 238, 229',
100 => '246, 176, 111',
200 => '234, 150, 63',
300 => '240, 124, 15',
400 => '213, 111, 14',
500 => '192, 73, 32',
600 => '166, 59, 30',
700 => '140, 45, 28',
800 => '115, 32, 26',
900 => '89, 18, 23',
950 => '77, 12, 20',
],
])
->colors([
'primary' => [
50 => '253, 238, 229',
100 => '246, 176, 111',
200 => '234, 150, 63',
300 => '240, 124, 15',
400 => '213, 111, 14',
500 => '192, 73, 32',
600 => '166, 59, 30',
700 => '140, 45, 28',
800 => '115, 32, 26',
900 => '89, 18, 23',
950 => '77, 12, 20',
],
])
using class on an element like bg-primary-500 works, but shades are not applying. I ran npm run build command.
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server