You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree that changes to foundation should be minimal and hopefully none. (Which is why I try to leave the behavior the same as the default with my option not present)
When it comes to sass, I don't know if it optimizes out duplicate rules with overriding attributes, but I would naively expect it to have both rules. To me, that's just more stuff going down the wire.
Unlike the inputs, there's no way to globally say for buttons "Don't give me an inset box shadow!"
My workaround for this is along the lines of the following:
For
foundation/scss/foundation/components/_buttons.scss
, I added$button-box-shadow: true !default;
near line 33.Then, around line 204, which starts out normall like
I replaced
@include inset-shadow();
withThis allows me to have the dead simple flat look I'm going for, without using mixins.
I am not familiar enough with sass to consider this a decent solution, but for me, it works.
The text was updated successfully, but these errors were encountered: