Skip to content

Commit

Permalink
v1.5.2 w/ :before pseudo
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Bradley committed Jun 16, 2014
1 parent 135798c commit f3b69b6
Show file tree
Hide file tree
Showing 17 changed files with 1,223 additions and 1,223 deletions.
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"test",
"tests"
],
"version": "1.5.1",
"version": "1.5.2",
"name": "Ionicons",
"license": "MIT",
"authors": [
Expand Down
2 changes: 1 addition & 1 deletion builder/build_data.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"build_hash": "",
"prefix": "ion-",
"version": "1.5.1",
"version": "1.5.2",
"name": "Ionicons",
"icons": [
{
Expand Down
10 changes: 5 additions & 5 deletions builder/generate.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def generate_less(data):

group = [ '.%s' % (data['name'].lower()) ]
for ionicon in data['icons']:
group.append('.@{ionicons-prefix}%s' % (ionicon['name']) )
group.append('.@{ionicons-prefix}%s:before' % (ionicon['name']) )

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

Expand All @@ -94,7 +94,7 @@ def generate_less(data):
for ionicon in data['icons']:
chr_code = ionicon['code'].replace('0x', '\\')
d.append('.@{ionicons-prefix}%s:before { content: @ionicon-var-%s; }' % (ionicon['name'], ionicon['name']) )

f = open(icons_file_path, 'w')
f.write( '\n'.join(d) )
f.close()
Expand Down Expand Up @@ -129,7 +129,7 @@ def generate_scss(data):

group = [ '.%s' % (data['name'].lower()) ]
for ionicon in data['icons']:
group.append('.#{$ionicons-prefix}%s' % (ionicon['name']) )
group.append('.#{$ionicons-prefix}%s:before' % (ionicon['name']) )

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

Expand All @@ -140,7 +140,7 @@ def generate_scss(data):
for ionicon in data['icons']:
chr_code = ionicon['code'].replace('0x', '\\')
d.append('.#{$ionicons-prefix}%s:before { content: $ionicon-var-%s; }' % (ionicon['name'], ionicon['name']) )

f = open(icons_file_path, 'w')
f.write( '\n'.join(d) )
f.close()
Expand Down Expand Up @@ -284,7 +284,7 @@ def generate_bower_json(data):
],
"description": "Ionicons - free and beautiful icons from the creators of Ionic Framework",
"main": [
"css/%s.css" % (data['name'].lower()),
"css/%s.css" % (data['name'].lower()),
"fonts/*"
],
"keywords": [ "fonts", "icon font", "icons", "ionic", "web font"],
Expand Down
2 changes: 1 addition & 1 deletion builder/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"build_hash": "23aeed92fa0edead25420fda11a3b2f8",
"prefix": "ion-",
"version": "1.5.1",
"version": "1.5.2",
"name": "Ionicons",
"icons": [
{
Expand Down
4 changes: 2 additions & 2 deletions cheatsheet.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>Ionicons v1.5.1 Cheatsheet</title>
<title>Ionicons v1.5.2 Cheatsheet</title>
<style>
* {
-moz-box-sizing: border-box;
Expand Down Expand Up @@ -142,7 +142,7 @@
<body>
<div class="container">
<header>
<h1>Ionicons v1.5.1 Cheatsheet, 601 icons:</h1>
<h1>Ionicons v1.5.2 Cheatsheet, 601 icons:</h1>
<p><a href="http://ionicons.com/">Ionicons Homepage</a></p>
</header>
<div class="content">
Expand Down
2 changes: 1 addition & 1 deletion component.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"repo": "driftyco/ionicons",
"development": {},
"version": "1.5.1",
"version": "1.5.2",
"styles": [
"css/ionicons.css"
],
Expand Down
6 changes: 3 additions & 3 deletions css/ionicons.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions css/ionicons.min.css

Large diffs are not rendered by default.

Binary file modified fonts/ionicons.eot
Binary file not shown.
2 changes: 1 addition & 1 deletion fonts/ionicons.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified fonts/ionicons.ttf
Binary file not shown.
Binary file modified fonts/ionicons.woff
Binary file not shown.
Loading

0 comments on commit f3b69b6

Please sign in to comment.