aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/cc/polyfrost/oneconfig/renderer/font/Fonts.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/cc/polyfrost/oneconfig/renderer/font/Fonts.java')
-rw-r--r--src/main/java/cc/polyfrost/oneconfig/renderer/font/Fonts.java19
1 files changed, 7 insertions, 12 deletions
diff --git a/src/main/java/cc/polyfrost/oneconfig/renderer/font/Fonts.java b/src/main/java/cc/polyfrost/oneconfig/renderer/font/Fonts.java
index 9b6193f..3120c7b 100644
--- a/src/main/java/cc/polyfrost/oneconfig/renderer/font/Fonts.java
+++ b/src/main/java/cc/polyfrost/oneconfig/renderer/font/Fonts.java
@@ -1,15 +1,10 @@
package cc.polyfrost.oneconfig.renderer.font;
-public enum Fonts {
- BOLD(new Font("inter-bold", "/assets/oneconfig/font/Bold.otf")),
- SEMIBOLD(new Font("inter-semibold", "/assets/oneconfig/font/SemiBold.otf")),
- MEDIUM(new Font("inter-medium", "/assets/oneconfig/font/Medium.otf")),
- REGULAR(new Font("inter-regular", "/assets/oneconfig/font/Regular.otf")),
- MINECRAFT_REGULAR(new Font("mc-regular", "/assets/oneconfig/font/Minecraft-Regular.otf")),
- MINECRAFT_BOLD(new Font("mc-bold", "/assets/oneconfig/font/Minecraft-Bold.otf"));
- public final Font font;
-
- Fonts(Font font) {
- this.font = font;
- }
+public class Fonts {
+ public static final Font BOLD = new Font("inter-bold", "/assets/oneconfig/font/Bold.otf");
+ public static final Font SEMIBOLD = new Font("inter-semibold", "/assets/oneconfig/font/SemiBold.otf");
+ public static final Font MEDIUM = new Font("inter-medium", "/assets/oneconfig/font/Medium.otf");
+ public static final Font REGULAR = new Font("inter-regular", "/assets/oneconfig/font/Regular.otf");
+ public static final Font MINECRAFT_REGULAR = new Font("mc-regular", "/assets/oneconfig/font/Minecraft-Regular.otf");
+ public static final Font MINECRAFT_BOLD = new Font("mc-bold", "/assets/oneconfig/font/Minecraft-Bold.otf");
}