Skip to content

Commit d9343a8

Browse files
authored
Merge pull request #2 from swrobel/patch-1
Make it possible to override/add color styles
2 parents 4965c17 + 453545c commit d9343a8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

src/scss/decorators/_color.scss

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
$outline-colors:primary outline-primary #428bca , success outline-success #5cb85c,info outline-info #5bc0de,warning outline-warning #f0ad4e,danger outline-danger #d9534f;
1+
$outline-colors: (
2+
primary outline-primary #428bca,
3+
success outline-success #5cb85c,
4+
info outline-info #5bc0de,
5+
warning outline-warning #f0ad4e,
6+
danger outline-danger #d9534f
7+
) !default;
28

39
@each $color in $outline-colors{
410
.#{$pretty-class-name}.#{nth($color,1)}{
@@ -47,4 +53,4 @@ $outline-colors:primary outline-primary #428bca , success outline-success #5cb85
4753
}
4854

4955
}
50-
}
56+
}

0 commit comments

Comments
 (0)