Commit 64be347
committed
ui(profile, apps): Refine appearance and improve layout for installed apps
This commit updates the UI components across the profile and apps features to enhance visual consistency and layout. It introduces `ExpressiveCard` for a more modern look, adjusts spacing and corner radii, and improves the `AppsRoot` screen with better bottom navigation awareness.
- **ui(profile)**: Reduced vertical spacing in the appearance section from 16dp to 12dp.
- **ui(profile)**: Increased `RoundedCornerShape` values (16dp to 24dp for theme previews, 20dp to 32dp for cards) to match the new expressive design.
- **ui(apps)**: Refactored `AppItem` to use `ExpressiveCard` and updated its layout with larger avatars (64dp) and bold typography.
- **ui(apps)**: Added `LocalBottomNavigationHeight` integration to provide proper padding for the `SnackbarHost` and list content, preventing overlap with navigation.
- **ui(apps)**: Removed the back navigation icon from the `TopAppBar` in the apps root.
- **ui(apps)**: Enhanced empty state styling with specific typography and colors.
- **refactor(apps)**: Standardized card shapes and colors using `ElevatedCard` with a `surfaceContainer` background and 32dp rounded corners.1 parent 754831b commit 64be347
2 files changed
Lines changed: 55 additions & 29 deletions
File tree
- feature
- apps/presentation/src/commonMain/kotlin/zed/rainxch/apps/presentation
- profile/presentation/src/commonMain/kotlin/zed/rainxch/profile/presentation/components/sections
Lines changed: 51 additions & 25 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
| |||
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| 35 | + | |
34 | 36 | | |
35 | 37 | | |
| 38 | + | |
36 | 39 | | |
37 | 40 | | |
38 | 41 | | |
| |||
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| 75 | + | |
72 | 76 | | |
73 | 77 | | |
74 | 78 | | |
| |||
127 | 131 | | |
128 | 132 | | |
129 | 133 | | |
| 134 | + | |
| 135 | + | |
130 | 136 | | |
131 | 137 | | |
132 | 138 | | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | 139 | | |
144 | 140 | | |
145 | 141 | | |
| |||
161 | 157 | | |
162 | 158 | | |
163 | 159 | | |
164 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
165 | 164 | | |
166 | 165 | | |
167 | 166 | | |
| |||
247 | 246 | | |
248 | 247 | | |
249 | 248 | | |
250 | | - | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
251 | 252 | | |
252 | 253 | | |
253 | 254 | | |
| |||
266 | 267 | | |
267 | 268 | | |
268 | 269 | | |
269 | | - | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
270 | 275 | | |
271 | 276 | | |
272 | 277 | | |
| |||
290 | 295 | | |
291 | 296 | | |
292 | 297 | | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
293 | 302 | | |
294 | 303 | | |
295 | 304 | | |
| |||
365 | 374 | | |
366 | 375 | | |
367 | 376 | | |
368 | | - | |
369 | | - | |
370 | | - | |
| 377 | + | |
371 | 378 | | |
372 | | - | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
373 | 382 | | |
374 | 383 | | |
375 | | - | |
376 | | - | |
377 | | - | |
| 384 | + | |
378 | 385 | | |
379 | 386 | | |
380 | 387 | | |
381 | 388 | | |
382 | 389 | | |
383 | | - | |
| 390 | + | |
384 | 391 | | |
385 | 392 | | |
386 | 393 | | |
| |||
395 | 402 | | |
396 | 403 | | |
397 | 404 | | |
398 | | - | |
| 405 | + | |
| 406 | + | |
| 407 | + | |
399 | 408 | | |
400 | 409 | | |
401 | 410 | | |
| |||
412 | 421 | | |
413 | 422 | | |
414 | 423 | | |
| 424 | + | |
415 | 425 | | |
416 | 426 | | |
417 | 427 | | |
418 | 428 | | |
419 | 429 | | |
420 | 430 | | |
421 | 431 | | |
| 432 | + | |
422 | 433 | | |
423 | 434 | | |
424 | 435 | | |
| |||
435 | 446 | | |
436 | 447 | | |
437 | 448 | | |
438 | | - | |
| 449 | + | |
439 | 450 | | |
440 | 451 | | |
441 | 452 | | |
| |||
528 | 539 | | |
529 | 540 | | |
530 | 541 | | |
531 | | - | |
532 | | - | |
| 542 | + | |
533 | 543 | | |
534 | 544 | | |
535 | 545 | | |
| |||
556 | 566 | | |
557 | 567 | | |
558 | 568 | | |
| 569 | + | |
559 | 570 | | |
560 | 571 | | |
561 | 572 | | |
| |||
635 | 646 | | |
636 | 647 | | |
637 | 648 | | |
| 649 | + | |
| 650 | + | |
| 651 | + | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
638 | 664 | | |
639 | 665 | | |
640 | 666 | | |
| |||
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | 89 | | |
90 | 90 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
195 | | - | |
| 195 | + | |
196 | 196 | | |
197 | 197 | | |
198 | 198 | | |
| |||
410 | 410 | | |
411 | 411 | | |
412 | 412 | | |
413 | | - | |
| 413 | + | |
414 | 414 | | |
415 | 415 | | |
416 | 416 | | |
0 commit comments