Skip to content

Commit 02bd4e6

Browse files
refactor: comprehensive UI refactoring with design system improvements (Phase 1 of refactor) (#325)
* feat: comprehensive UI refactoring with design system improvements - Add KHTeka font family (Light, Medium, Regular) for consistent typography - Create reusable Text component with typography variants - Create Icon component with size presets and theme color support - Add LoadingSpinner component with animation - Add WarningCircle icon asset - Update all modal components with improved styling - Refactor screens (Settings, Scan, SessionDetail, Connections, LogList) - Enhance theme utilities and hook - Update SVG icon components to use fill prop consistently - Improve component styling across Card, Tag, Button components - Update navigation stacks with refined styling Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> * chore: changed some ui backgrounds * fix: address PR review feedback - Add default fallback for FontFamily to handle unsupported platforms - Change VariantStyle.fontFamily type from `string | undefined` to `string` - Return View placeholder instead of null in Icon component when icon not found - Extract FontFamily constant to ThemeUtil for shared usage - Update navigators to import FontFamily from ThemeUtil Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 7d4f34c commit 02bd4e6

File tree

106 files changed

+2203
-1478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

106 files changed

+2203
-1478
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"migIndex": 1,
3+
"data": [
4+
{
5+
"path": "assets/fonts/KHTeka-Medium.otf",
6+
"sha1": "c3724effced890285439d715d6fa3f4ccd40280f"
7+
},
8+
{
9+
"path": "assets/fonts/KHTeka-Light.otf",
10+
"sha1": "6af527204505aa938d3868e4ea6e014017b723b8"
11+
},
12+
{
13+
"path": "assets/fonts/KHTeka-Regular.otf",
14+
"sha1": "271b71d36781b1913283b2875b677f58049c9dcb"
15+
}
16+
]
17+
}
90.8 KB
Binary file not shown.
93.3 KB
Binary file not shown.
91.9 KB
Binary file not shown.

wallets/rn_cli_wallet/ios/Podfile.lock

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2649,7 +2649,7 @@ PODS:
26492649
- Yoga
26502650
- RNDeviceInfo (14.1.1):
26512651
- React-Core
2652-
- RNGestureHandler (2.28.0):
2652+
- RNGestureHandler (2.30.0):
26532653
- boost
26542654
- DoubleConversion
26552655
- fast_float
@@ -2769,7 +2769,7 @@ PODS:
27692769
- RNWorklets
27702770
- SocketRocket
27712771
- Yoga
2772-
- RNScreens (4.16.0):
2772+
- RNScreens (4.19.0):
27732773
- boost
27742774
- DoubleConversion
27752775
- fast_float
@@ -2796,10 +2796,10 @@ PODS:
27962796
- ReactCodegen
27972797
- ReactCommon/turbomodule/bridging
27982798
- ReactCommon/turbomodule/core
2799-
- RNScreens/common (= 4.16.0)
2799+
- RNScreens/common (= 4.19.0)
28002800
- SocketRocket
28012801
- Yoga
2802-
- RNScreens/common (4.16.0):
2802+
- RNScreens/common (4.19.0):
28032803
- boost
28042804
- DoubleConversion
28052805
- fast_float
@@ -3395,9 +3395,9 @@ SPEC CHECKSUMS:
33953395
RNCAsyncStorage: 29f0230e1a25f36c20b05f65e2eb8958d6526e82
33963396
RNCClipboard: 4b58c780f63676367640f23c8e114e9bd0cf86ac
33973397
RNDeviceInfo: bcce8752b5043a623fe3c26789679b473f705d3c
3398-
RNGestureHandler: f1dd7f92a0faa2868a919ab53bb9d66eb4ebfcf5
3398+
RNGestureHandler: f97d19585553412302394c42495cdaf499589d34
33993399
RNReanimated: 7d59df16c018cf3ed5d5b45964cedea4fc5c26ef
3400-
RNScreens: 0bbf16c074ae6bb1058a7bf2d1ae017f4306797c
3400+
RNScreens: ffbb0296608eb3560de641a711bbdb663ed1f6b4
34013401
RNSentry: bbaa7ef3a4b131bc947de327ed9e47a054ce0978
34023402
RNSVG: 8c0bbfa480a24b24468f1c76bd852a4aac3178e6
34033403
RNWorklets: d9c050940f140af5d8b611d937eab1cbfce5e9a5

wallets/rn_cli_wallet/ios/RNWeb3Wallet.xcodeproj/project.pbxproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,18 +20,22 @@
2020
1FF0B57C2E9838F100267F8F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FF0B5792E9838F100267F8F /* AppDelegate.swift */; };
2121
3D28D8B186B853F8087F5C78 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = C3A29D35A12B15C6680651C1 /* PrivacyInfo.xcprivacy */; };
2222
48F63213D50108436E10C354 /* libPods-App-RNWallet Debug.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 3616329FA2535E44622E8399 /* libPods-App-RNWallet Debug.a */; };
23+
705ED4580BA7485D980B6725 /* KHTeka-Light.otf in Resources */ = {isa = PBXBuildFile; fileRef = 18BB39FF004742E9BA98CBB1 /* KHTeka-Light.otf */; };
2324
81E2996B57F07B9C79C31EF8 /* libPods-App-RNWallet Internal.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 936277491F1F3293104F8AD2 /* libPods-App-RNWallet Internal.a */; };
25+
850070D3B9C94E2E960A8670 /* KHTeka-Regular.otf in Resources */ = {isa = PBXBuildFile; fileRef = ABEB231DA62E483992083356 /* KHTeka-Regular.otf */; };
2426
9685071820BFBBEE117DCE09 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 0FF5517EE50A98CDBAD33515 /* PrivacyInfo.xcprivacy */; };
2527
97927E27E3F047C29FBF2FD7 /* BootSplash.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 2C50482F22BB4C56ACE24EA8 /* BootSplash.storyboard */; };
2628
AEED8FBFAF0F40FB2AF6B6D0 /* libPods-App-RNWallet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 7F0ADF9FBB4DFB43D9B42D14 /* libPods-App-RNWallet.a */; };
2729
BC55FDB92B7D243600340DDB /* GoogleService-Info.plist in Resources */ = {isa = PBXBuildFile; fileRef = BC55FDB82B7D243600340DDB /* GoogleService-Info.plist */; };
30+
CEC19D7E905244D0A0217718 /* KHTeka-Medium.otf in Resources */ = {isa = PBXBuildFile; fileRef = 4FBAB7122BF343DBAF0BB7F7 /* KHTeka-Medium.otf */; };
2831
/* End PBXBuildFile section */
2932

3033
/* Begin PBXFileReference section */
3134
0FF5517EE50A98CDBAD33515 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = RNWeb3Wallet/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
3235
13B07F961A680F5B00A75B9A /* RNWallet.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = RNWallet.app; sourceTree = BUILT_PRODUCTS_DIR; };
3336
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = RNWeb3Wallet/Images.xcassets; sourceTree = "<group>"; };
3437
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = RNWeb3Wallet/Info.plist; sourceTree = "<group>"; };
38+
18BB39FF004742E9BA98CBB1 /* KHTeka-Light.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Light.otf"; path = "../assets/fonts/KHTeka-Light.otf"; sourceTree = "<group>"; };
3539
1DE6EA8716545F6CED9BF875 /* Pods-App-RNWallet.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App-RNWallet.debug.xcconfig"; path = "Target Support Files/Pods-App-RNWallet/Pods-App-RNWallet.debug.xcconfig"; sourceTree = "<group>"; };
3640
1FCDA2A22B9B8E6200E0BF0C /* RNWallet Debug.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNWallet Debug.app"; sourceTree = BUILT_PRODUCTS_DIR; };
3741
1FCDA2BA2B9B8E6800E0BF0C /* RNWallet Internal.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RNWallet Internal.app"; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -42,10 +46,12 @@
4246
2C50482F22BB4C56ACE24EA8 /* BootSplash.storyboard */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = unknown; name = BootSplash.storyboard; path = RNWeb3Wallet/BootSplash.storyboard; sourceTree = "<group>"; };
4347
3616329FA2535E44622E8399 /* libPods-App-RNWallet Debug.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-App-RNWallet Debug.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4448
3F16776DD2AD1459C80F97BA /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xml; name = PrivacyInfo.xcprivacy; path = RNWeb3Wallet/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
49+
4FBAB7122BF343DBAF0BB7F7 /* KHTeka-Medium.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Medium.otf"; path = "../assets/fonts/KHTeka-Medium.otf"; sourceTree = "<group>"; };
4550
540B49B18EE9B4B3211A85F1 /* Pods-App-RNWallet Debug.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App-RNWallet Debug.debug.xcconfig"; path = "Target Support Files/Pods-App-RNWallet Debug/Pods-App-RNWallet Debug.debug.xcconfig"; sourceTree = "<group>"; };
4651
7F0ADF9FBB4DFB43D9B42D14 /* libPods-App-RNWallet.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-App-RNWallet.a"; sourceTree = BUILT_PRODUCTS_DIR; };
4752
8987A5832B077AEB1770930B /* Pods-App-RNWallet Internal.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-App-RNWallet Internal.debug.xcconfig"; path = "Target Support Files/Pods-App-RNWallet Internal/Pods-App-RNWallet Internal.debug.xcconfig"; sourceTree = "<group>"; };
4853
936277491F1F3293104F8AD2 /* libPods-App-RNWallet Internal.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-App-RNWallet Internal.a"; sourceTree = BUILT_PRODUCTS_DIR; };
54+
ABEB231DA62E483992083356 /* KHTeka-Regular.otf */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = undefined; includeInIndex = 0; lastKnownFileType = unknown; name = "KHTeka-Regular.otf"; path = "../assets/fonts/KHTeka-Regular.otf"; sourceTree = "<group>"; };
4955
BC0E53642B7E95F80075EFC3 /* RNWeb3Wallet.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RNWeb3Wallet.entitlements; path = RNWeb3Wallet/RNWeb3Wallet.entitlements; sourceTree = "<group>"; };
5056
BC0E53652B7EAFF70075EFC3 /* RNWeb3WalletDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; name = RNWeb3WalletDebug.entitlements; path = RNWeb3Wallet/RNWeb3WalletDebug.entitlements; sourceTree = "<group>"; };
5157
BC55FDB82B7D243600340DDB /* GoogleService-Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = "GoogleService-Info.plist"; sourceTree = "<group>"; };
@@ -161,6 +167,9 @@
161167
C9361DCED1EF478AB2163518 /* Resources */ = {
162168
isa = PBXGroup;
163169
children = (
170+
4FBAB7122BF343DBAF0BB7F7 /* KHTeka-Medium.otf */,
171+
18BB39FF004742E9BA98CBB1 /* KHTeka-Light.otf */,
172+
ABEB231DA62E483992083356 /* KHTeka-Regular.otf */,
164173
);
165174
name = Resources;
166175
sourceTree = "<group>";
@@ -286,6 +295,9 @@
286295
BC55FDB92B7D243600340DDB /* GoogleService-Info.plist in Resources */,
287296
97927E27E3F047C29FBF2FD7 /* BootSplash.storyboard in Resources */,
288297
3D28D8B186B853F8087F5C78 /* PrivacyInfo.xcprivacy in Resources */,
298+
CEC19D7E905244D0A0217718 /* KHTeka-Medium.otf in Resources */,
299+
705ED4580BA7485D980B6725 /* KHTeka-Light.otf in Resources */,
300+
850070D3B9C94E2E960A8670 /* KHTeka-Regular.otf in Resources */,
289301
);
290302
runOnlyForDeploymentPostprocessing = 0;
291303
};

wallets/rn_cli_wallet/ios/RNWeb3Wallet/Info.plist

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,5 +85,11 @@
8585
<string>Light</string>
8686
<key>UIViewControllerBasedStatusBarAppearance</key>
8787
<false/>
88+
<key>UIAppFonts</key>
89+
<array>
90+
<string>KHTeka-Medium.otf</string>
91+
<string>KHTeka-Light.otf</string>
92+
<string>KHTeka-Regular.otf</string>
93+
</array>
8894
</dict>
8995
</plist>

0 commit comments

Comments
 (0)