Follow

Ok nerds, I'm working on creating a theme for bootstrap 5.2, I'm making changes to buttons, specifically the padding, and building bootstrap from sass.

I can override --bs-btn-padding-y in the relevant class, or I can override $btn-padding-y (or $input-btn-padding-y) in the sass. What's the difference here? I think the former is easier to read and find, but that's the only distinguishing feature I can find on the face of it.

Sign in to participate in the conversation
CleverLibre Social

CleverLibre Social is an inclusive social instance for open discussion, learning, and community.
All cultures welcome.
Hate speech and harassment strictly forbidden.