diff options
| author | envolute <[email protected]> | 2017-08-01 02:50:09 -0300 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2017-08-10 22:48:26 -0700 |
| commit | eeb1ccab9b4ec08682b54d7fd1c4d0d9802b991d (patch) | |
| tree | f483edad4592248830ee5fdbc5d75d2f0bd6e575 | |
| parent | 0c3ed5d3f0ceb583a39e6f29f754c7b308e002d8 (diff) | |
| download | bootstrap-eeb1ccab9b4ec08682b54d7fd1c4d0d9802b991d.tar.xz bootstrap-eeb1ccab9b4ec08682b54d7fd1c4d0d9802b991d.zip | |
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?
| -rw-r--r-- | scss/utilities/_borders.scss | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scss/utilities/_borders.scss b/scss/utilities/_borders.scss index 82e177c80..b7e91c260 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; } |
