Skip to content

Commit

Permalink
Add remixicon icon pack. Fixes #98
Browse files Browse the repository at this point in the history
  • Loading branch information
aalmiray committed Nov 4, 2020
1 parent 149910c commit 428846d
Show file tree
Hide file tree
Showing 22 changed files with 11,738 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/sampler-javafx/sampler-javafx.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ dependencies {
implementation project(':ikonli-octicons-pack')
implementation project(':ikonli-openiconic-pack')
implementation project(':ikonli-paymentfont-pack')
implementation project(':ikonli-remixicon-pack')
implementation project(':ikonli-runestroicons-pack')
implementation project(':ikonli-themify-pack')
implementation project(':ikonli-typicons-pack')
Expand Down
1 change: 1 addition & 0 deletions apps/sampler-javafx/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
requires org.kordamp.ikonli.octicons;
requires org.kordamp.ikonli.openiconic;
requires org.kordamp.ikonli.paymentfont;
requires org.kordamp.ikonli.remixicon;
requires org.kordamp.ikonli.runestroicons;
requires org.kordamp.ikonli.themify;
requires org.kordamp.ikonli.typicons;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,8 @@
import org.kordamp.ikonli.octicons.Octicons;
import org.kordamp.ikonli.openiconic.Openiconic;
import org.kordamp.ikonli.paymentfont.PaymentFont;
import org.kordamp.ikonli.remixicon.RemixiconAL;
import org.kordamp.ikonli.remixicon.RemixiconMZ;
import org.kordamp.ikonli.runestroicons.Runestroicons;
import org.kordamp.ikonli.themify.Themify;
import org.kordamp.ikonli.typicons.Typicons;
Expand Down Expand Up @@ -178,6 +180,8 @@ public void start(Stage primaryStage) throws Exception {
tabPane.getTabs().add(new DemoTab(Octicons.class, allOf(Octicons.class)));
tabPane.getTabs().add(new DemoTab(Openiconic.class, allOf(Openiconic.class)));
tabPane.getTabs().add(new DemoTab(PaymentFont.class, allOf(PaymentFont.class)));
tabPane.getTabs().add(new DemoTab(RemixiconAL.class, allOf(RemixiconAL.class)));
tabPane.getTabs().add(new DemoTab(RemixiconMZ.class, allOf(RemixiconMZ.class)));
tabPane.getTabs().add(new DemoTab(Runestroicons.class, allOf(Runestroicons.class)));
tabPane.getTabs().add(new DemoTab(Themify.class, allOf(Themify.class)));
tabPane.getTabs().add(new DemoTab(Typicons.class, allOf(Typicons.class)));
Expand Down
1 change: 1 addition & 0 deletions apps/sampler-swing/sampler-swing.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ dependencies {
implementation project(':ikonli-octicons-pack')
implementation project(':ikonli-openiconic-pack')
implementation project(':ikonli-paymentfont-pack')
implementation project(':ikonli-remixicon-pack')
implementation project(':ikonli-runestroicons-pack')
implementation project(':ikonli-typicons-pack')
implementation project(':ikonli-themify-pack')
Expand Down
1 change: 1 addition & 0 deletions apps/sampler-swing/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
requires org.kordamp.ikonli.octicons;
requires org.kordamp.ikonli.openiconic;
requires org.kordamp.ikonli.paymentfont;
requires org.kordamp.ikonli.remixicon;
requires org.kordamp.ikonli.runestroicons;
requires org.kordamp.ikonli.themify;
requires org.kordamp.ikonli.typicons;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@
import org.kordamp.ikonli.octicons.Octicons;
import org.kordamp.ikonli.openiconic.Openiconic;
import org.kordamp.ikonli.paymentfont.PaymentFont;
import org.kordamp.ikonli.remixicon.RemixiconAL;
import org.kordamp.ikonli.remixicon.RemixiconMZ;
import org.kordamp.ikonli.runestroicons.Runestroicons;
import org.kordamp.ikonli.swing.FontIcon;
import org.kordamp.ikonli.themify.Themify;
Expand Down Expand Up @@ -175,6 +177,8 @@ private static void launch() {
createTab(tabPane, Octicons.class, new DemoTab(allOf(Octicons.class)));
createTab(tabPane, Openiconic.class, new DemoTab(allOf(Openiconic.class)));
createTab(tabPane, PaymentFont.class, new DemoTab(allOf(PaymentFont.class)));
createTab(tabPane, RemixiconAL.class, new DemoTab(allOf(RemixiconAL.class)));
createTab(tabPane, RemixiconMZ.class, new DemoTab(allOf(RemixiconMZ.class)));
createTab(tabPane, Runestroicons.class, new DemoTab(allOf(Runestroicons.class)));
createTab(tabPane, Typicons.class, new DemoTab(allOf(Typicons.class)));
createTab(tabPane, Themify.class, new DemoTab(allOf(Themify.class)));
Expand Down
4 changes: 4 additions & 0 deletions docs/guide/guide.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,8 @@ asciidoctor {
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),
createIconGenerationTask(packName: 'paymentfont', iconClassName: 'org.kordamp.ikonli.paymentfont.PaymentFont', iconName: 'pf', shortNameSize: 3),
createIconGenerationTask(packName: 'remixicon', iconClassName: 'org.kordamp.ikonli.remixicon.RemixiconAL', iconName: 'remix', shortNameSize: 8, classifier: 'al'),
createIconGenerationTask(packName: 'remixicon', iconClassName: 'org.kordamp.ikonli.remixicon.RemixiconMZ', iconName: 'remix', shortNameSize: 8, classifier: 'mz'),
createIconGenerationTask(packName: 'runestroicons', iconClassName: 'org.kordamp.ikonli.runestroicons.Runestroicons', iconName: 'ri'),
createIconGenerationTask(packName: 'typicons', iconClassName: 'org.kordamp.ikonli.typicons.Typicons', iconName: 'typcn', shortNameSize: 4),
createIconGenerationTask(packName: 'weathericons', iconClassName: 'org.kordamp.ikonli.weathericons.WeatherIcons', iconName: 'wi'),
Expand Down Expand Up @@ -199,6 +201,7 @@ asciidoctor {
octiconsVersion : project.octiconsVersion,
openiconicVersion : project.openiconicVersion,
paymentfontVersion : project.paymentfontVersion,
remixiconVersion : project.remixiconVersion,
runestroiconsVersion : project.runestroiconsVersion,
typiconsVersion : project.typiconsVersion,
themifyVersion : project.themifyVersion,
Expand Down Expand Up @@ -244,6 +247,7 @@ asciidoctor {
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}")
from project(':ikonli-paymentfont-pack').file("src/main/resources/META-INF/resources/paymentfont/${paymentfontVersion}")
from project(':ikonli-remixicon-pack').file("src/main/resources/META-INF/resources/remixicon/${remixiconVersion}")
from project(':ikonli-runestroicons-pack').file("src/main/resources/META-INF/resources/runestroicons/${runestroiconsVersion}")
from project(':ikonli-typicons-pack').file("src/main/resources/META-INF/resources/typicons/${typiconsVersion}")
from project(':ikonli-themify-pack').file("src/main/resources/META-INF/resources/themify/${themifyVersion}")
Expand Down
21 changes: 21 additions & 0 deletions docs/guide/src/docs/asciidoc/cheat-sheet-remixicon.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
= Remixicon

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

Use the indicated enum type for each set.

== A-L (RemixiconAL)

include::{gradle-projectdir}/build/tmp/_remixicon_al_cheat_sheet.adoc[]

== M-Z (RemixiconMZ)

include::{gradle-projectdir}/build/tmp/_remixicon_mz_cheat_sheet.adoc[]

26 changes: 26 additions & 0 deletions docs/guide/src/docs/asciidoc/icon-packs.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -782,6 +782,32 @@ compile '{project-group}:ikonli-paymentfont-pack:{project-version}'
</dependency>
----

== Remixicon
* Module: `org.kordamp.ikonli.remixicon`
* Font version: {remixiconVersion}
* link:https://remixicon.com/[]
* link:cheat-sheet-remixicon.html[Cheat-Sheet]

=== Installing

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

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

== RunestroIcons
* Module: `org.kordamp.ikonli.runestroicons`
* Font version: {runestroiconsVersion}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ ociiconsVersion = 1.0
octiconsVersion = 11.0.0
openiconicVersion = 1.1.0
paymentfontVersion = 1.2.5
remixiconVersion = 2.5.0
runestroiconsVersion = 5.6
typiconsVersion = 2.0.7
themifyVersion = 1.0.1
Expand Down
22 changes: 22 additions & 0 deletions icon-packs/ikonli-remixicon-pack/ikonli-remixicon-pack.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2015-2020 Andres Almiray
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
dependencies {
api project(':ikonli-core')
compileOnly "org.kordamp.jipsy:jipsy:${jipsyVersion}"
annotationProcessor "org.kordamp.jipsy:jipsy:${jipsyVersion}"
}
26 changes: 26 additions & 0 deletions icon-packs/ikonli-remixicon-pack/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2015-2020 Andres Almiray
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
module org.kordamp.ikonli.remixicon {
requires org.kordamp.ikonli.core;
requires static org.kordamp.jipsy;
exports org.kordamp.ikonli.remixicon;

provides org.kordamp.ikonli.IkonHandler
with org.kordamp.ikonli.remixicon.RemixiconALIkonHandler,
org.kordamp.ikonli.remixicon.RemixiconMZIkonHandler;
}
Loading

0 comments on commit 428846d

Please sign in to comment.