react-native-inapp-inspector 1.1.14 → 1.1.16

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.
Files changed (246) hide show
  1. package/README.md +133 -151
  2. package/dist/commonjs/assets/svgAssets.d.ts +3 -0
  3. package/dist/commonjs/assets/svgAssets.js +17 -0
  4. package/dist/commonjs/components/AnalyticsEventCard.d.ts +1 -14
  5. package/dist/commonjs/components/AnalyticsEventCard.js +34 -51
  6. package/dist/commonjs/components/AnalyticsGraph.d.ts +2 -6
  7. package/dist/commonjs/components/AnalyticsGraph.js +8 -8
  8. package/dist/commonjs/components/AnalyticsTabView.d.ts +15 -0
  9. package/dist/commonjs/components/AnalyticsTabView.js +157 -0
  10. package/dist/commonjs/components/AnimatedEntrance.d.ts +1 -1
  11. package/dist/commonjs/components/AnimatedEntrance.js +2 -2
  12. package/dist/commonjs/components/ApiDetailView.d.ts +22 -0
  13. package/dist/commonjs/components/ApiDetailView.js +304 -0
  14. package/dist/commonjs/components/ApisTabView.d.ts +33 -0
  15. package/dist/commonjs/components/ApisTabView.js +235 -0
  16. package/dist/commonjs/components/CodeSnippet.d.ts +1 -5
  17. package/dist/commonjs/components/CodeSnippet.js +34 -34
  18. package/dist/commonjs/components/ConsoleLogCard.d.ts +1 -8
  19. package/dist/commonjs/components/ConsoleLogCard.js +262 -442
  20. package/dist/commonjs/components/ConsoleLogDetailView.d.ts +9 -0
  21. package/dist/commonjs/components/ConsoleLogDetailView.js +278 -0
  22. package/dist/commonjs/components/ConsoleLogsTabView.d.ts +24 -0
  23. package/dist/commonjs/components/ConsoleLogsTabView.js +354 -0
  24. package/dist/commonjs/components/CopyButton.d.ts +1 -1
  25. package/dist/commonjs/components/CopyButton.js +4 -4
  26. package/dist/commonjs/components/DiffViewer.js +4 -2
  27. package/dist/commonjs/components/DomainHeader.js +66 -41
  28. package/dist/commonjs/components/EmptyState.d.ts +2 -2
  29. package/dist/commonjs/components/EmptyState.js +2 -2
  30. package/dist/commonjs/components/EndOfListFooter.d.ts +8 -0
  31. package/dist/commonjs/components/EndOfListFooter.js +89 -0
  32. package/dist/commonjs/components/ErrorBoundary.d.ts +5 -14
  33. package/dist/commonjs/components/ErrorBoundary.js +28 -28
  34. package/dist/commonjs/components/FloatingBubble.d.ts +14 -0
  35. package/dist/commonjs/components/FloatingBubble.js +75 -0
  36. package/dist/commonjs/components/HeadersSection.js +5 -3
  37. package/dist/commonjs/components/HighlightText.d.ts +1 -1
  38. package/dist/commonjs/components/HighlightText.js +5 -7
  39. package/dist/commonjs/components/Inspector/AnalyticsTab.d.ts +3 -0
  40. package/dist/commonjs/components/Inspector/AnalyticsTab.js +231 -0
  41. package/dist/commonjs/components/Inspector/ConsoleTab.d.ts +3 -0
  42. package/dist/commonjs/components/Inspector/ConsoleTab.js +410 -0
  43. package/dist/commonjs/components/Inspector/FabLauncher.d.ts +3 -0
  44. package/dist/commonjs/components/Inspector/FabLauncher.js +54 -0
  45. package/dist/commonjs/components/Inspector/InsightsDashboard.d.ts +3 -0
  46. package/dist/commonjs/components/Inspector/InsightsDashboard.js +619 -0
  47. package/dist/commonjs/components/Inspector/InspectorContext.d.ts +5 -0
  48. package/dist/commonjs/components/Inspector/InspectorContext.js +18 -0
  49. package/dist/commonjs/components/Inspector/InspectorHeader.d.ts +3 -0
  50. package/dist/commonjs/components/Inspector/InspectorHeader.js +452 -0
  51. package/dist/commonjs/components/Inspector/LogDetail.d.ts +3 -0
  52. package/dist/commonjs/components/Inspector/LogDetail.js +963 -0
  53. package/dist/commonjs/components/Inspector/MainScreen.d.ts +3 -0
  54. package/dist/commonjs/components/Inspector/MainScreen.js +68 -0
  55. package/dist/commonjs/components/Inspector/NavigationTracker.d.ts +3 -0
  56. package/dist/commonjs/components/Inspector/NavigationTracker.js +12 -0
  57. package/dist/commonjs/components/Inspector/NetworkDetail.d.ts +3 -0
  58. package/dist/commonjs/components/Inspector/NetworkDetail.js +405 -0
  59. package/dist/commonjs/components/Inspector/NetworkTab.d.ts +3 -0
  60. package/dist/commonjs/components/Inspector/NetworkTab.js +282 -0
  61. package/dist/commonjs/components/Inspector/ReduxTab.d.ts +3 -0
  62. package/dist/commonjs/components/Inspector/ReduxTab.js +75 -0
  63. package/dist/commonjs/components/Inspector/SettingsPanel.d.ts +3 -0
  64. package/dist/commonjs/components/Inspector/SettingsPanel.js +1476 -0
  65. package/dist/commonjs/components/Inspector/TabBar.d.ts +3 -0
  66. package/dist/commonjs/components/Inspector/TabBar.js +95 -0
  67. package/dist/commonjs/components/Inspector/WebViewTab.d.ts +3 -0
  68. package/dist/commonjs/components/Inspector/WebViewTab.js +757 -0
  69. package/dist/commonjs/components/InspectorHeader.d.ts +19 -0
  70. package/dist/commonjs/components/InspectorHeader.js +329 -0
  71. package/dist/commonjs/components/InspectorTabBar.d.ts +16 -0
  72. package/dist/commonjs/components/InspectorTabBar.js +90 -0
  73. package/dist/commonjs/components/JsonViewer.d.ts +5 -2
  74. package/dist/commonjs/components/JsonViewer.js +111 -172
  75. package/dist/commonjs/components/LogCard.js +109 -86
  76. package/dist/commonjs/components/MetaAccordion.d.ts +1 -10
  77. package/dist/commonjs/components/MetaAccordion.js +23 -21
  78. package/dist/commonjs/components/NavigationTracker.d.ts +7 -0
  79. package/dist/commonjs/components/NavigationTracker.js +76 -0
  80. package/dist/commonjs/components/NetworkIcons.d.ts +6 -0
  81. package/dist/commonjs/components/NetworkIcons.js +54 -8
  82. package/dist/commonjs/components/ReduxTabView.d.ts +9 -0
  83. package/dist/commonjs/components/ReduxTabView.js +56 -0
  84. package/dist/commonjs/components/ReduxTreeView.d.ts +2 -2
  85. package/dist/commonjs/components/ReduxTreeView.js +243 -203
  86. package/dist/commonjs/components/SegmentedTabs.d.ts +15 -0
  87. package/dist/commonjs/components/SegmentedTabs.js +52 -0
  88. package/dist/commonjs/components/SettingsView.d.ts +13 -0
  89. package/dist/commonjs/components/SettingsView.js +328 -0
  90. package/dist/commonjs/components/TouchableScale.d.ts +2 -2
  91. package/dist/commonjs/components/TouchableScale.js +2 -2
  92. package/dist/commonjs/components/TreeNode.js +2 -2
  93. package/dist/commonjs/constants/index.js +1 -12
  94. package/dist/commonjs/constants/version.d.ts +1 -1
  95. package/dist/commonjs/constants/version.js +1 -1
  96. package/dist/commonjs/customHooks/consoleLogger.js +137 -13
  97. package/dist/commonjs/customHooks/networkLogger.d.ts +0 -1
  98. package/dist/commonjs/customHooks/networkLogger.js +0 -1
  99. package/dist/commonjs/customHooks/reduxLogger.d.ts +2 -9
  100. package/dist/commonjs/enums/index.d.ts +39 -0
  101. package/dist/commonjs/enums/index.js +50 -0
  102. package/dist/commonjs/helpers/index.d.ts +27 -1
  103. package/dist/commonjs/helpers/index.js +187 -12
  104. package/dist/commonjs/helpers/settingsStore.d.ts +2 -24
  105. package/dist/commonjs/i18n/en.json +144 -0
  106. package/dist/commonjs/i18n/index.d.ts +2 -0
  107. package/dist/commonjs/i18n/index.js +27 -0
  108. package/dist/commonjs/i18n/locales/en.json +314 -0
  109. package/dist/commonjs/index.d.ts +1 -2
  110. package/dist/commonjs/index.js +196 -4800
  111. package/dist/commonjs/styles/AppColors.d.ts +148 -0
  112. package/dist/commonjs/styles/AppColors.js +176 -0
  113. package/dist/commonjs/styles/common.d.ts +3 -0
  114. package/dist/commonjs/styles/common.js +201 -0
  115. package/dist/commonjs/styles/index.d.ts +167 -442
  116. package/dist/commonjs/styles/index.js +239 -471
  117. package/dist/commonjs/types/enums.d.ts +9 -0
  118. package/dist/commonjs/types/enums.js +4 -0
  119. package/dist/commonjs/types/index.d.ts +4 -111
  120. package/dist/commonjs/types/index.js +16 -0
  121. package/dist/commonjs/types/interfaces.d.ts +337 -0
  122. package/dist/commonjs/types/interfaces.js +2 -0
  123. package/dist/esm/assets/svgAssets.d.ts +3 -0
  124. package/dist/esm/assets/svgAssets.js +14 -0
  125. package/dist/esm/components/AnalyticsEventCard.d.ts +1 -14
  126. package/dist/esm/components/AnalyticsEventCard.js +32 -49
  127. package/dist/esm/components/AnalyticsGraph.d.ts +2 -6
  128. package/dist/esm/components/AnalyticsGraph.js +8 -8
  129. package/dist/esm/components/AnalyticsTabView.d.ts +15 -0
  130. package/dist/esm/components/AnalyticsTabView.js +151 -0
  131. package/dist/esm/components/AnimatedEntrance.d.ts +1 -1
  132. package/dist/esm/components/AnimatedEntrance.js +2 -2
  133. package/dist/esm/components/ApiDetailView.d.ts +22 -0
  134. package/dist/esm/components/ApiDetailView.js +264 -0
  135. package/dist/esm/components/ApisTabView.d.ts +33 -0
  136. package/dist/esm/components/ApisTabView.js +196 -0
  137. package/dist/esm/components/CodeSnippet.d.ts +1 -5
  138. package/dist/esm/components/CodeSnippet.js +34 -34
  139. package/dist/esm/components/ConsoleLogCard.d.ts +1 -8
  140. package/dist/esm/components/ConsoleLogCard.js +262 -409
  141. package/dist/esm/components/ConsoleLogDetailView.d.ts +9 -0
  142. package/dist/esm/components/ConsoleLogDetailView.js +271 -0
  143. package/dist/esm/components/ConsoleLogsTabView.d.ts +24 -0
  144. package/dist/esm/components/ConsoleLogsTabView.js +348 -0
  145. package/dist/esm/components/CopyButton.d.ts +1 -1
  146. package/dist/esm/components/CopyButton.js +5 -5
  147. package/dist/esm/components/DiffViewer.js +4 -2
  148. package/dist/esm/components/DomainHeader.js +66 -41
  149. package/dist/esm/components/EmptyState.d.ts +2 -2
  150. package/dist/esm/components/EmptyState.js +2 -2
  151. package/dist/esm/components/EndOfListFooter.d.ts +8 -0
  152. package/dist/esm/components/EndOfListFooter.js +83 -0
  153. package/dist/esm/components/ErrorBoundary.d.ts +5 -14
  154. package/dist/esm/components/ErrorBoundary.js +29 -29
  155. package/dist/esm/components/FloatingBubble.d.ts +14 -0
  156. package/dist/esm/components/FloatingBubble.js +68 -0
  157. package/dist/esm/components/HeadersSection.js +5 -3
  158. package/dist/esm/components/HighlightText.d.ts +1 -1
  159. package/dist/esm/components/HighlightText.js +5 -7
  160. package/dist/esm/components/Inspector/AnalyticsTab.d.ts +3 -0
  161. package/dist/esm/components/Inspector/AnalyticsTab.js +193 -0
  162. package/dist/esm/components/Inspector/ConsoleTab.d.ts +3 -0
  163. package/dist/esm/components/Inspector/ConsoleTab.js +372 -0
  164. package/dist/esm/components/Inspector/FabLauncher.d.ts +3 -0
  165. package/dist/esm/components/Inspector/FabLauncher.js +49 -0
  166. package/dist/esm/components/Inspector/InsightsDashboard.d.ts +3 -0
  167. package/dist/esm/components/Inspector/InsightsDashboard.js +614 -0
  168. package/dist/esm/components/Inspector/InspectorContext.d.ts +5 -0
  169. package/dist/esm/components/Inspector/InspectorContext.js +13 -0
  170. package/dist/esm/components/Inspector/InspectorHeader.d.ts +3 -0
  171. package/dist/esm/components/Inspector/InspectorHeader.js +447 -0
  172. package/dist/esm/components/Inspector/LogDetail.d.ts +3 -0
  173. package/dist/esm/components/Inspector/LogDetail.js +925 -0
  174. package/dist/esm/components/Inspector/MainScreen.d.ts +3 -0
  175. package/dist/esm/components/Inspector/MainScreen.js +63 -0
  176. package/dist/esm/components/Inspector/NavigationTracker.d.ts +3 -0
  177. package/dist/esm/components/Inspector/NavigationTracker.js +10 -0
  178. package/dist/esm/components/Inspector/NetworkDetail.d.ts +3 -0
  179. package/dist/esm/components/Inspector/NetworkDetail.js +367 -0
  180. package/dist/esm/components/Inspector/NetworkTab.d.ts +3 -0
  181. package/dist/esm/components/Inspector/NetworkTab.js +244 -0
  182. package/dist/esm/components/Inspector/ReduxTab.d.ts +3 -0
  183. package/dist/esm/components/Inspector/ReduxTab.js +70 -0
  184. package/dist/esm/components/Inspector/SettingsPanel.d.ts +3 -0
  185. package/dist/esm/components/Inspector/SettingsPanel.js +1438 -0
  186. package/dist/esm/components/Inspector/TabBar.d.ts +3 -0
  187. package/dist/esm/components/Inspector/TabBar.js +90 -0
  188. package/dist/esm/components/Inspector/WebViewTab.d.ts +3 -0
  189. package/dist/esm/components/Inspector/WebViewTab.js +752 -0
  190. package/dist/esm/components/InspectorHeader.d.ts +19 -0
  191. package/dist/esm/components/InspectorHeader.js +323 -0
  192. package/dist/esm/components/InspectorTabBar.d.ts +16 -0
  193. package/dist/esm/components/InspectorTabBar.js +84 -0
  194. package/dist/esm/components/JsonViewer.d.ts +5 -2
  195. package/dist/esm/components/JsonViewer.js +112 -173
  196. package/dist/esm/components/LogCard.js +111 -88
  197. package/dist/esm/components/MetaAccordion.d.ts +1 -10
  198. package/dist/esm/components/MetaAccordion.js +23 -21
  199. package/dist/esm/components/NavigationTracker.d.ts +7 -0
  200. package/dist/esm/components/NavigationTracker.js +39 -0
  201. package/dist/esm/components/NetworkIcons.d.ts +6 -0
  202. package/dist/esm/components/NetworkIcons.js +46 -6
  203. package/dist/esm/components/ReduxTabView.d.ts +9 -0
  204. package/dist/esm/components/ReduxTabView.js +50 -0
  205. package/dist/esm/components/ReduxTreeView.d.ts +2 -2
  206. package/dist/esm/components/ReduxTreeView.js +245 -204
  207. package/dist/esm/components/SegmentedTabs.d.ts +15 -0
  208. package/dist/esm/components/SegmentedTabs.js +47 -0
  209. package/dist/esm/components/SettingsView.d.ts +13 -0
  210. package/dist/esm/components/SettingsView.js +321 -0
  211. package/dist/esm/components/TouchableScale.d.ts +2 -2
  212. package/dist/esm/components/TouchableScale.js +2 -2
  213. package/dist/esm/components/TreeNode.js +2 -2
  214. package/dist/esm/constants/index.js +1 -12
  215. package/dist/esm/constants/version.d.ts +1 -1
  216. package/dist/esm/constants/version.js +1 -1
  217. package/dist/esm/customHooks/consoleLogger.js +137 -13
  218. package/dist/esm/customHooks/networkLogger.d.ts +0 -1
  219. package/dist/esm/customHooks/networkLogger.js +0 -1
  220. package/dist/esm/customHooks/reduxLogger.d.ts +2 -9
  221. package/dist/esm/enums/index.d.ts +39 -0
  222. package/dist/esm/enums/index.js +47 -0
  223. package/dist/esm/helpers/index.d.ts +27 -1
  224. package/dist/esm/helpers/index.js +180 -11
  225. package/dist/esm/helpers/settingsStore.d.ts +2 -24
  226. package/dist/esm/i18n/en.json +144 -0
  227. package/dist/esm/i18n/index.d.ts +2 -0
  228. package/dist/esm/i18n/index.js +22 -0
  229. package/dist/esm/i18n/locales/en.json +314 -0
  230. package/dist/esm/index.d.ts +1 -2
  231. package/dist/esm/index.js +200 -4796
  232. package/dist/esm/styles/AppColors.d.ts +148 -0
  233. package/dist/esm/styles/AppColors.js +176 -0
  234. package/dist/esm/styles/common.d.ts +3 -0
  235. package/dist/esm/styles/common.js +197 -0
  236. package/dist/esm/styles/index.d.ts +167 -442
  237. package/dist/esm/styles/index.js +239 -471
  238. package/dist/esm/types/enums.d.ts +9 -0
  239. package/dist/esm/types/enums.js +3 -0
  240. package/dist/esm/types/index.d.ts +4 -111
  241. package/dist/esm/types/index.js +2 -1
  242. package/dist/esm/types/interfaces.d.ts +337 -0
  243. package/dist/esm/types/interfaces.js +1 -0
  244. package/example/App.tsx +145 -2
  245. package/example/README.md +33 -77
  246. package/package.json +3 -1
@@ -1,6 +1,8 @@
1
- import { StyleSheet, Platform, StatusBar } from 'react-native';
1
+ import { StyleSheet, Platform } from 'react-native';
2
2
  import AppColors, { updateAppColorsTheme, getThemeColors } from './AppColors';
3
3
  import { AppFonts } from './AppFonts';
4
+ import commonStyles, { rebuildCommonStyles } from './common';
5
+ export { commonStyles };
4
6
  export const getRawStyles = (colors) => ({
5
7
  header: {
6
8
  flexDirection: 'row',
@@ -9,7 +11,7 @@ export const getRawStyles = (colors) => ({
9
11
  paddingVertical: 10,
10
12
  zIndex: 10,
11
13
  minHeight: 64,
12
- shadowColor: '#000000',
14
+ shadowColor: colors.black,
13
15
  shadowOffset: { width: 0, height: 2 },
14
16
  shadowOpacity: 0.08,
15
17
  shadowRadius: 4,
@@ -30,37 +32,6 @@ export const getRawStyles = (colors) => ({
30
32
  letterSpacing: 0.3,
31
33
  paddingBottom: 4,
32
34
  },
33
- headerButtonGroup: {
34
- flexDirection: 'row',
35
- alignItems: 'center',
36
- backgroundColor: 'rgba(255, 255, 255, 0.1)',
37
- borderRadius: 10,
38
- padding: 3,
39
- borderWidth: 1,
40
- borderColor: 'rgba(255, 255, 255, 0.08)',
41
- },
42
- headerGroupButton: {
43
- flexDirection: 'row',
44
- alignItems: 'center',
45
- paddingHorizontal: 8,
46
- paddingVertical: 6,
47
- borderRadius: 8,
48
- gap: 4,
49
- },
50
- headerGroupButtonActive: {
51
- backgroundColor: 'rgba(255, 255, 255, 0.22)',
52
- shadowColor: '#000000',
53
- shadowOffset: { width: 0, height: 1 },
54
- shadowOpacity: 0.12,
55
- shadowRadius: 2,
56
- elevation: 2,
57
- },
58
- headerGroupButtonText: {
59
- fontFamily: AppFonts.interMedium,
60
- fontSize: 10.5,
61
- color: 'rgba(255, 255, 255, 0.65)',
62
- letterSpacing: 0.1,
63
- },
64
35
  headerDetailCenter: {
65
36
  alignItems: 'center',
66
37
  justifyContent: 'center',
@@ -76,7 +47,7 @@ export const getRawStyles = (colors) => ({
76
47
  paddingHorizontal: 6,
77
48
  paddingVertical: 3,
78
49
  borderRadius: 6,
79
- shadowColor: '#000000',
50
+ shadowColor: colors.black,
80
51
  shadowOffset: { width: 0, height: 1 },
81
52
  shadowOpacity: 0.1,
82
53
  shadowRadius: 2,
@@ -105,7 +76,7 @@ export const getRawStyles = (colors) => ({
105
76
  width: 7,
106
77
  height: 7,
107
78
  borderRadius: 3.5,
108
- shadowColor: '#000000',
79
+ shadowColor: colors.black,
109
80
  shadowOffset: { width: 0, height: 1 },
110
81
  shadowOpacity: 0.2,
111
82
  shadowRadius: 1,
@@ -121,14 +92,14 @@ export const getRawStyles = (colors) => ({
121
92
  headerCountBadge: {
122
93
  flexDirection: 'row',
123
94
  alignItems: 'center',
124
- backgroundColor: 'rgba(0,0,0,0.2)',
95
+ backgroundColor: `${colors.black}33`,
125
96
  paddingHorizontal: 12,
126
97
  paddingVertical: 6,
127
98
  borderRadius: 16,
128
99
  gap: 6,
129
100
  borderWidth: 0.5,
130
- borderColor: 'rgba(255,255,255,0.2)',
131
- shadowColor: '#000000',
101
+ borderColor: `${colors.white}33`,
102
+ shadowColor: colors.black,
132
103
  shadowOffset: { width: 0, height: 1 },
133
104
  shadowOpacity: 0.1,
134
105
  shadowRadius: 2,
@@ -136,21 +107,10 @@ export const getRawStyles = (colors) => ({
136
107
  },
137
108
  headerCountText: {
138
109
  fontFamily: AppFonts.interMedium,
139
- color: 'rgba(255,255,255,0.95)',
110
+ color: `${colors.white}F2`,
140
111
  fontSize: 12,
141
112
  letterSpacing: 0.2,
142
113
  },
143
- iconBtnMinimal: { padding: 6 },
144
- closeButtonSquare: {
145
- width: 32,
146
- height: 32,
147
- borderRadius: 8,
148
- backgroundColor: 'rgba(255, 255, 255, 0.15)',
149
- alignItems: 'center',
150
- justifyContent: 'center',
151
- borderWidth: 1,
152
- borderColor: 'rgba(255, 255, 255, 0.08)',
153
- },
154
114
  listContent: { paddingBottom: 12 },
155
115
  // #2 — scroll-to-top button, always shown at the bottom right.
156
116
  scrollTopBtn: {
@@ -163,7 +123,7 @@ export const getRawStyles = (colors) => ({
163
123
  backgroundColor: colors.purple,
164
124
  alignItems: 'center',
165
125
  justifyContent: 'center',
166
- shadowColor: '#000000',
126
+ shadowColor: colors.black,
167
127
  shadowOffset: { width: 0, height: 3 },
168
128
  shadowOpacity: 0.25,
169
129
  shadowRadius: 5,
@@ -171,7 +131,16 @@ export const getRawStyles = (colors) => ({
171
131
  zIndex: 50,
172
132
  },
173
133
  detailScroll: { flex: 1 },
174
- detailContent: { paddingHorizontal: 6, paddingTop: 8, paddingBottom: 20 },
134
+ closeButtonSquare: {
135
+ width: 32,
136
+ height: 32,
137
+ borderRadius: 8,
138
+ backgroundColor: `${colors.white}26`,
139
+ alignItems: 'center',
140
+ justifyContent: 'center',
141
+ borderWidth: 1,
142
+ borderColor: `${colors.white}14`,
143
+ },
175
144
  fabWrapper: {
176
145
  position: 'absolute',
177
146
  bottom: 180,
@@ -185,16 +154,6 @@ export const getRawStyles = (colors) => ({
185
154
  shadowOpacity: 0.4,
186
155
  shadowRadius: 12,
187
156
  },
188
- fabIconContainer: {
189
- backgroundColor: '#FFFFFF',
190
- borderRadius: 28,
191
- width: 56,
192
- height: 56,
193
- borderWidth: 1.5,
194
- borderColor: colors.purple,
195
- alignItems: 'center',
196
- justifyContent: 'center',
197
- },
198
157
  fabPulseRing: {
199
158
  position: 'absolute',
200
159
  width: 60,
@@ -218,49 +177,6 @@ export const getRawStyles = (colors) => ({
218
177
  height: 102,
219
178
  transform: [{ rotate: '25deg' }],
220
179
  },
221
- fab: {
222
- width: 56,
223
- height: 56,
224
- borderRadius: 28,
225
- alignItems: 'center',
226
- justifyContent: 'center',
227
- backgroundColor: colors.purple,
228
- shadowColor: colors.shadowColorString,
229
- shadowOffset: { width: 0, height: 6 },
230
- shadowOpacity: 0.35,
231
- shadowRadius: 10,
232
- elevation: 12,
233
- },
234
- fabText: {
235
- fontFamily: AppFonts.interBold,
236
- color: colors.primaryLight,
237
- fontSize: 14,
238
- },
239
- fabBadge: {
240
- position: 'absolute',
241
- top: -6,
242
- right: -6,
243
- minWidth: 24,
244
- height: 24,
245
- borderRadius: 12,
246
- alignItems: 'center',
247
- justifyContent: 'center',
248
- paddingHorizontal: 6,
249
- borderWidth: 2.5,
250
- borderColor: colors.primaryLight,
251
- shadowColor: colors.shadowColorString,
252
- shadowOffset: { width: 0, height: 2 },
253
- shadowOpacity: 0.2,
254
- shadowRadius: 3,
255
- elevation: 3,
256
- },
257
- fabBadgeNormal: { backgroundColor: colors.purple },
258
- fabBadgeError: { backgroundColor: colors.errorColor },
259
- fabBadgeText: {
260
- fontFamily: AppFonts.interBold,
261
- color: colors.primaryLight,
262
- fontSize: 11,
263
- },
264
180
  fabGreenDot: {
265
181
  position: 'absolute',
266
182
  top: 2,
@@ -268,39 +184,15 @@ export const getRawStyles = (colors) => ({
268
184
  width: 12,
269
185
  height: 12,
270
186
  borderRadius: 6,
271
- backgroundColor: '#00E676',
187
+ backgroundColor: colors.greenA400,
272
188
  borderWidth: 2,
273
189
  borderColor: colors.primaryLight,
274
- shadowColor: '#000000',
190
+ shadowColor: colors.black,
275
191
  shadowOffset: { width: 0, height: 1 },
276
192
  shadowOpacity: 0.2,
277
193
  shadowRadius: 1.5,
278
194
  elevation: 2,
279
195
  },
280
- statBox: {
281
- flex: 1,
282
- alignItems: 'center',
283
- justifyContent: 'center',
284
- },
285
- statValue: {
286
- fontFamily: AppFonts.interBold,
287
- color: colors.primaryBlack,
288
- fontSize: 14,
289
- },
290
- statLabel: {
291
- fontFamily: AppFonts.interMedium,
292
- color: colors.grayTextWeak,
293
- fontSize: 10,
294
- marginTop: 4,
295
- textTransform: 'uppercase',
296
- letterSpacing: 0.5,
297
- },
298
- miniGraphWrap: {
299
- marginTop: 8,
300
- height: 16,
301
- alignItems: 'center',
302
- justifyContent: 'center',
303
- },
304
196
  toolbarRow: {
305
197
  flexDirection: 'row',
306
198
  alignItems: 'center',
@@ -315,12 +207,6 @@ export const getRawStyles = (colors) => ({
315
207
  alignItems: 'center',
316
208
  gap: 10,
317
209
  },
318
- toolbarDivider: {
319
- width: 1,
320
- height: 20,
321
- backgroundColor: colors.dividerColor,
322
- marginHorizontal: 2,
323
- },
324
210
  toolbarBtn: {
325
211
  width: 34,
326
212
  height: 34,
@@ -330,7 +216,7 @@ export const getRawStyles = (colors) => ({
330
216
  backgroundColor: colors.primaryLight,
331
217
  borderWidth: 1.5,
332
218
  borderColor: colors.grayBorderSecondary,
333
- shadowColor: '#000000',
219
+ shadowColor: colors.black,
334
220
  shadowOffset: { width: 0, height: 1 },
335
221
  shadowOpacity: 0.04,
336
222
  shadowRadius: 2,
@@ -379,17 +265,18 @@ export const getRawStyles = (colors) => ({
379
265
  },
380
266
  statusFilterWrap: { marginRight: 6 },
381
267
  statusFilterChip: {
382
- paddingHorizontal: 10,
383
- height: 30,
384
- justifyContent: 'center',
268
+ flexDirection: 'row',
385
269
  alignItems: 'center',
270
+ paddingHorizontal: 9,
271
+ height: 32,
272
+ justifyContent: 'center',
386
273
  borderRadius: 24,
387
274
  borderWidth: 1.5,
388
275
  borderColor: colors.grayBorderSecondary,
389
276
  backgroundColor: colors.primaryLight,
390
- shadowColor: '#000000',
277
+ shadowColor: colors.black,
391
278
  shadowOffset: { width: 0, height: 1 },
392
- shadowOpacity: 0.03,
279
+ shadowOpacity: 0.04,
393
280
  shadowRadius: 2,
394
281
  elevation: 1,
395
282
  },
@@ -397,6 +284,29 @@ export const getRawStyles = (colors) => ({
397
284
  borderColor: colors.purple,
398
285
  backgroundColor: colors.purpleShade50,
399
286
  },
287
+ filterCheckbox: {
288
+ width: 13,
289
+ height: 13,
290
+ borderRadius: 3,
291
+ borderWidth: 1.5,
292
+ borderColor: colors.grayBorderSecondary,
293
+ backgroundColor: colors.primaryLight,
294
+ alignItems: 'center',
295
+ justifyContent: 'center',
296
+ marginRight: 6,
297
+ },
298
+ filterCheckboxActive: {
299
+ borderColor: 'transparent',
300
+ },
301
+ filterChipIcon: {
302
+ marginRight: 5,
303
+ },
304
+ methodBadgeMini: {
305
+ width: 4.5,
306
+ height: 13,
307
+ borderRadius: 2,
308
+ marginRight: 6,
309
+ },
400
310
  statusFilterText: {
401
311
  fontFamily: AppFonts.interMedium,
402
312
  color: colors.grayText,
@@ -421,7 +331,7 @@ export const getRawStyles = (colors) => ({
421
331
  paddingVertical: 4,
422
332
  borderWidth: 1.5,
423
333
  borderColor: colors.grayBorderSecondary,
424
- shadowColor: '#000000',
334
+ shadowColor: colors.black,
425
335
  shadowOffset: { width: 0, height: 1 },
426
336
  shadowOpacity: 0.04,
427
337
  shadowRadius: 2,
@@ -436,97 +346,84 @@ export const getRawStyles = (colors) => ({
436
346
  fontSize: 14,
437
347
  },
438
348
  clearBtn: { padding: 4 },
439
- clearBtnText: {
440
- fontFamily: AppFonts.interRegular,
441
- color: colors.grayTextWeak,
442
- fontSize: 14,
443
- },
444
- menuDropdown: {
445
- position: 'absolute',
446
- top: Platform.OS === 'android' ? (StatusBar.currentHeight || 24) + 60 : 90,
447
- width: 170,
448
- backgroundColor: colors.primaryLight,
449
- borderRadius: 14,
349
+ domainHeaderCard: {
350
+ marginHorizontal: 12,
351
+ marginTop: 12,
352
+ marginBottom: 4,
353
+ paddingHorizontal: 12,
354
+ paddingVertical: 8,
355
+ borderRadius: 10,
356
+ backgroundColor: colors.grayBackground,
450
357
  borderWidth: 1,
451
358
  borderColor: colors.grayBorderSecondary,
452
- zIndex: 999,
453
- shadowColor: '#000000',
454
- shadowOffset: { width: 0, height: 8 },
455
- shadowOpacity: 0.15,
456
- shadowRadius: 12,
457
- elevation: 8,
458
- overflow: 'hidden',
459
- },
460
- dropdownItem: {
461
- padding: 13,
462
- borderBottomWidth: 1,
463
- borderBottomColor: colors.dividerColor,
464
- },
465
- domainHeaderSeparator: {
466
- marginTop: 12,
467
- paddingTop: 16,
468
- borderTopWidth: 1,
469
- borderTopColor: colors.dividerColor,
470
359
  },
471
- domainHeaderRow: {
360
+ domainHeaderTopRow: {
472
361
  flexDirection: 'row',
473
362
  alignItems: 'center',
474
363
  justifyContent: 'space-between',
475
- paddingLeft: 20,
476
- paddingRight: 16,
477
- marginTop: 12,
478
- marginBottom: 6,
479
364
  },
480
365
  domainHeaderLeft: {
481
366
  flexDirection: 'row',
482
367
  alignItems: 'center',
483
368
  flex: 1,
484
- paddingRight: 10,
485
- gap: 6,
369
+ gap: 8,
370
+ },
371
+ domainIconWrap: {
372
+ width: 26,
373
+ height: 26,
374
+ borderRadius: 6,
375
+ alignItems: 'center',
376
+ justifyContent: 'center',
486
377
  },
487
- domainHeaderText: {
378
+ domainTitleText: {
488
379
  fontFamily: AppFonts.interBold,
489
- fontSize: 14,
380
+ fontSize: 13.5,
490
381
  fontWeight: '700',
382
+ color: colors.primaryBlack,
491
383
  textTransform: 'capitalize',
492
- flexShrink: 1,
493
- marginLeft: 2,
494
384
  },
495
- domainSubRow: {
385
+ domainSummaryRow: {
496
386
  flexDirection: 'row',
497
387
  alignItems: 'center',
498
- flexWrap: 'wrap',
499
- marginTop: 2,
388
+ gap: 6,
389
+ marginTop: 1,
500
390
  },
501
- domainTimestamp: {
391
+ domainSummaryText: {
502
392
  fontFamily: AppFonts.interRegular,
503
393
  fontSize: 10,
504
394
  color: colors.grayTextWeak,
505
395
  },
506
- domainMethodCount: {
396
+ domainPctText: {
507
397
  fontFamily: AppFonts.interBold,
508
- fontSize: 9,
509
- marginLeft: 4,
398
+ fontSize: 9.5,
510
399
  },
511
- domainStatsGroup: {
400
+ domainProgressTrack: {
512
401
  flexDirection: 'row',
513
- alignItems: 'center',
514
- borderRadius: 8,
515
- borderWidth: 1,
516
- borderColor: colors.grayBorderSecondary,
402
+ height: 2.5,
403
+ borderRadius: 1.25,
517
404
  overflow: 'hidden',
518
- backgroundColor: colors.grayBackground,
405
+ backgroundColor: 'rgba(148, 163, 184, 0.2)',
406
+ marginTop: 6,
407
+ width: '100%',
519
408
  },
520
- groupBtnItem: {
409
+ domainProgressSegment: {
410
+ height: '100%',
411
+ },
412
+ domainStatsGroup: {
521
413
  flexDirection: 'row',
522
414
  alignItems: 'center',
523
415
  gap: 4,
524
- paddingHorizontal: 8,
525
- paddingVertical: 5,
526
416
  },
527
- groupBtnBorderRight: {
528
- borderRightWidth: 1,
529
- borderRightColor: colors.grayBorderSecondary,
417
+ domainStatPill: {
418
+ flexDirection: 'row',
419
+ alignItems: 'center',
420
+ gap: 3,
421
+ paddingHorizontal: 6,
422
+ paddingVertical: 3,
423
+ borderRadius: 6,
424
+ borderWidth: 1,
425
+ borderColor: colors.grayBorderSecondary,
426
+ backgroundColor: colors.primaryLight,
530
427
  },
531
428
  domainStatText: {
532
429
  fontFamily: AppFonts.interBold,
@@ -535,17 +432,18 @@ export const getRawStyles = (colors) => ({
535
432
  treeNodeRow: {
536
433
  flexDirection: 'row',
537
434
  alignItems: 'stretch',
538
- paddingRight: 16,
435
+ paddingLeft: 12,
436
+ paddingRight: 12,
539
437
  },
540
438
  treeLines: {
541
- width: 40,
439
+ width: 28,
542
440
  position: 'relative',
543
441
  },
544
442
  modernTreeLine: {
545
443
  position: 'absolute',
546
- left: 23,
444
+ left: 14,
547
445
  top: 0,
548
- width: 16,
446
+ width: 14,
549
447
  height: '100%',
550
448
  borderLeftWidth: 1.5,
551
449
  opacity: 0.5,
@@ -553,39 +451,56 @@ export const getRawStyles = (colors) => ({
553
451
  modernTreeLineLast: {
554
452
  height: '50%',
555
453
  borderBottomWidth: 1.5,
556
- borderBottomLeftRadius: 12,
454
+ borderBottomLeftRadius: 10,
557
455
  },
558
456
  modernTreeBranch: {
559
457
  position: 'absolute',
560
- left: 23,
458
+ left: 14,
561
459
  top: '50%',
562
- width: 16,
460
+ width: 14,
563
461
  borderTopWidth: 1.5,
564
462
  opacity: 0.5,
565
463
  },
566
464
  treeCardWrapper: {
567
465
  flex: 1,
568
- paddingVertical: 4,
466
+ paddingVertical: 3.5,
569
467
  },
570
468
  card: {
571
469
  marginHorizontal: 0,
572
470
  marginVertical: 0,
573
- borderRadius: 14,
471
+ borderRadius: 12,
574
472
  overflow: 'hidden',
575
- shadowColor: '#000000',
576
- shadowOffset: { width: 0, height: 3 },
577
- shadowOpacity: 0.08,
578
- shadowRadius: 6,
579
- elevation: 3,
473
+ shadowColor: colors.black,
474
+ shadowOffset: { width: 0, height: 2 },
475
+ shadowOpacity: 0.05,
476
+ shadowRadius: 4,
477
+ elevation: 2,
580
478
  borderWidth: 1,
581
479
  borderColor: colors.grayBorderSecondary,
582
480
  backgroundColor: colors.primaryLight,
583
481
  },
584
- cardBody: { paddingHorizontal: 10, paddingTop: 8, paddingBottom: 8 },
585
- cardTopRow: {
482
+ cardBody: {
483
+ paddingHorizontal: 12,
484
+ paddingTop: 10,
485
+ paddingBottom: 9,
486
+ },
487
+ cardHeaderRow: {
586
488
  flexDirection: 'row',
587
489
  alignItems: 'center',
588
- marginBottom: 6,
490
+ justifyContent: 'space-between',
491
+ marginBottom: 4,
492
+ },
493
+ cardHeaderLeft: {
494
+ flexDirection: 'row',
495
+ alignItems: 'center',
496
+ flex: 1,
497
+ marginRight: 8,
498
+ gap: 6,
499
+ },
500
+ cardHeaderRight: {
501
+ flexDirection: 'row',
502
+ alignItems: 'center',
503
+ gap: 5,
589
504
  },
590
505
  smallCheckbox: {
591
506
  width: 13,
@@ -595,8 +510,7 @@ export const getRawStyles = (colors) => ({
595
510
  borderColor: colors.grayTextWeak,
596
511
  alignItems: 'center',
597
512
  justifyContent: 'center',
598
- backgroundColor: '#fff',
599
- marginRight: 8,
513
+ backgroundColor: colors.white,
600
514
  },
601
515
  smallCheckboxChecked: {
602
516
  backgroundColor: colors.purple,
@@ -606,102 +520,118 @@ export const getRawStyles = (colors) => ({
606
520
  fontFamily: AppFonts.interBold,
607
521
  color: colors.grayTextWeak,
608
522
  fontSize: 10,
609
- marginRight: 6,
610
- minWidth: 20,
611
523
  },
612
- chip: {
613
- flexDirection: 'row',
524
+ methodBadge: {
525
+ paddingHorizontal: 6,
526
+ paddingVertical: 2.5,
527
+ borderRadius: 6,
614
528
  alignItems: 'center',
615
- gap: 4,
529
+ justifyContent: 'center',
530
+ shadowColor: colors.black,
531
+ shadowOffset: { width: 0, height: 1 },
532
+ shadowOpacity: 0.08,
533
+ shadowRadius: 2,
534
+ elevation: 1,
535
+ },
536
+ methodBadgeText: {
537
+ fontFamily: AppFonts.interBold,
538
+ fontSize: 9.5,
539
+ letterSpacing: 0.4,
540
+ },
541
+ cardHostText: {
542
+ fontFamily: AppFonts.interMedium,
543
+ fontSize: 12,
544
+ color: colors.primaryBlack,
545
+ flexShrink: 1,
546
+ },
547
+ statusPill: {
616
548
  paddingHorizontal: 6,
617
- paddingVertical: 3,
618
- borderRadius: 8,
549
+ paddingVertical: 2,
550
+ borderRadius: 6,
619
551
  borderWidth: 1,
552
+ alignItems: 'center',
553
+ justifyContent: 'center',
620
554
  },
621
- chipText: {
555
+ statusPillText: {
622
556
  fontFamily: AppFonts.interBold,
623
557
  fontSize: 10,
624
558
  },
625
- cardMiddleRow: {
559
+ cardSlugBox: {
626
560
  flexDirection: 'row',
627
561
  alignItems: 'center',
628
562
  justifyContent: 'space-between',
629
- marginBottom: 6,
563
+ backgroundColor: colors.grayBackground,
564
+ borderRadius: 7,
565
+ borderWidth: 1,
566
+ borderColor: colors.grayBorderSecondary,
567
+ paddingHorizontal: 8,
568
+ paddingVertical: 5,
569
+ marginVertical: 5,
570
+ gap: 6,
571
+ },
572
+ slugLeft: {
573
+ flexDirection: 'row',
574
+ alignItems: 'center',
575
+ flex: 1,
576
+ gap: 6,
577
+ },
578
+ slugTag: {
579
+ fontFamily: AppFonts.interBold,
580
+ fontSize: 8.5,
581
+ color: colors.grayTextWeak,
582
+ letterSpacing: 0.5,
583
+ },
584
+ slugText: {
585
+ fontFamily: AppFonts.interBold,
586
+ fontSize: 12.5,
587
+ color: colors.primaryBlack,
588
+ flexShrink: 1,
589
+ },
590
+ slugRight: {
591
+ flexDirection: 'row',
592
+ alignItems: 'center',
593
+ gap: 4,
630
594
  },
631
- cardBottomRow: {
595
+ cardFooterRow: {
632
596
  flexDirection: 'row',
633
597
  alignItems: 'center',
634
598
  justifyContent: 'space-between',
635
- marginBottom: 6,
599
+ marginTop: 2,
636
600
  },
637
601
  cardDateRow: {
638
602
  flexDirection: 'row',
639
603
  alignItems: 'center',
640
- gap: 4,
604
+ gap: 3.5,
641
605
  },
642
606
  cardDateText: {
643
607
  fontFamily: AppFonts.interRegular,
644
608
  color: colors.grayTextWeak,
645
609
  fontSize: 10,
646
- letterSpacing: 0.2,
610
+ letterSpacing: 0.1,
647
611
  },
648
- cardMetaRow: {
612
+ cardFooterRight: {
649
613
  flexDirection: 'row',
650
614
  alignItems: 'center',
651
- gap: 6,
652
- flexShrink: 0,
653
- },
654
- urlPathText: {
655
- fontFamily: AppFonts.interMedium,
656
- color: colors.primaryBlack,
657
- fontSize: 13,
658
- flexShrink: 1,
615
+ gap: 5,
659
616
  },
660
- urlDomainText: {
661
- fontFamily: AppFonts.interRegular,
662
- color: colors.grayText,
663
- fontSize: 11,
664
- flex: 1,
665
- },
666
- requestTypeText: {
667
- fontFamily: AppFonts.interRegular,
668
- color: colors.grayText,
669
- fontSize: 10,
670
- },
671
- methodBadge: {
672
- paddingHorizontal: 6,
673
- paddingVertical: 3,
674
- borderRadius: 6,
675
- marginRight: 6,
676
- minWidth: 46,
617
+ chip: {
618
+ flexDirection: 'row',
677
619
  alignItems: 'center',
678
- justifyContent: 'center',
679
- shadowColor: '#000000',
680
- shadowOffset: { width: 0, height: 1 },
681
- shadowOpacity: 0.08,
682
- shadowRadius: 2,
683
- elevation: 1,
620
+ gap: 3.5,
621
+ paddingHorizontal: 5,
622
+ paddingVertical: 2,
623
+ borderRadius: 5,
624
+ borderWidth: 1,
684
625
  },
685
- methodBadgeText: {
626
+ chipText: {
686
627
  fontFamily: AppFonts.interBold,
687
628
  fontSize: 9.5,
688
- letterSpacing: 0.4,
689
629
  },
690
- timelineTrack: {
691
- height: 3,
692
- backgroundColor: colors.graySurface,
693
- marginTop: 4,
694
- borderRadius: 1.5,
695
- overflow: 'hidden',
696
- position: 'relative',
697
- },
698
- timelineBar: { position: 'absolute', height: '100%', borderRadius: 1.5 },
699
630
  empty: {
700
631
  flex: 1,
701
632
  alignItems: 'center',
702
633
  justifyContent: 'center',
703
634
  },
704
- emptyIcon: { fontSize: 32, color: colors.grayTextWeak },
705
635
  emptyContainer: {
706
636
  flex: 1,
707
637
  alignItems: 'center',
@@ -717,7 +647,7 @@ export const getRawStyles = (colors) => ({
717
647
  alignItems: 'center',
718
648
  justifyContent: 'center',
719
649
  marginBottom: 20,
720
- shadowColor: '#000000',
650
+ shadowColor: colors.black,
721
651
  shadowOffset: { width: 0, height: 2 },
722
652
  shadowOpacity: 0.06,
723
653
  shadowRadius: 4,
@@ -751,7 +681,7 @@ export const getRawStyles = (colors) => ({
751
681
  elevation: 5,
752
682
  },
753
683
  reloadBtnText: {
754
- color: '#FFF',
684
+ color: colors.white,
755
685
  fontFamily: AppFonts.interBold,
756
686
  fontSize: 14,
757
687
  letterSpacing: 0.3,
@@ -764,7 +694,7 @@ export const getRawStyles = (colors) => ({
764
694
  borderWidth: 1,
765
695
  borderColor: colors.grayBorderSecondary,
766
696
  backgroundColor: colors.primaryLight,
767
- shadowColor: '#000000',
697
+ shadowColor: colors.black,
768
698
  shadowOffset: { width: 0, height: 2 },
769
699
  shadowOpacity: 0.05,
770
700
  shadowRadius: 4,
@@ -777,31 +707,6 @@ export const getRawStyles = (colors) => ({
777
707
  paddingBottom: 10,
778
708
  },
779
709
  detailInfoRight: { flexDirection: 'row', alignItems: 'center', gap: 6 },
780
- detailMethodLabel: {
781
- fontFamily: AppFonts.interBold,
782
- fontSize: 14,
783
- letterSpacing: 0.5,
784
- },
785
- detailUrlContainer: {
786
- backgroundColor: colors.grayBackground,
787
- borderRadius: 10,
788
- padding: 13,
789
- borderWidth: 1,
790
- borderColor: colors.grayBorderSecondary,
791
- shadowColor: '#000000',
792
- shadowOffset: { width: 0, height: 1 },
793
- shadowOpacity: 0.04,
794
- shadowRadius: 2,
795
- elevation: 1,
796
- },
797
- detailUrl: {
798
- fontFamily: AppFonts.interRegular,
799
- color: colors.purple,
800
- fontSize: 13,
801
- lineHeight: 20,
802
- textDecorationLine: 'underline',
803
- letterSpacing: 0.2,
804
- },
805
710
  metaContainer: {
806
711
  backgroundColor: colors.primaryLight,
807
712
  borderWidth: 1,
@@ -809,7 +714,7 @@ export const getRawStyles = (colors) => ({
809
714
  borderRadius: 14,
810
715
  marginBottom: 12,
811
716
  overflow: 'hidden',
812
- shadowColor: '#000000',
717
+ shadowColor: colors.black,
813
718
  shadowOffset: { width: 0, height: 2 },
814
719
  shadowOpacity: 0.05,
815
720
  shadowRadius: 4,
@@ -832,11 +737,6 @@ export const getRawStyles = (colors) => ({
832
737
  letterSpacing: 0.6,
833
738
  textTransform: 'uppercase',
834
739
  },
835
- metaChevron: {
836
- fontFamily: AppFonts.interRegular,
837
- color: colors.grayTextWeak,
838
- fontSize: 11,
839
- },
840
740
  metaBody: { paddingHorizontal: 12, paddingBottom: 8, paddingTop: 4 },
841
741
  metaRow: {
842
742
  flexDirection: 'row',
@@ -847,7 +747,7 @@ export const getRawStyles = (colors) => ({
847
747
  metaDivider: { height: 1, backgroundColor: colors.dividerColor },
848
748
  metaLabelRow: { flexDirection: 'row', alignItems: 'center', gap: 8 },
849
749
  metaLabel: {
850
- fontFamily: AppFonts.interRegular,
750
+ fontFamily: AppFonts.interBold,
851
751
  color: colors.grayText,
852
752
  fontSize: 13,
853
753
  },
@@ -867,11 +767,6 @@ export const getRawStyles = (colors) => ({
867
767
  fontFamily: AppFonts.interBold,
868
768
  fontSize: 11,
869
769
  },
870
- seperator: {
871
- height: 1,
872
- backgroundColor: colors.dividerColor,
873
- marginVertical: 10,
874
- },
875
770
  detailSearchRow: {
876
771
  flexDirection: 'row',
877
772
  alignItems: 'center',
@@ -903,7 +798,7 @@ export const getRawStyles = (colors) => ({
903
798
  overflow: 'hidden',
904
799
  },
905
800
  sectionHeaderGradient: {
906
- backgroundColor: '#f9f9fa',
801
+ backgroundColor: colors.grayBackground,
907
802
  paddingVertical: 12,
908
803
  paddingHorizontal: 8,
909
804
  borderBottomWidth: 1,
@@ -1086,26 +981,29 @@ export const getRawStyles = (colors) => ({
1086
981
  },
1087
982
  codeSyntax: {
1088
983
  color: colors.grayTextWeak,
1089
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
984
+ fontFamily: AppFonts.interRegular,
985
+ fontSize: 12.5,
986
+ lineHeight: 18,
1090
987
  },
1091
988
  codeKey: {
1092
989
  color: colors.purple,
1093
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
990
+ fontFamily: AppFonts.interBold,
991
+ fontSize: 12.5,
992
+ lineHeight: 18,
1094
993
  },
1095
994
  codeText: {
1096
995
  color: colors.greenBaggageText,
1097
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
996
+ fontFamily: AppFonts.interRegular,
997
+ fontSize: 12.5,
998
+ lineHeight: 18,
1098
999
  },
1099
1000
  codeTextNil: {
1100
1001
  color: colors.errorColor,
1101
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
1002
+ fontFamily: AppFonts.interMedium,
1003
+ fontSize: 12.5,
1004
+ lineHeight: 18,
1102
1005
  },
1103
1006
  treeRow: { flexDirection: 'row', alignItems: 'center', paddingVertical: 6 },
1104
- treeChevron: {
1105
- fontFamily: AppFonts.interRegular,
1106
- color: colors.grayTextWeak,
1107
- marginRight: 8,
1108
- },
1109
1007
  treeKeyMargin: { marginRight: 6 },
1110
1008
  highlight: {
1111
1009
  backgroundColor: colors.paleYellow,
@@ -1145,17 +1043,17 @@ export const getRawStyles = (colors) => ({
1145
1043
  },
1146
1044
  diffAdded: {
1147
1045
  color: colors.greenColor,
1148
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
1046
+ fontFamily: AppFonts.interRegular,
1149
1047
  fontSize: 12,
1150
1048
  },
1151
1049
  diffRemoved: {
1152
1050
  color: colors.errorColor,
1153
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
1051
+ fontFamily: AppFonts.interRegular,
1154
1052
  fontSize: 12,
1155
1053
  },
1156
1054
  diffChanged: {
1157
1055
  color: colors.lightOrange,
1158
- fontFamily: Platform.OS === 'ios' ? 'Menlo' : 'monospace',
1056
+ fontFamily: AppFonts.interRegular,
1159
1057
  fontSize: 12,
1160
1058
  },
1161
1059
  filePreviewNode: { paddingVertical: 8, marginVertical: 4 },
@@ -1216,10 +1114,10 @@ export const getRawStyles = (colors) => ({
1216
1114
  width: 36,
1217
1115
  height: 36,
1218
1116
  borderRadius: 18,
1219
- backgroundColor: 'rgba(255, 255, 255, 0.9)',
1117
+ backgroundColor: `${colors.white}E6`,
1220
1118
  alignItems: 'center',
1221
1119
  justifyContent: 'center',
1222
- shadowColor: '#000',
1120
+ shadowColor: colors.black,
1223
1121
  shadowOffset: { width: 0, height: 2 },
1224
1122
  shadowOpacity: 0.2,
1225
1123
  shadowRadius: 4,
@@ -1287,7 +1185,7 @@ export const getRawStyles = (colors) => ({
1287
1185
  paddingVertical: 10,
1288
1186
  borderBottomWidth: 1,
1289
1187
  borderBottomColor: colors.dividerColor,
1290
- backgroundColor: '#fafafa',
1188
+ backgroundColor: colors.grayBackground,
1291
1189
  },
1292
1190
  paramsAccordionLeft: {
1293
1191
  flexDirection: 'row',
@@ -1360,64 +1258,10 @@ export const getRawStyles = (colors) => ({
1360
1258
  fontSize: 12,
1361
1259
  },
1362
1260
  // ─── Tab Bar ───────────────────────────────────────────────────────────────
1363
- tabBar: {
1364
- flexDirection: 'row',
1365
- backgroundColor: colors.grayBackground,
1366
- paddingHorizontal: 12,
1367
- paddingTop: 10,
1368
- paddingBottom: 4,
1369
- gap: 8,
1370
- },
1371
- tabItem: {
1372
- paddingHorizontal: 16,
1373
- paddingVertical: 8,
1374
- borderRadius: 10,
1375
- alignItems: 'center',
1376
- justifyContent: 'center',
1377
- backgroundColor: '#EDEDF4',
1378
- },
1379
- tabItemActive: {
1380
- backgroundColor: colors.purple,
1381
- shadowColor: colors.purple,
1382
- shadowOpacity: 0.3,
1383
- shadowRadius: 6,
1384
- shadowOffset: { width: 0, height: 2 },
1385
- elevation: 3,
1386
- },
1387
- tabText: {
1388
- fontFamily: AppFonts.interBold,
1389
- fontSize: 13,
1390
- color: colors.grayText,
1391
- },
1392
- tabTextActive: {
1393
- color: '#FFFFFF',
1394
- },
1395
1261
  // ─── Screen Grouping Headers ───────────────────────────────────────────────
1396
- screenSectionHeader: {
1397
- flexDirection: 'row',
1398
- alignItems: 'center',
1399
- justifyContent: 'space-between',
1400
- paddingHorizontal: 16,
1401
- paddingVertical: 12,
1402
- backgroundColor: '#F7F7FA',
1403
- borderTopWidth: 1,
1404
- borderBottomWidth: 1,
1405
- borderColor: colors.grayBorderSecondary,
1406
- marginTop: 8,
1407
- },
1408
- screenSectionTitle: {
1409
- fontFamily: AppFonts.interBold,
1410
- fontSize: 13,
1411
- color: colors.primaryBlack,
1412
- },
1413
- screenSectionCount: {
1414
- fontFamily: AppFonts.interMedium,
1415
- fontSize: 12,
1416
- color: colors.grayText,
1417
- },
1418
1262
  modalBackdrop: {
1419
1263
  flex: 1,
1420
- backgroundColor: 'rgba(0, 0, 0, 0.45)',
1264
+ backgroundColor: `${colors.black}73`,
1421
1265
  justifyContent: 'flex-end',
1422
1266
  },
1423
1267
  modalBackdropPressable: {
@@ -1429,7 +1273,7 @@ export const getRawStyles = (colors) => ({
1429
1273
  borderTopLeftRadius: 20,
1430
1274
  borderTopRightRadius: 20,
1431
1275
  overflow: 'hidden',
1432
- shadowColor: '#000000',
1276
+ shadowColor: colors.black,
1433
1277
  shadowOffset: { width: 0, height: -4 },
1434
1278
  shadowOpacity: 0.15,
1435
1279
  shadowRadius: 10,
@@ -1468,85 +1312,8 @@ export const getRawStyles = (colors) => ({
1468
1312
  color: colors.grayText,
1469
1313
  },
1470
1314
  contentTabButtonTextActive: {
1471
- color: '#FFFFFF',
1472
- fontWeight: 'bold',
1473
- },
1474
- insightsContainer: {
1475
- flex: 1,
1476
- backgroundColor: colors.grayBackground,
1477
- },
1478
- insightsContent: {
1479
- padding: 10,
1480
- paddingBottom: 24,
1481
- },
1482
- dashboardContainer: {
1483
- gap: 10,
1484
- },
1485
- dashboardModuleCard: {
1486
- backgroundColor: colors.primaryLight,
1487
- borderRadius: 10,
1488
- borderWidth: 1,
1489
- borderColor: colors.grayBorderSecondary,
1490
- padding: 12,
1491
- shadowColor: '#000000',
1492
- shadowOpacity: 0.03,
1493
- shadowRadius: 4,
1494
- shadowOffset: { width: 0, height: 1 },
1495
- elevation: 1,
1496
- },
1497
- dashboardModuleHeader: {
1498
- flexDirection: 'row',
1499
- justifyContent: 'space-between',
1500
- alignItems: 'center',
1501
- marginBottom: 10,
1502
- borderBottomWidth: 1,
1503
- borderBottomColor: colors.dividerColor,
1504
- paddingBottom: 8,
1505
- },
1506
- dashboardModuleTitle: {
1507
- fontFamily: AppFonts.interBold,
1508
- fontSize: 13,
1509
- color: colors.primaryBlack,
1510
- },
1511
- dashboardModuleGoText: {
1315
+ color: colors.white,
1512
1316
  fontFamily: AppFonts.interBold,
1513
- fontSize: 11,
1514
- color: colors.purple,
1515
- },
1516
- dashboardModuleGrid: {
1517
- flexDirection: 'row',
1518
- flexWrap: 'wrap',
1519
- justifyContent: 'space-between',
1520
- gap: 8,
1521
- },
1522
- dashboardGridItem: {
1523
- flex: 1,
1524
- minWidth: '22%',
1525
- backgroundColor: colors.grayBackground,
1526
- borderRadius: 8,
1527
- paddingVertical: 8,
1528
- paddingHorizontal: 4,
1529
- alignItems: 'center',
1530
- justifyContent: 'center',
1531
- },
1532
- dashboardGridVal: {
1533
- fontFamily: AppFonts.interBold,
1534
- fontSize: 13,
1535
- color: colors.primaryBlack,
1536
- },
1537
- dashboardGridLbl: {
1538
- fontFamily: AppFonts.interMedium,
1539
- fontSize: 10,
1540
- color: colors.grayTextWeak,
1541
- marginTop: 2,
1542
- },
1543
- analyticsCardRow: {},
1544
- analyticsIconCircle: {
1545
- width: 24,
1546
- height: 24,
1547
- borderRadius: 12,
1548
- alignItems: 'center',
1549
- justifyContent: 'center',
1550
1317
  },
1551
1318
  analyticsHeaderCard: {
1552
1319
  backgroundColor: colors.primaryLight,
@@ -1557,7 +1324,7 @@ export const getRawStyles = (colors) => ({
1557
1324
  marginHorizontal: 12,
1558
1325
  marginTop: 8,
1559
1326
  marginBottom: 8,
1560
- shadowColor: '#000000',
1327
+ shadowColor: colors.black,
1561
1328
  shadowOpacity: 0.03,
1562
1329
  shadowRadius: 4,
1563
1330
  shadowOffset: { width: 0, height: 1 },
@@ -1666,5 +1433,6 @@ rebuildStyles(false);
1666
1433
  export const toggleGlobalTheme = (isDark) => {
1667
1434
  updateAppColorsTheme(isDark);
1668
1435
  rebuildStyles(isDark);
1436
+ rebuildCommonStyles(isDark ? getThemeColors(true) : AppColors);
1669
1437
  };
1670
1438
  export default styles;