Skip to content

Commit

Permalink
Add ionicons icon pack
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Mar 29, 2016
1 parent 98c07c1 commit 72bdd4c
Show file tree
Hide file tree
Showing 15 changed files with 6,171 additions and 3 deletions.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
version=1.2.0
version=1.3.0
group=org.kordamp.ikonli
sourceCompatibility=1.7
targetCompatibility=1.7
Expand All @@ -18,6 +18,7 @@ elusiveVersion = 2.0
fontawesomeVersion = 4.5.0
fontelicoVersion = 0.0
foundationVersion = 3.0
ioniconsVersion = 2.0.1
makiVersion = 0.5.0
materialdesignVersion = 1.4.57
materialVersion = 2.2.0
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ include 'subprojects/ikonli-elusive-pack'
include 'subprojects/ikonli-fontawesome-pack'
include 'subprojects/ikonli-fontelico-pack'
include 'subprojects/ikonli-foundation-pack'
include 'subprojects/ikonli-ionicons-pack'
include 'subprojects/ikonli-maki-pack'
include 'subprojects/ikonli-material-pack'
include 'subprojects/ikonli-materialdesign-pack'
Expand Down
4 changes: 4 additions & 0 deletions subprojects/guide/guide.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ ext.childProjects = [
':ikonli-fontawesome-pack',
':ikonli-fontelico-pack',
':ikonli-foundation-pack',
':ikonli-ionicons-pack',
':ikonli-maki-pack',
':ikonli-material-pack',
':ikonli-materialdesign-pack',
Expand Down Expand Up @@ -190,6 +191,7 @@ asciidoctor {
createIconGenerationTask(packName: 'fontawesome', iconClassName: 'org.kordamp.ikonli.fontawesome.FontAwesome', iconName: 'fa'),
createIconGenerationTask(packName: 'fontelico', iconClassName: 'org.kordamp.ikonli.fontelico.Fontelico', shortNameSize: 4),
createIconGenerationTask(packName: 'foundation', iconClassName: 'org.kordamp.ikonli.foundation.Foundation'),
createIconGenerationTask(packName: 'ionicons', iconClassName: 'org.kordamp.ikonli.ionicons.Ionicons', iconName: 'ion', shortNameSize: 4),
createIconGenerationTask(packName: 'maki', iconClassName: 'org.kordamp.ikonli.maki.Maki', shortNameSize: 5),
createIconGenerationTask(packName: 'material', iconClassName: 'org.kordamp.ikonli.material.Material', iconName: 'gmi', shortNameSize: 4),
createIconGenerationTask(packName: 'materialdesign', iconClassName: 'org.kordamp.ikonli.materialdesign.MaterialDesign', iconName: 'mdi', shortNameSize: 4),
Expand Down Expand Up @@ -223,6 +225,7 @@ asciidoctor {
fontawesomeVersion : project.fontawesomeVersion,
fontelicoVersion : project.fontelicoVersion,
foundationVersion : project.foundationVersion,
ioniconsVersion : project.ioniconsVersion,
makiVersion : project.makiVersion,
materialVersion : project.materialVersion,
materialdesignVersion : project.materialdesignVersion,
Expand All @@ -241,6 +244,7 @@ asciidoctor {
from project(':ikonli-fontawesome-pack').file("src/main/resources/META-INF/resources/fontawesome/${fontawesomeVersion}")
from project(':ikonli-fontelico-pack').file("src/main/resources/META-INF/resources/fontelico/${fontelicoVersion}")
from project(':ikonli-foundation-pack').file("src/main/resources/META-INF/resources/foundation/${foundationVersion}")
from project(':ikonli-ionicons-pack').file("src/main/resources/META-INF/resources/ionicons/${ioniconsVersion}")
from project(':ikonli-maki-pack').file("src/main/resources/META-INF/resources/maki/${makiVersion}")
from project(':ikonli-material-pack').file("src/main/resources/META-INF/resources/material/${materialVersion}")
from project(':ikonli-materialdesign-pack').file("src/main/resources/META-INF/resources/materialdesignicons/${materialdesignVersion}")
Expand Down
13 changes: 13 additions & 0 deletions subprojects/guide/src/asciidoc/cheat-sheet-ionicons.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= Typicons

++++
<link href='./css/ionicons.css' rel='stylesheet'>
<style>
.ion {
font-size: 32px;
}
</style>
++++

include::{projectDir}/build/tmp/_ionicons_cheat_sheet.adoc[]

26 changes: 25 additions & 1 deletion subprojects/guide/src/asciidoc/icon-packs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,6 @@ compile '{project-group}:ikonli-fontelico-pack:{project-version}'
</dependency>
----


== Foundation
* Font version: {foundationVersion}
* link:http://zurb.com/playground/foundation-icon-fonts-3[]
Expand All @@ -128,6 +127,31 @@ compile '{project-group}:ikonli-foundation-pack:{project-version}'
</dependency>
----

== Ionicons
* Font version: {ioniconsVersion}
* link:http://ionicons.com/[]
* link:cheat-sheet-ionicons.html[Cheat-Sheet]

=== Installing

[source,groovy]
[subs="attributes"]
.gradle
----
compile '{project-group}:ikonli-ionicons-pack:{project-version}'
----

[source,xml]
[subs="attributes,verbatim"]
.maven
----
<dependency>
<groupId>{project-group}</groupId>
<artifactId>ikonli-ionicons-pack</artifactId>
<version>{project-version}</version>
</dependency>
----

== Maki
* Font version: {makiVersion}
* link:https://github.com/mapbox/maki[]
Expand Down
2 changes: 1 addition & 1 deletion subprojects/guide/src/asciidoc/usage.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ The `iconLiteral` property accepts any of these formats

where the following rules apply

[horizontal]

icon-code:: An icon code literal such as `di-java`.
icon-size:: A number (in pixels) specifying the width of the icon.
icon-color:: A `javafx.scene.paint.Color`, `javafx.scene.paint.LinearGradient`,
Expand Down
4 changes: 4 additions & 0 deletions subprojects/ikonli-ionicons-pack/ikonli-ionicons-pack.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dependencies {
compile project(':ikonli-core')
compileOnly "org.kordamp.jipsy:jipsy:${jipsyVersion}"
}
Loading

0 comments on commit 72bdd4c

Please sign in to comment.