diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Black.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Black.ttf index 5aecf7dc4..034a73ee4 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Black.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Black.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-BlackItalic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-BlackItalic.ttf new file mode 100644 index 000000000..7eb4b5162 Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-BlackItalic.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Bold.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Bold.ttf index 8e82c70d1..15e908f23 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Bold.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Bold.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-BoldItalic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-BoldItalic.ttf new file mode 100644 index 000000000..1e7bc4183 Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-BoldItalic.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraBold.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraBold.ttf index cb4b8217f..c1449e8b8 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraBold.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraBold.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraBoldItalic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraBoldItalic.ttf new file mode 100644 index 000000000..f0f426036 Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraBoldItalic.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraLight.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraLight.ttf index 64aee30a4..e98ac27c0 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraLight.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraLight.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraLightItalic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraLightItalic.ttf new file mode 100644 index 000000000..cf740460b Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ExtraLightItalic.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Italic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Italic.ttf new file mode 100644 index 000000000..e0421eea1 Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Italic.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Light.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Light.ttf index 9e265d890..31ac7883c 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Light.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Light.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-LightItalic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-LightItalic.ttf new file mode 100644 index 000000000..0bd6cec7d Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-LightItalic.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Medium.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Medium.ttf index b53fb1c4a..934273085 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Medium.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Medium.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-MediumItalic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-MediumItalic.ttf new file mode 100644 index 000000000..a607d9f4e Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-MediumItalic.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Regular.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Regular.ttf index 8d4eebf20..c544be478 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Regular.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Regular.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-SemiBold.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-SemiBold.ttf index c6aeeb16a..a32e2b8d2 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-SemiBold.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-SemiBold.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-SemiBoldItalic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-SemiBoldItalic.ttf new file mode 100644 index 000000000..7f287869b Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-SemiBoldItalic.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Thin.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Thin.ttf index 7aed55d56..af78ac31a 100644 Binary files a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Thin.ttf and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-Thin.ttf differ diff --git a/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ThinItalic.ttf b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ThinItalic.ttf new file mode 100644 index 000000000..681cbf296 Binary files /dev/null and b/int-ui/int-ui-standalone/src/main/resources/fonts/inter/Inter-ThinItalic.ttf differ diff --git a/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/Main.kt b/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/Main.kt index e911bb658..a72a943f2 100644 --- a/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/Main.kt +++ b/samples/standalone/src/main/kotlin/org/jetbrains/jewel/samples/standalone/Main.kt @@ -9,6 +9,7 @@ import androidx.compose.ui.text.font.FontFamily import androidx.compose.ui.unit.Density import androidx.compose.ui.window.application import org.jetbrains.jewel.foundation.theme.JewelTheme +import org.jetbrains.jewel.intui.standalone.Inter import org.jetbrains.jewel.intui.standalone.theme.IntUiTheme import org.jetbrains.jewel.intui.standalone.theme.darkThemeDefinition import org.jetbrains.jewel.intui.standalone.theme.lightThemeDefinition @@ -28,7 +29,7 @@ fun main() { val icon = svgResource("icons/jewel-logo.svg") application { - val textStyle = TextStyle(fontFamily = FontFamily("Inter")) + val textStyle = TextStyle(fontFamily = FontFamily.Inter) val themeDefinition = if (MainViewModel.theme.isDark()) {