From ce166fe692152f9e6cc48c7fd73a8aebfb7a101e Mon Sep 17 00:00:00 2001 From: Adam Wathan Date: Fri, 4 Aug 2017 17:03:48 -0400 Subject: [PATCH] Start border scale at 0 I thought putting it at the end as a disabler would be more useful but turns out it's actually more useful for removing default borders on elements that already have them, like `hr` for example. By putting zero first, I can remove the default border and still apply my own border. --- src/utilities/borders.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utilities/borders.less b/src/utilities/borders.less index 6252992f0..7353953f4 100644 --- a/src/utilities/borders.less +++ b/src/utilities/borders.less @@ -14,11 +14,11 @@ // Base @border-width-scale: + '0' 0, default 1px, '2' 2px, '4' 4px, '8' 8px, - '0' 0, ; .define-border-widths(@border-width-scale; @default-border-color; @screens);