Commit a8496cf
fix: simplify tab bar color configuration with accentColor
Simplify the tab bar color implementation:
- Use UITabBar.appearance().unselectedItemTintColor for unselected items (both icons and text)
- Use .accentColor(Color.primary) modifier on TabView for selected items
- Remove complex UITabBarAppearance layout configurations
This simpler approach should properly apply colors to both icons and text:
- Light mode: selected=black, unselected=light gray (78%)
- Dark mode: selected=white, unselected=dim gray (60%)
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude <[email protected]>1 parent e743785 commit a8496cf
1 file changed
+4
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
| 28 | + | |
| 29 | + | |
34 | 30 | | |
35 | 31 | | |
36 | 32 | | |
| |||
42 | 38 | | |
43 | 39 | | |
44 | 40 | | |
45 | | - | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | | - | |
56 | | - | |
57 | | - | |
| 41 | + | |
58 | 42 | | |
59 | 43 | | |
60 | 44 | | |
| |||
118 | 102 | | |
119 | 103 | | |
120 | 104 | | |
121 | | - | |
| 105 | + | |
122 | 106 | | |
123 | 107 | | |
124 | 108 | | |
| |||
0 commit comments