From 1da833a2a40a802b9357ade6f50ac0bbdb486380 Mon Sep 17 00:00:00 2001
From: aro <pantoine.rochas@gmail.com>
Date: Sun, 20 Nov 2022 21:58:19 +0100
Subject: [PATCH] feat: font class

---
 src/main/kotlin/xyz/atnrch/wrench/ui/Fonts.kt | 40 +++++++++++++++++++
 1 file changed, 40 insertions(+)

diff --git a/src/main/kotlin/xyz/atnrch/wrench/ui/Fonts.kt b/src/main/kotlin/xyz/atnrch/wrench/ui/Fonts.kt
index 050e35e..f9e2336 100644
--- a/src/main/kotlin/xyz/atnrch/wrench/ui/Fonts.kt
+++ b/src/main/kotlin/xyz/atnrch/wrench/ui/Fonts.kt
@@ -1,2 +1,42 @@
 package xyz.atnrch.wrench.ui
 
+import androidx.compose.ui.text.font.FontFamily
+import androidx.compose.ui.text.font.FontStyle
+import androidx.compose.ui.text.font.FontWeight
+import androidx.compose.ui.text.platform.Font
+
+class Fonts {
+    companion object {
+        val JOST_MEDIUM: FontFamily = FontFamily(
+            Font(
+                resource = "font/Jost-Medium.ttf",
+                style = FontStyle.Normal,
+                weight = FontWeight.Medium
+            )
+        )
+
+        val JOST_BOLD: FontFamily = FontFamily(
+            Font(
+                resource = "font/Jost-Bold.ttf",
+                style = FontStyle.Normal,
+                weight = FontWeight.Bold
+            )
+        )
+
+        val JOST_MEDIUM_ITALIC: FontFamily = FontFamily(
+            Font(
+                resource = "font/Jost-MediumItalic.ttf",
+                style = FontStyle.Italic,
+                weight = FontWeight.Medium
+            )
+        )
+
+        val JOST_LIGHT_ITALIC: FontFamily = FontFamily(
+            Font(
+                resource = "font/Jost-LightItalic.ttf",
+                style = FontStyle.Italic,
+                weight = FontWeight.Light
+            )
+        )
+    }
+}
\ No newline at end of file