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.
- package/AGENTS.md +47 -0
- package/CHANGELOG.md +25 -0
- package/README.md +78 -0
- package/bin/cli.mjs +375 -0
- package/knowledge/android/00-apple-to-android-adaption.md +1499 -0
- package/knowledge/android/accessibility.md +333 -0
- package/knowledge/android/components-controls.md +270 -0
- package/knowledge/android/material-design-3.md +174 -0
- package/knowledge/android/navigation-patterns.md +212 -0
- package/knowledge/apple/00-skill-reading-protocol.md +1296 -0
- package/knowledge/apple/Accessibility, Inclusive Design & Human Factors Intelligence.md +735 -0
- package/knowledge/apple/Advanced Interaction Patterns, Gestures, Feedback & State Transitions.md +1140 -0
- package/knowledge/apple/Advanced Navigation, Information Architecture & Wayfinding.md +551 -0
- package/knowledge/apple/Autonomus Ui-UX Improvement Loop.md +611 -0
- package/knowledge/apple/Color, Materials, Contrast, Themes & Visual Depth.md +1351 -0
- package/knowledge/apple/Content, Copy, Microinteractions & UX Communication.md +642 -0
- package/knowledge/apple/Data-Heavy Interfaces, Tables, Lists, Search, Filtering & Large-Scale Content.md +721 -0
- package/knowledge/apple/Design Systems & Component Architecture.md +412 -0
- package/knowledge/apple/Forms, Input, Data Entry & Validation Intelligence.md +705 -0
- package/knowledge/apple/Interaction, State & Edge-Case Engineering.md +491 -0
- package/knowledge/apple/Interaction-behaviour.md +1378 -0
- package/knowledge/apple/Layout Architecture, Responsive Design & Spatial Systems.md +1365 -0
- package/knowledge/apple/MASTER UI-UX ORCHESTRATOR.md +1210 -0
- package/knowledge/apple/Navigation Architecture, Routing, Deep Linking & State Restoration.md +1392 -0
- package/knowledge/apple/Navigation, Information Architecture & Spatial Hierarchy.md +1613 -0
- package/knowledge/apple/Notifications, Permissions, Privacy and Trust.md +1540 -0
- package/knowledge/apple/Patterns-templates-composition.md +647 -0
- package/knowledge/apple/Performance, Perceived Speed, Motion & Rendering Intelligence.md +855 -0
- package/knowledge/apple/Responsive, Adaptive & Cross-Platform UI Intelligence.md +669 -0
- package/knowledge/apple/Responsive, Adaptive, Accessible & Performant UI.md +545 -0
- package/knowledge/apple/Tablet Adaptation & Multi-Device UX.md +1447 -0
- package/knowledge/apple/UI Implementation & Refactoring.md +498 -0
- package/knowledge/apple/UI-UX Decision-Making, Prioritization & Trade-offs.md +533 -0
- package/knowledge/apple/UI-UX Project Lifecycle & Delivery.md +544 -0
- package/knowledge/apple/User Flows & Experience Architecture.md +335 -0
- package/knowledge/apple/Visual Design Systems, Theming, Tokens & Brand Intelligence.md +764 -0
- package/knowledge/apple/Visual QA, Testing & Validation.md +557 -0
- package/knowledge/apple/accessibility-inclusive-interaction.md +1361 -0
- package/knowledge/apple/accessibility.md +2162 -0
- package/knowledge/apple/color.md +1933 -0
- package/knowledge/apple/component-architecture.md +2208 -0
- package/knowledge/apple/components.md +2172 -0
- package/knowledge/apple/design-decision-framework.md +1883 -0
- package/knowledge/apple/design-review-engine.md +2108 -0
- package/knowledge/apple/design-tokens.md +1943 -0
- package/knowledge/apple/designing-for-ios.md +1680 -0
- package/knowledge/apple/gestures, touch behavior, feedback, motion, and micro-interactions.md +1538 -0
- package/knowledge/apple/hig-foundation.md +1806 -0
- package/knowledge/apple/iconography.md +1903 -0
- package/knowledge/apple/interaction-patterns.md +2513 -0
- package/knowledge/apple/interaction.md +2141 -0
- package/knowledge/apple/ios-alerts-confirmations-destructive-actions.md +1342 -0
- package/knowledge/apple/ios-components-and-controls.md +1634 -0
- package/knowledge/apple/ios-components-patterns.md +1343 -0
- package/knowledge/apple/ios-design-system-architecture.md +1520 -0
- package/knowledge/apple/ios-empty-error-offline-states.md +1370 -0
- package/knowledge/apple/ios-empty-loading-error-recovery.md +1674 -0
- package/knowledge/apple/ios-forms-and-input.md +1458 -0
- package/knowledge/apple/ios-forms-input-data-entry.md +1308 -0
- package/knowledge/apple/ios-gestures-and-touch.md +1272 -0
- package/knowledge/apple/ios-lists-collections-and-data-display.md +1735 -0
- package/knowledge/apple/ios-loading-progress-async-states.md +1378 -0
- package/knowledge/apple/ios-materials-and-surfaces.md +1543 -0
- package/knowledge/apple/ios-motion-animation-transitions.md +1178 -0
- package/knowledge/apple/ios-navigation-and-information-architecture.md +1674 -0
- package/knowledge/apple/ios-navigation-user-flows-design-architecture.md +1195 -0
- package/knowledge/apple/ios-search-and-discovery.md +1456 -0
- package/knowledge/apple/ios-search-filtering-discovery.md +1402 -0
- package/knowledge/apple/ios-sheets-modals-popovers.md +1205 -0
- package/knowledge/apple/ios-typography-icons-visual-hierarchy.md +1431 -0
- package/knowledge/apple/layout.md +2331 -0
- package/knowledge/apple/media-centric-content-ui-patterns.md +1470 -0
- package/knowledge/apple/motion, transitions, physics, and animation language.md +1535 -0
- package/knowledge/apple/motion-and-animation.md +1698 -0
- package/knowledge/apple/motion.md +2087 -0
- package/knowledge/apple/navigation.md +2281 -0
- package/knowledge/apple/responsive-adaptive.md +2159 -0
- package/knowledge/apple/screen-architecture.md +2067 -0
- package/knowledge/apple/typography, Content Hierarchy & Readability.md +1411 -0
- package/knowledge/apple/typography.md +1802 -0
- package/knowledge/apple/ui-ux inteligence audit.md +106 -0
- package/knowledge/apple/visual-design-and-premium-ui.md +1555 -0
- package/knowledge/apple/visual-hierarchy-engine.md +1647 -0
- package/knowledge/apple/visual-materials.md +2189 -0
- package/package.json +53 -0
- package/principles/design-principles.md +37 -0
- package/principles/platform-principles.md +25 -0
- package/principles/ux-principles.md +16 -0
- package/references/official-links.md +11 -0
- package/skills/accessibility-engineer/SKILL.md +125 -0
- package/skills/analytics-engineer/SKILL.md +283 -0
- package/skills/animation-engineer/SKILL.md +316 -0
- package/skills/component-designer/SKILL.md +75 -0
- package/skills/component-library-engineer/SKILL.md +140 -0
- package/skills/component-library-ops/SKILL.md +155 -0
- package/skills/design-system/SKILL.md +77 -0
- package/skills/design-token-engineer/SKILL.md +203 -0
- package/skills/design-token-pipeline/SKILL.md +277 -0
- package/skills/device-lab-engineer/SKILL.md +387 -0
- package/skills/forms-engineer/SKILL.md +79 -0
- package/skills/internationalization-engineer/SKILL.md +256 -0
- package/skills/motion-designer/SKILL.md +77 -0
- package/skills/native-data-fetching/SKILL.md +50 -0
- package/skills/navigation-architect/SKILL.md +65 -0
- package/skills/performance-engineer/SKILL.md +250 -0
- package/skills/platform-specialist/SKILL.md +95 -0
- package/skills/pre-release-gate/SKILL.md +75 -0
- package/skills/screen-designer/SKILL.md +117 -0
- package/skills/security-engineer/SKILL.md +375 -0
- package/skills/skills.json +134 -0
- package/skills/testing-auditor/SKILL.md +62 -0
- package/skills/ui-architect/SKILL.md +86 -0
- package/skills/ui-implementer/SKILL.md +188 -0
- package/skills/ux-architect/SKILL.md +49 -0
- package/skills/ux-auditor/SKILL.md +52 -0
- package/skills/visual-auditor/SKILL.md +71 -0
- package/templates/audit-report.md +29 -0
- package/templates/design-tokens.ts +33 -0
- package/templates/screen-spec.md +61 -0
- package/workflows/new-screen.md +17 -0
- package/workflows/pre-release.md +21 -0
- package/workflows/redesign.md +14 -0
- package/workflows/ui-audit.md +22 -0
|
@@ -0,0 +1,1802 @@
|
|
|
1
|
+
|
|
2
|
+
|
|
3
|
+
````md
|
|
4
|
+
# Apple Typography Intelligence
|
|
5
|
+
|
|
6
|
+
> Agent knowledge module for designing readable, adaptive, hierarchical,
|
|
7
|
+
> accessible, and platform-appropriate typography for iOS and iPadOS.
|
|
8
|
+
|
|
9
|
+
Version: 1.0
|
|
10
|
+
Platform: iOS / iPadOS
|
|
11
|
+
Role: Typography intelligence
|
|
12
|
+
Parent: knowledge/apple/layout.md
|
|
13
|
+
Use with: MobileUI-OS
|
|
14
|
+
|
|
15
|
+
---
|
|
16
|
+
|
|
17
|
+
# 1. PURPOSE
|
|
18
|
+
|
|
19
|
+
Typography is one of the primary structural systems of an interface.
|
|
20
|
+
|
|
21
|
+
It communicates:
|
|
22
|
+
|
|
23
|
+
- hierarchy
|
|
24
|
+
- identity
|
|
25
|
+
- meaning
|
|
26
|
+
- state
|
|
27
|
+
- emphasis
|
|
28
|
+
- grouping
|
|
29
|
+
- navigation
|
|
30
|
+
- action priority
|
|
31
|
+
- readability
|
|
32
|
+
|
|
33
|
+
Typography is not decorative styling.
|
|
34
|
+
|
|
35
|
+
It is part of the information architecture.
|
|
36
|
+
|
|
37
|
+
The agent must therefore design typography together with layout rather than
|
|
38
|
+
treating fonts as a final visual layer.
|
|
39
|
+
|
|
40
|
+
---
|
|
41
|
+
|
|
42
|
+
# 2. CORE PRINCIPLE
|
|
43
|
+
|
|
44
|
+
Do not begin with:
|
|
45
|
+
|
|
46
|
+
```text
|
|
47
|
+
What font looks cool?
|
|
48
|
+
````
|
|
49
|
+
|
|
50
|
+
Begin with:
|
|
51
|
+
|
|
52
|
+
```text
|
|
53
|
+
What information is this text communicating?
|
|
54
|
+
```
|
|
55
|
+
|
|
56
|
+
Then determine:
|
|
57
|
+
|
|
58
|
+
```text
|
|
59
|
+
role
|
|
60
|
+
→ hierarchy
|
|
61
|
+
→ size
|
|
62
|
+
→ weight
|
|
63
|
+
→ line height
|
|
64
|
+
→ color
|
|
65
|
+
→ spacing
|
|
66
|
+
→ behavior
|
|
67
|
+
```
|
|
68
|
+
|
|
69
|
+
Typography should serve meaning.
|
|
70
|
+
|
|
71
|
+
---
|
|
72
|
+
|
|
73
|
+
# 3. TYPOGRAPHIC HIERARCHY
|
|
74
|
+
|
|
75
|
+
Every screen should have an understandable hierarchy.
|
|
76
|
+
|
|
77
|
+
A typical hierarchy may contain:
|
|
78
|
+
|
|
79
|
+
```text
|
|
80
|
+
Display
|
|
81
|
+
Large Title
|
|
82
|
+
Title
|
|
83
|
+
Headline
|
|
84
|
+
Body
|
|
85
|
+
Callout
|
|
86
|
+
Subheadline
|
|
87
|
+
Footnote
|
|
88
|
+
Caption
|
|
89
|
+
Metadata
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
The exact hierarchy depends on the application.
|
|
93
|
+
|
|
94
|
+
Do not use every level simply because it exists.
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
# 4. SEMANTIC TEXT ROLES
|
|
99
|
+
|
|
100
|
+
The agent should define semantic roles instead of styling text independently.
|
|
101
|
+
|
|
102
|
+
Example:
|
|
103
|
+
|
|
104
|
+
```ts
|
|
105
|
+
const typography = {
|
|
106
|
+
screenTitle: {},
|
|
107
|
+
sectionTitle: {},
|
|
108
|
+
body: {},
|
|
109
|
+
secondary: {},
|
|
110
|
+
metadata: {},
|
|
111
|
+
caption: {},
|
|
112
|
+
button: {},
|
|
113
|
+
input: {},
|
|
114
|
+
navigation: {},
|
|
115
|
+
};
|
|
116
|
+
```
|
|
117
|
+
|
|
118
|
+
This allows the design system to remain consistent.
|
|
119
|
+
|
|
120
|
+
---
|
|
121
|
+
|
|
122
|
+
# 5. TEXT ROLE BEFORE FONT SIZE
|
|
123
|
+
|
|
124
|
+
Do not decide:
|
|
125
|
+
|
|
126
|
+
```text
|
|
127
|
+
Title = 32
|
|
128
|
+
```
|
|
129
|
+
|
|
130
|
+
before deciding what the title means.
|
|
131
|
+
|
|
132
|
+
Instead:
|
|
133
|
+
|
|
134
|
+
```text
|
|
135
|
+
screen title
|
|
136
|
+
↓
|
|
137
|
+
high hierarchy
|
|
138
|
+
↓
|
|
139
|
+
large/strong typography
|
|
140
|
+
```
|
|
141
|
+
|
|
142
|
+
Then select the appropriate size from the project's type scale.
|
|
143
|
+
|
|
144
|
+
---
|
|
145
|
+
|
|
146
|
+
# 6. SYSTEM TYPOGRAPHY
|
|
147
|
+
|
|
148
|
+
When designing for iOS, the system typeface should generally be considered
|
|
149
|
+
the baseline platform choice.
|
|
150
|
+
|
|
151
|
+
Apple platforms use San Francisco system typography.
|
|
152
|
+
|
|
153
|
+
The agent should not automatically replace the system font with a custom
|
|
154
|
+
font.
|
|
155
|
+
|
|
156
|
+
Custom typography should have a product-level reason.
|
|
157
|
+
|
|
158
|
+
---
|
|
159
|
+
|
|
160
|
+
# 7. WHEN TO USE A CUSTOM FONT
|
|
161
|
+
|
|
162
|
+
A custom font may be appropriate when:
|
|
163
|
+
|
|
164
|
+
* branding requires it
|
|
165
|
+
* the product has a strong editorial identity
|
|
166
|
+
* the font materially improves readability
|
|
167
|
+
* the product's visual identity depends on typography
|
|
168
|
+
|
|
169
|
+
But evaluate:
|
|
170
|
+
|
|
171
|
+
* readability
|
|
172
|
+
* licensing
|
|
173
|
+
* performance
|
|
174
|
+
* Dynamic Type compatibility
|
|
175
|
+
* weight availability
|
|
176
|
+
* localization
|
|
177
|
+
* accessibility
|
|
178
|
+
|
|
179
|
+
---
|
|
180
|
+
|
|
181
|
+
# 8. BRAND FONT VS UI FONT
|
|
182
|
+
|
|
183
|
+
A strong design system can use:
|
|
184
|
+
|
|
185
|
+
```text
|
|
186
|
+
Brand typography
|
|
187
|
+
+
|
|
188
|
+
System/UI typography
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
Example:
|
|
192
|
+
|
|
193
|
+
```text
|
|
194
|
+
Brand font
|
|
195
|
+
→ marketing/display moments
|
|
196
|
+
|
|
197
|
+
System font
|
|
198
|
+
→ navigation
|
|
199
|
+
→ settings
|
|
200
|
+
→ forms
|
|
201
|
+
→ controls
|
|
202
|
+
→ system-like UI
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
This can preserve brand identity while maintaining platform familiarity.
|
|
206
|
+
|
|
207
|
+
---
|
|
208
|
+
|
|
209
|
+
# 9. FONT WEIGHT
|
|
210
|
+
|
|
211
|
+
Weight communicates hierarchy.
|
|
212
|
+
|
|
213
|
+
Typical conceptual levels:
|
|
214
|
+
|
|
215
|
+
```text
|
|
216
|
+
regular
|
|
217
|
+
medium
|
|
218
|
+
semibold
|
|
219
|
+
bold
|
|
220
|
+
heavy
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
Do not treat weight as decoration.
|
|
224
|
+
|
|
225
|
+
Use it to answer:
|
|
226
|
+
|
|
227
|
+
> Which text should the user notice first?
|
|
228
|
+
|
|
229
|
+
---
|
|
230
|
+
|
|
231
|
+
# 10. TOO MUCH BOLD
|
|
232
|
+
|
|
233
|
+
A common mistake is making everything bold.
|
|
234
|
+
|
|
235
|
+
Example:
|
|
236
|
+
|
|
237
|
+
```text
|
|
238
|
+
TITLE
|
|
239
|
+
SUBTITLE
|
|
240
|
+
DESCRIPTION
|
|
241
|
+
BUTTON
|
|
242
|
+
METADATA
|
|
243
|
+
STATUS
|
|
244
|
+
```
|
|
245
|
+
|
|
246
|
+
If everything is visually strong:
|
|
247
|
+
|
|
248
|
+
```text
|
|
249
|
+
nothing is strong.
|
|
250
|
+
```
|
|
251
|
+
|
|
252
|
+
Hierarchy requires contrast.
|
|
253
|
+
|
|
254
|
+
---
|
|
255
|
+
|
|
256
|
+
# 11. WEIGHT CONTRAST
|
|
257
|
+
|
|
258
|
+
A useful relationship might be:
|
|
259
|
+
|
|
260
|
+
```text
|
|
261
|
+
Primary:
|
|
262
|
+
Semibold
|
|
263
|
+
|
|
264
|
+
Secondary:
|
|
265
|
+
Regular
|
|
266
|
+
|
|
267
|
+
Metadata:
|
|
268
|
+
Regular / lighter semantic color
|
|
269
|
+
|
|
270
|
+
Caption:
|
|
271
|
+
Regular
|
|
272
|
+
```
|
|
273
|
+
|
|
274
|
+
The exact weights depend on the chosen typeface.
|
|
275
|
+
|
|
276
|
+
The agent should avoid arbitrary weight changes.
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
# 12. SIZE CONTRAST
|
|
281
|
+
|
|
282
|
+
Typography hierarchy can use size differences.
|
|
283
|
+
|
|
284
|
+
Example:
|
|
285
|
+
|
|
286
|
+
```text
|
|
287
|
+
32
|
|
288
|
+
20
|
|
289
|
+
16
|
|
290
|
+
14
|
|
291
|
+
12
|
|
292
|
+
```
|
|
293
|
+
|
|
294
|
+
But size alone should not create hierarchy.
|
|
295
|
+
|
|
296
|
+
Combine:
|
|
297
|
+
|
|
298
|
+
```text
|
|
299
|
+
size
|
|
300
|
+
+
|
|
301
|
+
weight
|
|
302
|
+
+
|
|
303
|
+
color
|
|
304
|
+
+
|
|
305
|
+
spacing
|
|
306
|
+
```
|
|
307
|
+
|
|
308
|
+
---
|
|
309
|
+
|
|
310
|
+
# 13. TYPE SCALE
|
|
311
|
+
|
|
312
|
+
A design system should have a deliberate type scale.
|
|
313
|
+
|
|
314
|
+
Example:
|
|
315
|
+
|
|
316
|
+
```ts
|
|
317
|
+
const typeScale = {
|
|
318
|
+
display: 34,
|
|
319
|
+
largeTitle: 28,
|
|
320
|
+
title: 22,
|
|
321
|
+
headline: 17,
|
|
322
|
+
body: 17,
|
|
323
|
+
callout: 16,
|
|
324
|
+
subheadline: 15,
|
|
325
|
+
footnote: 13,
|
|
326
|
+
caption: 12,
|
|
327
|
+
};
|
|
328
|
+
```
|
|
329
|
+
|
|
330
|
+
These are conceptual examples, not mandatory values.
|
|
331
|
+
|
|
332
|
+
The implementation should use the project's chosen scale.
|
|
333
|
+
|
|
334
|
+
---
|
|
335
|
+
|
|
336
|
+
# 14. DO NOT COPY VALUES BLINDLY
|
|
337
|
+
|
|
338
|
+
Apple's semantic typography system is more important than memorizing pixel
|
|
339
|
+
values.
|
|
340
|
+
|
|
341
|
+
The agent should prioritize:
|
|
342
|
+
|
|
343
|
+
```text
|
|
344
|
+
semantic role
|
|
345
|
+
+
|
|
346
|
+
platform behavior
|
|
347
|
+
+
|
|
348
|
+
Dynamic Type
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
over:
|
|
352
|
+
|
|
353
|
+
```text
|
|
354
|
+
fixed pixel values
|
|
355
|
+
```
|
|
356
|
+
|
|
357
|
+
---
|
|
358
|
+
|
|
359
|
+
# 15. DYNAMIC TYPE
|
|
360
|
+
|
|
361
|
+
Dynamic Type allows users to adjust text size according to their needs.
|
|
362
|
+
|
|
363
|
+
A proper iOS interface should accommodate larger text.
|
|
364
|
+
|
|
365
|
+
The agent must treat Dynamic Type as a layout requirement.
|
|
366
|
+
|
|
367
|
+
Not as an optional accessibility feature.
|
|
368
|
+
|
|
369
|
+
---
|
|
370
|
+
|
|
371
|
+
# 16. DYNAMIC TYPE FAILURE
|
|
372
|
+
|
|
373
|
+
Bad:
|
|
374
|
+
|
|
375
|
+
```text
|
|
376
|
+
Title
|
|
377
|
+
↓
|
|
378
|
+
fixed 32px container
|
|
379
|
+
↓
|
|
380
|
+
text becomes 48px
|
|
381
|
+
↓
|
|
382
|
+
clipped
|
|
383
|
+
```
|
|
384
|
+
|
|
385
|
+
Better:
|
|
386
|
+
|
|
387
|
+
```text
|
|
388
|
+
Title
|
|
389
|
+
↓
|
|
390
|
+
content-driven layout
|
|
391
|
+
↓
|
|
392
|
+
container adapts
|
|
393
|
+
```
|
|
394
|
+
|
|
395
|
+
---
|
|
396
|
+
|
|
397
|
+
# 17. TEXT SHOULD DRIVE HEIGHT
|
|
398
|
+
|
|
399
|
+
Where appropriate, text containers should grow according to content.
|
|
400
|
+
|
|
401
|
+
Avoid:
|
|
402
|
+
|
|
403
|
+
```ts
|
|
404
|
+
height: 48
|
|
405
|
+
```
|
|
406
|
+
|
|
407
|
+
for arbitrary text containers when text may expand.
|
|
408
|
+
|
|
409
|
+
Prefer:
|
|
410
|
+
|
|
411
|
+
```text
|
|
412
|
+
minHeight
|
|
413
|
+
+
|
|
414
|
+
padding
|
|
415
|
+
+
|
|
416
|
+
content-driven height
|
|
417
|
+
```
|
|
418
|
+
|
|
419
|
+
when practical.
|
|
420
|
+
|
|
421
|
+
---
|
|
422
|
+
|
|
423
|
+
# 18. MULTILINE TEXT
|
|
424
|
+
|
|
425
|
+
Text should wrap naturally when the content requires it.
|
|
426
|
+
|
|
427
|
+
Avoid unnecessary:
|
|
428
|
+
|
|
429
|
+
```text
|
|
430
|
+
numberOfLines={1}
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
for important user-facing information.
|
|
434
|
+
|
|
435
|
+
Single-line truncation is appropriate only when the product experience
|
|
436
|
+
benefits from it.
|
|
437
|
+
|
|
438
|
+
---
|
|
439
|
+
|
|
440
|
+
# 19. TRUNCATION
|
|
441
|
+
|
|
442
|
+
When truncation is necessary, preserve the most useful information.
|
|
443
|
+
|
|
444
|
+
Typical:
|
|
445
|
+
|
|
446
|
+
```text
|
|
447
|
+
The Long Playlist Nam...
|
|
448
|
+
```
|
|
449
|
+
|
|
450
|
+
But truncation should not hide critical meaning.
|
|
451
|
+
|
|
452
|
+
For important information, consider:
|
|
453
|
+
|
|
454
|
+
* wrapping
|
|
455
|
+
* expansion
|
|
456
|
+
* detail view
|
|
457
|
+
* scrolling
|
|
458
|
+
* contextual reveal
|
|
459
|
+
|
|
460
|
+
---
|
|
461
|
+
|
|
462
|
+
# 20. ELLIPSIS
|
|
463
|
+
|
|
464
|
+
Use ellipsis to communicate omitted content.
|
|
465
|
+
|
|
466
|
+
Conceptually:
|
|
467
|
+
|
|
468
|
+
```text
|
|
469
|
+
Original:
|
|
470
|
+
Very Long File Name That Contains Important Information.pdf
|
|
471
|
+
|
|
472
|
+
Displayed:
|
|
473
|
+
Very Long File Name That Cont...
|
|
474
|
+
```
|
|
475
|
+
|
|
476
|
+
Do not manually insert three periods when the UI framework can handle
|
|
477
|
+
semantic truncation.
|
|
478
|
+
|
|
479
|
+
---
|
|
480
|
+
|
|
481
|
+
# 21. TEXT WRAPPING
|
|
482
|
+
|
|
483
|
+
Wrapping depends on:
|
|
484
|
+
|
|
485
|
+
* available width
|
|
486
|
+
* font size
|
|
487
|
+
* font metrics
|
|
488
|
+
* language
|
|
489
|
+
* accessibility size
|
|
490
|
+
* content length
|
|
491
|
+
|
|
492
|
+
Therefore layouts should not assume a fixed number of lines.
|
|
493
|
+
|
|
494
|
+
---
|
|
495
|
+
|
|
496
|
+
# 22. LINE HEIGHT
|
|
497
|
+
|
|
498
|
+
Line height affects readability and density.
|
|
499
|
+
|
|
500
|
+
Too small:
|
|
501
|
+
|
|
502
|
+
```text
|
|
503
|
+
text
|
|
504
|
+
text
|
|
505
|
+
text
|
|
506
|
+
```
|
|
507
|
+
|
|
508
|
+
becomes visually compressed.
|
|
509
|
+
|
|
510
|
+
Too large:
|
|
511
|
+
|
|
512
|
+
```text
|
|
513
|
+
text
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
text
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
text
|
|
520
|
+
```
|
|
521
|
+
|
|
522
|
+
breaks grouping.
|
|
523
|
+
|
|
524
|
+
Use line height appropriate to the type size and content.
|
|
525
|
+
|
|
526
|
+
---
|
|
527
|
+
|
|
528
|
+
# 23. BODY TEXT
|
|
529
|
+
|
|
530
|
+
Body text should prioritize:
|
|
531
|
+
|
|
532
|
+
* readability
|
|
533
|
+
* comfortable line spacing
|
|
534
|
+
* sufficient contrast
|
|
535
|
+
* predictable width
|
|
536
|
+
* reasonable paragraph spacing
|
|
537
|
+
|
|
538
|
+
Do not make body text excessively small simply to fit more information.
|
|
539
|
+
|
|
540
|
+
---
|
|
541
|
+
|
|
542
|
+
# 24. READING WIDTH
|
|
543
|
+
|
|
544
|
+
Long text should not necessarily span the entire width of a large display.
|
|
545
|
+
|
|
546
|
+
On larger layouts, constrain reading width when appropriate.
|
|
547
|
+
|
|
548
|
+
Example:
|
|
549
|
+
|
|
550
|
+
```text
|
|
551
|
+
┌────────────────────────────────────────────┐
|
|
552
|
+
│ │
|
|
553
|
+
│ ┌──────────────────────┐ │
|
|
554
|
+
│ │ Long-form content │ │
|
|
555
|
+
│ │ remains readable │ │
|
|
556
|
+
│ └──────────────────────┘ │
|
|
557
|
+
│ │
|
|
558
|
+
└────────────────────────────────────────────┘
|
|
559
|
+
```
|
|
560
|
+
|
|
561
|
+
This is especially relevant on iPad.
|
|
562
|
+
|
|
563
|
+
---
|
|
564
|
+
|
|
565
|
+
# 25. LABELS
|
|
566
|
+
|
|
567
|
+
Labels identify controls and fields.
|
|
568
|
+
|
|
569
|
+
Good labels are:
|
|
570
|
+
|
|
571
|
+
* concise
|
|
572
|
+
* specific
|
|
573
|
+
* predictable
|
|
574
|
+
* readable
|
|
575
|
+
|
|
576
|
+
Avoid labels that require interpretation.
|
|
577
|
+
|
|
578
|
+
Bad:
|
|
579
|
+
|
|
580
|
+
```text
|
|
581
|
+
Process
|
|
582
|
+
```
|
|
583
|
+
|
|
584
|
+
when the user actually needs:
|
|
585
|
+
|
|
586
|
+
```text
|
|
587
|
+
Export File
|
|
588
|
+
```
|
|
589
|
+
|
|
590
|
+
---
|
|
591
|
+
|
|
592
|
+
# 26. BUTTON TEXT
|
|
593
|
+
|
|
594
|
+
Buttons should communicate actions.
|
|
595
|
+
|
|
596
|
+
Prefer verbs:
|
|
597
|
+
|
|
598
|
+
```text
|
|
599
|
+
Save
|
|
600
|
+
Create Playlist
|
|
601
|
+
Download
|
|
602
|
+
Share
|
|
603
|
+
Delete
|
|
604
|
+
Continue
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
Avoid vague:
|
|
608
|
+
|
|
609
|
+
```text
|
|
610
|
+
Okay
|
|
611
|
+
Go
|
|
612
|
+
Do It
|
|
613
|
+
Proceed
|
|
614
|
+
```
|
|
615
|
+
|
|
616
|
+
unless the context makes the meaning unambiguous.
|
|
617
|
+
|
|
618
|
+
---
|
|
619
|
+
|
|
620
|
+
# 27. BUTTON HIERARCHY
|
|
621
|
+
|
|
622
|
+
Typography contributes to button hierarchy.
|
|
623
|
+
|
|
624
|
+
Example:
|
|
625
|
+
|
|
626
|
+
```text
|
|
627
|
+
Primary action
|
|
628
|
+
Semibold
|
|
629
|
+
|
|
630
|
+
Secondary action
|
|
631
|
+
Medium / regular
|
|
632
|
+
|
|
633
|
+
Tertiary action
|
|
634
|
+
Regular
|
|
635
|
+
```
|
|
636
|
+
|
|
637
|
+
The button's typography should work together with:
|
|
638
|
+
|
|
639
|
+
* shape
|
|
640
|
+
* color
|
|
641
|
+
* placement
|
|
642
|
+
* size
|
|
643
|
+
|
|
644
|
+
---
|
|
645
|
+
|
|
646
|
+
# 28. NAVIGATION TITLES
|
|
647
|
+
|
|
648
|
+
Navigation titles establish screen context.
|
|
649
|
+
|
|
650
|
+
They should be:
|
|
651
|
+
|
|
652
|
+
* prominent enough to identify the screen
|
|
653
|
+
* visually subordinate to truly primary content when appropriate
|
|
654
|
+
* consistent across related screens
|
|
655
|
+
|
|
656
|
+
Do not turn every navigation title into a giant marketing headline.
|
|
657
|
+
|
|
658
|
+
---
|
|
659
|
+
|
|
660
|
+
# 29. SECTION HEADINGS
|
|
661
|
+
|
|
662
|
+
Section headings divide information.
|
|
663
|
+
|
|
664
|
+
They should be clearly distinguishable from:
|
|
665
|
+
|
|
666
|
+
```text
|
|
667
|
+
body
|
|
668
|
+
metadata
|
|
669
|
+
controls
|
|
670
|
+
```
|
|
671
|
+
|
|
672
|
+
But they do not always need large typography.
|
|
673
|
+
|
|
674
|
+
Spacing can provide much of the distinction.
|
|
675
|
+
|
|
676
|
+
---
|
|
677
|
+
|
|
678
|
+
# 30. METADATA
|
|
679
|
+
|
|
680
|
+
Metadata communicates supporting information.
|
|
681
|
+
|
|
682
|
+
Examples:
|
|
683
|
+
|
|
684
|
+
```text
|
|
685
|
+
3.2 MB
|
|
686
|
+
Yesterday
|
|
687
|
+
24 tracks
|
|
688
|
+
320 kbps
|
|
689
|
+
4:32
|
|
690
|
+
```
|
|
691
|
+
|
|
692
|
+
Metadata should remain visually subordinate while remaining readable.
|
|
693
|
+
|
|
694
|
+
Do not reduce metadata until it becomes inaccessible.
|
|
695
|
+
|
|
696
|
+
---
|
|
697
|
+
|
|
698
|
+
# 31. NUMBERS
|
|
699
|
+
|
|
700
|
+
Numbers often deserve special consideration.
|
|
701
|
+
|
|
702
|
+
Examples:
|
|
703
|
+
|
|
704
|
+
```text
|
|
705
|
+
$1,249.99
|
|
706
|
+
4:32
|
|
707
|
+
128 GB
|
|
708
|
+
72%
|
|
709
|
+
24
|
|
710
|
+
```
|
|
711
|
+
|
|
712
|
+
Consider:
|
|
713
|
+
|
|
714
|
+
* alignment
|
|
715
|
+
* readability
|
|
716
|
+
* tabular vs proportional figures where supported
|
|
717
|
+
* decimal consistency
|
|
718
|
+
* hierarchy
|
|
719
|
+
|
|
720
|
+
Numbers in data-heavy applications may benefit from consistent digit widths.
|
|
721
|
+
|
|
722
|
+
---
|
|
723
|
+
|
|
724
|
+
# 32. TIME AND MEDIA DATA
|
|
725
|
+
|
|
726
|
+
Media applications frequently display:
|
|
727
|
+
|
|
728
|
+
```text
|
|
729
|
+
00:42
|
|
730
|
+
03:48
|
|
731
|
+
128 kbps
|
|
732
|
+
24-bit
|
|
733
|
+
44.1 kHz
|
|
734
|
+
```
|
|
735
|
+
|
|
736
|
+
These should be readable at a glance.
|
|
737
|
+
|
|
738
|
+
Use consistent formatting.
|
|
739
|
+
|
|
740
|
+
Avoid mixing visual formats arbitrarily.
|
|
741
|
+
|
|
742
|
+
---
|
|
743
|
+
|
|
744
|
+
# 33. MONOSPACED TYPOGRAPHY
|
|
745
|
+
|
|
746
|
+
Monospaced typography can be useful for:
|
|
747
|
+
|
|
748
|
+
* code
|
|
749
|
+
* logs
|
|
750
|
+
* terminal output
|
|
751
|
+
* technical values
|
|
752
|
+
* tabular alignment
|
|
753
|
+
|
|
754
|
+
Do not use monospace simply because it looks "developer-like."
|
|
755
|
+
|
|
756
|
+
Use it when character-width consistency has functional value.
|
|
757
|
+
|
|
758
|
+
---
|
|
759
|
+
|
|
760
|
+
# 34. EDITORIAL TYPOGRAPHY
|
|
761
|
+
|
|
762
|
+
Reading-oriented applications may benefit from stronger typographic expression.
|
|
763
|
+
|
|
764
|
+
Possible hierarchy:
|
|
765
|
+
|
|
766
|
+
```text
|
|
767
|
+
Display
|
|
768
|
+
Title
|
|
769
|
+
Subtitle
|
|
770
|
+
Body
|
|
771
|
+
Quote
|
|
772
|
+
Caption
|
|
773
|
+
```
|
|
774
|
+
|
|
775
|
+
The typography should support sustained reading rather than merely looking
|
|
776
|
+
premium.
|
|
777
|
+
|
|
778
|
+
---
|
|
779
|
+
|
|
780
|
+
# 35. CAPS
|
|
781
|
+
|
|
782
|
+
All caps can provide emphasis.
|
|
783
|
+
|
|
784
|
+
But excessive capitalization reduces readability.
|
|
785
|
+
|
|
786
|
+
Use it selectively for:
|
|
787
|
+
|
|
788
|
+
* short labels
|
|
789
|
+
* compact metadata
|
|
790
|
+
* categories
|
|
791
|
+
* system-like indicators
|
|
792
|
+
|
|
793
|
+
Avoid long paragraphs in all caps.
|
|
794
|
+
|
|
795
|
+
---
|
|
796
|
+
|
|
797
|
+
# 36. LETTER SPACING
|
|
798
|
+
|
|
799
|
+
Tracking affects tone and readability.
|
|
800
|
+
|
|
801
|
+
Large display text may sometimes benefit from tighter or carefully controlled
|
|
802
|
+
tracking.
|
|
803
|
+
|
|
804
|
+
Small uppercase labels may sometimes benefit from increased tracking.
|
|
805
|
+
|
|
806
|
+
Do not globally apply letter spacing.
|
|
807
|
+
|
|
808
|
+
---
|
|
809
|
+
|
|
810
|
+
# 37. TYPOGRAPHIC CONTRAST
|
|
811
|
+
|
|
812
|
+
Contrast can be created using:
|
|
813
|
+
|
|
814
|
+
```text
|
|
815
|
+
size
|
|
816
|
+
weight
|
|
817
|
+
color
|
|
818
|
+
case
|
|
819
|
+
spacing
|
|
820
|
+
position
|
|
821
|
+
```
|
|
822
|
+
|
|
823
|
+
The agent should prefer multiple subtle differences over one extreme
|
|
824
|
+
difference.
|
|
825
|
+
|
|
826
|
+
Example:
|
|
827
|
+
|
|
828
|
+
Instead of:
|
|
829
|
+
|
|
830
|
+
```text
|
|
831
|
+
TITLE = 42px
|
|
832
|
+
BODY = 10px
|
|
833
|
+
```
|
|
834
|
+
|
|
835
|
+
consider:
|
|
836
|
+
|
|
837
|
+
```text
|
|
838
|
+
Title = moderately larger
|
|
839
|
+
Title = stronger weight
|
|
840
|
+
Body = normal weight
|
|
841
|
+
Body = secondary hierarchy
|
|
842
|
+
```
|
|
843
|
+
|
|
844
|
+
---
|
|
845
|
+
|
|
846
|
+
# 38. COLOR HIERARCHY
|
|
847
|
+
|
|
848
|
+
Text color should communicate hierarchy.
|
|
849
|
+
|
|
850
|
+
Conceptually:
|
|
851
|
+
|
|
852
|
+
```text
|
|
853
|
+
primary
|
|
854
|
+
secondary
|
|
855
|
+
tertiary
|
|
856
|
+
disabled
|
|
857
|
+
accent
|
|
858
|
+
destructive
|
|
859
|
+
```
|
|
860
|
+
|
|
861
|
+
Do not create arbitrary gray values for every component.
|
|
862
|
+
|
|
863
|
+
Use semantic color tokens.
|
|
864
|
+
|
|
865
|
+
---
|
|
866
|
+
|
|
867
|
+
# 39. DISABLED TEXT
|
|
868
|
+
|
|
869
|
+
Disabled content should communicate unavailable interaction.
|
|
870
|
+
|
|
871
|
+
But do not make it so faint that users cannot understand what it is.
|
|
872
|
+
|
|
873
|
+
Disabled styling should preserve sufficient legibility.
|
|
874
|
+
|
|
875
|
+
---
|
|
876
|
+
|
|
877
|
+
# 40. SECONDARY TEXT
|
|
878
|
+
|
|
879
|
+
Secondary text is useful for:
|
|
880
|
+
|
|
881
|
+
* metadata
|
|
882
|
+
* descriptions
|
|
883
|
+
* supporting information
|
|
884
|
+
|
|
885
|
+
It should visually recede without disappearing.
|
|
886
|
+
|
|
887
|
+
A common failure:
|
|
888
|
+
|
|
889
|
+
```text
|
|
890
|
+
Primary:
|
|
891
|
+
high contrast
|
|
892
|
+
|
|
893
|
+
Secondary:
|
|
894
|
+
extremely low contrast
|
|
895
|
+
```
|
|
896
|
+
|
|
897
|
+
This creates accessibility problems.
|
|
898
|
+
|
|
899
|
+
---
|
|
900
|
+
|
|
901
|
+
# 41. TEXT CONTRAST
|
|
902
|
+
|
|
903
|
+
The agent should evaluate text contrast against its background.
|
|
904
|
+
|
|
905
|
+
Consider:
|
|
906
|
+
|
|
907
|
+
* light mode
|
|
908
|
+
* dark mode
|
|
909
|
+
* materials
|
|
910
|
+
* gradients
|
|
911
|
+
* images
|
|
912
|
+
* dynamic backgrounds
|
|
913
|
+
|
|
914
|
+
Text that is readable on one background may become unreadable on another.
|
|
915
|
+
|
|
916
|
+
---
|
|
917
|
+
|
|
918
|
+
# 42. TEXT OVER IMAGES
|
|
919
|
+
|
|
920
|
+
When placing text over imagery, evaluate:
|
|
921
|
+
|
|
922
|
+
```text
|
|
923
|
+
image brightness
|
|
924
|
+
image detail
|
|
925
|
+
text weight
|
|
926
|
+
text color
|
|
927
|
+
scrim
|
|
928
|
+
material
|
|
929
|
+
position
|
|
930
|
+
```
|
|
931
|
+
|
|
932
|
+
Do not rely on text color alone.
|
|
933
|
+
|
|
934
|
+
---
|
|
935
|
+
|
|
936
|
+
# 43. TYPOGRAPHY + MATERIALS
|
|
937
|
+
|
|
938
|
+
Translucent backgrounds can change perceived text contrast.
|
|
939
|
+
|
|
940
|
+
Therefore test typography over:
|
|
941
|
+
|
|
942
|
+
* blur
|
|
943
|
+
* glass
|
|
944
|
+
* gradients
|
|
945
|
+
* images
|
|
946
|
+
* dynamic surfaces
|
|
947
|
+
|
|
948
|
+
A text color token that works on a solid background may fail on a translucent
|
|
949
|
+
surface.
|
|
950
|
+
|
|
951
|
+
---
|
|
952
|
+
|
|
953
|
+
# 44. ICON + TEXT ALIGNMENT
|
|
954
|
+
|
|
955
|
+
Icons and labels should feel like a single visual unit when they represent
|
|
956
|
+
one control.
|
|
957
|
+
|
|
958
|
+
Consider:
|
|
959
|
+
|
|
960
|
+
* baseline
|
|
961
|
+
* center alignment
|
|
962
|
+
* spacing
|
|
963
|
+
* icon optical weight
|
|
964
|
+
|
|
965
|
+
Avoid:
|
|
966
|
+
|
|
967
|
+
```text
|
|
968
|
+
ICON Text
|
|
969
|
+
```
|
|
970
|
+
|
|
971
|
+
when the icon is visually misaligned with the label.
|
|
972
|
+
|
|
973
|
+
---
|
|
974
|
+
|
|
975
|
+
# 45. ICON SIZE RELATIONSHIP
|
|
976
|
+
|
|
977
|
+
Icons should be proportionate to surrounding typography.
|
|
978
|
+
|
|
979
|
+
Example:
|
|
980
|
+
|
|
981
|
+
```text
|
|
982
|
+
16px text
|
|
983
|
+
16-20px icon
|
|
984
|
+
```
|
|
985
|
+
|
|
986
|
+
may feel balanced.
|
|
987
|
+
|
|
988
|
+
A 32px icon beside a 14px label may unintentionally dominate.
|
|
989
|
+
|
|
990
|
+
Actual values depend on the component.
|
|
991
|
+
|
|
992
|
+
---
|
|
993
|
+
|
|
994
|
+
# 46. TAB LABELS
|
|
995
|
+
|
|
996
|
+
Tab labels should remain:
|
|
997
|
+
|
|
998
|
+
* concise
|
|
999
|
+
* recognizable
|
|
1000
|
+
* stable
|
|
1001
|
+
|
|
1002
|
+
Avoid extremely long tab labels.
|
|
1003
|
+
|
|
1004
|
+
When a destination cannot be represented clearly with a concise label,
|
|
1005
|
+
reconsider the navigation model.
|
|
1006
|
+
|
|
1007
|
+
---
|
|
1008
|
+
|
|
1009
|
+
# 47. FORM TYPOGRAPHY
|
|
1010
|
+
|
|
1011
|
+
Forms should establish a clear relationship:
|
|
1012
|
+
|
|
1013
|
+
```text
|
|
1014
|
+
Label
|
|
1015
|
+
↓
|
|
1016
|
+
Input
|
|
1017
|
+
↓
|
|
1018
|
+
Supporting text
|
|
1019
|
+
↓
|
|
1020
|
+
Validation
|
|
1021
|
+
```
|
|
1022
|
+
|
|
1023
|
+
Typography should reinforce this structure.
|
|
1024
|
+
|
|
1025
|
+
Errors should be close enough to the relevant field to avoid ambiguity.
|
|
1026
|
+
|
|
1027
|
+
---
|
|
1028
|
+
|
|
1029
|
+
# 48. ERROR TEXT
|
|
1030
|
+
|
|
1031
|
+
Error messages should:
|
|
1032
|
+
|
|
1033
|
+
* identify the problem
|
|
1034
|
+
* remain readable
|
|
1035
|
+
* explain what needs attention
|
|
1036
|
+
* avoid unnecessary technical language
|
|
1037
|
+
|
|
1038
|
+
Example:
|
|
1039
|
+
|
|
1040
|
+
```text
|
|
1041
|
+
Password must contain at least 8 characters.
|
|
1042
|
+
```
|
|
1043
|
+
|
|
1044
|
+
Better than:
|
|
1045
|
+
|
|
1046
|
+
```text
|
|
1047
|
+
ERR_PASSWORD_VALIDATION_8
|
|
1048
|
+
```
|
|
1049
|
+
|
|
1050
|
+
unless the target user is a developer.
|
|
1051
|
+
|
|
1052
|
+
---
|
|
1053
|
+
|
|
1054
|
+
# 49. SUCCESS TEXT
|
|
1055
|
+
|
|
1056
|
+
Success states should remain concise.
|
|
1057
|
+
|
|
1058
|
+
Examples:
|
|
1059
|
+
|
|
1060
|
+
```text
|
|
1061
|
+
Saved
|
|
1062
|
+
Downloaded
|
|
1063
|
+
Playlist created
|
|
1064
|
+
Changes saved
|
|
1065
|
+
```
|
|
1066
|
+
|
|
1067
|
+
Do not use large typography for trivial confirmations.
|
|
1068
|
+
|
|
1069
|
+
---
|
|
1070
|
+
|
|
1071
|
+
# 50. EMPTY STATES
|
|
1072
|
+
|
|
1073
|
+
Typography should guide users.
|
|
1074
|
+
|
|
1075
|
+
Hierarchy:
|
|
1076
|
+
|
|
1077
|
+
```text
|
|
1078
|
+
No playlists yet.
|
|
1079
|
+
↓
|
|
1080
|
+
Create a playlist to organize your music.
|
|
1081
|
+
↓
|
|
1082
|
+
[Create Playlist]
|
|
1083
|
+
```
|
|
1084
|
+
|
|
1085
|
+
The title explains state.
|
|
1086
|
+
|
|
1087
|
+
The body explains meaning.
|
|
1088
|
+
|
|
1089
|
+
The action provides direction.
|
|
1090
|
+
|
|
1091
|
+
---
|
|
1092
|
+
|
|
1093
|
+
# 51. ONBOARDING TYPOGRAPHY
|
|
1094
|
+
|
|
1095
|
+
Onboarding can use stronger display typography.
|
|
1096
|
+
|
|
1097
|
+
But prioritize:
|
|
1098
|
+
|
|
1099
|
+
```text
|
|
1100
|
+
clarity
|
|
1101
|
+
```
|
|
1102
|
+
|
|
1103
|
+
over:
|
|
1104
|
+
|
|
1105
|
+
```text
|
|
1106
|
+
visual spectacle
|
|
1107
|
+
```
|
|
1108
|
+
|
|
1109
|
+
The user should understand the product quickly.
|
|
1110
|
+
|
|
1111
|
+
---
|
|
1112
|
+
|
|
1113
|
+
# 52. ACCESSIBILITY SIZES
|
|
1114
|
+
|
|
1115
|
+
The agent must test larger text sizes.
|
|
1116
|
+
|
|
1117
|
+
Potential consequences:
|
|
1118
|
+
|
|
1119
|
+
```text
|
|
1120
|
+
larger title
|
|
1121
|
+
↓
|
|
1122
|
+
less horizontal space
|
|
1123
|
+
↓
|
|
1124
|
+
button wraps
|
|
1125
|
+
↓
|
|
1126
|
+
navigation breaks
|
|
1127
|
+
```
|
|
1128
|
+
|
|
1129
|
+
Therefore typography and layout must be designed together.
|
|
1130
|
+
|
|
1131
|
+
---
|
|
1132
|
+
|
|
1133
|
+
# 53. ACCESSIBILITY LAYOUT STRATEGY
|
|
1134
|
+
|
|
1135
|
+
When text grows:
|
|
1136
|
+
|
|
1137
|
+
Prefer:
|
|
1138
|
+
|
|
1139
|
+
```text
|
|
1140
|
+
horizontal
|
|
1141
|
+
↓
|
|
1142
|
+
wrap
|
|
1143
|
+
↓
|
|
1144
|
+
vertical
|
|
1145
|
+
```
|
|
1146
|
+
|
|
1147
|
+
over:
|
|
1148
|
+
|
|
1149
|
+
```text
|
|
1150
|
+
smaller font
|
|
1151
|
+
```
|
|
1152
|
+
|
|
1153
|
+
when readability is the accessibility requirement.
|
|
1154
|
+
|
|
1155
|
+
Do not solve accessibility by simply shrinking other elements.
|
|
1156
|
+
|
|
1157
|
+
---
|
|
1158
|
+
|
|
1159
|
+
# 54. TEXT IN BUTTONS
|
|
1160
|
+
|
|
1161
|
+
Buttons must survive text expansion.
|
|
1162
|
+
|
|
1163
|
+
Bad:
|
|
1164
|
+
|
|
1165
|
+
```text
|
|
1166
|
+
width: 120
|
|
1167
|
+
```
|
|
1168
|
+
|
|
1169
|
+
if the label can grow.
|
|
1170
|
+
|
|
1171
|
+
Better:
|
|
1172
|
+
|
|
1173
|
+
```text
|
|
1174
|
+
minWidth
|
|
1175
|
+
+
|
|
1176
|
+
horizontalPadding
|
|
1177
|
+
+
|
|
1178
|
+
content-driven width
|
|
1179
|
+
```
|
|
1180
|
+
|
|
1181
|
+
where appropriate.
|
|
1182
|
+
|
|
1183
|
+
---
|
|
1184
|
+
|
|
1185
|
+
# 55. TEXT IN LISTS
|
|
1186
|
+
|
|
1187
|
+
List rows should support:
|
|
1188
|
+
|
|
1189
|
+
```text
|
|
1190
|
+
short title
|
|
1191
|
+
long title
|
|
1192
|
+
subtitle
|
|
1193
|
+
missing subtitle
|
|
1194
|
+
long metadata
|
|
1195
|
+
large text
|
|
1196
|
+
```
|
|
1197
|
+
|
|
1198
|
+
The layout should adapt.
|
|
1199
|
+
|
|
1200
|
+
Do not assume every list item is identical.
|
|
1201
|
+
|
|
1202
|
+
---
|
|
1203
|
+
|
|
1204
|
+
# 56. TEXT + TRAILING CONTROLS
|
|
1205
|
+
|
|
1206
|
+
A common layout:
|
|
1207
|
+
|
|
1208
|
+
```text
|
|
1209
|
+
Title >
|
|
1210
|
+
Subtitle
|
|
1211
|
+
```
|
|
1212
|
+
|
|
1213
|
+
must ensure the text does not collide with the trailing control.
|
|
1214
|
+
|
|
1215
|
+
Use:
|
|
1216
|
+
|
|
1217
|
+
```text
|
|
1218
|
+
flexible text region
|
|
1219
|
+
+
|
|
1220
|
+
fixed control region
|
|
1221
|
+
```
|
|
1222
|
+
|
|
1223
|
+
Conceptually:
|
|
1224
|
+
|
|
1225
|
+
```text
|
|
1226
|
+
┌────────────────────────────┐
|
|
1227
|
+
│ Text area Control │
|
|
1228
|
+
│ flexible fixed │
|
|
1229
|
+
└────────────────────────────┘
|
|
1230
|
+
```
|
|
1231
|
+
|
|
1232
|
+
---
|
|
1233
|
+
|
|
1234
|
+
# 57. TEXT PRIORITY IN COLLISIONS
|
|
1235
|
+
|
|
1236
|
+
When horizontal space becomes limited:
|
|
1237
|
+
|
|
1238
|
+
```text
|
|
1239
|
+
primary text
|
|
1240
|
+
↓
|
|
1241
|
+
secondary text
|
|
1242
|
+
↓
|
|
1243
|
+
metadata
|
|
1244
|
+
```
|
|
1245
|
+
|
|
1246
|
+
should progressively yield space.
|
|
1247
|
+
|
|
1248
|
+
Do not allow secondary metadata to force primary content into unreadable
|
|
1249
|
+
truncation.
|
|
1250
|
+
|
|
1251
|
+
---
|
|
1252
|
+
|
|
1253
|
+
# 58. LOCALIZATION
|
|
1254
|
+
|
|
1255
|
+
Typography must accommodate different languages.
|
|
1256
|
+
|
|
1257
|
+
Some languages may:
|
|
1258
|
+
|
|
1259
|
+
* require more horizontal space
|
|
1260
|
+
* use different punctuation
|
|
1261
|
+
* have different word boundaries
|
|
1262
|
+
* create longer labels
|
|
1263
|
+
* require different line heights
|
|
1264
|
+
|
|
1265
|
+
Never design only around English-length strings.
|
|
1266
|
+
|
|
1267
|
+
---
|
|
1268
|
+
|
|
1269
|
+
# 59. NUMERIC LOCALIZATION
|
|
1270
|
+
|
|
1271
|
+
Numbers may vary by locale.
|
|
1272
|
+
|
|
1273
|
+
Examples include:
|
|
1274
|
+
|
|
1275
|
+
```text
|
|
1276
|
+
1,234.56
|
|
1277
|
+
1 234,56
|
|
1278
|
+
1.234,56
|
|
1279
|
+
```
|
|
1280
|
+
|
|
1281
|
+
Dates and times also vary.
|
|
1282
|
+
|
|
1283
|
+
The agent should not hard-code presentation assumptions.
|
|
1284
|
+
|
|
1285
|
+
---
|
|
1286
|
+
|
|
1287
|
+
# 60. BIDIRECTIONAL TEXT
|
|
1288
|
+
|
|
1289
|
+
Where applicable, interfaces may need to support right-to-left languages.
|
|
1290
|
+
|
|
1291
|
+
Layout should be based on semantic leading/trailing concepts rather than
|
|
1292
|
+
hard-coded left/right assumptions.
|
|
1293
|
+
|
|
1294
|
+
Prefer:
|
|
1295
|
+
|
|
1296
|
+
```text
|
|
1297
|
+
leading
|
|
1298
|
+
trailing
|
|
1299
|
+
```
|
|
1300
|
+
|
|
1301
|
+
over:
|
|
1302
|
+
|
|
1303
|
+
```text
|
|
1304
|
+
left
|
|
1305
|
+
right
|
|
1306
|
+
```
|
|
1307
|
+
|
|
1308
|
+
when the layout is directional.
|
|
1309
|
+
|
|
1310
|
+
---
|
|
1311
|
+
|
|
1312
|
+
# 61. TYPOGRAPHY TOKENS
|
|
1313
|
+
|
|
1314
|
+
A robust system should define:
|
|
1315
|
+
|
|
1316
|
+
```ts
|
|
1317
|
+
const typography = {
|
|
1318
|
+
display: {
|
|
1319
|
+
size: ...,
|
|
1320
|
+
weight: ...,
|
|
1321
|
+
lineHeight: ...,
|
|
1322
|
+
},
|
|
1323
|
+
|
|
1324
|
+
title: {
|
|
1325
|
+
size: ...,
|
|
1326
|
+
weight: ...,
|
|
1327
|
+
lineHeight: ...,
|
|
1328
|
+
},
|
|
1329
|
+
|
|
1330
|
+
body: {
|
|
1331
|
+
size: ...,
|
|
1332
|
+
weight: ...,
|
|
1333
|
+
lineHeight: ...,
|
|
1334
|
+
},
|
|
1335
|
+
|
|
1336
|
+
caption: {
|
|
1337
|
+
size: ...,
|
|
1338
|
+
weight: ...,
|
|
1339
|
+
lineHeight: ...,
|
|
1340
|
+
},
|
|
1341
|
+
};
|
|
1342
|
+
```
|
|
1343
|
+
|
|
1344
|
+
Do not scatter typography decisions throughout individual components.
|
|
1345
|
+
|
|
1346
|
+
---
|
|
1347
|
+
|
|
1348
|
+
# 62. TYPOGRAPHY SHOULD BE SEMANTIC
|
|
1349
|
+
|
|
1350
|
+
Prefer:
|
|
1351
|
+
|
|
1352
|
+
```tsx
|
|
1353
|
+
<Text variant="screenTitle">
|
|
1354
|
+
```
|
|
1355
|
+
|
|
1356
|
+
over:
|
|
1357
|
+
|
|
1358
|
+
```tsx
|
|
1359
|
+
<Text
|
|
1360
|
+
style={{
|
|
1361
|
+
fontSize: 28,
|
|
1362
|
+
fontWeight: "700",
|
|
1363
|
+
lineHeight: 34,
|
|
1364
|
+
}}
|
|
1365
|
+
>
|
|
1366
|
+
```
|
|
1367
|
+
|
|
1368
|
+
everywhere.
|
|
1369
|
+
|
|
1370
|
+
Semantic roles make the system maintainable.
|
|
1371
|
+
|
|
1372
|
+
---
|
|
1373
|
+
|
|
1374
|
+
# 63. REACT NATIVE IMPLEMENTATION
|
|
1375
|
+
|
|
1376
|
+
For React Native, consider:
|
|
1377
|
+
|
|
1378
|
+
```text
|
|
1379
|
+
fontFamily
|
|
1380
|
+
fontSize
|
|
1381
|
+
fontWeight
|
|
1382
|
+
lineHeight
|
|
1383
|
+
letterSpacing
|
|
1384
|
+
textTransform
|
|
1385
|
+
includeFontPadding
|
|
1386
|
+
```
|
|
1387
|
+
|
|
1388
|
+
but avoid blindly copying web typography behavior.
|
|
1389
|
+
|
|
1390
|
+
Mobile typography must be evaluated on actual platform rendering.
|
|
1391
|
+
|
|
1392
|
+
---
|
|
1393
|
+
|
|
1394
|
+
# 64. FONT LOADING
|
|
1395
|
+
|
|
1396
|
+
If using custom fonts:
|
|
1397
|
+
|
|
1398
|
+
```text
|
|
1399
|
+
font loading
|
|
1400
|
+
↓
|
|
1401
|
+
initial rendering
|
|
1402
|
+
↓
|
|
1403
|
+
fallback behavior
|
|
1404
|
+
```
|
|
1405
|
+
|
|
1406
|
+
must be considered.
|
|
1407
|
+
|
|
1408
|
+
Avoid layout jumps caused by font replacement.
|
|
1409
|
+
|
|
1410
|
+
---
|
|
1411
|
+
|
|
1412
|
+
# 65. FONT WEIGHT AVAILABILITY
|
|
1413
|
+
|
|
1414
|
+
Do not request weights that the font does not actually provide.
|
|
1415
|
+
|
|
1416
|
+
If a font only includes:
|
|
1417
|
+
|
|
1418
|
+
```text
|
|
1419
|
+
400
|
|
1420
|
+
700
|
|
1421
|
+
```
|
|
1422
|
+
|
|
1423
|
+
do not assume:
|
|
1424
|
+
|
|
1425
|
+
```text
|
|
1426
|
+
500
|
|
1427
|
+
600
|
|
1428
|
+
800
|
|
1429
|
+
```
|
|
1430
|
+
|
|
1431
|
+
will render correctly.
|
|
1432
|
+
|
|
1433
|
+
Verify the font's actual files and platform behavior.
|
|
1434
|
+
|
|
1435
|
+
---
|
|
1436
|
+
|
|
1437
|
+
# 66. TYPOGRAPHIC PERFORMANCE
|
|
1438
|
+
|
|
1439
|
+
Typography is generally inexpensive, but custom font loading and large text
|
|
1440
|
+
trees can still affect startup and rendering.
|
|
1441
|
+
|
|
1442
|
+
Avoid loading unnecessary font families and weights.
|
|
1443
|
+
|
|
1444
|
+
Use only what the product actually needs.
|
|
1445
|
+
|
|
1446
|
+
---
|
|
1447
|
+
|
|
1448
|
+
# 67. TYPOGRAPHIC ANTI-PATTERNS
|
|
1449
|
+
|
|
1450
|
+
## Random font sizes
|
|
1451
|
+
|
|
1452
|
+
Every screen invents its own scale.
|
|
1453
|
+
|
|
1454
|
+
## Bold everything
|
|
1455
|
+
|
|
1456
|
+
No hierarchy.
|
|
1457
|
+
|
|
1458
|
+
## Tiny metadata
|
|
1459
|
+
|
|
1460
|
+
Supporting text becomes unreadable.
|
|
1461
|
+
|
|
1462
|
+
## Fixed-height text containers
|
|
1463
|
+
|
|
1464
|
+
Dynamic Type breaks them.
|
|
1465
|
+
|
|
1466
|
+
## Forced one-line labels
|
|
1467
|
+
|
|
1468
|
+
Important content gets hidden.
|
|
1469
|
+
|
|
1470
|
+
## Decorative typography
|
|
1471
|
+
|
|
1472
|
+
Fancy fonts reduce usability.
|
|
1473
|
+
|
|
1474
|
+
## Excessive letter spacing
|
|
1475
|
+
|
|
1476
|
+
Text becomes unnatural.
|
|
1477
|
+
|
|
1478
|
+
## Low-contrast secondary text
|
|
1479
|
+
|
|
1480
|
+
Accessibility suffers.
|
|
1481
|
+
|
|
1482
|
+
## Mixed font families
|
|
1483
|
+
|
|
1484
|
+
The interface loses cohesion.
|
|
1485
|
+
|
|
1486
|
+
## Arbitrary font weights
|
|
1487
|
+
|
|
1488
|
+
Hierarchy becomes inconsistent.
|
|
1489
|
+
|
|
1490
|
+
---
|
|
1491
|
+
|
|
1492
|
+
# 68. TYPOGRAPHY AUDIT
|
|
1493
|
+
|
|
1494
|
+
For every screen, inspect:
|
|
1495
|
+
|
|
1496
|
+
```text
|
|
1497
|
+
1. Font family
|
|
1498
|
+
2. Semantic role
|
|
1499
|
+
3. Size
|
|
1500
|
+
4. Weight
|
|
1501
|
+
5. Line height
|
|
1502
|
+
6. Letter spacing
|
|
1503
|
+
7. Color
|
|
1504
|
+
8. Alignment
|
|
1505
|
+
9. Wrapping
|
|
1506
|
+
10. Truncation
|
|
1507
|
+
11. Dynamic Type
|
|
1508
|
+
12. Localization
|
|
1509
|
+
13. Accessibility
|
|
1510
|
+
14. Icon alignment
|
|
1511
|
+
15. Numeric formatting
|
|
1512
|
+
```
|
|
1513
|
+
|
|
1514
|
+
---
|
|
1515
|
+
|
|
1516
|
+
# 69. SCREENSHOT TYPOGRAPHY ANALYSIS
|
|
1517
|
+
|
|
1518
|
+
When the agent receives a screenshot:
|
|
1519
|
+
|
|
1520
|
+
First identify:
|
|
1521
|
+
|
|
1522
|
+
```text
|
|
1523
|
+
text regions
|
|
1524
|
+
↓
|
|
1525
|
+
text roles
|
|
1526
|
+
↓
|
|
1527
|
+
hierarchy
|
|
1528
|
+
↓
|
|
1529
|
+
size relationships
|
|
1530
|
+
↓
|
|
1531
|
+
weight relationships
|
|
1532
|
+
↓
|
|
1533
|
+
spacing
|
|
1534
|
+
↓
|
|
1535
|
+
alignment
|
|
1536
|
+
↓
|
|
1537
|
+
contrast
|
|
1538
|
+
```
|
|
1539
|
+
|
|
1540
|
+
Do not immediately identify exact font sizes from a screenshot.
|
|
1541
|
+
|
|
1542
|
+
Visual estimation is approximate.
|
|
1543
|
+
|
|
1544
|
+
Infer the semantic system first.
|
|
1545
|
+
|
|
1546
|
+
---
|
|
1547
|
+
|
|
1548
|
+
# 70. TYPOGRAPHY RECONSTRUCTION
|
|
1549
|
+
|
|
1550
|
+
If recreating a design from a screenshot:
|
|
1551
|
+
|
|
1552
|
+
Do not attempt:
|
|
1553
|
+
|
|
1554
|
+
```text
|
|
1555
|
+
pixel-perfect font guessing
|
|
1556
|
+
```
|
|
1557
|
+
|
|
1558
|
+
Instead:
|
|
1559
|
+
|
|
1560
|
+
```text
|
|
1561
|
+
visual role
|
|
1562
|
+
+
|
|
1563
|
+
closest system font
|
|
1564
|
+
+
|
|
1565
|
+
semantic scale
|
|
1566
|
+
+
|
|
1567
|
+
measured spacing
|
|
1568
|
+
```
|
|
1569
|
+
|
|
1570
|
+
Then refine against the reference.
|
|
1571
|
+
|
|
1572
|
+
---
|
|
1573
|
+
|
|
1574
|
+
# 71. TYPOGRAPHY QUALITY TEST
|
|
1575
|
+
|
|
1576
|
+
Remove:
|
|
1577
|
+
|
|
1578
|
+
```text
|
|
1579
|
+
colors
|
|
1580
|
+
shadows
|
|
1581
|
+
images
|
|
1582
|
+
icons
|
|
1583
|
+
```
|
|
1584
|
+
|
|
1585
|
+
and inspect only typography.
|
|
1586
|
+
|
|
1587
|
+
Can the user still understand:
|
|
1588
|
+
|
|
1589
|
+
```text
|
|
1590
|
+
screen title
|
|
1591
|
+
section
|
|
1592
|
+
primary content
|
|
1593
|
+
secondary content
|
|
1594
|
+
metadata
|
|
1595
|
+
action
|
|
1596
|
+
```
|
|
1597
|
+
|
|
1598
|
+
If yes:
|
|
1599
|
+
|
|
1600
|
+
The hierarchy is strong.
|
|
1601
|
+
|
|
1602
|
+
---
|
|
1603
|
+
|
|
1604
|
+
# 72. DYNAMIC TYPE TEST
|
|
1605
|
+
|
|
1606
|
+
Test the same screen with:
|
|
1607
|
+
|
|
1608
|
+
```text
|
|
1609
|
+
default
|
|
1610
|
+
large
|
|
1611
|
+
extra large
|
|
1612
|
+
accessibility sizes
|
|
1613
|
+
```
|
|
1614
|
+
|
|
1615
|
+
Look for:
|
|
1616
|
+
|
|
1617
|
+
```text
|
|
1618
|
+
clipping
|
|
1619
|
+
overlap
|
|
1620
|
+
horizontal overflow
|
|
1621
|
+
button collision
|
|
1622
|
+
navigation failure
|
|
1623
|
+
truncation
|
|
1624
|
+
unexpected scrolling
|
|
1625
|
+
```
|
|
1626
|
+
|
|
1627
|
+
Any critical failure should trigger a layout redesign.
|
|
1628
|
+
|
|
1629
|
+
---
|
|
1630
|
+
|
|
1631
|
+
# 73. TYPOGRAPHY DECISION TREE
|
|
1632
|
+
|
|
1633
|
+
When adding text:
|
|
1634
|
+
|
|
1635
|
+
```text
|
|
1636
|
+
What is the text's purpose?
|
|
1637
|
+
↓
|
|
1638
|
+
What hierarchy does it need?
|
|
1639
|
+
↓
|
|
1640
|
+
Which semantic role matches?
|
|
1641
|
+
↓
|
|
1642
|
+
Which type token applies?
|
|
1643
|
+
↓
|
|
1644
|
+
Can it wrap?
|
|
1645
|
+
↓
|
|
1646
|
+
Can it grow?
|
|
1647
|
+
↓
|
|
1648
|
+
What happens in localization?
|
|
1649
|
+
↓
|
|
1650
|
+
What happens in accessibility sizes?
|
|
1651
|
+
↓
|
|
1652
|
+
Does contrast remain sufficient?
|
|
1653
|
+
```
|
|
1654
|
+
|
|
1655
|
+
---
|
|
1656
|
+
|
|
1657
|
+
# 74. AGENT EXECUTION MODEL
|
|
1658
|
+
|
|
1659
|
+
When designing typography:
|
|
1660
|
+
|
|
1661
|
+
```text
|
|
1662
|
+
CONTENT MEANING
|
|
1663
|
+
↓
|
|
1664
|
+
SEMANTIC ROLE
|
|
1665
|
+
↓
|
|
1666
|
+
HIERARCHY
|
|
1667
|
+
↓
|
|
1668
|
+
TYPE SCALE
|
|
1669
|
+
↓
|
|
1670
|
+
WEIGHT
|
|
1671
|
+
↓
|
|
1672
|
+
LINE HEIGHT
|
|
1673
|
+
↓
|
|
1674
|
+
COLOR
|
|
1675
|
+
↓
|
|
1676
|
+
SPACING
|
|
1677
|
+
↓
|
|
1678
|
+
RESPONSIVE BEHAVIOR
|
|
1679
|
+
↓
|
|
1680
|
+
ACCESSIBILITY
|
|
1681
|
+
↓
|
|
1682
|
+
LOCALIZATION
|
|
1683
|
+
↓
|
|
1684
|
+
VALIDATION
|
|
1685
|
+
```
|
|
1686
|
+
|
|
1687
|
+
---
|
|
1688
|
+
|
|
1689
|
+
# 75. PREMIUM TYPOGRAPHY TEST
|
|
1690
|
+
|
|
1691
|
+
A premium interface should not depend on oversized typography.
|
|
1692
|
+
|
|
1693
|
+
Ask:
|
|
1694
|
+
|
|
1695
|
+
```text
|
|
1696
|
+
Can hierarchy be understood without huge text?
|
|
1697
|
+
|
|
1698
|
+
Does body text remain comfortable?
|
|
1699
|
+
|
|
1700
|
+
Does metadata remain readable?
|
|
1701
|
+
|
|
1702
|
+
Do headings feel intentional?
|
|
1703
|
+
|
|
1704
|
+
Does Dynamic Type work?
|
|
1705
|
+
|
|
1706
|
+
Do long strings survive?
|
|
1707
|
+
|
|
1708
|
+
Does the typography feel coherent across screens?
|
|
1709
|
+
```
|
|
1710
|
+
|
|
1711
|
+
If yes:
|
|
1712
|
+
|
|
1713
|
+
The typography system is likely strong.
|
|
1714
|
+
|
|
1715
|
+
---
|
|
1716
|
+
|
|
1717
|
+
# 76. FINAL PRINCIPLE
|
|
1718
|
+
|
|
1719
|
+
Typography is not:
|
|
1720
|
+
|
|
1721
|
+
```text
|
|
1722
|
+
font + size + color
|
|
1723
|
+
```
|
|
1724
|
+
|
|
1725
|
+
Typography is:
|
|
1726
|
+
|
|
1727
|
+
```text
|
|
1728
|
+
meaning
|
|
1729
|
+
+
|
|
1730
|
+
hierarchy
|
|
1731
|
+
+
|
|
1732
|
+
rhythm
|
|
1733
|
+
+
|
|
1734
|
+
readability
|
|
1735
|
+
+
|
|
1736
|
+
space
|
|
1737
|
+
+
|
|
1738
|
+
accessibility
|
|
1739
|
+
+
|
|
1740
|
+
identity
|
|
1741
|
+
```
|
|
1742
|
+
|
|
1743
|
+
A strong typography system makes the interface understandable before the
|
|
1744
|
+
user consciously analyzes its visual design.
|
|
1745
|
+
|
|
1746
|
+
---
|
|
1747
|
+
|
|
1748
|
+
# 77. QUICK REFERENCE
|
|
1749
|
+
|
|
1750
|
+
```text
|
|
1751
|
+
MEANING
|
|
1752
|
+
↓
|
|
1753
|
+
ROLE
|
|
1754
|
+
↓
|
|
1755
|
+
HIERARCHY
|
|
1756
|
+
↓
|
|
1757
|
+
SIZE
|
|
1758
|
+
↓
|
|
1759
|
+
WEIGHT
|
|
1760
|
+
↓
|
|
1761
|
+
LINE HEIGHT
|
|
1762
|
+
↓
|
|
1763
|
+
SPACING
|
|
1764
|
+
↓
|
|
1765
|
+
COLOR
|
|
1766
|
+
↓
|
|
1767
|
+
WRAPPING
|
|
1768
|
+
↓
|
|
1769
|
+
DYNAMIC TYPE
|
|
1770
|
+
↓
|
|
1771
|
+
LOCALIZATION
|
|
1772
|
+
↓
|
|
1773
|
+
ACCESSIBILITY
|
|
1774
|
+
```
|
|
1775
|
+
|
|
1776
|
+
---
|
|
1777
|
+
|
|
1778
|
+
# 78. SOURCE
|
|
1779
|
+
|
|
1780
|
+
Apple Human Interface Guidelines:
|
|
1781
|
+
|
|
1782
|
+
[https://developer.apple.com/design/human-interface-guidelines/](https://developer.apple.com/design/human-interface-guidelines/)
|
|
1783
|
+
|
|
1784
|
+
Apple — Typography:
|
|
1785
|
+
|
|
1786
|
+
[https://developer.apple.com/design/human-interface-guidelines/typography](https://developer.apple.com/design/human-interface-guidelines/typography)
|
|
1787
|
+
|
|
1788
|
+
Apple Developer — Human Interface Guidelines:
|
|
1789
|
+
|
|
1790
|
+
[https://developer.apple.com/design/human-interface-guidelines/](https://developer.apple.com/design/human-interface-guidelines/)
|
|
1791
|
+
|
|
1792
|
+
Apple Developer — Accessibility:
|
|
1793
|
+
|
|
1794
|
+
[https://developer.apple.com/accessibility/](https://developer.apple.com/accessibility/)
|
|
1795
|
+
|
|
1796
|
+
Apple Developer — SwiftUI Text and Dynamic Type:
|
|
1797
|
+
|
|
1798
|
+
[https://developer.apple.com/documentation/swiftui/dynamic-type](https://developer.apple.com/documentation/swiftui/dynamic-type)
|
|
1799
|
+
|
|
1800
|
+
````
|
|
1801
|
+
|
|
1802
|
+
|