@momo-kits/native-kits 0.167.1-beta.8-debug → 0.167.1-beta.9-debug
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/compose/build.gradle.kts
CHANGED
package/compose/compose.podspec
CHANGED
|
@@ -57,6 +57,7 @@ data class ThemeAssets(
|
|
|
57
57
|
)
|
|
58
58
|
|
|
59
59
|
internal const val LEGACY_DEFAULT_FONT_FAMILY = "SFProText"
|
|
60
|
+
private const val NEW_DEFAULT_FONT_FAMILY = "MomoTrustSans"
|
|
60
61
|
|
|
61
62
|
@Stable
|
|
62
63
|
class Theme(
|
|
@@ -68,7 +69,7 @@ class Theme(
|
|
|
68
69
|
private val designSystemFont = font
|
|
69
70
|
|
|
70
71
|
val font: String
|
|
71
|
-
get() = if (KitDesignSystem.isWhiteList)
|
|
72
|
+
get() = if (KitDesignSystem.isWhiteList) NEW_DEFAULT_FONT_FAMILY else designSystemFont
|
|
72
73
|
|
|
73
74
|
fun isHeaderImage(): Boolean {
|
|
74
75
|
return !assets.headerBackground.isNullOrEmpty()
|
|
@@ -149,7 +150,7 @@ val defaultTheme = Theme(
|
|
|
149
150
|
container = Colors.blue_08
|
|
150
151
|
)
|
|
151
152
|
),
|
|
152
|
-
font =
|
|
153
|
+
font = LEGACY_DEFAULT_FONT_FAMILY,
|
|
153
154
|
assets = ThemeAssets(
|
|
154
155
|
headerBackground = null
|
|
155
156
|
)
|
|
@@ -206,7 +207,7 @@ val darkTheme = Theme(
|
|
|
206
207
|
container = Colors.blue_08
|
|
207
208
|
)
|
|
208
209
|
),
|
|
209
|
-
font =
|
|
210
|
+
font = LEGACY_DEFAULT_FONT_FAMILY,
|
|
210
211
|
assets = ThemeAssets(
|
|
211
212
|
headerBackground = null
|
|
212
213
|
)
|
package/gradle.properties
CHANGED
package/ios/native-kits.podspec
CHANGED