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,2189 @@
1
+
2
+
3
+ ````md
4
+ # Apple Visual Materials Intelligence
5
+
6
+ > Agent knowledge module for surfaces, materials, translucency, vibrancy,
7
+ > blur, depth, color, shadows, separators, backgrounds, dark mode,
8
+ > and premium visual hierarchy in iOS and iPadOS interfaces.
9
+
10
+ Version: 1.0
11
+ Platform: iOS / iPadOS
12
+ Role: Visual materials intelligence
13
+ Parent: knowledge/apple/motion.md
14
+ Use with: MobileUI-OS
15
+
16
+ ---
17
+
18
+ # 1. PURPOSE
19
+
20
+ Apple interfaces often feel refined because visual hierarchy is created through
21
+ relationships between:
22
+
23
+ - surfaces
24
+ - materials
25
+ - color
26
+ - contrast
27
+ - translucency
28
+ - depth
29
+ - typography
30
+ - spacing
31
+ - motion
32
+ - light
33
+ - context
34
+
35
+ The goal is not to make everything translucent.
36
+
37
+ The goal is to establish a coherent visual environment.
38
+
39
+ ---
40
+
41
+ # 2. CORE PRINCIPLE
42
+
43
+ Think in layers:
44
+
45
+ ```text
46
+ ENVIRONMENT
47
+ ↓
48
+ BACKGROUND
49
+ ↓
50
+ SURFACE
51
+ ↓
52
+ CONTENT
53
+ ↓
54
+ PRIMARY ACTION
55
+ ↓
56
+ FOCUS
57
+ ````
58
+
59
+ Each layer should have a reason to exist.
60
+
61
+ ---
62
+
63
+ # 3. MATERIAL ≠ COLOR
64
+
65
+ A material is not simply:
66
+
67
+ ```text
68
+ backgroundColor = "#FFFFFF"
69
+ ```
70
+
71
+ A material can be understood as a combination of:
72
+
73
+ ```text
74
+ base appearance
75
+ +
76
+ opacity/translucency
77
+ +
78
+ background interaction
79
+ +
80
+ blur
81
+ +
82
+ contrast
83
+ +
84
+ depth
85
+ +
86
+ lighting/context
87
+ ```
88
+
89
+ ---
90
+
91
+ # 4. SURFACE HIERARCHY
92
+
93
+ A strong interface should distinguish between:
94
+
95
+ ```text
96
+ background
97
+ surface
98
+ elevated surface
99
+ overlay
100
+ modal
101
+ popover
102
+ ```
103
+
104
+ Conceptually:
105
+
106
+ ```text
107
+ Level 0
108
+ Background
109
+
110
+ Level 1
111
+ Primary surface
112
+
113
+ Level 2
114
+ Elevated surface
115
+
116
+ Level 3
117
+ Overlay
118
+
119
+ Level 4
120
+ Modal / focused surface
121
+ ```
122
+
123
+ Do not create artificial depth everywhere.
124
+
125
+ ---
126
+
127
+ # 5. FLAT VS DEPTH
128
+
129
+ Not every interface requires visible elevation.
130
+
131
+ Use depth when hierarchy requires it.
132
+
133
+ Example:
134
+
135
+ ```text
136
+ Background
137
+ ───────────────
138
+ Card
139
+ ───────────────
140
+ Floating action
141
+ ```
142
+
143
+ The floating element needs stronger separation.
144
+
145
+ A normal list row may not.
146
+
147
+ ---
148
+
149
+ # 6. MATERIALS SHOULD SERVE HIERARCHY
150
+
151
+ Ask:
152
+
153
+ ```text
154
+ Why does this surface need a material?
155
+ ```
156
+
157
+ Possible answers:
158
+
159
+ ```text
160
+ It floats above content.
161
+ It overlays content.
162
+ It needs visual separation.
163
+ It belongs to a system-level control.
164
+ It represents a transient surface.
165
+ ```
166
+
167
+ If there is no reason, use a simpler surface.
168
+
169
+ ---
170
+
171
+ # 7. TRANSLUCENCY
172
+
173
+ Translucency allows the environment behind a surface to influence its
174
+ appearance.
175
+
176
+ Conceptually:
177
+
178
+ ```text
179
+ background
180
+ ↓
181
+ translucent material
182
+ ↓
183
+ foreground content
184
+ ```
185
+
186
+ This can create spatial continuity.
187
+
188
+ ---
189
+
190
+ # 8. TRANSLUCENCY SHOULD BE CONTEXTUAL
191
+
192
+ A translucent surface over:
193
+
194
+ ```text
195
+ photo
196
+ ```
197
+
198
+ will look different from the same surface over:
199
+
200
+ ```text
201
+ flat dark background
202
+ ```
203
+
204
+ This is intentional.
205
+
206
+ The material should respond to its environment.
207
+
208
+ ---
209
+
210
+ # 9. BLUR
211
+
212
+ Blur reduces background detail while preserving environmental context.
213
+
214
+ Conceptually:
215
+
216
+ ```text
217
+ Background
218
+ ████████████████
219
+
220
+ Blurred surface
221
+ ░░░░░░░░░░░░░░░░
222
+
223
+ Content
224
+ ```
225
+
226
+ Blur should support foreground legibility.
227
+
228
+ ---
229
+
230
+ # 10. BLUR IS NOT DECORATION
231
+
232
+ Use blur when:
233
+
234
+ ```text
235
+ background context matters
236
+ +
237
+ foreground needs separation
238
+ ```
239
+
240
+ Avoid blur when:
241
+
242
+ ```text
243
+ background is already simple
244
+ ```
245
+
246
+ or when it creates unnecessary rendering cost.
247
+
248
+ ---
249
+
250
+ # 11. BLUR STRENGTH
251
+
252
+ More blur is not automatically better.
253
+
254
+ Conceptually:
255
+
256
+ ```text
257
+ Low blur
258
+ ↓
259
+ strong environmental connection
260
+
261
+ Medium blur
262
+ ↓
263
+ balanced separation
264
+
265
+ High blur
266
+ ↓
267
+ strong isolation
268
+ ```
269
+
270
+ Choose based on content.
271
+
272
+ ---
273
+
274
+ # 12. CONTENT BEHIND MATERIAL
275
+
276
+ When placing content behind translucent surfaces, ensure:
277
+
278
+ ```text
279
+ contrast
280
+ legibility
281
+ visual stability
282
+ ```
283
+
284
+ The foreground should remain readable even when the background changes.
285
+
286
+ ---
287
+
288
+ # 13. VIBRANCY
289
+
290
+ Vibrancy can help foreground content integrate naturally with a material.
291
+
292
+ It can be useful for:
293
+
294
+ ```text
295
+ secondary labels
296
+ icons
297
+ navigation elements
298
+ system-like controls
299
+ ```
300
+
301
+ The goal is integration rather than simply increasing saturation.
302
+
303
+ ---
304
+
305
+ # 14. MATERIAL + TEXT
306
+
307
+ Text placed over materials must maintain hierarchy.
308
+
309
+ Conceptually:
310
+
311
+ ```text
312
+ Primary text
313
+ ↓
314
+ strongest contrast
315
+
316
+ Secondary text
317
+ ↓
318
+ reduced emphasis
319
+
320
+ Tertiary text
321
+ ↓
322
+ contextual information
323
+ ```
324
+
325
+ Do not compensate for poor material contrast by making every label pure white.
326
+
327
+ ---
328
+
329
+ # 15. MATERIAL + ICONS
330
+
331
+ Icons should respond to their surface.
332
+
333
+ For example:
334
+
335
+ ```text
336
+ foreground
337
+ +
338
+ material
339
+ ```
340
+
341
+ may require:
342
+
343
+ ```text
344
+ primary icon
345
+ secondary icon
346
+ disabled icon
347
+ selected icon
348
+ ```
349
+
350
+ Avoid using one opacity level for every icon.
351
+
352
+ ---
353
+
354
+ # 16. BACKGROUND DESIGN
355
+
356
+ A background should establish context without competing with content.
357
+
358
+ Possible backgrounds:
359
+
360
+ ```text
361
+ solid
362
+ gradient
363
+ image
364
+ blurred image
365
+ system material
366
+ subtle texture
367
+ dynamic artwork
368
+ ```
369
+
370
+ Choose based on the product.
371
+
372
+ ---
373
+
374
+ # 17. SOLID BACKGROUNDS
375
+
376
+ Solid backgrounds are powerful.
377
+
378
+ They provide:
379
+
380
+ ```text
381
+ stability
382
+ clarity
383
+ performance
384
+ predictability
385
+ ```
386
+
387
+ Do not assume a premium UI requires gradients or blur.
388
+
389
+ ---
390
+
391
+ # 18. GRADIENTS
392
+
393
+ Gradients can create:
394
+
395
+ ```text
396
+ depth
397
+ focus
398
+ atmosphere
399
+ brand identity
400
+ ```
401
+
402
+ Use restrained gradients.
403
+
404
+ Avoid:
405
+
406
+ ```text
407
+ many colors
408
+ hard transitions
409
+ excessive saturation
410
+ gradient on every surface
411
+ ```
412
+
413
+ ---
414
+
415
+ # 19. IMAGE BACKGROUNDS
416
+
417
+ Image-driven interfaces can be visually powerful.
418
+
419
+ For media applications:
420
+
421
+ ```text
422
+ album artwork
423
+ ↓
424
+ background extraction
425
+ ↓
426
+ blur
427
+ ↓
428
+ dark/light treatment
429
+ ↓
430
+ content surface
431
+ ```
432
+
433
+ This creates contextual visual identity.
434
+
435
+ ---
436
+
437
+ # 20. DYNAMIC ARTWORK
438
+
439
+ If an interface changes background based on media artwork:
440
+
441
+ The agent should ensure:
442
+
443
+ ```text
444
+ contrast remains readable
445
+ text remains stable
446
+ controls remain visible
447
+ transitions are smooth
448
+ ```
449
+
450
+ Do not allow every new image to produce an unreadable UI.
451
+
452
+ ---
453
+
454
+ # 21. COLOR EXTRACTION
455
+
456
+ When deriving colors from imagery:
457
+
458
+ Prefer extracting:
459
+
460
+ ```text
461
+ dominant tone
462
+ secondary tone
463
+ accent tone
464
+ ```
465
+
466
+ rather than sampling random pixels.
467
+
468
+ Then constrain them through accessibility and contrast rules.
469
+
470
+ ---
471
+
472
+ # 22. COLOR SHOULD ESTABLISH HIERARCHY
473
+
474
+ A typical semantic hierarchy:
475
+
476
+ ```text
477
+ Primary
478
+ ↓
479
+ main actions / selected state
480
+
481
+ Secondary
482
+ ↓
483
+ supporting actions
484
+
485
+ Tertiary
486
+ ↓
487
+ metadata
488
+
489
+ Destructive
490
+ ↓
491
+ dangerous action
492
+
493
+ Success
494
+ ↓
495
+ positive state
496
+
497
+ Warning
498
+ ↓
499
+ attention
500
+ ```
501
+
502
+ ---
503
+
504
+ # 23. SEMANTIC COLOR
505
+
506
+ Do not hard-code meaning into raw colors everywhere.
507
+
508
+ Prefer:
509
+
510
+ ```text
511
+ color.primary
512
+ color.secondary
513
+ color.background
514
+ color.surface
515
+ color.separator
516
+ color.destructive
517
+ color.success
518
+ ```
519
+
520
+ rather than:
521
+
522
+ ```text
523
+ #FF0000
524
+ #00FF00
525
+ #FFFFFF
526
+ ```
527
+
528
+ throughout components.
529
+
530
+ ---
531
+
532
+ # 24. COLOR TOKENS
533
+
534
+ Example conceptual structure:
535
+
536
+ ```ts
537
+ colors = {
538
+ background: "...",
539
+ surface: "...",
540
+ elevatedSurface: "...",
541
+
542
+ text: {
543
+ primary: "...",
544
+ secondary: "...",
545
+ tertiary: "...",
546
+ },
547
+
548
+ accent: "...",
549
+
550
+ semantic: {
551
+ success: "...",
552
+ warning: "...",
553
+ destructive: "...",
554
+ },
555
+ }
556
+ ```
557
+
558
+ The exact values belong to the product design system.
559
+
560
+ ---
561
+
562
+ # 25. LIGHT MODE
563
+
564
+ Light mode should not simply mean:
565
+
566
+ ```text
567
+ everything = white
568
+ ```
569
+
570
+ Use hierarchy.
571
+
572
+ Conceptually:
573
+
574
+ ```text
575
+ background
576
+ ↓
577
+ slightly distinct surface
578
+ ↓
579
+ elevated surface
580
+ ```
581
+
582
+ Subtle differences can establish depth without heavy shadows.
583
+
584
+ ---
585
+
586
+ # 26. DARK MODE
587
+
588
+ Dark mode should not simply invert colors.
589
+
590
+ Bad:
591
+
592
+ ```text
593
+ white → black
594
+ black → white
595
+ ```
596
+
597
+ Better:
598
+
599
+ ```text
600
+ light design system
601
+ ↓
602
+ dark surface hierarchy
603
+ ↓
604
+ adjusted contrast
605
+ ↓
606
+ adjusted accent intensity
607
+ ↓
608
+ adjusted materials
609
+ ```
610
+
611
+ ---
612
+
613
+ # 27. DARK SURFACES
614
+
615
+ Avoid making every dark surface pure black.
616
+
617
+ Possible hierarchy:
618
+
619
+ ```text
620
+ deep background
621
+ dark surface
622
+ elevated surface
623
+ overlay
624
+ ```
625
+
626
+ Small tonal differences can establish structure.
627
+
628
+ ---
629
+
630
+ # 28. PURE BLACK
631
+
632
+ Pure black can be useful when:
633
+
634
+ ```text
635
+ OLED optimization
636
+ media presentation
637
+ cinematic environment
638
+ strong contrast
639
+ ```
640
+
641
+ But it should be intentional.
642
+
643
+ ---
644
+
645
+ # 29. DARK MODE COLOR
646
+
647
+ Bright colors may appear more intense on dark backgrounds.
648
+
649
+ Therefore:
650
+
651
+ ```text
652
+ same color value
653
+ ```
654
+
655
+ does not necessarily produce:
656
+
657
+ ```text
658
+ same perceived intensity
659
+ ```
660
+
661
+ Tune accents for the environment.
662
+
663
+ ---
664
+
665
+ # 30. CONTRAST
666
+
667
+ Contrast should be sufficient for:
668
+
669
+ ```text
670
+ text
671
+ icons
672
+ controls
673
+ boundaries
674
+ states
675
+ ```
676
+
677
+ Do not rely exclusively on subtle tonal differences for critical information.
678
+
679
+ ---
680
+
681
+ # 31. CONTRAST HIERARCHY
682
+
683
+ Not every element needs maximum contrast.
684
+
685
+ Think:
686
+
687
+ ```text
688
+ Primary content
689
+ ↓
690
+ highest emphasis
691
+
692
+ Secondary content
693
+ ↓
694
+ moderate emphasis
695
+
696
+ Metadata
697
+ ↓
698
+ lower emphasis
699
+
700
+ Decorative content
701
+ ↓
702
+ minimal emphasis
703
+ ```
704
+
705
+ ---
706
+
707
+ # 32. ACCESSIBILITY FIRST
708
+
709
+ Visual refinement must never sacrifice readability.
710
+
711
+ Check:
712
+
713
+ ```text
714
+ text contrast
715
+ icon contrast
716
+ selected states
717
+ disabled states
718
+ focus states
719
+ material overlays
720
+ dynamic backgrounds
721
+ ```
722
+
723
+ ---
724
+
725
+ # 33. COLOR IS NOT THE ONLY SIGNAL
726
+
727
+ Do not communicate state using color alone.
728
+
729
+ Bad:
730
+
731
+ ```text
732
+ green = selected
733
+ gray = unselected
734
+ ```
735
+
736
+ Better:
737
+
738
+ ```text
739
+ color
740
+ +
741
+ icon/state
742
+ +
743
+ position
744
+ +
745
+ typography
746
+ +
747
+ shape
748
+ ```
749
+
750
+ where appropriate.
751
+
752
+ ---
753
+
754
+ # 34. SEPARATORS
755
+
756
+ Separators should be subtle.
757
+
758
+ Use them to communicate:
759
+
760
+ ```text
761
+ group boundaries
762
+ row separation
763
+ section transitions
764
+ ```
765
+
766
+ Avoid drawing a visible border around everything.
767
+
768
+ ---
769
+
770
+ # 35. FULL-WIDTH VS INSET SEPARATORS
771
+
772
+ Choose based on hierarchy.
773
+
774
+ Conceptually:
775
+
776
+ ```text
777
+ FULL WIDTH
778
+ ────────────────────
779
+
780
+ INSET
781
+ ─────────────────
782
+ ```
783
+
784
+ Inset separators can reinforce the relationship between content and leading
785
+ icons/text.
786
+
787
+ ---
788
+
789
+ # 36. BORDERS
790
+
791
+ Borders should not automatically surround every card.
792
+
793
+ Use borders when they communicate:
794
+
795
+ ```text
796
+ boundary
797
+ interaction area
798
+ focus
799
+ selected state
800
+ material separation
801
+ ```
802
+
803
+ ---
804
+
805
+ # 37. SHADOWS
806
+
807
+ Shadows communicate elevation.
808
+
809
+ A useful conceptual model:
810
+
811
+ ```text
812
+ object
813
+ ↓
814
+ shadow
815
+ ↓
816
+ background
817
+ ```
818
+
819
+ The shadow should suggest that the object is physically above the surface.
820
+
821
+ ---
822
+
823
+ # 38. SHADOW RESTRAINT
824
+
825
+ Avoid:
826
+
827
+ ```text
828
+ huge blur
829
+ large offset
830
+ very dark shadow
831
+ multiple shadows everywhere
832
+ ```
833
+
834
+ This often creates a web-design aesthetic rather than a native mobile aesthetic.
835
+
836
+ ---
837
+
838
+ # 39. SOFT ELEVATION
839
+
840
+ Modern interfaces often use subtle separation.
841
+
842
+ Instead of:
843
+
844
+ ```text
845
+ CARD
846
+ ████████
847
+ ████████
848
+ ████████
849
+ ```
850
+
851
+ with a huge shadow:
852
+
853
+ Use:
854
+
855
+ ```text
856
+ surface difference
857
+ +
858
+ subtle border/separator
859
+ +
860
+ minimal elevation
861
+ ```
862
+
863
+ when appropriate.
864
+
865
+ ---
866
+
867
+ # 40. MULTI-LAYER SHADOWS
868
+
869
+ For complex elevated surfaces, multiple subtle shadows can approximate
870
+ different depth scales.
871
+
872
+ Conceptually:
873
+
874
+ ```text
875
+ ambient shadow
876
+ +
877
+ contact shadow
878
+ ```
879
+
880
+ But keep the effect restrained.
881
+
882
+ ---
883
+
884
+ # 41. ELEVATION SHOULD MATCH FUNCTION
885
+
886
+ Example:
887
+
888
+ ```text
889
+ background
890
+ ↓
891
+ card
892
+ ↓
893
+ floating button
894
+ ↓
895
+ modal
896
+ ```
897
+
898
+ Higher functional priority may correspond to stronger visual separation.
899
+
900
+ Do not make every card look like it floats.
901
+
902
+ ---
903
+
904
+ # 42. OVERLAYS
905
+
906
+ Overlays separate focused content from the environment.
907
+
908
+ Examples:
909
+
910
+ ```text
911
+ modal
912
+ sheet
913
+ popover
914
+ menu
915
+ fullscreen player
916
+ ```
917
+
918
+ An overlay may use:
919
+
920
+ ```text
921
+ dim layer
922
+ +
923
+ material
924
+ +
925
+ blur
926
+ ```
927
+
928
+ depending on context.
929
+
930
+ ---
931
+
932
+ # 43. DIMMING
933
+
934
+ Dimming communicates:
935
+
936
+ ```text
937
+ background exists
938
+ but
939
+ is currently inactive
940
+ ```
941
+
942
+ Avoid excessive darkness that makes the underlying interface disappear
943
+ completely unless the experience requires it.
944
+
945
+ ---
946
+
947
+ # 44. MODAL SURFACES
948
+
949
+ Modal surfaces should visually belong to the same design system.
950
+
951
+ They should not suddenly introduce:
952
+
953
+ ```text
954
+ different radius
955
+ different shadows
956
+ different typography
957
+ different colors
958
+ ```
959
+
960
+ unless intentional.
961
+
962
+ ---
963
+
964
+ # 45. CORNER RADIUS
965
+
966
+ Corner radius contributes strongly to perceived style.
967
+
968
+ Use a coherent radius system.
969
+
970
+ Example:
971
+
972
+ ```text
973
+ radius.small
974
+ radius.medium
975
+ radius.large
976
+ radius.xlarge
977
+ radius.full
978
+ ```
979
+
980
+ Avoid random values across components.
981
+
982
+ ---
983
+
984
+ # 46. RADIUS HIERARCHY
985
+
986
+ Small controls:
987
+
988
+ ```text
989
+ small radius
990
+ ```
991
+
992
+ Cards:
993
+
994
+ ```text
995
+ medium radius
996
+ ```
997
+
998
+ Large sheets:
999
+
1000
+ ```text
1001
+ large radius
1002
+ ```
1003
+
1004
+ Pills:
1005
+
1006
+ ```text
1007
+ full radius
1008
+ ```
1009
+
1010
+ The exact mapping depends on the design language.
1011
+
1012
+ ---
1013
+
1014
+ # 47. RADIUS CONSISTENCY
1015
+
1016
+ If two components have equivalent hierarchy:
1017
+
1018
+ ```text
1019
+ card A
1020
+ card B
1021
+ ```
1022
+
1023
+ their corner treatment should generally feel related.
1024
+
1025
+ ---
1026
+
1027
+ # 48. OVER-ROUNDING
1028
+
1029
+ Avoid making every element a pill.
1030
+
1031
+ Bad:
1032
+
1033
+ ```text
1034
+ everything
1035
+ →
1036
+ rounded capsule
1037
+ ```
1038
+
1039
+ This destroys hierarchy.
1040
+
1041
+ ---
1042
+
1043
+ # 49. PILL SHAPES
1044
+
1045
+ Pills work particularly well for:
1046
+
1047
+ ```text
1048
+ tags
1049
+ filters
1050
+ compact controls
1051
+ status indicators
1052
+ segmented selections
1053
+ ```
1054
+
1055
+ They are not automatically appropriate for:
1056
+
1057
+ ```text
1058
+ every button
1059
+ every card
1060
+ every navigation item
1061
+ ```
1062
+
1063
+ ---
1064
+
1065
+ # 50. MATERIAL + CORNER RADIUS
1066
+
1067
+ A material surface with rounded corners should feel like a coherent object.
1068
+
1069
+ Avoid:
1070
+
1071
+ ```text
1072
+ blurred background
1073
+ +
1074
+ random radius
1075
+ +
1076
+ heavy shadow
1077
+ ```
1078
+
1079
+ without considering how the pieces interact.
1080
+
1081
+ ---
1082
+
1083
+ # 51. GLASS EFFECTS
1084
+
1085
+ Glass-like interfaces can use:
1086
+
1087
+ ```text
1088
+ translucency
1089
+ blur
1090
+ brightness
1091
+ saturation
1092
+ border
1093
+ highlight
1094
+ shadow
1095
+ ```
1096
+
1097
+ But glass should represent a material layer, not a universal visual style.
1098
+
1099
+ ---
1100
+
1101
+ # 52. GLASS ANTI-PATTERN
1102
+
1103
+ Do not make:
1104
+
1105
+ ```text
1106
+ header
1107
+ card
1108
+ button
1109
+ tab bar
1110
+ dialog
1111
+ list row
1112
+ ```
1113
+
1114
+ all translucent.
1115
+
1116
+ When everything is glass:
1117
+
1118
+ ```text
1119
+ nothing feels elevated
1120
+ ```
1121
+
1122
+ ---
1123
+
1124
+ # 53. GLASS HIERARCHY
1125
+
1126
+ If glass is used:
1127
+
1128
+ ```text
1129
+ background
1130
+ ↓
1131
+ material surface
1132
+ ↓
1133
+ elevated material
1134
+ ↓
1135
+ focused overlay
1136
+ ```
1137
+
1138
+ Each layer should differ in:
1139
+
1140
+ ```text
1141
+ opacity
1142
+ blur
1143
+ contrast
1144
+ border
1145
+ shadow
1146
+ ```
1147
+
1148
+ where necessary.
1149
+
1150
+ ---
1151
+
1152
+ # 54. GLASS + CONTENT
1153
+
1154
+ The more detailed the background, the more carefully the material needs to
1155
+ control:
1156
+
1157
+ ```text
1158
+ contrast
1159
+ blur
1160
+ brightness
1161
+ ```
1162
+
1163
+ A busy photograph behind transparent text can quickly become unreadable.
1164
+
1165
+ ---
1166
+
1167
+ # 55. MATERIAL ADAPTATION
1168
+
1169
+ Materials should respond to context.
1170
+
1171
+ Example:
1172
+
1173
+ ```text
1174
+ light background
1175
+ ↓
1176
+ material adjustment
1177
+
1178
+ dark background
1179
+ ↓
1180
+ material adjustment
1181
+ ```
1182
+
1183
+ A single hard-coded translucent color may not work across contexts.
1184
+
1185
+ ---
1186
+
1187
+ # 56. DYNAMIC SYSTEM
1188
+
1189
+ For advanced products, conceptual material architecture:
1190
+
1191
+ ```text
1192
+ Environment
1193
+ ↓
1194
+ Material Resolver
1195
+ ↓
1196
+ Surface Configuration
1197
+ ↓
1198
+ Component
1199
+ ```
1200
+
1201
+ This allows surfaces to adapt without every component implementing its own
1202
+ logic.
1203
+
1204
+ ---
1205
+
1206
+ # 57. ENVIRONMENT-AWARE UI
1207
+
1208
+ A contextual interface may derive:
1209
+
1210
+ ```text
1211
+ brightness
1212
+ dominant color
1213
+ contrast
1214
+ background complexity
1215
+ ```
1216
+
1217
+ and adjust foreground treatment.
1218
+
1219
+ However:
1220
+
1221
+ ```text
1222
+ predictability
1223
+ ```
1224
+
1225
+ must remain more important than visual novelty.
1226
+
1227
+ ---
1228
+
1229
+ # 58. BACKGROUND TRANSITIONS
1230
+
1231
+ When the background changes:
1232
+
1233
+ ```text
1234
+ old background
1235
+ ↓
1236
+ transition
1237
+ ↓
1238
+ new background
1239
+ ```
1240
+
1241
+ Avoid abrupt flashes.
1242
+
1243
+ Use subtle crossfade or controlled interpolation where appropriate.
1244
+
1245
+ ---
1246
+
1247
+ # 59. MEDIA ARTWORK TRANSITIONS
1248
+
1249
+ For music players:
1250
+
1251
+ ```text
1252
+ Track A
1253
+ ↓
1254
+ Track B
1255
+ ```
1256
+
1257
+ background artwork can transition smoothly.
1258
+
1259
+ Potential sequence:
1260
+
1261
+ ```text
1262
+ new artwork
1263
+ ↓
1264
+ extract colors
1265
+ ↓
1266
+ prepare palette
1267
+ ↓
1268
+ crossfade background
1269
+ ↓
1270
+ update material
1271
+ ```
1272
+
1273
+ Do not block playback waiting for visual processing.
1274
+
1275
+ ---
1276
+
1277
+ # 60. MATERIAL PERFORMANCE
1278
+
1279
+ Blur and translucency can be expensive.
1280
+
1281
+ Consider:
1282
+
1283
+ ```text
1284
+ GPU cost
1285
+ memory
1286
+ offscreen rendering
1287
+ large surfaces
1288
+ continuous animation
1289
+ multiple overlapping blurs
1290
+ ```
1291
+
1292
+ especially on older devices.
1293
+
1294
+ ---
1295
+
1296
+ # 61. PERFORMANCE RULE
1297
+
1298
+ Do not stack:
1299
+
1300
+ ```text
1301
+ blur
1302
+ +
1303
+ gradient
1304
+ +
1305
+ shadow
1306
+ +
1307
+ transparency
1308
+ +
1309
+ mask
1310
+ +
1311
+ large image
1312
+ ```
1313
+
1314
+ on dozens of simultaneously rendered components without measuring.
1315
+
1316
+ ---
1317
+
1318
+ # 62. MATERIAL BUDGET
1319
+
1320
+ Think of visual effects as a budget.
1321
+
1322
+ High-cost effects should be reserved for:
1323
+
1324
+ ```text
1325
+ primary surfaces
1326
+ focused surfaces
1327
+ hero experiences
1328
+ ```
1329
+
1330
+ not every list row.
1331
+
1332
+ ---
1333
+
1334
+ # 63. SCROLLING MATERIALS
1335
+
1336
+ When content scrolls behind a translucent header:
1337
+
1338
+ ```text
1339
+ content
1340
+ ↓
1341
+ header material
1342
+ ```
1343
+
1344
+ the material can maintain separation while preserving context.
1345
+
1346
+ But ensure text remains readable throughout scrolling.
1347
+
1348
+ ---
1349
+
1350
+ # 64. COLLAPSING HEADERS
1351
+
1352
+ A large header may transition:
1353
+
1354
+ ```text
1355
+ expanded
1356
+ ↓
1357
+ scroll
1358
+ ↓
1359
+ compact
1360
+ ```
1361
+
1362
+ Material treatment can change with the hierarchy.
1363
+
1364
+ For example:
1365
+
1366
+ ```text
1367
+ large transparent header
1368
+ ↓
1369
+ compact material navigation bar
1370
+ ```
1371
+
1372
+ The transition should feel continuous.
1373
+
1374
+ ---
1375
+
1376
+ # 65. TAB BAR MATERIAL
1377
+
1378
+ A bottom navigation surface may use a material-like treatment when it needs
1379
+ to remain visually distinct from scrolling content.
1380
+
1381
+ The agent should consider:
1382
+
1383
+ ```text
1384
+ background complexity
1385
+ selected state
1386
+ safe area
1387
+ contrast
1388
+ touch targets
1389
+ ```
1390
+
1391
+ ---
1392
+
1393
+ # 66. NAVIGATION BAR MATERIAL
1394
+
1395
+ Navigation bars should support hierarchy rather than become decorative glass
1396
+ strips.
1397
+
1398
+ If the background is already simple:
1399
+
1400
+ ```text
1401
+ solid/subtle surface
1402
+ ```
1403
+
1404
+ may be better than:
1405
+
1406
+ ```text
1407
+ heavy blur
1408
+ ```
1409
+
1410
+ ---
1411
+
1412
+ # 67. CONTENT-FIRST PRINCIPLE
1413
+
1414
+ Materials should frame content.
1415
+
1416
+ They should not compete with:
1417
+
1418
+ ```text
1419
+ photography
1420
+ music artwork
1421
+ documents
1422
+ text
1423
+ video
1424
+ data
1425
+ ```
1426
+
1427
+ The content is usually the hero.
1428
+
1429
+ ---
1430
+
1431
+ # 68. FOCUS
1432
+
1433
+ Visual materials can help focus attention.
1434
+
1435
+ Example:
1436
+
1437
+ ```text
1438
+ background
1439
+ ↓
1440
+ dim/blur
1441
+ ↓
1442
+ focused modal
1443
+ ```
1444
+
1445
+ The material communicates:
1446
+
1447
+ ```text
1448
+ "this is currently important."
1449
+ ```
1450
+
1451
+ ---
1452
+
1453
+ # 69. EMPTY STATES
1454
+
1455
+ Empty states usually do not require heavy material treatment.
1456
+
1457
+ Prefer:
1458
+
1459
+ ```text
1460
+ clear typography
1461
+ icon/illustration
1462
+ primary action
1463
+ ```
1464
+
1465
+ with restrained surfaces.
1466
+
1467
+ ---
1468
+
1469
+ # 70. ERROR STATES
1470
+
1471
+ Error surfaces should remain integrated into the hierarchy.
1472
+
1473
+ Avoid turning every error into:
1474
+
1475
+ ```text
1476
+ large red card
1477
+ ```
1478
+
1479
+ Use semantic emphasis appropriate to severity.
1480
+
1481
+ ---
1482
+
1483
+ # 71. DESTRUCTIVE STATES
1484
+
1485
+ Destructive actions may use semantic color.
1486
+
1487
+ Do not make the entire screen aggressively red.
1488
+
1489
+ Instead:
1490
+
1491
+ ```text
1492
+ neutral environment
1493
+ +
1494
+ focused destructive control
1495
+ ```
1496
+
1497
+ is often clearer.
1498
+
1499
+ ---
1500
+
1501
+ # 72. SUCCESS STATES
1502
+
1503
+ Similarly:
1504
+
1505
+ ```text
1506
+ green everywhere
1507
+ ```
1508
+
1509
+ is unnecessary.
1510
+
1511
+ Use success color where the success state actually needs to be communicated.
1512
+
1513
+ ---
1514
+
1515
+ # 73. DISABLED MATERIALS
1516
+
1517
+ Disabled elements should communicate:
1518
+
1519
+ ```text
1520
+ not currently available
1521
+ ```
1522
+
1523
+ without disappearing completely.
1524
+
1525
+ Maintain enough contrast to understand structure.
1526
+
1527
+ ---
1528
+
1529
+ # 74. SELECTED MATERIALS
1530
+
1531
+ Selected states can use:
1532
+
1533
+ ```text
1534
+ tint
1535
+ fill
1536
+ material change
1537
+ border
1538
+ shape
1539
+ icon
1540
+ ```
1541
+
1542
+ Use multiple cues where appropriate.
1543
+
1544
+ ---
1545
+
1546
+ # 75. FOCUS MATERIALS
1547
+
1548
+ For keyboard/pointer environments, focused controls need a visible focus
1549
+ indicator.
1550
+
1551
+ Do not depend only on hover or subtle color changes.
1552
+
1553
+ ---
1554
+
1555
+ # 76. DARK MATERIALS
1556
+
1557
+ Dark translucent materials can become muddy.
1558
+
1559
+ Pay attention to:
1560
+
1561
+ ```text
1562
+ background luminance
1563
+ foreground contrast
1564
+ blur amount
1565
+ surface opacity
1566
+ accent intensity
1567
+ ```
1568
+
1569
+ Avoid stacking near-black layers until everything looks indistinguishable.
1570
+
1571
+ ---
1572
+
1573
+ # 77. LIGHT MATERIALS
1574
+
1575
+ Light translucent materials can become washed out.
1576
+
1577
+ Control:
1578
+
1579
+ ```text
1580
+ brightness
1581
+ opacity
1582
+ contrast
1583
+ border
1584
+ shadow
1585
+ ```
1586
+
1587
+ rather than simply increasing opacity.
1588
+
1589
+ ---
1590
+
1591
+ # 78. COLORFUL BACKGROUNDS
1592
+
1593
+ When using vibrant backgrounds:
1594
+
1595
+ ```text
1596
+ foreground surfaces
1597
+ ```
1598
+
1599
+ may require stronger isolation.
1600
+
1601
+ Use:
1602
+
1603
+ ```text
1604
+ blur
1605
+ dim
1606
+ tint
1607
+ surface opacity
1608
+ ```
1609
+
1610
+ to preserve hierarchy.
1611
+
1612
+ ---
1613
+
1614
+ # 79. PHOTOGRAPHY
1615
+
1616
+ Photography often benefits from restrained UI overlays.
1617
+
1618
+ Avoid placing large opaque surfaces over the main subject unless required for
1619
+ legibility.
1620
+
1621
+ ---
1622
+
1623
+ # 80. VIDEO
1624
+
1625
+ Video interfaces should minimize visual obstruction.
1626
+
1627
+ Controls may:
1628
+
1629
+ ```text
1630
+ appear temporarily
1631
+ fade away
1632
+ use translucent materials
1633
+ ```
1634
+
1635
+ while maintaining accessibility and discoverability.
1636
+
1637
+ ---
1638
+
1639
+ # 81. DOCUMENTS
1640
+
1641
+ Documents generally prioritize:
1642
+
1643
+ ```text
1644
+ legibility
1645
+ navigation
1646
+ tool clarity
1647
+ low visual distraction
1648
+ ```
1649
+
1650
+ A heavy material system can hurt the experience.
1651
+
1652
+ ---
1653
+
1654
+ # 82. LISTS
1655
+
1656
+ Lists benefit from:
1657
+
1658
+ ```text
1659
+ clean background
1660
+ subtle separators
1661
+ clear row hierarchy
1662
+ restrained surfaces
1663
+ ```
1664
+
1665
+ Avoid turning every row into a floating glass card.
1666
+
1667
+ ---
1668
+
1669
+ # 83. CARDS
1670
+
1671
+ Cards are useful when content needs grouping.
1672
+
1673
+ Ask:
1674
+
1675
+ ```text
1676
+ Does this content represent a coherent object?
1677
+ ```
1678
+
1679
+ If yes:
1680
+
1681
+ ```text
1682
+ card
1683
+ ```
1684
+
1685
+ may be appropriate.
1686
+
1687
+ If not:
1688
+
1689
+ ```text
1690
+ list/section
1691
+ ```
1692
+
1693
+ may be better.
1694
+
1695
+ ---
1696
+
1697
+ # 84. CARD STACKING
1698
+
1699
+ Avoid:
1700
+
1701
+ ```text
1702
+ card
1703
+ inside card
1704
+ inside card
1705
+ inside card
1706
+ ```
1707
+
1708
+ Each nesting layer increases cognitive and visual complexity.
1709
+
1710
+ ---
1711
+
1712
+ # 85. MATERIAL DEPTH MODEL
1713
+
1714
+ Use the smallest number of layers necessary:
1715
+
1716
+ ```text
1717
+ Layer 0
1718
+ environment
1719
+
1720
+ Layer 1
1721
+ content surface
1722
+
1723
+ Layer 2
1724
+ interactive/elevated surface
1725
+
1726
+ Layer 3
1727
+ temporary overlay
1728
+
1729
+ Layer 4
1730
+ focused modal
1731
+ ```
1732
+
1733
+ ---
1734
+
1735
+ # 86. VISUAL QUIETNESS
1736
+
1737
+ Premium interfaces contain quiet areas.
1738
+
1739
+ Do not fill every region with:
1740
+
1741
+ ```text
1742
+ gradient
1743
+ texture
1744
+ border
1745
+ shadow
1746
+ blur
1747
+ icon
1748
+ ```
1749
+
1750
+ Negative space is part of the material system.
1751
+
1752
+ ---
1753
+
1754
+ # 87. VISUAL WEIGHT
1755
+
1756
+ Visual weight can come from:
1757
+
1758
+ ```text
1759
+ size
1760
+ contrast
1761
+ opacity
1762
+ saturation
1763
+ shadow
1764
+ blur
1765
+ density
1766
+ motion
1767
+ ```
1768
+
1769
+ Use these intentionally.
1770
+
1771
+ ---
1772
+
1773
+ # 88. MATERIAL + TYPOGRAPHY
1774
+
1775
+ Typography and materials must cooperate.
1776
+
1777
+ Example:
1778
+
1779
+ ```text
1780
+ high-contrast surface
1781
+ ↓
1782
+ strong typography hierarchy
1783
+
1784
+ complex background
1785
+ ↓
1786
+ stronger text isolation
1787
+ ```
1788
+
1789
+ Never design materials independently from text.
1790
+
1791
+ ---
1792
+
1793
+ # 89. MATERIAL + SPACING
1794
+
1795
+ Dense content requires clearer surfaces.
1796
+
1797
+ Sparse content can tolerate more atmospheric backgrounds.
1798
+
1799
+ Therefore:
1800
+
1801
+ ```text
1802
+ high information density
1803
+ ↓
1804
+ restrained materials
1805
+
1806
+ low information density
1807
+ ↓
1808
+ more atmospheric expression
1809
+ ```
1810
+
1811
+ ---
1812
+
1813
+ # 90. MATERIAL + MOTION
1814
+
1815
+ Material transitions can accompany spatial transitions.
1816
+
1817
+ Example:
1818
+
1819
+ ```text
1820
+ background
1821
+ ↓
1822
+ sheet appears
1823
+ ↓
1824
+ background dims
1825
+ ↓
1826
+ material surface becomes dominant
1827
+ ```
1828
+
1829
+ Motion and material should communicate the same hierarchy.
1830
+
1831
+ ---
1832
+
1833
+ # 91. MATERIAL + INTERACTION
1834
+
1835
+ Interactive surfaces should respond visibly.
1836
+
1837
+ Possible feedback:
1838
+
1839
+ ```text
1840
+ pressed
1841
+ selected
1842
+ focused
1843
+ dragged
1844
+ disabled
1845
+ loading
1846
+ ```
1847
+
1848
+ The material itself can subtly change.
1849
+
1850
+ ---
1851
+
1852
+ # 92. MATERIAL STATES
1853
+
1854
+ Conceptual model:
1855
+
1856
+ ```ts
1857
+ surface = {
1858
+ base,
1859
+ pressed,
1860
+ selected,
1861
+ focused,
1862
+ disabled,
1863
+ elevated,
1864
+ }
1865
+ ```
1866
+
1867
+ This creates a coherent system rather than ad-hoc styling.
1868
+
1869
+ ---
1870
+
1871
+ # 93. DESIGN TOKENS
1872
+
1873
+ Recommended conceptual token categories:
1874
+
1875
+ ```text
1876
+ surface.background
1877
+ surface.primary
1878
+ surface.secondary
1879
+ surface.elevated
1880
+ surface.overlay
1881
+
1882
+ material.translucent
1883
+ material.thick
1884
+ material.thin
1885
+
1886
+ border.subtle
1887
+ border.strong
1888
+
1889
+ shadow.none
1890
+ shadow.low
1891
+ shadow.medium
1892
+ shadow.high
1893
+
1894
+ radius.small
1895
+ radius.medium
1896
+ radius.large
1897
+ radius.full
1898
+ ```
1899
+
1900
+ ---
1901
+
1902
+ # 94. COMPONENT MATERIAL CONTRACT
1903
+
1904
+ Each component should define:
1905
+
1906
+ ```text
1907
+ surface
1908
+ border
1909
+ radius
1910
+ elevation
1911
+ text contrast
1912
+ icon contrast
1913
+ pressed state
1914
+ selected state
1915
+ disabled state
1916
+ ```
1917
+
1918
+ ---
1919
+
1920
+ # 95. MATERIAL DECISION TREE
1921
+
1922
+ ```text
1923
+ Does the element need visual separation?
1924
+ ↓
1925
+ YES
1926
+ ↓
1927
+ Does spatial context behind it matter?
1928
+ / \
1929
+ YES NO
1930
+ ↓ ↓
1931
+ translucent opaque
1932
+ material surface
1933
+ ↓
1934
+ Does foreground remain readable?
1935
+ / \
1936
+ YES NO
1937
+ ↓ ↓
1938
+ keep increase
1939
+ material isolation
1940
+ ```
1941
+
1942
+ ---
1943
+
1944
+ # 96. GLASS DECISION TREE
1945
+
1946
+ ```text
1947
+ Is this surface floating above content?
1948
+ ↓
1949
+ YES
1950
+ ↓
1951
+ Would seeing the background preserve context?
1952
+ / \
1953
+ YES NO
1954
+ ↓ ↓
1955
+ material opaque
1956
+ ↓
1957
+ Does blur improve legibility?
1958
+ / \
1959
+ YES NO
1960
+ ↓ ↓
1961
+ use blur use lighter material
1962
+ ```
1963
+
1964
+ ---
1965
+
1966
+ # 97. VISUAL MATERIAL AUDIT
1967
+
1968
+ For every major screen ask:
1969
+
1970
+ ```text
1971
+ What is the background?
1972
+
1973
+ What are the primary surfaces?
1974
+
1975
+ Which surfaces are elevated?
1976
+
1977
+ Why is each material used?
1978
+
1979
+ Where is depth needed?
1980
+
1981
+ Where should the UI remain flat?
1982
+
1983
+ Does translucency improve the experience?
1984
+
1985
+ Is the text readable?
1986
+
1987
+ Are separators necessary?
1988
+
1989
+ Are shadows necessary?
1990
+
1991
+ Is the design too visually noisy?
1992
+
1993
+ Does dark mode remain coherent?
1994
+
1995
+ Does light mode remain coherent?
1996
+ ```
1997
+
1998
+ ---
1999
+
2000
+ # 98. PREMIUM MATERIAL TEST
2001
+
2002
+ Squint at the screen.
2003
+
2004
+ Ask:
2005
+
2006
+ ```text
2007
+ Can I still identify the hierarchy?
2008
+ ```
2009
+
2010
+ If yes:
2011
+
2012
+ ```text
2013
+ visual hierarchy is strong
2014
+ ```
2015
+
2016
+ If no:
2017
+
2018
+ ```text
2019
+ effects are probably overpowering structure
2020
+ ```
2021
+
2022
+ ---
2023
+
2024
+ # 99. GLASS TEST
2025
+
2026
+ Temporarily remove:
2027
+
2028
+ ```text
2029
+ blur
2030
+ opacity
2031
+ shadow
2032
+ gradient
2033
+ ```
2034
+
2035
+ If the layout becomes completely unintelligible:
2036
+
2037
+ The design is relying too heavily on effects.
2038
+
2039
+ Good structure should survive without decoration.
2040
+
2041
+ ---
2042
+
2043
+ # 100. PERFORMANCE TEST
2044
+
2045
+ Test on:
2046
+
2047
+ ```text
2048
+ older device
2049
+ large list
2050
+ image-heavy screen
2051
+ dark mode
2052
+ light mode
2053
+ rapid scrolling
2054
+ rapid navigation
2055
+ ```
2056
+
2057
+ Measure actual performance rather than assuming effects are cheap.
2058
+
2059
+ ---
2060
+
2061
+ # 101. AGENT VISUAL DECISION MODEL
2062
+
2063
+ ```text
2064
+ CONTENT
2065
+ ↓
2066
+ HIERARCHY
2067
+ ↓
2068
+ SURFACE
2069
+ ↓
2070
+ DEPTH
2071
+ ↓
2072
+ MATERIAL
2073
+ ↓
2074
+ COLOR
2075
+ ↓
2076
+ EFFECT
2077
+ ```
2078
+
2079
+ Do not start with:
2080
+
2081
+ ```text
2082
+ "Let's add glass."
2083
+ ```
2084
+
2085
+ Start with:
2086
+
2087
+ ```text
2088
+ "What hierarchy does this surface need?"
2089
+ ```
2090
+
2091
+ ---
2092
+
2093
+ # 102. FINAL PRINCIPLE
2094
+
2095
+ The goal of Apple-inspired materials is not:
2096
+
2097
+ ```text
2098
+ glass everywhere
2099
+ blur everywhere
2100
+ shadows everywhere
2101
+ gradients everywhere
2102
+ ```
2103
+
2104
+ The goal is:
2105
+
2106
+ ```text
2107
+ CONTENT
2108
+ ↓
2109
+ CLEAR HIERARCHY
2110
+ ↓
2111
+ SUBTLE MATERIAL
2112
+ ↓
2113
+ CONTEXT
2114
+ ↓
2115
+ DEPTH
2116
+ ```
2117
+
2118
+ The strongest visual systems know when **not** to use an effect.
2119
+
2120
+ ---
2121
+
2122
+ # 103. QUICK REFERENCE
2123
+
2124
+ ```text
2125
+ SURFACE
2126
+ ↓
2127
+ MATERIAL
2128
+ ↓
2129
+ CONTEXT
2130
+ ↓
2131
+ CONTRAST
2132
+ ↓
2133
+ DEPTH
2134
+ ↓
2135
+ HIERARCHY
2136
+ ```
2137
+
2138
+ ---
2139
+
2140
+ # 104. FINAL AGENT RULE
2141
+
2142
+ Before applying a visual effect, the agent must answer:
2143
+
2144
+ > "What problem does this effect solve?"
2145
+
2146
+ Valid answers include:
2147
+
2148
+ ```text
2149
+ Improves separation.
2150
+ Preserves spatial context.
2151
+ Improves readability.
2152
+ Communicates elevation.
2153
+ Establishes focus.
2154
+ Expresses hierarchy.
2155
+ Supports brand identity.
2156
+ ```
2157
+
2158
+ Invalid answer:
2159
+
2160
+ ```text
2161
+ "It looks cool."
2162
+ ```
2163
+
2164
+ ---
2165
+
2166
+ # 105. SOURCES
2167
+
2168
+ Apple Human Interface Guidelines:
2169
+
2170
+ [https://developer.apple.com/design/human-interface-guidelines/](https://developer.apple.com/design/human-interface-guidelines/)
2171
+
2172
+ Apple Design:
2173
+
2174
+ [https://developer.apple.com/design/](https://developer.apple.com/design/)
2175
+
2176
+ Apple Developer — SwiftUI:
2177
+
2178
+ [https://developer.apple.com/documentation/swiftui/](https://developer.apple.com/documentation/swiftui/)
2179
+
2180
+ Apple Developer — UIKit:
2181
+
2182
+ [https://developer.apple.com/documentation/uikit/](https://developer.apple.com/documentation/uikit/)
2183
+
2184
+ Apple Developer — Accessibility:
2185
+
2186
+ [https://developer.apple.com/accessibility/](https://developer.apple.com/accessibility/)
2187
+
2188
+ ````
2189
+