Skip to content

Commit 35d2cc2

Browse files
committed
Merge pull request #20 from brunowego/patch-1
Add variable for font family
2 parents 2c945f5 + 2249ae5 commit 35d2cc2

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

awesome-bootstrap-checkbox.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
// Checkboxes
33
// --------------------------------------------------
44

5+
$font-family-icon: 'FontAwesome' !default;
6+
57
@mixin checkbox-variant($parent, $color) {
68
#{$parent} input[type="checkbox"]:checked + label{
79
&::before {
@@ -61,7 +63,7 @@
6163
}
6264

6365
&:checked + label::after{
64-
font-family: 'FontAwesome';
66+
font-family: $font-family-icon;
6567
content: $fa-var-check;
6668
}
6769

@@ -192,4 +194,4 @@
192194
@include radio-variant('.radio-danger', $brand-danger);
193195
@include radio-variant('.radio-info', $brand-info);
194196
@include radio-variant('.radio-warning', $brand-warning);
195-
@include radio-variant('.radio-success', $brand-success);
197+
@include radio-variant('.radio-success', $brand-success);

0 commit comments

Comments
 (0)