From: envolute Date: Tue, 1 Aug 2017 05:50:09 +0000 (-0300) Subject: Change border class X-Git-Tag: v4.0.0-beta.2~435 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eeb1ccab9b4ec08682b54d7fd1c4d0d9802b991d;p=thirdparty%2Fbootstrap.git Change border class 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? --- diff --git a/scss/utilities/_borders.scss b/scss/utilities/_borders.scss index 82e177c80b..b7e91c2607 100644 --- a/scss/utilities/_borders.scss +++ b/scss/utilities/_borders.scss @@ -2,7 +2,7 @@ // Border // -.border { border: 1px solid $gray-200 !important; } +.border { border: $border-width solid $border-color !important; } .border-0 { border: 0 !important; } .border-top-0 { border-top: 0 !important; } .border-right-0 { border-right: 0 !important; }