mobileui-os 1.0.0

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 (123) hide show
  1. package/AGENTS.md +47 -0
  2. package/CHANGELOG.md +25 -0
  3. package/README.md +78 -0
  4. package/bin/cli.mjs +375 -0
  5. package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
  6. package/knowledge/android/accessibility.md +333 -0
  7. package/knowledge/android/components-controls.md +270 -0
  8. package/knowledge/android/material-design-3.md +174 -0
  9. package/knowledge/android/navigation-patterns.md +212 -0
  10. package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
  11. package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
  12. package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
  13. package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
  14. package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
  15. package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
  16. package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
  17. package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
  18. package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
  19. package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
  20. package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
  21. package/knowledge/apple/Interaction-behaviour.md +1378 -0
  22. package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
  23. package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
  24. package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
  25. package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
  26. package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
  27. package/knowledge/apple/Patterns-templates-composition.md +647 -0
  28. package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
  29. package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
  30. package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
  31. package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
  32. package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
  33. package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
  34. package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
  35. package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
  36. package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
  37. package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
  38. package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
  39. package/knowledge/apple/accessibility.md +2162 -0
  40. package/knowledge/apple/color.md +1933 -0
  41. package/knowledge/apple/component-architecture.md +2208 -0
  42. package/knowledge/apple/components.md +2172 -0
  43. package/knowledge/apple/design-decision-framework.md +1883 -0
  44. package/knowledge/apple/design-review-engine.md +2108 -0
  45. package/knowledge/apple/design-tokens.md +1943 -0
  46. package/knowledge/apple/designing-for-ios.md +1680 -0
  47. package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
  48. package/knowledge/apple/hig-foundation.md +1806 -0
  49. package/knowledge/apple/iconography.md +1903 -0
  50. package/knowledge/apple/interaction-patterns.md +2513 -0
  51. package/knowledge/apple/interaction.md +2141 -0
  52. package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
  53. package/knowledge/apple/ios-components-and-controls.md +1634 -0
  54. package/knowledge/apple/ios-components-patterns.md +1343 -0
  55. package/knowledge/apple/ios-design-system-architecture.md +1520 -0
  56. package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
  57. package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
  58. package/knowledge/apple/ios-forms-and-input.md +1458 -0
  59. package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
  60. package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
  61. package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
  62. package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
  63. package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
  64. package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
  65. package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
  66. package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
  67. package/knowledge/apple/ios-search-and-discovery.md +1456 -0
  68. package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
  69. package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
  70. package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
  71. package/knowledge/apple/layout.md +2331 -0
  72. package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
  73. package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
  74. package/knowledge/apple/motion-and-animation.md +1698 -0
  75. package/knowledge/apple/motion.md +2087 -0
  76. package/knowledge/apple/navigation.md +2281 -0
  77. package/knowledge/apple/responsive-adaptive.md +2159 -0
  78. package/knowledge/apple/screen-architecture.md +2067 -0
  79. package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
  80. package/knowledge/apple/typography.md +1802 -0
  81. package/knowledge/apple/ui-ux inteligence audit.md +106 -0
  82. package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
  83. package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
  84. package/knowledge/apple/visual-materials.md +2189 -0
  85. package/package.json +53 -0
  86. package/principles/design-principles.md +37 -0
  87. package/principles/platform-principles.md +25 -0
  88. package/principles/ux-principles.md +16 -0
  89. package/references/official-links.md +11 -0
  90. package/skills/accessibility-engineer/SKILL.md +125 -0
  91. package/skills/analytics-engineer/SKILL.md +283 -0
  92. package/skills/animation-engineer/SKILL.md +316 -0
  93. package/skills/component-designer/SKILL.md +75 -0
  94. package/skills/component-library-engineer/SKILL.md +140 -0
  95. package/skills/component-library-ops/SKILL.md +155 -0
  96. package/skills/design-system/SKILL.md +77 -0
  97. package/skills/design-token-engineer/SKILL.md +203 -0
  98. package/skills/design-token-pipeline/SKILL.md +277 -0
  99. package/skills/device-lab-engineer/SKILL.md +387 -0
  100. package/skills/forms-engineer/SKILL.md +79 -0
  101. package/skills/internationalization-engineer/SKILL.md +256 -0
  102. package/skills/motion-designer/SKILL.md +77 -0
  103. package/skills/native-data-fetching/SKILL.md +50 -0
  104. package/skills/navigation-architect/SKILL.md +65 -0
  105. package/skills/performance-engineer/SKILL.md +250 -0
  106. package/skills/platform-specialist/SKILL.md +95 -0
  107. package/skills/pre-release-gate/SKILL.md +75 -0
  108. package/skills/screen-designer/SKILL.md +117 -0
  109. package/skills/security-engineer/SKILL.md +375 -0
  110. package/skills/skills.json +134 -0
  111. package/skills/testing-auditor/SKILL.md +62 -0
  112. package/skills/ui-architect/SKILL.md +86 -0
  113. package/skills/ui-implementer/SKILL.md +188 -0
  114. package/skills/ux-architect/SKILL.md +49 -0
  115. package/skills/ux-auditor/SKILL.md +52 -0
  116. package/skills/visual-auditor/SKILL.md +71 -0
  117. package/templates/audit-report.md +29 -0
  118. package/templates/design-tokens.ts +33 -0
  119. package/templates/screen-spec.md +61 -0
  120. package/workflows/new-screen.md +17 -0
  121. package/workflows/pre-release.md +21 -0
  122. package/workflows/redesign.md +14 -0
  123. package/workflows/ui-audit.md +22 -0
@@ -0,0 +1,1555 @@
1
+ # iOS Visual Design & Premium UI
2
+
3
+ > Advanced visual design module for creating polished, restrained, high-quality
4
+ > interfaces inspired by Apple's visual design principles while remaining
5
+ > appropriate for the product and platform.
6
+
7
+ Version: 1.0
8
+ Platform: iOS / iPadOS / React Native / Expo
9
+ Layer: Advanced visual intelligence
10
+
11
+ ---
12
+
13
+ # 1. PURPOSE
14
+
15
+ Visual quality is not produced by adding gradients, blur, shadows, glass, or
16
+ rounded corners.
17
+
18
+ It comes from a coherent visual system:
19
+
20
+ ```text
21
+ Hierarchy
22
+ ↓
23
+ Composition
24
+ ↓
25
+ Spacing
26
+ ↓
27
+ Typography
28
+ ↓
29
+ Color
30
+ ↓
31
+ Surfaces
32
+ ↓
33
+ Depth
34
+ ↓
35
+ Motion
36
+ ↓
37
+ Polish
38
+ ```
39
+
40
+ The agent must solve the higher-level hierarchy before applying decorative
41
+ effects.
42
+
43
+ ---
44
+
45
+ # 2. THE PREMIUM UI PRINCIPLE
46
+
47
+ Premium interfaces generally feel:
48
+
49
+ ```text
50
+ Intentional
51
+ Calm
52
+ Precise
53
+ Consistent
54
+ Readable
55
+ Responsive
56
+ Restrained
57
+ ```
58
+
59
+ They do not necessarily contain more visual effects.
60
+
61
+ A useful rule:
62
+
63
+ > Remove visual noise before adding visual decoration.
64
+
65
+ ---
66
+
67
+ # 3. VISUAL HIERARCHY
68
+
69
+ Every screen should establish a clear hierarchy.
70
+
71
+ At minimum identify:
72
+
73
+ ```text
74
+ Primary focus
75
+ Secondary information
76
+ Supporting information
77
+ Actions
78
+ Navigation
79
+ Background
80
+ ```
81
+
82
+ The user should understand the screen's purpose without inspecting every
83
+ element.
84
+
85
+ ---
86
+
87
+ # 4. HIERARCHY THROUGH CONTRAST
88
+
89
+ Hierarchy can be created through:
90
+
91
+ ```text
92
+ Size
93
+ Weight
94
+ Color
95
+ Position
96
+ Spacing
97
+ Opacity
98
+ Depth
99
+ Motion
100
+ Density
101
+ ```
102
+
103
+ Do not rely on font size alone.
104
+
105
+ ---
106
+
107
+ # 5. ONE PRIMARY FOCUS
108
+
109
+ Most screens should have one dominant visual focus.
110
+
111
+ Examples:
112
+
113
+ ```text
114
+ Music player → current track
115
+ Calculator → active calculation/result
116
+ Document viewer → document
117
+ Dashboard → key information
118
+ Notes → current note
119
+ File manager → current location/content
120
+ ```
121
+
122
+ If everything is visually dominant, nothing is dominant.
123
+
124
+ ---
125
+
126
+ # 6. VISUAL ANCHOR
127
+
128
+ Every screen benefits from an anchor.
129
+
130
+ The anchor may be:
131
+
132
+ ```text
133
+ Large title
134
+ Hero image
135
+ Primary content
136
+ Key metric
137
+ Active control
138
+ Current object
139
+ ```
140
+
141
+ The rest of the interface should support it.
142
+
143
+ ---
144
+
145
+ # 7. COMPOSITION
146
+
147
+ Composition determines how visual elements relate across the screen.
148
+
149
+ Consider:
150
+
151
+ ```text
152
+ Alignment
153
+ Balance
154
+ Negative space
155
+ Scale
156
+ Grouping
157
+ Rhythm
158
+ Contrast
159
+ Flow
160
+ ```
161
+
162
+ ---
163
+
164
+ # 8. ALIGNMENT
165
+
166
+ Alignment creates invisible structure.
167
+
168
+ Prefer consistent alignment lines:
169
+
170
+ ```text
171
+ Title
172
+ Content
173
+ Controls
174
+ Sections
175
+ Lists
176
+ ```
177
+
178
+ should generally participate in a coherent grid.
179
+
180
+ ---
181
+
182
+ # 9. OPTICAL ALIGNMENT
183
+
184
+ Mathematical alignment is not always visual alignment.
185
+
186
+ Icons, text, circular objects, and asymmetric shapes may require optical
187
+ adjustment.
188
+
189
+ The agent should optimize for what appears aligned rather than blindly matching
190
+ coordinates.
191
+
192
+ ---
193
+
194
+ # 10. EDGE ALIGNMENT
195
+
196
+ Important content should generally establish predictable relationships with
197
+ screen edges.
198
+
199
+ Avoid arbitrary left and right margins across neighboring sections.
200
+
201
+ ---
202
+
203
+ # 11. CENTERING
204
+
205
+ Geometric centering is not always perceptual centering.
206
+
207
+ For example:
208
+
209
+ ```text
210
+ Icon + text
211
+ ```
212
+
213
+ may require optical compensation because their visual masses differ.
214
+
215
+ ---
216
+
217
+ # 12. NEGATIVE SPACE
218
+
219
+ Empty space is structural.
220
+
221
+ It separates:
222
+
223
+ ```text
224
+ Sections
225
+ Hierarchy
226
+ Actions
227
+ Content groups
228
+ Navigation
229
+ ```
230
+
231
+ Do not automatically fill available space.
232
+
233
+ ---
234
+
235
+ # 13. NEGATIVE SPACE TEST
236
+
237
+ When a screen feels crowded:
238
+
239
+ ```text
240
+ Do not immediately shrink everything.
241
+ ```
242
+
243
+ First investigate:
244
+
245
+ ```text
246
+ Can secondary content disappear?
247
+ Can sections merge?
248
+ Can spacing become more intentional?
249
+ Can information move deeper?
250
+ ```
251
+
252
+ ---
253
+
254
+ # 14. SPACING RHYTHM
255
+
256
+ Spacing should feel systematic.
257
+
258
+ Use a controlled spacing scale rather than arbitrary values.
259
+
260
+ Example:
261
+
262
+ ```text
263
+ 4
264
+ 8
265
+ 12
266
+ 16
267
+ 20
268
+ 24
269
+ 32
270
+ 40
271
+ 48
272
+ 64
273
+ ```
274
+
275
+ The exact values may differ by project.
276
+
277
+ Consistency matters more than the specific numbers.
278
+
279
+ ---
280
+
281
+ # 15. MICRO-SPACING
282
+
283
+ Tiny spacing differences can strongly affect perceived quality.
284
+
285
+ Pay attention to:
286
+
287
+ ```text
288
+ Icon ↔ label
289
+ Title ↔ subtitle
290
+ Button ↔ icon
291
+ Card ↔ content
292
+ Section title ↔ section content
293
+ ```
294
+
295
+ ---
296
+
297
+ # 16. SPACING HIERARCHY
298
+
299
+ Not all gaps should be equal.
300
+
301
+ Generally:
302
+
303
+ ```text
304
+ Element spacing
305
+ <
306
+ Component spacing
307
+ <
308
+ Section spacing
309
+ ```
310
+
311
+ This communicates grouping.
312
+
313
+ ---
314
+
315
+ # 17. PROXIMITY
316
+
317
+ Elements close together are perceived as related.
318
+
319
+ Use proximity intentionally.
320
+
321
+ Bad:
322
+
323
+ ```text
324
+ Title
325
+
326
+ huge gap
327
+
328
+ subtitle
329
+ ```
330
+
331
+ when the subtitle belongs to the title.
332
+
333
+ ---
334
+
335
+ # 18. GROUPING
336
+
337
+ Related elements should share visual space.
338
+
339
+ Possible grouping mechanisms:
340
+
341
+ ```text
342
+ Spacing
343
+ Surface
344
+ Divider
345
+ Typography
346
+ Alignment
347
+ ```
348
+
349
+ Do not use all of them simultaneously.
350
+
351
+ ---
352
+
353
+ # 19. DIVIDERS
354
+
355
+ Dividers should clarify structure.
356
+
357
+ They should not become a grid covering the entire screen.
358
+
359
+ Use spacing first; use dividers when necessary.
360
+
361
+ ---
362
+
363
+ # 20. VISUAL DENSITY
364
+
365
+ Density is the amount of information presented within available space.
366
+
367
+ There is no universally correct density.
368
+
369
+ ```text
370
+ Consumer app
371
+ → generally lower density
372
+
373
+ Developer tool
374
+ → potentially higher density
375
+
376
+ Media library
377
+ → moderate density
378
+
379
+ Data dashboard
380
+ → potentially high density
381
+ ```
382
+
383
+ Optimize for task requirements.
384
+
385
+ ---
386
+
387
+ # 21. DENSITY ≠ CLUTTER
388
+
389
+ A dense interface can still be elegant if:
390
+
391
+ ```text
392
+ Hierarchy is strong
393
+ Grouping is clear
394
+ Typography is controlled
395
+ Spacing is consistent
396
+ Controls are predictable
397
+ ```
398
+
399
+ ---
400
+
401
+ # 22. COLOR SYSTEM
402
+
403
+ Color should have semantic purpose.
404
+
405
+ Define roles such as:
406
+
407
+ ```text
408
+ Primary
409
+ Secondary
410
+ Background
411
+ Surface
412
+ Elevated surface
413
+ Primary text
414
+ Secondary text
415
+ Muted text
416
+ Accent
417
+ Success
418
+ Warning
419
+ Error
420
+ Info
421
+ ```
422
+
423
+ Avoid assigning colors based solely on component names.
424
+
425
+ ---
426
+
427
+ # 23. SEMANTIC COLORS
428
+
429
+ Prefer:
430
+
431
+ ```text
432
+ color.primary
433
+ color.background
434
+ color.surface
435
+ color.destructive
436
+ ```
437
+
438
+ over:
439
+
440
+ ```text
441
+ blue500
442
+ gray700
443
+ red600
444
+ ```
445
+
446
+ The first approach allows themes and appearance modes to evolve safely.
447
+
448
+ ---
449
+
450
+ # 24. COLOR RESTRAINT
451
+
452
+ If everything is colorful, nothing communicates importance.
453
+
454
+ Use accent color primarily for:
455
+
456
+ ```text
457
+ Interactive elements
458
+ Selection
459
+ Important state
460
+ Brand identity
461
+ Meaningful emphasis
462
+ ```
463
+
464
+ ---
465
+
466
+ # 25. ACCENT COLOR
467
+
468
+ Accent color should have a clear role.
469
+
470
+ Do not use it indiscriminately for:
471
+
472
+ ```text
473
+ Every title
474
+ Every icon
475
+ Every border
476
+ Every card
477
+ Every button
478
+ ```
479
+
480
+ ---
481
+
482
+ # 26. BACKGROUND HIERARCHY
483
+
484
+ A sophisticated interface may use several subtle surface levels:
485
+
486
+ ```text
487
+ Base background
488
+ Secondary surface
489
+ Elevated surface
490
+ Interactive surface
491
+ Modal surface
492
+ ```
493
+
494
+ The differences should be perceptible but restrained.
495
+
496
+ ---
497
+
498
+ # 27. SURFACE DESIGN
499
+
500
+ Surfaces communicate grouping and elevation.
501
+
502
+ Possible mechanisms:
503
+
504
+ ```text
505
+ Color
506
+ Material
507
+ Blur
508
+ Shadow
509
+ Border
510
+ Spacing
511
+ ```
512
+
513
+ Prefer the smallest number of mechanisms necessary.
514
+
515
+ ---
516
+
517
+ # 28. CARDS AND SURFACES
518
+
519
+ A card should exist for a reason.
520
+
521
+ Ask:
522
+
523
+ ```text
524
+ Does this surface establish a meaningful group?
525
+ ```
526
+
527
+ If not, remove it.
528
+
529
+ ---
530
+
531
+ # 29. THE "EVERYTHING IS A CARD" PROBLEM
532
+
533
+ Avoid interfaces like:
534
+
535
+ ```text
536
+ Card
537
+ └── Card
538
+ └── Card
539
+ └── Card
540
+ ```
541
+
542
+ Nested surfaces quickly become visually noisy.
543
+
544
+ ---
545
+
546
+ # 30. CORNER RADIUS
547
+
548
+ Corner radius contributes to the visual language.
549
+
550
+ Choose a coherent radius system.
551
+
552
+ Example:
553
+
554
+ ```text
555
+ Small
556
+ Medium
557
+ Large
558
+ Pill
559
+ ```
560
+
561
+ Do not randomly assign different radii to every component.
562
+
563
+ ---
564
+
565
+ # 31. RADIUS HIERARCHY
566
+
567
+ Larger surfaces can use larger radii.
568
+
569
+ Smaller controls generally use smaller or appropriately proportional radii.
570
+
571
+ The system should feel related.
572
+
573
+ ---
574
+
575
+ # 32. PILL SHAPES
576
+
577
+ Pills are appropriate for:
578
+
579
+ ```text
580
+ Tags
581
+ Compact statuses
582
+ Filters
583
+ Some buttons
584
+ ```
585
+
586
+ Do not make every component pill-shaped.
587
+
588
+ ---
589
+
590
+ # 33. BORDERS
591
+
592
+ Borders are useful for:
593
+
594
+ ```text
595
+ Separation
596
+ Input boundaries
597
+ Subtle emphasis
598
+ Interactive state
599
+ ```
600
+
601
+ Prefer subtlety where possible.
602
+
603
+ ---
604
+
605
+ # 34. BORDER OVERUSE
606
+
607
+ If every surface has a border, the interface becomes visually segmented.
608
+
609
+ Consider:
610
+
611
+ ```text
612
+ Spacing
613
+ Surface contrast
614
+ Shadow
615
+ ```
616
+
617
+ before adding another border.
618
+
619
+ ---
620
+
621
+ # 35. SHADOWS
622
+
623
+ Shadows communicate depth.
624
+
625
+ They should suggest:
626
+
627
+ ```text
628
+ Elevation
629
+ Separation
630
+ Floating
631
+ Layering
632
+ ```
633
+
634
+ rather than decoration.
635
+
636
+ ---
637
+
638
+ # 36. SHADOW RESTRAINT
639
+
640
+ Avoid:
641
+
642
+ ```text
643
+ Huge blur
644
+ Extreme opacity
645
+ Dark outlines
646
+ Multiple heavy shadows
647
+ ```
648
+
649
+ A subtle shadow is usually more convincing.
650
+
651
+ ---
652
+
653
+ # 37. ELEVATION
654
+
655
+ Think in layers:
656
+
657
+ ```text
658
+ Background
659
+ ↓
660
+ Content
661
+ ↓
662
+ Elevated control
663
+ ↓
664
+ Floating element
665
+ ↓
666
+ Modal
667
+ ```
668
+
669
+ Each layer should have a reason to exist above another.
670
+
671
+ ---
672
+
673
+ # 38. DEPTH WITHOUT SHADOW
674
+
675
+ Depth can also come from:
676
+
677
+ ```text
678
+ Contrast
679
+ Blur
680
+ Scale
681
+ Spacing
682
+ Opacity
683
+ Motion
684
+ Surface tone
685
+ ```
686
+
687
+ Do not assume every elevation requires a shadow.
688
+
689
+ ---
690
+
691
+ # 39. BLUR
692
+
693
+ Blur is useful for establishing material relationships.
694
+
695
+ Potential uses:
696
+
697
+ ```text
698
+ Navigation surfaces
699
+ Floating controls
700
+ Overlays
701
+ Media interfaces
702
+ Transient panels
703
+ ```
704
+
705
+ ---
706
+
707
+ # 40. BLUR PRINCIPLE
708
+
709
+ Blur should preserve context.
710
+
711
+ The user should understand:
712
+
713
+ ```text
714
+ What is behind
715
+ What is in front
716
+ What is interactive
717
+ ```
718
+
719
+ ---
720
+
721
+ # 41. GLASSMORPHISM WARNING
722
+
723
+ Glass effects are easy to overuse.
724
+
725
+ A glass surface needs:
726
+
727
+ ```text
728
+ Meaningful layering
729
+ Readable content
730
+ Appropriate contrast
731
+ Background variation
732
+ ```
733
+
734
+ Without these, it becomes decorative noise.
735
+
736
+ ---
737
+
738
+ # 42. MATERIAL HIERARCHY
739
+
740
+ Different surfaces should represent different semantic layers.
741
+
742
+ For example:
743
+
744
+ ```text
745
+ Base
746
+ Secondary
747
+ Elevated
748
+ Floating
749
+ Modal
750
+ ```
751
+
752
+ Do not use identical material treatment everywhere.
753
+
754
+ ---
755
+
756
+ # 43. TRANSPARENCY
757
+
758
+ Transparency should never compromise readability.
759
+
760
+ When content becomes difficult to read:
761
+
762
+ ```text
763
+ Increase surface opacity
764
+ Increase contrast
765
+ Reduce background complexity
766
+ ```
767
+
768
+ before adding more effects.
769
+
770
+ ---
771
+
772
+ # 44. BACKDROP CONTENT
773
+
774
+ Dynamic backgrounds can improve depth but should never compete with foreground
775
+ content.
776
+
777
+ ---
778
+
779
+ # 45. GRADIENTS
780
+
781
+ Gradients are useful for:
782
+
783
+ ```text
784
+ Branding
785
+ Hero imagery
786
+ Atmosphere
787
+ Depth
788
+ Visual emphasis
789
+ ```
790
+
791
+ Use them intentionally.
792
+
793
+ ---
794
+
795
+ # 46. GRADIENT OVERUSE
796
+
797
+ Avoid gradients on:
798
+
799
+ ```text
800
+ Every button
801
+ Every card
802
+ Every background
803
+ Every heading
804
+ ```
805
+
806
+ unless the product's identity specifically requires it.
807
+
808
+ ---
809
+
810
+ # 47. IMAGE TREATMENT
811
+
812
+ Images are part of the design system.
813
+
814
+ Consider:
815
+
816
+ ```text
817
+ Aspect ratio
818
+ Cropping
819
+ Corner treatment
820
+ Contrast
821
+ Overlay
822
+ Loading
823
+ Fallback
824
+ ```
825
+
826
+ ---
827
+
828
+ # 48. IMAGE PRIORITY
829
+
830
+ When imagery is primary content, let it dominate.
831
+
832
+ Avoid placing excessive controls over important image regions.
833
+
834
+ ---
835
+
836
+ # 49. IMAGE OVERLAYS
837
+
838
+ Overlays can improve readability.
839
+
840
+ Use enough contrast for text without destroying the image.
841
+
842
+ ---
843
+
844
+ # 50. AVATAR / THUMBNAIL CONSISTENCY
845
+
846
+ Repeated images should use consistent:
847
+
848
+ ```text
849
+ Dimensions
850
+ Crop
851
+ Radius
852
+ Alignment
853
+ ```
854
+
855
+ to establish visual rhythm.
856
+
857
+ ---
858
+
859
+ # 51. TYPOGRAPHIC HIERARCHY
860
+
861
+ Typography is one of the strongest tools for hierarchy.
862
+
863
+ Define levels such as:
864
+
865
+ ```text
866
+ Display
867
+ Title
868
+ Heading
869
+ Body
870
+ Secondary
871
+ Caption
872
+ Metadata
873
+ ```
874
+
875
+ ---
876
+
877
+ # 52. TYPE SCALE
878
+
879
+ Avoid arbitrary font sizes throughout the application.
880
+
881
+ Use a defined scale.
882
+
883
+ Example:
884
+
885
+ ```text
886
+ 12
887
+ 14
888
+ 16
889
+ 18
890
+ 20
891
+ 24
892
+ 28
893
+ 32
894
+ 40
895
+ ```
896
+
897
+ Adapt the scale according to platform and project requirements.
898
+
899
+ ---
900
+
901
+ # 53. FONT WEIGHT
902
+
903
+ Weight should communicate hierarchy.
904
+
905
+ Typical relationship:
906
+
907
+ ```text
908
+ Display → strong
909
+ Title → strong
910
+ Body → regular
911
+ Secondary → regular
912
+ Metadata → lighter/subdued
913
+ ```
914
+
915
+ Avoid making everything bold.
916
+
917
+ ---
918
+
919
+ # 54. LINE HEIGHT
920
+
921
+ Text needs enough vertical breathing room to remain readable.
922
+
923
+ Do not optimize line height solely for compactness.
924
+
925
+ ---
926
+
927
+ # 55. LETTER SPACING
928
+
929
+ Large display text may require different tracking from body text.
930
+
931
+ Avoid applying arbitrary letter spacing globally.
932
+
933
+ ---
934
+
935
+ # 56. TEXT WIDTH
936
+
937
+ Long text lines become difficult to scan.
938
+
939
+ Constrain text width when appropriate, especially on larger screens.
940
+
941
+ ---
942
+
943
+ # 57. TEXT CONTRAST
944
+
945
+ Primary content should have strong enough contrast.
946
+
947
+ Secondary content may be subdued but must remain readable.
948
+
949
+ ---
950
+
951
+ # 58. MUTED TEXT
952
+
953
+ Muted does not mean invisible.
954
+
955
+ Avoid extremely low-opacity text for important information.
956
+
957
+ ---
958
+
959
+ # 59. DARK MODE
960
+
961
+ Dark mode is not simply:
962
+
963
+ ```text
964
+ white → black
965
+ ```
966
+
967
+ It requires its own surface and contrast hierarchy.
968
+
969
+ ---
970
+
971
+ # 60. DARK SURFACE SYSTEM
972
+
973
+ Use multiple dark tones when needed:
974
+
975
+ ```text
976
+ Base dark
977
+ Raised dark
978
+ Elevated dark
979
+ Interactive dark
980
+ Modal dark
981
+ ```
982
+
983
+ The differences should remain subtle.
984
+
985
+ ---
986
+
987
+ # 61. DARK MODE CONTRAST
988
+
989
+ Avoid pure white text on pure black everywhere.
990
+
991
+ Controlled contrast often produces a calmer interface.
992
+
993
+ ---
994
+
995
+ # 62. DARK MODE COLORS
996
+
997
+ Colors may require adjustment in dark mode.
998
+
999
+ Do not assume the same values will produce equivalent perception.
1000
+
1001
+ # 63. LIGHT / DARK PARITY
1002
+
1003
+ The light and dark interfaces should communicate the same hierarchy even if
1004
+ their exact visual treatments differ.
1005
+
1006
+ ---
1007
+
1008
+ # 64. ICONOGRAPHY
1009
+
1010
+ Icons should form a coherent visual language.
1011
+
1012
+ Consider:
1013
+
1014
+ ```text
1015
+ Stroke weight
1016
+ Filled vs outline
1017
+ Optical size
1018
+ Corner treatment
1019
+ Alignment
1020
+ Meaning
1021
+ ```
1022
+
1023
+ ---
1024
+
1025
+ # 65. ICON CONSISTENCY
1026
+
1027
+ Avoid mixing unrelated icon styles.
1028
+
1029
+ For example:
1030
+
1031
+ ```text
1032
+ Thin outline
1033
+ +
1034
+ Heavy filled
1035
+ +
1036
+ 3D emoji
1037
+ +
1038
+ Random custom SVG
1039
+ ```
1040
+
1041
+ creates visual inconsistency.
1042
+
1043
+ ---
1044
+
1045
+ # 66. ICON SIZE
1046
+
1047
+ The visual size of an icon should be balanced against adjacent typography.
1048
+
1049
+ Do not automatically use the same pixel dimension everywhere.
1050
+
1051
+ ---
1052
+
1053
+ # 67. ICON + TEXT ALIGNMENT
1054
+
1055
+ Optically align icons with text.
1056
+
1057
+ Baseline and visual center may differ.
1058
+
1059
+ ---
1060
+
1061
+ # 68. ICON SEMANTICS
1062
+
1063
+ Icons should reinforce meaning.
1064
+
1065
+ Avoid choosing an icon merely because it looks attractive.
1066
+
1067
+ ---
1068
+
1069
+ # 69. EMPTY SPACE AS DESIGN
1070
+
1071
+ A premium interface is often recognizable by what it chooses **not** to show.
1072
+
1073
+ Ask:
1074
+
1075
+ ```text
1076
+ What can be removed?
1077
+ What can be delayed?
1078
+ What can be collapsed?
1079
+ What can be secondary?
1080
+ ```
1081
+
1082
+ ---
1083
+
1084
+ # 70. VISUAL NOISE
1085
+
1086
+ Common sources:
1087
+
1088
+ ```text
1089
+ Too many borders
1090
+ Too many colors
1091
+ Too many shadows
1092
+ Too many cards
1093
+ Too many icons
1094
+ Too many labels
1095
+ Too many competing actions
1096
+ ```
1097
+
1098
+ ---
1099
+
1100
+ # 71. REDUCTION PROCESS
1101
+
1102
+ When a screen feels noisy:
1103
+
1104
+ ```text
1105
+ 1. Remove redundant elements
1106
+ 2. Combine related information
1107
+ 3. Reduce decorative treatments
1108
+ 4. Strengthen hierarchy
1109
+ 5. Increase meaningful whitespace
1110
+ 6. Re-evaluate
1111
+ ```
1112
+
1113
+ ---
1114
+
1115
+ # 72. VISUAL RHYTHM
1116
+
1117
+ Repeated structures should create rhythm.
1118
+
1119
+ Examples:
1120
+
1121
+ ```text
1122
+ Section
1123
+ Content
1124
+ Gap
1125
+ Section
1126
+ Content
1127
+ Gap
1128
+ ```
1129
+
1130
+ Predictability makes complex screens easier to scan.
1131
+
1132
+ ---
1133
+
1134
+ # 73. REPETITION
1135
+
1136
+ Reuse visual patterns intentionally.
1137
+
1138
+ Repetition communicates system-level consistency.
1139
+
1140
+ ---
1141
+
1142
+ # 74. CONTRAST
1143
+
1144
+ Contrast can be:
1145
+
1146
+ ```text
1147
+ Size
1148
+ Weight
1149
+ Color
1150
+ Shape
1151
+ Position
1152
+ Density
1153
+ Motion
1154
+ ```
1155
+
1156
+ Use contrast strategically.
1157
+
1158
+ ---
1159
+
1160
+ # 75. VISUAL EMPHASIS
1161
+
1162
+ A strong visual emphasis should correspond to meaningful product importance.
1163
+
1164
+ Do not emphasize something simply because it is available.
1165
+
1166
+ ---
1167
+
1168
+ # 76. FOCUS STATES
1169
+
1170
+ Focused elements should be visually identifiable without disrupting the entire
1171
+ layout.
1172
+
1173
+ ---
1174
+
1175
+ # 77. SELECTED STATES
1176
+
1177
+ Selected elements should communicate:
1178
+
1179
+ ```text
1180
+ What is selected
1181
+ What changed
1182
+ What will happen if tapped
1183
+ ```
1184
+
1185
+ ---
1186
+
1187
+ # 78. DISABLED STATES
1188
+
1189
+ Disabled controls should communicate reduced availability without becoming
1190
+ unreadable.
1191
+
1192
+ ---
1193
+
1194
+ # 79. ERROR VISUALS
1195
+
1196
+ Error treatment should attract enough attention to support recovery without
1197
+ turning the entire interface into a warning screen.
1198
+
1199
+ ---
1200
+
1201
+ # 80. SUCCESS VISUALS
1202
+
1203
+ Success feedback should be proportional to the importance of the successful
1204
+ operation.
1205
+
1206
+ ---
1207
+
1208
+ # 81. MICRO-POLISH
1209
+
1210
+ After the structural design is correct, inspect:
1211
+
1212
+ ```text
1213
+ 1px alignment
1214
+ Icon centering
1215
+ Text baseline
1216
+ Spacing consistency
1217
+ Corner consistency
1218
+ Shadow softness
1219
+ Opacity
1220
+ Animation timing
1221
+ ```
1222
+
1223
+ These details often separate polished UI from average UI.
1224
+
1225
+ ---
1226
+
1227
+ # 82. OPTICAL POLISH
1228
+
1229
+ Do not blindly trust design-tool geometry.
1230
+
1231
+ Inspect the actual rendered interface.
1232
+
1233
+ Ask:
1234
+
1235
+ ```text
1236
+ Does it look centered?
1237
+ Does it feel balanced?
1238
+ Does the spacing feel equal?
1239
+ Does the text sit naturally?
1240
+ ```
1241
+
1242
+ ---
1243
+
1244
+ # 83. VISUAL BALANCE
1245
+
1246
+ Balance does not require perfect symmetry.
1247
+
1248
+ Asymmetric layouts can feel more dynamic when visual weight is controlled.
1249
+
1250
+ ---
1251
+
1252
+ # 84. VISUAL WEIGHT
1253
+
1254
+ Visual weight increases with:
1255
+
1256
+ ```text
1257
+ Size
1258
+ Contrast
1259
+ Saturation
1260
+ Density
1261
+ Darkness
1262
+ Complexity
1263
+ ```
1264
+
1265
+ Use these properties intentionally.
1266
+
1267
+ ---
1268
+
1269
+ # 85. HERO AREAS
1270
+
1271
+ Large hero content should have enough surrounding space to feel intentional.
1272
+
1273
+ Do not immediately fill unused space.
1274
+
1275
+ ---
1276
+
1277
+ # 86. FULL-BLEED CONTENT
1278
+
1279
+ Full-bleed imagery can create stronger immersion.
1280
+
1281
+ Use safe areas and overlays to preserve readability.
1282
+
1283
+ ---
1284
+
1285
+ # 87. CONTENT-FIRST DESIGN
1286
+
1287
+ Decorative UI should never compete with primary content.
1288
+
1289
+ For:
1290
+
1291
+ ```text
1292
+ Documents
1293
+ Music
1294
+ Images
1295
+ Video
1296
+ Notes
1297
+ Code
1298
+ ```
1299
+
1300
+ the content itself is often the hero.
1301
+
1302
+ ---
1303
+
1304
+ # 88. MEDIA INTERFACES
1305
+
1306
+ Media apps benefit from:
1307
+
1308
+ ```text
1309
+ Strong artwork
1310
+ Clear playback hierarchy
1311
+ Minimal chrome
1312
+ Large primary controls
1313
+ Contextual secondary actions
1314
+ ```
1315
+
1316
+ ---
1317
+
1318
+ # 89. PRODUCTIVITY INTERFACES
1319
+
1320
+ Productivity applications may prioritize:
1321
+
1322
+ ```text
1323
+ Speed
1324
+ Density
1325
+ Keyboard interaction
1326
+ Search
1327
+ Shortcuts
1328
+ Persistent context
1329
+ ```
1330
+
1331
+ over decorative surfaces.
1332
+
1333
+ ---
1334
+
1335
+ # 90. DEVELOPER INTERFACES
1336
+
1337
+ Developer tools can be dense while remaining polished.
1338
+
1339
+ Use:
1340
+
1341
+ ```text
1342
+ Monospace where appropriate
1343
+ Strong grouping
1344
+ Clear hierarchy
1345
+ Consistent spacing
1346
+ Precise controls
1347
+ ```
1348
+
1349
+ ---
1350
+
1351
+ # 91. DASHBOARDS
1352
+
1353
+ Dashboards should prioritize information hierarchy.
1354
+
1355
+ Do not create a grid of equally weighted cards.
1356
+
1357
+ ---
1358
+
1359
+ # 92. AI INTERFACES
1360
+
1361
+ AI interfaces require strong distinctions between:
1362
+
1363
+ ```text
1364
+ User input
1365
+ System state
1366
+ AI response
1367
+ Actions
1368
+ Sources
1369
+ Loading
1370
+ Errors
1371
+ ```
1372
+
1373
+ Visual hierarchy is critical.
1374
+
1375
+ ---
1376
+
1377
+ # 93. PREMIUM UI TEST
1378
+
1379
+ Temporarily remove:
1380
+
1381
+ ```text
1382
+ Color
1383
+ Shadows
1384
+ Gradients
1385
+ Images
1386
+ Icons
1387
+ ```
1388
+
1389
+ If the interface still has strong hierarchy through spacing, typography, and
1390
+ composition, the foundation is probably good.
1391
+
1392
+ ---
1393
+
1394
+ # 94. GRAYSCALE TEST
1395
+
1396
+ Evaluate the interface in grayscale.
1397
+
1398
+ If hierarchy disappears completely, color may be doing too much work.
1399
+
1400
+ ---
1401
+
1402
+ # 95. BLUR TEST
1403
+
1404
+ Temporarily remove blur.
1405
+
1406
+ If the interface collapses without it, the hierarchy may depend too heavily on
1407
+ effects.
1408
+
1409
+ ---
1410
+
1411
+ # 96. SQUINT TEST
1412
+
1413
+ Visually reduce attention to detail.
1414
+
1415
+ The major hierarchy should remain visible.
1416
+
1417
+ Ask:
1418
+
1419
+ ```text
1420
+ What catches attention first?
1421
+ Second?
1422
+ Third?
1423
+ ```
1424
+
1425
+ ---
1426
+
1427
+ # 97. DISTANCE TEST
1428
+
1429
+ View the screen at a reduced scale.
1430
+
1431
+ The overall composition should remain coherent.
1432
+
1433
+ ---
1434
+
1435
+ # 98. CONSISTENCY TEST
1436
+
1437
+ Compare equivalent components across the application.
1438
+
1439
+ Look for:
1440
+
1441
+ ```text
1442
+ Different radii
1443
+ Different padding
1444
+ Different typography
1445
+ Different icon sizes
1446
+ Different button behavior
1447
+ ```
1448
+
1449
+ ---
1450
+
1451
+ # 99. PREMIUM POLISH CHECKLIST
1452
+
1453
+ ```text
1454
+ [ ] Clear visual hierarchy
1455
+ [ ] One primary focus
1456
+ [ ] Consistent alignment
1457
+ [ ] Consistent spacing
1458
+ [ ] Intentional negative space
1459
+ [ ] Controlled typography
1460
+ [ ] Semantic color system
1461
+ [ ] Appropriate surface hierarchy
1462
+ [ ] Restrained shadows
1463
+ [ ] Meaningful materials
1464
+ [ ] Controlled blur
1465
+ [ ] Consistent corner radius
1466
+ [ ] Consistent iconography
1467
+ [ ] Strong dark mode
1468
+ [ ] No unnecessary decoration
1469
+ [ ] Optical alignment checked
1470
+ [ ] Content remains primary
1471
+ [ ] Visual noise minimized
1472
+ [ ] States are visually coherent
1473
+ [ ] Accessibility preserved
1474
+ ```
1475
+
1476
+ ---
1477
+
1478
+ # 100. AGENT VISUAL-DESIGN WORKFLOW
1479
+
1480
+ When the agent receives a screen to design or redesign:
1481
+
1482
+ ```text
1483
+ 1. Identify the screen's purpose
1484
+ ↓
1485
+ 2. Identify the primary focus
1486
+ ↓
1487
+ 3. Establish information hierarchy
1488
+ ↓
1489
+ 4. Establish composition
1490
+ ↓
1491
+ 5. Establish spacing rhythm
1492
+ ↓
1493
+ 6. Establish typography
1494
+ ↓
1495
+ 7. Establish color hierarchy
1496
+ ↓
1497
+ 8. Establish surfaces
1498
+ ↓
1499
+ 9. Establish depth
1500
+ ↓
1501
+ 10. Add interaction states
1502
+ ↓
1503
+ 11. Add motion where useful
1504
+ ↓
1505
+ 12. Remove visual noise
1506
+ ↓
1507
+ 13. Check accessibility
1508
+ ↓
1509
+ 14. Test light/dark appearance
1510
+ ↓
1511
+ 15. Inspect rendered result
1512
+ ↓
1513
+ 16. Apply optical corrections
1514
+ ↓
1515
+ 17. Final polish
1516
+ ```
1517
+
1518
+ ---
1519
+
1520
+ # 101. THE AGENT'S CORE RULE
1521
+
1522
+ Never begin with:
1523
+
1524
+ > "What visual effects should I add?"
1525
+
1526
+ Begin with:
1527
+
1528
+ > "What should the user notice, understand, and do?"
1529
+
1530
+ Then build the visual system around that answer.
1531
+
1532
+ ---
1533
+
1534
+ # 102. FINAL PRINCIPLE
1535
+
1536
+ The goal is not to make an application look like Apple.
1537
+
1538
+ The goal is to achieve the qualities that make Apple's strongest interfaces
1539
+ effective:
1540
+
1541
+ ```text
1542
+ Clarity
1543
+ Hierarchy
1544
+ Restraint
1545
+ Precision
1546
+ Consistency
1547
+ Deference to content
1548
+ Platform awareness
1549
+ Purposeful interaction
1550
+ ```
1551
+
1552
+ The best result is not imitation.
1553
+
1554
+ It is a **coherent product-specific visual language built on strong platform
1555
+ principles**.