Skip to content

Commit

Permalink
Add Material icon pack
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Feb 18, 2016
1 parent cd695f8 commit 1990e1d
Show file tree
Hide file tree
Showing 17 changed files with 4,409 additions and 14 deletions.
3 changes: 2 additions & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ javadocFooter=Copyright © 2015-2016 Andres Almiray. All rights reserved.
deviconsVersion = 1.8.0
elusiveVersion = 2.0
fontawesomeVersion = 4.5.0
fontelicoVerison = 0.0
fontelicoVersion = 0.0
foundationVersion = 3.0
makiVersion = 0.5.0
materialdesignVersion = 1.4.57
materialVersion = 2.2.0
octiconsVersion = 3.3.0
openiconicVersion = 1.1.0
typiconsVersion = 2.0.7
Expand Down
1 change: 1 addition & 0 deletions settings.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ include 'subprojects/ikonli-fontawesome-pack'
include 'subprojects/ikonli-fontelico-pack'
include 'subprojects/ikonli-foundation-pack'
include 'subprojects/ikonli-maki-pack'
include 'subprojects/ikonli-material-pack'
include 'subprojects/ikonli-materialdesign-pack'
include 'subprojects/ikonli-octicons-pack'
include 'subprojects/ikonli-openiconic-pack'
Expand Down
8 changes: 6 additions & 2 deletions subprojects/guide/guide.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ ext.childProjects = [
':ikonli-fontelico-pack',
':ikonli-foundation-pack',
':ikonli-maki-pack',
':ikonli-material-pack',
':ikonli-materialdesign-pack',
':ikonli-octicons-pack',
':ikonli-openiconic-pack',
Expand Down Expand Up @@ -190,6 +191,7 @@ asciidoctor {
createIconGenerationTask(packName: 'fontelico', iconClassName: 'org.kordamp.ikonli.fontelico.Fontelico', shortNameSize: 4),
createIconGenerationTask(packName: 'foundation', iconClassName: 'org.kordamp.ikonli.foundation.Foundation'),
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),
createIconGenerationTask(packName: 'octicons', iconClassName: 'org.kordamp.ikonli.octicons.Octicons', iconName: 'octicon', shortNameSize: 4),
createIconGenerationTask(packName: 'openiconic', iconClassName: 'org.kordamp.ikonli.openiconic.Openiconic', iconName: 'oi', dataGlyph: true),
Expand Down Expand Up @@ -218,9 +220,10 @@ asciidoctor {
deviconsVersion : project.deviconsVersion,
elusiveVersion : project.elusiveVersion,
fontawesomeVersion : project.fontawesomeVersion,
fontelicoVerison : project.fontelicoVerison,
fontelicoVersion : project.fontelicoVersion,
foundationVersion : project.foundationVersion,
makiVersion : project.makiVersion,
materialVersion : project.materialVersion,
materialdesignVersion : project.materialdesignVersion,
octiconsVersion : project.octiconsVersion,
openiconicVersion : project.openiconicVersion,
Expand All @@ -235,9 +238,10 @@ asciidoctor {
from project(':ikonli-devicons-pack').file("src/main/resources/META-INF/resources/devicons/${deviconsVersion}")
from project(':ikonli-elusive-pack').file("src/main/resources/META-INF/resources/elusive/${elusiveVersion}")
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/${fontelicoVerison}")
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-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}")
from project(':ikonli-octicons-pack').file("src/main/resources/META-INF/resources/octicons/${octiconsVersion}")
from project(':ikonli-openiconic-pack').file("src/main/resources/META-INF/resources/openiconic/${openiconicVersion}")
Expand Down
13 changes: 13 additions & 0 deletions subprojects/guide/src/asciidoc/cheat-sheet-material.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= Material Icons

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

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

27 changes: 16 additions & 11 deletions subprojects/guide/src/asciidoc/icon-packs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -3,57 +3,62 @@
= Icon Packs

== DevIcons
* Font version: {deviconsFont version}
* Font version: {deviconsVersion}
* link:http://vorillaz.github.io/devicons/[]
* link:cheat-sheet-devicons.html[Cheat-Sheet]

== Elusive
* Font version: {elusiveFont version}
* Font version: {elusiveVersion}
* link:https://github.com/fontello/elusive.font[]
* link:cheat-sheet-elusive.html[Cheat-Sheet]

== FontAwesome
* Font version: {fontawesomeFont version}
* Font version: {fontawesomeVersion}
* link:http://fortawesome.github.io/Font-Awesome/[]
* link:cheat-sheet-fontawesome.html[Cheat-Sheet]

== Fontelico
* Font version: {fontelicoVerison}
* Font version: {fontelicoVersion}
* link:https://github.com/fontello/fontelico.font[]
* link:cheat-sheet-fontelico.html[Cheat-Sheet]

== Foundation
* Font version: {foundationFont version}
* Font version: {foundationVersion}
* link:http://zurb.com/playground/foundation-icon-fonts-3[]
* link:cheat-sheet-foundation.html[Cheat-Sheet]

== Maki
* Font version: {makiFont version}
* Font version: {makiVersion}
* link:https://github.com/mapbox/maki[]
* link:cheat-sheet-maki.html[Cheat-Sheet]

== Material Icons
* Font version: {materialVersion}
* link:https://design.google.com/icons/[]
* link:cheat-sheet-material.html[Cheat-Sheet]

== MaterialDesign
* Font version: {materialdesignFont version}
* Font version: {materialdesignVersion}
* link:https://github.com/Templarian/MaterialDesign[]
* link:cheat-sheet-materialdesign.html[Cheat-Sheet]

== Octicons
* Font version: {octiconsFont version}
* Font version: {octiconsVersion}
* link:https://github.com/github/octicons[]
* link:cheat-sheet-octicons.html[Cheat-Sheet]

== OpenIconic
* Font version: {openiconicFont version}
* Font version: {openiconicVersion}
* link:https://useiconic.com/open/[]
* link:cheat-sheet-openiconic.html[Cheat-Sheet]

== Typicons
* Font version: {typiconsFont version}
* Font version: {typiconsVersion}
* link:https://github.com/stephenhutchings/typicons.font[]
* link:cheat-sheet-typicons.html[Cheat-Sheet]

== Weathericons
* Font version: {weathericonsFont version}
* Font version: {weathericonsVersion}
* link:http://erikflowers.github.io/weather-icons/[]
* link:cheat-sheet-weathericons.html[Cheat-Sheet]

4 changes: 4 additions & 0 deletions subprojects/ikonli-material-pack/ikonli-material-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 1990e1d

Please sign in to comment.