Customise color depth?

I have an action with: ->color('danger') I'm happy with the color itself, but I want to change the 'depth/shade' of the color (ie. bg-red-300 vs bg-red-700). When I look at the 'Trait HasColor', it has the following comment: Parameters: string|array{50: string, 100: string, 200: string, 300: string, 400: string, 500: string, 600: string, 700: string, 800: string, 900: string, 950: string}|Closure|null $color This suggests to me there is a way to pass through the depth of color I want, but I haven't been able to work out how. I'm probably being stupid. I would have throught it would be something like: ->color('danger', 200) Any ideas?
0 Replies
No replies yetBe the first to reply to this messageJoin