From 62160b89c616b15145a28c27ec899fb29242b40c Mon Sep 17 00:00:00 2001 From: Satindar Dhillon Date: Mon, 21 Mar 2022 13:24:11 -0700 Subject: [PATCH] rename apple custom font files to match web names --- apple/OmnivoreKit/Sources/Views/Fonts.swift | 16 ++++++++-------- .../{Inter-Black.ttf => Inter-Black-900.ttf} | Bin .../{Inter-Bold.ttf => Inter-Bold-700.ttf} | Bin ...er-ExtraBold.ttf => Inter-ExtraBold-800.ttf} | Bin ...-ExtraLight.ttf => Inter-ExtraLight-200.ttf} | Bin .../{Inter-Light.ttf => Inter-Light-300.ttf} | Bin .../{Inter-Medium.ttf => Inter-Medium-500.ttf} | Bin ...{Inter-Regular.ttf => Inter-Regular-400.ttf} | Bin ...nter-SemiBold.ttf => Inter-SemiBold-600.ttf} | Bin 9 files changed, 8 insertions(+), 8 deletions(-) rename apple/OmnivoreKit/Sources/Views/Resources/Fonts/{Inter-Black.ttf => Inter-Black-900.ttf} (100%) rename apple/OmnivoreKit/Sources/Views/Resources/Fonts/{Inter-Bold.ttf => Inter-Bold-700.ttf} (100%) rename apple/OmnivoreKit/Sources/Views/Resources/Fonts/{Inter-ExtraBold.ttf => Inter-ExtraBold-800.ttf} (100%) rename apple/OmnivoreKit/Sources/Views/Resources/Fonts/{Inter-ExtraLight.ttf => Inter-ExtraLight-200.ttf} (100%) rename apple/OmnivoreKit/Sources/Views/Resources/Fonts/{Inter-Light.ttf => Inter-Light-300.ttf} (100%) rename apple/OmnivoreKit/Sources/Views/Resources/Fonts/{Inter-Medium.ttf => Inter-Medium-500.ttf} (100%) rename apple/OmnivoreKit/Sources/Views/Resources/Fonts/{Inter-Regular.ttf => Inter-Regular-400.ttf} (100%) rename apple/OmnivoreKit/Sources/Views/Resources/Fonts/{Inter-SemiBold.ttf => Inter-SemiBold-600.ttf} (100%) diff --git a/apple/OmnivoreKit/Sources/Views/Fonts.swift b/apple/OmnivoreKit/Sources/Views/Fonts.swift index b1a1af3a9..31ef62489 100644 --- a/apple/OmnivoreKit/Sources/Views/Fonts.swift +++ b/apple/OmnivoreKit/Sources/Views/Fonts.swift @@ -67,13 +67,13 @@ extension Font { } private enum InterFont: String { - case black = "Inter-Black" - case extraBold = "Inter-ExtraBold" - case bold = "Inter-Bold" - case semiBold = "Inter-SemiBold" - case medium = "Inter-Medium" - case regular = "Inter-Regular" - case light = "Inter-Light" - case extraLight = "Inter-ExtraLight" + case black = "Inter-Black-900" + case extraBold = "Inter-ExtraBold-800" + case bold = "Inter-Bold-700" + case semiBold = "Inter-SemiBold-600" + case medium = "Inter-Medium-500" + case regular = "Inter-Regular-400" + case light = "Inter-Light-300" + case extraLight = "Inter-ExtraLight-200" case thin = "Inter-Thin" } diff --git a/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Black.ttf b/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Black-900.ttf similarity index 100% rename from apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Black.ttf rename to apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Black-900.ttf diff --git a/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Bold.ttf b/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Bold-700.ttf similarity index 100% rename from apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Bold.ttf rename to apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Bold-700.ttf diff --git a/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-ExtraBold.ttf b/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-ExtraBold-800.ttf similarity index 100% rename from apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-ExtraBold.ttf rename to apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-ExtraBold-800.ttf diff --git a/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-ExtraLight.ttf b/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-ExtraLight-200.ttf similarity index 100% rename from apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-ExtraLight.ttf rename to apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-ExtraLight-200.ttf diff --git a/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Light.ttf b/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Light-300.ttf similarity index 100% rename from apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Light.ttf rename to apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Light-300.ttf diff --git a/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Medium.ttf b/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Medium-500.ttf similarity index 100% rename from apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Medium.ttf rename to apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Medium-500.ttf diff --git a/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Regular.ttf b/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Regular-400.ttf similarity index 100% rename from apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Regular.ttf rename to apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-Regular-400.ttf diff --git a/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-SemiBold.ttf b/apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-SemiBold-600.ttf similarity index 100% rename from apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-SemiBold.ttf rename to apple/OmnivoreKit/Sources/Views/Resources/Fonts/Inter-SemiBold-600.ttf