Skip to content

Commit

Permalink
🔀 Update standalone bundled Inter font to 4.0 (JetBrains#308)
Browse files Browse the repository at this point in the history
  • Loading branch information
rock3r authored Feb 21, 2024
1 parent ad986b2 commit 64cb74c
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,20 +1,42 @@
package org.jetbrains.jewel.intui.standalone

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

private val InterFontFamily =
FontFamily(
Font(resource = "/fonts/inter/Inter-Thin.ttf", weight = FontWeight.Thin),
Font(resource = "/fonts/inter/Inter-ThinItalic.ttf", weight = FontWeight.Thin, style = FontStyle.Italic),
Font(resource = "/fonts/inter/Inter-ExtraLight.ttf", weight = FontWeight.ExtraLight),
Font(
resource = "/fonts/inter/Inter-ExtraLightItalic.ttf",
weight = FontWeight.ExtraLight,
style = FontStyle.Italic,
),
Font(resource = "/fonts/inter/Inter-Light.ttf", weight = FontWeight.Light),
Font(resource = "/fonts/inter/Inter-LightItalic.ttf", weight = FontWeight.Light, style = FontStyle.Italic),
Font(resource = "/fonts/inter/Inter-Regular.ttf", weight = FontWeight.Normal),
Font(resource = "/fonts/inter/Inter-Italic.ttf", weight = FontWeight.Normal, style = FontStyle.Italic),
Font(resource = "/fonts/inter/Inter-Medium.ttf", weight = FontWeight.Medium),
Font(resource = "/fonts/inter/Inter-MediumItalic.ttf", weight = FontWeight.Medium, style = FontStyle.Italic),
Font(resource = "/fonts/inter/Inter-SemiBold.ttf", weight = FontWeight.SemiBold),
Font(
resource = "/fonts/inter/Inter-SemiBoldItalic.ttf",
weight = FontWeight.SemiBold,
style = FontStyle.Italic,
),
Font(resource = "/fonts/inter/Inter-Bold.ttf", weight = FontWeight.Bold),
Font(resource = "/fonts/inter/Inter-BoldItalic.ttf", weight = FontWeight.Bold, style = FontStyle.Italic),
Font(resource = "/fonts/inter/Inter-ExtraBold.ttf", weight = FontWeight.ExtraBold),
Font(
resource = "/fonts/inter/Inter-ExtraBoldItalic.ttf",
weight = FontWeight.ExtraBold,
style = FontStyle.Italic,
),
Font(resource = "/fonts/inter/Inter-Black.ttf", weight = FontWeight.Black),
Font(resource = "/fonts/inter/Inter-BlackItalic.ttf", weight = FontWeight.Black, style = FontStyle.Italic),
)

public val FontFamily.Companion.Inter: FontFamily
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 64cb74c

Please sign in to comment.