Skip to content

Commit

Permalink
Add new icon font bytedance.
Browse files Browse the repository at this point in the history
  • Loading branch information
leewyatt committed Aug 20, 2023
1 parent 575d929 commit 2677865
Show file tree
Hide file tree
Showing 54 changed files with 54,531 additions and 0 deletions.
1 change: 1 addition & 0 deletions apps/ikonli-browser/ikonli-browser.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ dependencies {
implementation project(':ikonli-bootstrapicons-pack')
implementation project(':ikonli-boxicons-pack')
implementation project(':ikonli-bpmn-pack')
implementation project(':ikonli-bytedance-pack')
implementation project(':ikonli-captainicon-pack')
implementation project(':ikonli-carbonicons-pack')
implementation project(':ikonli-codicons-pack')
Expand Down
1 change: 1 addition & 0 deletions apps/ikonli-browser/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
requires org.kordamp.ikonli.bootstrapicons;
requires org.kordamp.ikonli.boxicons;
requires org.kordamp.ikonli.bpmn;
requires org.kordamp.ikonli.bytedance;
requires org.kordamp.ikonli.captainicon;
requires org.kordamp.ikonli.carbonicons;
requires org.kordamp.ikonli.codicons;
Expand Down
1 change: 1 addition & 0 deletions apps/sampler-javafx/sampler-javafx.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ dependencies {
implementation project(':ikonli-bootstrapicons-pack')
implementation project(':ikonli-boxicons-pack')
implementation project(':ikonli-bpmn-pack')
implementation project(':ikonli-bytedance-pack')
implementation project(':ikonli-captainicon-pack')
implementation project(':ikonli-carbonicons-pack')
implementation project(':ikonli-codicons-pack')
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 @@ -29,6 +29,7 @@ dependencies {
implementation project(':ikonli-bootstrapicons-pack')
implementation project(':ikonli-boxicons-pack')
implementation project(':ikonli-bpmn-pack')
implementation project(':ikonli-bytedance-pack')
implementation project(':ikonli-captainicon-pack')
implementation project(':ikonli-carbonicons-pack')
implementation project(':ikonli-codicons-pack')
Expand Down
10 changes: 10 additions & 0 deletions docs/guide/guide.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,14 @@ asciidoctor {
createIconGenerationTask(packName: 'boxicons', iconClassName: 'org.kordamp.ikonli.boxicons.BoxiconsRegular', iconName: 'bx', shortNameSize: 3, classifier: 'regular'),
createIconGenerationTask(packName: 'boxicons', iconClassName: 'org.kordamp.ikonli.boxicons.BoxiconsSolid', iconName: 'bxs', shortNameSize: 4, classifier: 'solid'),
createIconGenerationTask(packName: 'bpmn', iconClassName: 'org.kordamp.ikonli.bpmn.Bpmn', shortNameSize: 5),
createIconGenerationTask(packName: 'bytedance', iconClassName: 'org.kordamp.ikonli.bytedance.BytedanceIconsThinAL', iconName: 'bd1', shortNameSize: 4, classifier: 'thinal'),
createIconGenerationTask(packName: 'bytedance', iconClassName: 'org.kordamp.ikonli.bytedance.BytedanceIconsThinMZ', iconName: 'bd1', shortNameSize: 4, classifier: 'thinmz'),
createIconGenerationTask(packName: 'bytedance', iconClassName: 'org.kordamp.ikonli.bytedance.BytedanceIconsRegularAL', iconName: 'bd2', shortNameSize: 4, classifier: 'regularal'),
createIconGenerationTask(packName: 'bytedance', iconClassName: 'org.kordamp.ikonli.bytedance.BytedanceIconsRegularMZ', iconName: 'bd2', shortNameSize: 4, classifier: 'regularmz'),
createIconGenerationTask(packName: 'bytedance', iconClassName: 'org.kordamp.ikonli.bytedance.BytedanceIconsBoldAL', iconName: 'bd3', shortNameSize: 4, classifier: 'boldal'),
createIconGenerationTask(packName: 'bytedance', iconClassName: 'org.kordamp.ikonli.bytedance.BytedanceIconsBoldMZ', iconName: 'bd3', shortNameSize: 4, classifier: 'boldmz'),
createIconGenerationTask(packName: 'bytedance', iconClassName: 'org.kordamp.ikonli.bytedance.BytedanceIconsExtraBoldAL', iconName: 'bd4', shortNameSize: 4, classifier: 'extraboldal'),
createIconGenerationTask(packName: 'bytedance', iconClassName: 'org.kordamp.ikonli.bytedance.BytedanceIconsExtraBoldMZ', iconName: 'bd4', shortNameSize: 4, classifier: 'extraboldmz'),
createIconGenerationTask(packName: 'captainicon', iconClassName: 'org.kordamp.ikonli.captainicon.Captainicon', iconName: 'captainicon', shortNameSize: 12),
createIconGenerationTask(packName: 'carbonicons', iconClassName: 'org.kordamp.ikonli.carbonicons.CarbonIcons', iconName: 'ci'),
createIconGenerationTask(packName: 'codicons', iconClassName: 'org.kordamp.ikonli.codicons.Codicons', iconName: 'codicon', shortNameSize: 8),
Expand Down Expand Up @@ -209,6 +217,7 @@ asciidoctor {
bootstrapiconsVersion : project.bootstrapiconsVersion,
boxiconsVersion : project.boxiconsVersion,
bpmnVersion : project.bpmnVersion,
bytedanceVersion : project.bytedanceVersion,
captainiconVersion : project.captainiconVersion,
carboniconsVersion : project.carboniconsVersion,
codiconsVersion : project.codiconsVersion,
Expand Down Expand Up @@ -273,6 +282,7 @@ asciidoctor {
from project(':ikonli-bootstrapicons-pack').file("src/main/resources/META-INF/resources/bootstrapicons/${bootstrapiconsVersion}")
from project(':ikonli-boxicons-pack').file("src/main/resources/META-INF/resources/boxicons/${boxiconsVersion}")
from project(':ikonli-bpmn-pack').file("src/main/resources/META-INF/resources/bpmn/${bpmnVersion}")
from project(':ikonli-bytedance-pack').file("src/main/resources/META-INF/resources/bytedance/${bytedanceVersion}")
from project(':ikonli-captainicon-pack').file("src/main/resources/META-INF/resources/captainicon/${captainiconVersion}")
from project(':ikonli-carbonicons-pack').file("src/main/resources/META-INF/resources/carbonicons/${carboniconsVersion}")
from project(':ikonli-codicons-pack').file("src/main/resources/META-INF/resources/codicons/${codiconsVersion}")
Expand Down
71 changes: 71 additions & 0 deletions docs/guide/src/docs/asciidoc/cheat-sheet-bytedance.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
= BytedanceIcons

Use the indicated enum type for each set.

++++
<link href='./css/bytedance-iconpack-thin.css' rel='stylesheet'>
<style>
.bd1 {
font-size: 32px;
}
</style>
++++

== Thin A-L (BytedanceIconsThinAL)

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

== Thin M-Z (BytedanceIconsThinMZ)

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

++++
<link href='./css/bytedance-iconpack-regular.css' rel='stylesheet'>
<style>
.bd2 {
font-size: 32px;
}
</style>
++++

== Regular A-L (BytedanceIconsRegularAL)

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

== Regular M-Z (BytedanceIconsRegularMZ)

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

++++
<link href='./css/bytedance-iconpack-bold.css' rel='stylesheet'>
<style>
.bd3 {
font-size: 32px;
}
</style>
++++

== Bold A-L (BytedanceIconsBoldAL)

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

== Bold M-Z (BytedanceIconsBoldMZ)

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

++++
<link href='./css/bytedance-iconpack-extrabold.css' rel='stylesheet'>
<style>
.bd4 {
font-size: 32px;
}
</style>
++++

== ExtraBold A-L (BytedanceIconsExtraBoldAL)

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

== ExtraBold M-Z (BytedanceIconsExtraBoldMZ)

include::{gradle-projectdir}/build/tmp/_bytedance_iconpack_extrabold_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 @@ -106,6 +106,32 @@ implementation '{project-group}:ikonli-bpmn-pack:{project-version}'
</dependency>
----

== Bytedance
* Module: `org.kordamp.ikonli.bytedance`
* Font version: {bytedanceVersion}
* link:https://github.com/bytedance/iconpark[]
* link:cheat-sheet-bytedance.html[Cheat-Sheet]

=== Installing

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

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

== Captainicon
* Module: `org.kordamp.ikonli.captainicon`
* Font version: {captainiconVersion}
Expand Down
1 change: 1 addition & 0 deletions gradle.properties
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ antdesigniconsVersion = 4.0.0
bootstrapiconsVersion = 1.4.1
boxiconsVersion = 2.0.7
bpmnVersion = 0.10.0
bytedanceVersion = 1.3.0
captainiconVersion = 20140501
carboniconsVersion = 10.23.2
codiconsVersion = 0.0.12
Expand Down
17 changes: 17 additions & 0 deletions icon-packs/ikonli-bytedance-pack/ikonli-bytedance-pack.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2015-2023 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.
*/
59 changes: 59 additions & 0 deletions icon-packs/ikonli-bytedance-pack/src/main/java/module-info.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
import org.kordamp.ikonli.bytedance.BytedanceIconsBoldALIkonHandler;
import org.kordamp.ikonli.bytedance.BytedanceIconsBoldALIkonProvider;
import org.kordamp.ikonli.bytedance.BytedanceIconsBoldMZIkonHandler;
import org.kordamp.ikonli.bytedance.BytedanceIconsBoldMZIkonProvider;
import org.kordamp.ikonli.bytedance.BytedanceIconsExtraBoldALIkonHandler;
import org.kordamp.ikonli.bytedance.BytedanceIconsExtraBoldALIkonProvider;
import org.kordamp.ikonli.bytedance.BytedanceIconsExtraBoldMZIkonHandler;
import org.kordamp.ikonli.bytedance.BytedanceIconsExtraBoldMZIkonProvider;
import org.kordamp.ikonli.bytedance.BytedanceIconsRegularALIkonHandler;
import org.kordamp.ikonli.bytedance.BytedanceIconsRegularALIkonProvider;
import org.kordamp.ikonli.bytedance.BytedanceIconsRegularMZIkonHandler;
import org.kordamp.ikonli.bytedance.BytedanceIconsRegularMZIkonProvider;
import org.kordamp.ikonli.bytedance.BytedanceIconsThinALIkonHandler;
import org.kordamp.ikonli.bytedance.BytedanceIconsThinALIkonProvider;
import org.kordamp.ikonli.bytedance.BytedanceIconsThinMZIkonHandler;
import org.kordamp.ikonli.bytedance.BytedanceIconsThinMZIkonProvider;

/*
* SPDX-License-Identifier: Apache-2.0
*
* Copyright 2015-2023 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.bytedance {
requires org.kordamp.ikonli.core;
requires static org.kordamp.jipsy.annotations;
exports org.kordamp.ikonli.bytedance;

provides org.kordamp.ikonli.IkonHandler
with BytedanceIconsThinALIkonHandler,
BytedanceIconsThinMZIkonHandler,
BytedanceIconsRegularALIkonHandler,
BytedanceIconsRegularMZIkonHandler,
BytedanceIconsBoldALIkonHandler,
BytedanceIconsBoldMZIkonHandler,
BytedanceIconsExtraBoldALIkonHandler,
BytedanceIconsExtraBoldMZIkonHandler;
provides org.kordamp.ikonli.IkonProvider
with BytedanceIconsThinALIkonProvider,
BytedanceIconsThinMZIkonProvider,
BytedanceIconsRegularALIkonProvider,
BytedanceIconsRegularMZIkonProvider,
BytedanceIconsBoldALIkonProvider,
BytedanceIconsBoldMZIkonProvider,
BytedanceIconsExtraBoldALIkonProvider,
BytedanceIconsExtraBoldMZIkonProvider;

}
Loading

0 comments on commit 2677865

Please sign in to comment.