Skip to content

Commit bdf5c2f

Browse files
committed
Use variables on .styled
1 parent ec7d9df commit bdf5c2f

2 files changed

+4
-4
lines changed

awesome-bootstrap-checkbox.less

+2-2
Original file line numberDiff line numberDiff line change
@@ -195,8 +195,8 @@
195195
input[type="checkbox"],
196196
input[type="radio"] {
197197
&.styled:checked + label:after {
198-
font-family: 'FontAwesome';
199-
content: "\f00c";
198+
font-family: @font-family-icon;
199+
content: @fa-var-check;
200200
}
201201
& .styled:checked + label {
202202
&::before {

awesome-bootstrap-checkbox.scss

+2-2
Original file line numberDiff line numberDiff line change
@@ -197,8 +197,8 @@ $font-family-icon: 'FontAwesome' !default;
197197
input[type="checkbox"],
198198
input[type="radio"] {
199199
&.styled:checked + label:after {
200-
font-family: 'FontAwesome';
201-
content: "\f00c";
200+
font-family: $font-family-icon;
201+
content: $fa-var-check;
202202
}
203203
& .styled:checked + label {
204204
&::before {

0 commit comments

Comments
 (0)