Skip to content

Commit 27a2783

Browse files
author
Adam Bradley
committed
update generator to use use prefix for group
1 parent 72428fe commit 27a2783

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

builder/generate.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ def generate_scss(data):
5757

5858
group = [ '.%s' % (data['name'].lower()) ]
5959
for ionicon in data['icons']:
60-
group.append('.%s%s' % (css_prefix, ionicon['name']) )
60+
group.append('.#{$ionicons-prefix}%s' % (ionicon['name']) )
6161

6262
d.append( ',\n'.join(group) )
6363

scss/_ionicons-icons.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -890,4 +890,4 @@
890890
.#{$ionicons-prefix}wifi:before { content: $ionicon-var-wifi; }
891891
.#{$ionicons-prefix}wineglass:before { content: $ionicon-var-wineglass; }
892892
.#{$ionicons-prefix}woman:before { content: $ionicon-var-woman; }
893-
.#{$ionicons-prefix}wrench:before { content: $ionicon-var-wrench; }
893+
.#{$ionicons-prefix}wrench:before { content: $ionicon-var-wrench; }

0 commit comments

Comments
 (0)