Update Button Text Color

I can see in the docs how to update the button's background color, but it doesn't say how to change the text color.
3 Replies
Vp
Vp5d ago
Maybe like this ->extraAttributes(['style' => 'color: red'])
Dennis Koch
Dennis Koch5d ago
Because that’s none of the theming options. If you want to change something it that direction use a Theme and add a class or as Vp mentioned use inline styles directly
Matthew
Matthew4d ago
Although prepare for nobody to talk to you in the canteen if you PR inline styles 😆

Did you find this page helpful?