Should I (and how?) set the primary color to it. Or is my best option to create a custom class like I did and add the gradient to that. Then add it to every element? (Would prefer to use the theme manager as much as possible to prevent mistakes/extra work)
PS where are the scss/_variables.scss sass files as found here: shttps://getbootstrap.com/docs/5.0/customize/color/ ?
Do you want to do this for ALL elements using primary color? Or only for the buttons background?
What about the text using the primary color as a text color?
@Teodor Good point.
I wouldn’t want that for the text using the primary color as text. You’re right - my goal is to have this gradient for all buttons background.
No, you should never edit the bootstrap css files.
Create a separate css file, include it after the bootstrap css include and add your overrides there.