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
The class ".border" (css/utilities/_borders.scss) is set the border-color to "$gray-200".
So I see that it would be nice to create a variable for the border color "$border-color". Because the default border should not always be "gray-200".
Another thing, there is a "$border-width" variable. Would not it be better to use this variable to set the default width of the border?
If you're talking about classes like ".border-success, .border-primary, .border-danger", they are already defined!
The question here is referring to the "default" border. Let's say I want the default border to be darker, something like gray-400. The way it is has no way to change without an additional class or change the file "_borders.scss" (which I would not do)
Well, this change is quite obvious to me. I think, for my part, it was more a warning than a suggestion ...
The class ".border" (css/utilities/_borders.scss) is set the border-color to "$gray-200".
So I see that it would be nice to create a variable for the border color "$border-color". Because the default border should not always be "gray-200".
Another thing, there is a "$border-width" variable. Would not it be better to use this variable to set the default width of the border?
In this case we would have in "_variables.scss"
And in "_borders.scss"
.border { border: $border-width solid $border-color !important; }
The text was updated successfully, but these errors were encountered: