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,1411 @@
|
|
|
1
|
+
# Typography, Content Hierarchy & Readability
|
|
2
|
+
|
|
3
|
+
> Advanced agent module for typography systems, text hierarchy, readability,
|
|
4
|
+
> dynamic type, content density, labels, truncation, localization, and
|
|
5
|
+
> accessibility-aware text design across iOS, iPadOS, React Native, and Expo.
|
|
6
|
+
|
|
7
|
+
Version: 1.0
|
|
8
|
+
Platform: iOS / iPadOS / React Native / Expo
|
|
9
|
+
Layer: Advanced typography intelligence
|
|
10
|
+
|
|
11
|
+
---
|
|
12
|
+
|
|
13
|
+
# 1. PURPOSE
|
|
14
|
+
|
|
15
|
+
Typography is one of the primary structural systems of an interface.
|
|
16
|
+
|
|
17
|
+
It determines:
|
|
18
|
+
|
|
19
|
+
```text
|
|
20
|
+
Hierarchy
|
|
21
|
+
Scanning
|
|
22
|
+
Readability
|
|
23
|
+
Density
|
|
24
|
+
Brand personality
|
|
25
|
+
Accessibility
|
|
26
|
+
Information priority
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
The agent must treat text as part of the interface architecture, not as content
|
|
30
|
+
added after the UI is designed.
|
|
31
|
+
|
|
32
|
+
---
|
|
33
|
+
|
|
34
|
+
# 2. CORE PRINCIPLE
|
|
35
|
+
|
|
36
|
+
Good typography answers:
|
|
37
|
+
|
|
38
|
+
```text
|
|
39
|
+
What is this?
|
|
40
|
+
|
|
41
|
+
What matters most?
|
|
42
|
+
|
|
43
|
+
What belongs together?
|
|
44
|
+
|
|
45
|
+
What can I ignore?
|
|
46
|
+
|
|
47
|
+
What can I act on?
|
|
48
|
+
|
|
49
|
+
What happens next?
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
54
|
+
# 3. TYPOGRAPHIC HIERARCHY
|
|
55
|
+
|
|
56
|
+
Every screen should have a clear hierarchy.
|
|
57
|
+
|
|
58
|
+
Typical levels:
|
|
59
|
+
|
|
60
|
+
```text
|
|
61
|
+
Display
|
|
62
|
+
↓
|
|
63
|
+
Large title
|
|
64
|
+
↓
|
|
65
|
+
Title
|
|
66
|
+
↓
|
|
67
|
+
Section heading
|
|
68
|
+
↓
|
|
69
|
+
Body
|
|
70
|
+
↓
|
|
71
|
+
Secondary text
|
|
72
|
+
↓
|
|
73
|
+
Caption
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
Not every screen needs every level.
|
|
77
|
+
|
|
78
|
+
---
|
|
79
|
+
|
|
80
|
+
# 4. HIERARCHY BEFORE FONT SIZE
|
|
81
|
+
|
|
82
|
+
Hierarchy should not depend solely on size.
|
|
83
|
+
|
|
84
|
+
Other signals include:
|
|
85
|
+
|
|
86
|
+
```text
|
|
87
|
+
Weight
|
|
88
|
+
Spacing
|
|
89
|
+
Position
|
|
90
|
+
Contrast
|
|
91
|
+
Color
|
|
92
|
+
Container
|
|
93
|
+
Grouping
|
|
94
|
+
```
|
|
95
|
+
|
|
96
|
+
---
|
|
97
|
+
|
|
98
|
+
# 5. PRIMARY CONTENT
|
|
99
|
+
|
|
100
|
+
Primary content should be visually dominant.
|
|
101
|
+
|
|
102
|
+
Examples:
|
|
103
|
+
|
|
104
|
+
```text
|
|
105
|
+
Screen title
|
|
106
|
+
Document title
|
|
107
|
+
Song title
|
|
108
|
+
Main value
|
|
109
|
+
Primary action
|
|
110
|
+
```
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
# 6. SECONDARY CONTENT
|
|
115
|
+
|
|
116
|
+
Secondary information should support the primary content without competing
|
|
117
|
+
with it.
|
|
118
|
+
|
|
119
|
+
Examples:
|
|
120
|
+
|
|
121
|
+
```text
|
|
122
|
+
Subtitle
|
|
123
|
+
Metadata
|
|
124
|
+
Timestamp
|
|
125
|
+
Category
|
|
126
|
+
Description
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
---
|
|
130
|
+
|
|
131
|
+
# 7. TERTIARY CONTENT
|
|
132
|
+
|
|
133
|
+
Tertiary information should remain discoverable without dominating.
|
|
134
|
+
|
|
135
|
+
Examples:
|
|
136
|
+
|
|
137
|
+
```text
|
|
138
|
+
Hints
|
|
139
|
+
Supplementary metadata
|
|
140
|
+
Technical information
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
---
|
|
144
|
+
|
|
145
|
+
# 8. DISPLAY TYPOGRAPHY
|
|
146
|
+
|
|
147
|
+
Large display text should be used selectively.
|
|
148
|
+
|
|
149
|
+
Appropriate for:
|
|
150
|
+
|
|
151
|
+
```text
|
|
152
|
+
Hero screens
|
|
153
|
+
Major values
|
|
154
|
+
Landing states
|
|
155
|
+
Important headings
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
Avoid using oversized typography everywhere.
|
|
159
|
+
|
|
160
|
+
---
|
|
161
|
+
|
|
162
|
+
# 9. TITLE TYPOGRAPHY
|
|
163
|
+
|
|
164
|
+
Titles should establish the current context quickly.
|
|
165
|
+
|
|
166
|
+
A title should usually answer:
|
|
167
|
+
|
|
168
|
+
> Where am I?
|
|
169
|
+
|
|
170
|
+
---
|
|
171
|
+
|
|
172
|
+
# 10. SECTION HEADINGS
|
|
173
|
+
|
|
174
|
+
Section headings divide information into meaningful groups.
|
|
175
|
+
|
|
176
|
+
Do not use headings merely because a page has multiple cards.
|
|
177
|
+
|
|
178
|
+
---
|
|
179
|
+
|
|
180
|
+
# 11. BODY TEXT
|
|
181
|
+
|
|
182
|
+
Body text should prioritize comfortable reading.
|
|
183
|
+
|
|
184
|
+
Consider:
|
|
185
|
+
|
|
186
|
+
```text
|
|
187
|
+
Size
|
|
188
|
+
Weight
|
|
189
|
+
Line height
|
|
190
|
+
Line length
|
|
191
|
+
Contrast
|
|
192
|
+
Paragraph spacing
|
|
193
|
+
```
|
|
194
|
+
|
|
195
|
+
---
|
|
196
|
+
|
|
197
|
+
# 12. CAPTION TEXT
|
|
198
|
+
|
|
199
|
+
Small text should be reserved for genuinely secondary information.
|
|
200
|
+
|
|
201
|
+
Never use tiny typography to solve a layout problem.
|
|
202
|
+
|
|
203
|
+
---
|
|
204
|
+
|
|
205
|
+
# 13. MINIMUM READABILITY
|
|
206
|
+
|
|
207
|
+
The agent must avoid text becoming too small simply to fit more information.
|
|
208
|
+
|
|
209
|
+
If content does not fit:
|
|
210
|
+
|
|
211
|
+
```text
|
|
212
|
+
Reduce content
|
|
213
|
+
Reorganize
|
|
214
|
+
Collapse secondary information
|
|
215
|
+
Use scrolling
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
before aggressively shrinking typography.
|
|
219
|
+
|
|
220
|
+
---
|
|
221
|
+
|
|
222
|
+
# 14. FONT FAMILY
|
|
223
|
+
|
|
224
|
+
Choose a font family according to:
|
|
225
|
+
|
|
226
|
+
```text
|
|
227
|
+
Platform
|
|
228
|
+
Brand
|
|
229
|
+
Readability
|
|
230
|
+
Language coverage
|
|
231
|
+
Available weights
|
|
232
|
+
Numerical clarity
|
|
233
|
+
```
|
|
234
|
+
|
|
235
|
+
---
|
|
236
|
+
|
|
237
|
+
# 15. PLATFORM TYPOGRAPHY
|
|
238
|
+
|
|
239
|
+
On Apple platforms, system typography should generally be considered before
|
|
240
|
+
introducing a custom typeface.
|
|
241
|
+
|
|
242
|
+
System typography provides strong platform familiarity and accessibility
|
|
243
|
+
behavior.
|
|
244
|
+
|
|
245
|
+
---
|
|
246
|
+
|
|
247
|
+
# 16. CUSTOM FONTS
|
|
248
|
+
|
|
249
|
+
Custom fonts should have a clear purpose.
|
|
250
|
+
|
|
251
|
+
Potential reasons:
|
|
252
|
+
|
|
253
|
+
```text
|
|
254
|
+
Brand identity
|
|
255
|
+
Editorial personality
|
|
256
|
+
Technical aesthetic
|
|
257
|
+
Display treatment
|
|
258
|
+
```
|
|
259
|
+
|
|
260
|
+
Do not use custom fonts merely to appear different.
|
|
261
|
+
|
|
262
|
+
---
|
|
263
|
+
|
|
264
|
+
# 17. FONT WEIGHTS
|
|
265
|
+
|
|
266
|
+
Use a restrained weight system.
|
|
267
|
+
|
|
268
|
+
Example:
|
|
269
|
+
|
|
270
|
+
```text
|
|
271
|
+
Regular
|
|
272
|
+
Medium
|
|
273
|
+
Semibold
|
|
274
|
+
Bold
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
Avoid using every available weight.
|
|
278
|
+
|
|
279
|
+
---
|
|
280
|
+
|
|
281
|
+
# 18. WEIGHT HIERARCHY
|
|
282
|
+
|
|
283
|
+
Weight should reinforce information hierarchy.
|
|
284
|
+
|
|
285
|
+
Example:
|
|
286
|
+
|
|
287
|
+
```text
|
|
288
|
+
Title
|
|
289
|
+
→ Semibold
|
|
290
|
+
|
|
291
|
+
Body
|
|
292
|
+
→ Regular
|
|
293
|
+
|
|
294
|
+
Metadata
|
|
295
|
+
→ Regular / Medium
|
|
296
|
+
```
|
|
297
|
+
|
|
298
|
+
---
|
|
299
|
+
|
|
300
|
+
# 19. FALSE BOLDING
|
|
301
|
+
|
|
302
|
+
Avoid relying on synthetic font weight when the font family provides proper
|
|
303
|
+
weights.
|
|
304
|
+
|
|
305
|
+
---
|
|
306
|
+
|
|
307
|
+
# 20. ITALICS
|
|
308
|
+
|
|
309
|
+
Use italics intentionally.
|
|
310
|
+
|
|
311
|
+
Potential uses:
|
|
312
|
+
|
|
313
|
+
```text
|
|
314
|
+
Emphasis
|
|
315
|
+
Quotes
|
|
316
|
+
Special terminology
|
|
317
|
+
Editorial content
|
|
318
|
+
```
|
|
319
|
+
|
|
320
|
+
Avoid excessive italic text in UI controls.
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
# 21. ALL CAPS
|
|
325
|
+
|
|
326
|
+
All caps can work for:
|
|
327
|
+
|
|
328
|
+
```text
|
|
329
|
+
Small labels
|
|
330
|
+
Categories
|
|
331
|
+
Short metadata
|
|
332
|
+
```
|
|
333
|
+
|
|
334
|
+
Avoid large blocks of uppercase text.
|
|
335
|
+
|
|
336
|
+
---
|
|
337
|
+
|
|
338
|
+
# 22. LETTER SPACING
|
|
339
|
+
|
|
340
|
+
Letter spacing should be used carefully.
|
|
341
|
+
|
|
342
|
+
Large display text may require different tracking than body text.
|
|
343
|
+
|
|
344
|
+
---
|
|
345
|
+
|
|
346
|
+
# 23. LINE HEIGHT
|
|
347
|
+
|
|
348
|
+
Line height should support comfortable scanning and reading.
|
|
349
|
+
|
|
350
|
+
Too tight:
|
|
351
|
+
|
|
352
|
+
```text
|
|
353
|
+
Text feels cramped
|
|
354
|
+
```
|
|
355
|
+
|
|
356
|
+
Too loose:
|
|
357
|
+
|
|
358
|
+
```text
|
|
359
|
+
Relationships between lines weaken
|
|
360
|
+
```
|
|
361
|
+
|
|
362
|
+
---
|
|
363
|
+
|
|
364
|
+
# 24. PARAGRAPH SPACING
|
|
365
|
+
|
|
366
|
+
Use spacing between paragraphs rather than excessive line height.
|
|
367
|
+
|
|
368
|
+
---
|
|
369
|
+
|
|
370
|
+
# 25. LINE LENGTH
|
|
371
|
+
|
|
372
|
+
Long lines reduce reading efficiency.
|
|
373
|
+
|
|
374
|
+
For reading-heavy surfaces, constrain content width.
|
|
375
|
+
|
|
376
|
+
---
|
|
377
|
+
|
|
378
|
+
# 26. READING WIDTH
|
|
379
|
+
|
|
380
|
+
The agent should evaluate:
|
|
381
|
+
|
|
382
|
+
```text
|
|
383
|
+
Characters per line
|
|
384
|
+
Visual density
|
|
385
|
+
Screen size
|
|
386
|
+
Font size
|
|
387
|
+
```
|
|
388
|
+
|
|
389
|
+
rather than allowing text to stretch indefinitely.
|
|
390
|
+
|
|
391
|
+
---
|
|
392
|
+
|
|
393
|
+
# 27. TEXT ALIGNMENT
|
|
394
|
+
|
|
395
|
+
Default to natural platform conventions.
|
|
396
|
+
|
|
397
|
+
Commonly:
|
|
398
|
+
|
|
399
|
+
```text
|
|
400
|
+
Left-aligned
|
|
401
|
+
```
|
|
402
|
+
|
|
403
|
+
for most interface text in left-to-right languages.
|
|
404
|
+
|
|
405
|
+
---
|
|
406
|
+
|
|
407
|
+
# 28. CENTER ALIGNMENT
|
|
408
|
+
|
|
409
|
+
Centered text is useful for:
|
|
410
|
+
|
|
411
|
+
```text
|
|
412
|
+
Hero messages
|
|
413
|
+
Empty states
|
|
414
|
+
Short headings
|
|
415
|
+
Onboarding
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
Avoid centered alignment for large reading blocks.
|
|
419
|
+
|
|
420
|
+
---
|
|
421
|
+
|
|
422
|
+
# 29. RIGHT ALIGNMENT
|
|
423
|
+
|
|
424
|
+
Right alignment may be appropriate for:
|
|
425
|
+
|
|
426
|
+
```text
|
|
427
|
+
Numbers
|
|
428
|
+
Financial values
|
|
429
|
+
Metrics
|
|
430
|
+
Tables
|
|
431
|
+
```
|
|
432
|
+
|
|
433
|
+
depending on context.
|
|
434
|
+
|
|
435
|
+
---
|
|
436
|
+
|
|
437
|
+
# 30. NUMERICAL TYPOGRAPHY
|
|
438
|
+
|
|
439
|
+
Numbers often require special consideration.
|
|
440
|
+
|
|
441
|
+
Important properties:
|
|
442
|
+
|
|
443
|
+
```text
|
|
444
|
+
Alignment
|
|
445
|
+
Digit width
|
|
446
|
+
Decimal placement
|
|
447
|
+
Currency
|
|
448
|
+
Units
|
|
449
|
+
```
|
|
450
|
+
|
|
451
|
+
---
|
|
452
|
+
|
|
453
|
+
# 31. TABULAR NUMBERS
|
|
454
|
+
|
|
455
|
+
For dashboards, counters, clocks, and financial interfaces, consider
|
|
456
|
+
tabular-number formatting where appropriate.
|
|
457
|
+
|
|
458
|
+
This prevents digits from shifting horizontally as values change.
|
|
459
|
+
|
|
460
|
+
---
|
|
461
|
+
|
|
462
|
+
# 32. MONOSPACE
|
|
463
|
+
|
|
464
|
+
Monospace can be useful for:
|
|
465
|
+
|
|
466
|
+
```text
|
|
467
|
+
Code
|
|
468
|
+
Commands
|
|
469
|
+
Identifiers
|
|
470
|
+
Technical values
|
|
471
|
+
Logs
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
It should not automatically become the default for developer-themed UI.
|
|
475
|
+
|
|
476
|
+
---
|
|
477
|
+
|
|
478
|
+
# 33. TEXT HIERARCHY + COLOR
|
|
479
|
+
|
|
480
|
+
Color should reinforce hierarchy, not replace it.
|
|
481
|
+
|
|
482
|
+
Do not communicate:
|
|
483
|
+
|
|
484
|
+
```text
|
|
485
|
+
Primary
|
|
486
|
+
Secondary
|
|
487
|
+
Disabled
|
|
488
|
+
```
|
|
489
|
+
|
|
490
|
+
using color alone.
|
|
491
|
+
|
|
492
|
+
---
|
|
493
|
+
|
|
494
|
+
# 34. CONTRAST
|
|
495
|
+
|
|
496
|
+
Text must maintain sufficient contrast against its background.
|
|
497
|
+
|
|
498
|
+
Check:
|
|
499
|
+
|
|
500
|
+
```text
|
|
501
|
+
Primary text
|
|
502
|
+
Secondary text
|
|
503
|
+
Placeholder text
|
|
504
|
+
Disabled text
|
|
505
|
+
Links
|
|
506
|
+
Icons
|
|
507
|
+
```
|
|
508
|
+
|
|
509
|
+
---
|
|
510
|
+
|
|
511
|
+
# 35. SECONDARY TEXT
|
|
512
|
+
|
|
513
|
+
Secondary text should be visually quieter without becoming unreadable.
|
|
514
|
+
|
|
515
|
+
---
|
|
516
|
+
|
|
517
|
+
# 36. DISABLED TEXT
|
|
518
|
+
|
|
519
|
+
Disabled text should communicate unavailable state while remaining
|
|
520
|
+
distinguishable when accessibility settings are used.
|
|
521
|
+
|
|
522
|
+
---
|
|
523
|
+
|
|
524
|
+
# 37. PLACEHOLDER TEXT
|
|
525
|
+
|
|
526
|
+
Placeholder text should not be the only label for important input.
|
|
527
|
+
|
|
528
|
+
---
|
|
529
|
+
|
|
530
|
+
# 38. INPUT LABELS
|
|
531
|
+
|
|
532
|
+
Important fields should retain their meaning even after text is entered.
|
|
533
|
+
|
|
534
|
+
Prefer persistent labels where appropriate.
|
|
535
|
+
|
|
536
|
+
---
|
|
537
|
+
|
|
538
|
+
# 39. FORM TEXT HIERARCHY
|
|
539
|
+
|
|
540
|
+
A form may use:
|
|
541
|
+
|
|
542
|
+
```text
|
|
543
|
+
Field label
|
|
544
|
+
↓
|
|
545
|
+
Input
|
|
546
|
+
↓
|
|
547
|
+
Supporting text
|
|
548
|
+
↓
|
|
549
|
+
Validation message
|
|
550
|
+
```
|
|
551
|
+
|
|
552
|
+
Each should have distinct hierarchy.
|
|
553
|
+
|
|
554
|
+
---
|
|
555
|
+
|
|
556
|
+
# 40. ERROR TEXT
|
|
557
|
+
|
|
558
|
+
Errors should be:
|
|
559
|
+
|
|
560
|
+
```text
|
|
561
|
+
Clear
|
|
562
|
+
Specific
|
|
563
|
+
Actionable
|
|
564
|
+
Nearby
|
|
565
|
+
```
|
|
566
|
+
|
|
567
|
+
Avoid vague messages.
|
|
568
|
+
|
|
569
|
+
---
|
|
570
|
+
|
|
571
|
+
# 41. SUCCESS TEXT
|
|
572
|
+
|
|
573
|
+
Success messages should be concise.
|
|
574
|
+
|
|
575
|
+
Do not overwhelm the user after a successful action.
|
|
576
|
+
|
|
577
|
+
---
|
|
578
|
+
|
|
579
|
+
# 42. EMPTY STATES
|
|
580
|
+
|
|
581
|
+
Empty-state copy should answer:
|
|
582
|
+
|
|
583
|
+
```text
|
|
584
|
+
What is empty?
|
|
585
|
+
|
|
586
|
+
Why is it empty?
|
|
587
|
+
|
|
588
|
+
What can I do?
|
|
589
|
+
```
|
|
590
|
+
|
|
591
|
+
where useful.
|
|
592
|
+
|
|
593
|
+
---
|
|
594
|
+
|
|
595
|
+
# 43. EMPTY-STATE HIERARCHY
|
|
596
|
+
|
|
597
|
+
A good structure:
|
|
598
|
+
|
|
599
|
+
```text
|
|
600
|
+
Title
|
|
601
|
+
↓
|
|
602
|
+
Short explanation
|
|
603
|
+
↓
|
|
604
|
+
Primary action
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
---
|
|
608
|
+
|
|
609
|
+
# 44. BUTTON TEXT
|
|
610
|
+
|
|
611
|
+
Buttons should communicate actions.
|
|
612
|
+
|
|
613
|
+
Prefer:
|
|
614
|
+
|
|
615
|
+
```text
|
|
616
|
+
Save
|
|
617
|
+
Delete
|
|
618
|
+
Create
|
|
619
|
+
Open
|
|
620
|
+
Share
|
|
621
|
+
```
|
|
622
|
+
|
|
623
|
+
over vague:
|
|
624
|
+
|
|
625
|
+
```text
|
|
626
|
+
OK
|
|
627
|
+
Continue
|
|
628
|
+
Proceed
|
|
629
|
+
```
|
|
630
|
+
|
|
631
|
+
when a more descriptive action is possible.
|
|
632
|
+
|
|
633
|
+
---
|
|
634
|
+
|
|
635
|
+
# 45. BUTTON LENGTH
|
|
636
|
+
|
|
637
|
+
Avoid unnecessarily long button labels.
|
|
638
|
+
|
|
639
|
+
The label should communicate the action without becoming a sentence.
|
|
640
|
+
|
|
641
|
+
---
|
|
642
|
+
|
|
643
|
+
# 46. PRIMARY ACTION COPY
|
|
644
|
+
|
|
645
|
+
Primary actions should use clear verbs.
|
|
646
|
+
|
|
647
|
+
---
|
|
648
|
+
|
|
649
|
+
# 47. DESTRUCTIVE COPY
|
|
650
|
+
|
|
651
|
+
Destructive actions should clearly describe the consequence.
|
|
652
|
+
|
|
653
|
+
Prefer:
|
|
654
|
+
|
|
655
|
+
```text
|
|
656
|
+
Delete file
|
|
657
|
+
```
|
|
658
|
+
|
|
659
|
+
over:
|
|
660
|
+
|
|
661
|
+
```text
|
|
662
|
+
Yes
|
|
663
|
+
```
|
|
664
|
+
|
|
665
|
+
---
|
|
666
|
+
|
|
667
|
+
# 48. NAVIGATION LABELS
|
|
668
|
+
|
|
669
|
+
Navigation labels should represent destinations rather than actions when the
|
|
670
|
+
navigation model is destination-based.
|
|
671
|
+
|
|
672
|
+
---
|
|
673
|
+
|
|
674
|
+
# 49. ICON + LABEL
|
|
675
|
+
|
|
676
|
+
When an icon alone is ambiguous, pair it with a label.
|
|
677
|
+
|
|
678
|
+
---
|
|
679
|
+
|
|
680
|
+
# 50. ICON-ONLY CONTROLS
|
|
681
|
+
|
|
682
|
+
Icon-only controls should be reserved for familiar, unambiguous actions.
|
|
683
|
+
|
|
684
|
+
They must have appropriate accessibility labels.
|
|
685
|
+
|
|
686
|
+
---
|
|
687
|
+
|
|
688
|
+
# 51. ACCESSIBILITY LABELS
|
|
689
|
+
|
|
690
|
+
Every meaningful icon-only action should have a semantic accessibility label.
|
|
691
|
+
|
|
692
|
+
Visual text and accessibility text may differ when necessary.
|
|
693
|
+
|
|
694
|
+
---
|
|
695
|
+
|
|
696
|
+
# 52. TEXT TRUNCATION
|
|
697
|
+
|
|
698
|
+
Long text must have deliberate truncation behavior.
|
|
699
|
+
|
|
700
|
+
Possible strategies:
|
|
701
|
+
|
|
702
|
+
```text
|
|
703
|
+
Single-line ellipsis
|
|
704
|
+
Multi-line truncation
|
|
705
|
+
Expandable content
|
|
706
|
+
Horizontal scrolling
|
|
707
|
+
Wrapping
|
|
708
|
+
```
|
|
709
|
+
|
|
710
|
+
---
|
|
711
|
+
|
|
712
|
+
# 53. ELLIPSIS
|
|
713
|
+
|
|
714
|
+
Use ellipsis when content is intentionally shortened.
|
|
715
|
+
|
|
716
|
+
Do not silently cut text.
|
|
717
|
+
|
|
718
|
+
---
|
|
719
|
+
|
|
720
|
+
# 54. TITLE TRUNCATION
|
|
721
|
+
|
|
722
|
+
Important titles should preserve enough information to identify the object.
|
|
723
|
+
|
|
724
|
+
---
|
|
725
|
+
|
|
726
|
+
# 55. METADATA TRUNCATION
|
|
727
|
+
|
|
728
|
+
Metadata can generally be truncated earlier than primary content.
|
|
729
|
+
|
|
730
|
+
---
|
|
731
|
+
|
|
732
|
+
# 56. MULTI-LINE TEXT
|
|
733
|
+
|
|
734
|
+
Use multiple lines when readability is more important than compactness.
|
|
735
|
+
|
|
736
|
+
---
|
|
737
|
+
|
|
738
|
+
# 57. TEXT EXPANSION
|
|
739
|
+
|
|
740
|
+
Long descriptions may use:
|
|
741
|
+
|
|
742
|
+
```text
|
|
743
|
+
Show more
|
|
744
|
+
↓
|
|
745
|
+
Expanded
|
|
746
|
+
↓
|
|
747
|
+
Show less
|
|
748
|
+
```
|
|
749
|
+
|
|
750
|
+
when appropriate.
|
|
751
|
+
|
|
752
|
+
---
|
|
753
|
+
|
|
754
|
+
# 58. DYNAMIC CONTENT
|
|
755
|
+
|
|
756
|
+
Typography must tolerate content that changes length.
|
|
757
|
+
|
|
758
|
+
Examples:
|
|
759
|
+
|
|
760
|
+
```text
|
|
761
|
+
User names
|
|
762
|
+
File names
|
|
763
|
+
Song titles
|
|
764
|
+
Numbers
|
|
765
|
+
Dates
|
|
766
|
+
Messages
|
|
767
|
+
```
|
|
768
|
+
|
|
769
|
+
---
|
|
770
|
+
|
|
771
|
+
# 59. LOCALIZATION
|
|
772
|
+
|
|
773
|
+
Text length can change dramatically across languages.
|
|
774
|
+
|
|
775
|
+
Design for expansion.
|
|
776
|
+
|
|
777
|
+
---
|
|
778
|
+
|
|
779
|
+
# 60. TEXT EXPANSION TEST
|
|
780
|
+
|
|
781
|
+
Test:
|
|
782
|
+
|
|
783
|
+
```text
|
|
784
|
+
Short language
|
|
785
|
+
Normal language
|
|
786
|
+
Long language
|
|
787
|
+
```
|
|
788
|
+
|
|
789
|
+
Do not design only around English.
|
|
790
|
+
|
|
791
|
+
---
|
|
792
|
+
|
|
793
|
+
# 61. RTL
|
|
794
|
+
|
|
795
|
+
Support right-to-left layouts where applicable.
|
|
796
|
+
|
|
797
|
+
Text direction should come from semantic direction rather than hard-coded
|
|
798
|
+
position assumptions.
|
|
799
|
+
|
|
800
|
+
---
|
|
801
|
+
|
|
802
|
+
# 62. DIRECTIONAL ICONS
|
|
803
|
+
|
|
804
|
+
Icons representing:
|
|
805
|
+
|
|
806
|
+
```text
|
|
807
|
+
Back
|
|
808
|
+
Forward
|
|
809
|
+
Next
|
|
810
|
+
Previous
|
|
811
|
+
```
|
|
812
|
+
|
|
813
|
+
may need semantic mirroring.
|
|
814
|
+
|
|
815
|
+
---
|
|
816
|
+
|
|
817
|
+
# 63. NON-DIRECTIONAL ICONS
|
|
818
|
+
|
|
819
|
+
Symmetrical icons generally should not be mirrored.
|
|
820
|
+
|
|
821
|
+
---
|
|
822
|
+
|
|
823
|
+
# 64. DYNAMIC TYPE
|
|
824
|
+
|
|
825
|
+
The agent must support platform text scaling where applicable.
|
|
826
|
+
|
|
827
|
+
The layout should remain usable as text becomes larger.
|
|
828
|
+
|
|
829
|
+
---
|
|
830
|
+
|
|
831
|
+
# 65. ACCESSIBILITY TEXT SCALE
|
|
832
|
+
|
|
833
|
+
Test at multiple text sizes.
|
|
834
|
+
|
|
835
|
+
Conceptually:
|
|
836
|
+
|
|
837
|
+
```text
|
|
838
|
+
Default
|
|
839
|
+
Large
|
|
840
|
+
Extra large
|
|
841
|
+
Very large
|
|
842
|
+
```
|
|
843
|
+
|
|
844
|
+
---
|
|
845
|
+
|
|
846
|
+
# 66. TEXT SCALE FAILURE
|
|
847
|
+
|
|
848
|
+
If increased text causes:
|
|
849
|
+
|
|
850
|
+
```text
|
|
851
|
+
Clipping
|
|
852
|
+
Overlap
|
|
853
|
+
Hidden buttons
|
|
854
|
+
Broken cards
|
|
855
|
+
Unreadable navigation
|
|
856
|
+
```
|
|
857
|
+
|
|
858
|
+
the layout needs structural adaptation.
|
|
859
|
+
|
|
860
|
+
---
|
|
861
|
+
|
|
862
|
+
# 67. RESPONSIVE TYPOGRAPHY
|
|
863
|
+
|
|
864
|
+
Typography may adapt between:
|
|
865
|
+
|
|
866
|
+
```text
|
|
867
|
+
Compact
|
|
868
|
+
Medium
|
|
869
|
+
Expanded
|
|
870
|
+
```
|
|
871
|
+
|
|
872
|
+
but should not change unpredictably.
|
|
873
|
+
|
|
874
|
+
---
|
|
875
|
+
|
|
876
|
+
# 68. TYPE SCALE
|
|
877
|
+
|
|
878
|
+
Define a coherent type scale.
|
|
879
|
+
|
|
880
|
+
Example:
|
|
881
|
+
|
|
882
|
+
```text
|
|
883
|
+
Display
|
|
884
|
+
Large title
|
|
885
|
+
Title
|
|
886
|
+
Headline
|
|
887
|
+
Body
|
|
888
|
+
Callout
|
|
889
|
+
Subheadline
|
|
890
|
+
Footnote
|
|
891
|
+
Caption
|
|
892
|
+
```
|
|
893
|
+
|
|
894
|
+
The actual sizes should be defined centrally.
|
|
895
|
+
|
|
896
|
+
---
|
|
897
|
+
|
|
898
|
+
# 69. TYPE TOKENS
|
|
899
|
+
|
|
900
|
+
Centralize typography tokens.
|
|
901
|
+
|
|
902
|
+
Example:
|
|
903
|
+
|
|
904
|
+
```text
|
|
905
|
+
font.display
|
|
906
|
+
font.title
|
|
907
|
+
font.headline
|
|
908
|
+
font.body
|
|
909
|
+
font.callout
|
|
910
|
+
font.caption
|
|
911
|
+
```
|
|
912
|
+
|
|
913
|
+
---
|
|
914
|
+
|
|
915
|
+
# 70. TYPE TOKEN CONTENT
|
|
916
|
+
|
|
917
|
+
Each typography token should define:
|
|
918
|
+
|
|
919
|
+
```text
|
|
920
|
+
Family
|
|
921
|
+
Size
|
|
922
|
+
Weight
|
|
923
|
+
Line height
|
|
924
|
+
Letter spacing
|
|
925
|
+
```
|
|
926
|
+
|
|
927
|
+
where required.
|
|
928
|
+
|
|
929
|
+
---
|
|
930
|
+
|
|
931
|
+
# 71. SEMANTIC TYPOGRAPHY
|
|
932
|
+
|
|
933
|
+
Components should reference semantic roles rather than hard-coded sizes.
|
|
934
|
+
|
|
935
|
+
Bad:
|
|
936
|
+
|
|
937
|
+
```text
|
|
938
|
+
fontSize: 17
|
|
939
|
+
```
|
|
940
|
+
|
|
941
|
+
Better:
|
|
942
|
+
|
|
943
|
+
```text
|
|
944
|
+
typography.body
|
|
945
|
+
```
|
|
946
|
+
|
|
947
|
+
---
|
|
948
|
+
|
|
949
|
+
# 72. COMPONENT TYPOGRAPHY
|
|
950
|
+
|
|
951
|
+
Components should consume typography tokens consistently.
|
|
952
|
+
|
|
953
|
+
---
|
|
954
|
+
|
|
955
|
+
# 73. BRAND TYPOGRAPHY
|
|
956
|
+
|
|
957
|
+
Brand typography may have specialized display styles.
|
|
958
|
+
|
|
959
|
+
Keep brand-specific typography separate from functional UI typography.
|
|
960
|
+
|
|
961
|
+
---
|
|
962
|
+
|
|
963
|
+
# 74. READABILITY OVER BRAND
|
|
964
|
+
|
|
965
|
+
When brand typography harms usability:
|
|
966
|
+
|
|
967
|
+
```text
|
|
968
|
+
Readability
|
|
969
|
+
>
|
|
970
|
+
Brand styling
|
|
971
|
+
```
|
|
972
|
+
|
|
973
|
+
---
|
|
974
|
+
|
|
975
|
+
# 75. CONTENT DENSITY
|
|
976
|
+
|
|
977
|
+
Typography strongly influences information density.
|
|
978
|
+
|
|
979
|
+
Dense interfaces require:
|
|
980
|
+
|
|
981
|
+
```text
|
|
982
|
+
Clear grouping
|
|
983
|
+
Strong hierarchy
|
|
984
|
+
Adequate spacing
|
|
985
|
+
Consistent alignment
|
|
986
|
+
```
|
|
987
|
+
|
|
988
|
+
---
|
|
989
|
+
|
|
990
|
+
# 76. DENSITY MODES
|
|
991
|
+
|
|
992
|
+
Complex applications may support:
|
|
993
|
+
|
|
994
|
+
```text
|
|
995
|
+
Compact
|
|
996
|
+
Comfortable
|
|
997
|
+
Spacious
|
|
998
|
+
```
|
|
999
|
+
|
|
1000
|
+
density modes.
|
|
1001
|
+
|
|
1002
|
+
---
|
|
1003
|
+
|
|
1004
|
+
# 77. COMPACT MODE
|
|
1005
|
+
|
|
1006
|
+
Useful for:
|
|
1007
|
+
|
|
1008
|
+
```text
|
|
1009
|
+
Power users
|
|
1010
|
+
Large datasets
|
|
1011
|
+
Developer tools
|
|
1012
|
+
File managers
|
|
1013
|
+
Tables
|
|
1014
|
+
```
|
|
1015
|
+
|
|
1016
|
+
---
|
|
1017
|
+
|
|
1018
|
+
# 78. SPACIOUS MODE
|
|
1019
|
+
|
|
1020
|
+
Useful for:
|
|
1021
|
+
|
|
1022
|
+
```text
|
|
1023
|
+
Reading
|
|
1024
|
+
Touch-heavy interfaces
|
|
1025
|
+
Accessibility
|
|
1026
|
+
Presentation
|
|
1027
|
+
```
|
|
1028
|
+
|
|
1029
|
+
---
|
|
1030
|
+
|
|
1031
|
+
# 79. TEXT + ICON ALIGNMENT
|
|
1032
|
+
|
|
1033
|
+
Text and icons should share consistent optical alignment.
|
|
1034
|
+
|
|
1035
|
+
Do not rely solely on mathematical center alignment.
|
|
1036
|
+
|
|
1037
|
+
---
|
|
1038
|
+
|
|
1039
|
+
# 80. BASELINE ALIGNMENT
|
|
1040
|
+
|
|
1041
|
+
Related text elements should align naturally along their typographic baseline
|
|
1042
|
+
where appropriate.
|
|
1043
|
+
|
|
1044
|
+
---
|
|
1045
|
+
|
|
1046
|
+
# 81. ICON SIZE RELATIONSHIP
|
|
1047
|
+
|
|
1048
|
+
Icons next to text should generally feel proportionate to the associated
|
|
1049
|
+
typography.
|
|
1050
|
+
|
|
1051
|
+
---
|
|
1052
|
+
|
|
1053
|
+
# 82. BADGE TYPOGRAPHY
|
|
1054
|
+
|
|
1055
|
+
Badges should prioritize:
|
|
1056
|
+
|
|
1057
|
+
```text
|
|
1058
|
+
Short content
|
|
1059
|
+
Legibility
|
|
1060
|
+
Compactness
|
|
1061
|
+
```
|
|
1062
|
+
|
|
1063
|
+
Avoid placing long sentences inside badges.
|
|
1064
|
+
|
|
1065
|
+
---
|
|
1066
|
+
|
|
1067
|
+
# 83. CHIP TYPOGRAPHY
|
|
1068
|
+
|
|
1069
|
+
Chips should remain scannable.
|
|
1070
|
+
|
|
1071
|
+
Avoid excessive padding that makes them visually heavy.
|
|
1072
|
+
|
|
1073
|
+
---
|
|
1074
|
+
|
|
1075
|
+
# 84. TAB TYPOGRAPHY
|
|
1076
|
+
|
|
1077
|
+
Tab labels should be short and consistent.
|
|
1078
|
+
|
|
1079
|
+
Avoid mixing radically different label lengths without a reason.
|
|
1080
|
+
|
|
1081
|
+
---
|
|
1082
|
+
|
|
1083
|
+
# 85. TOOLBAR TYPOGRAPHY
|
|
1084
|
+
|
|
1085
|
+
Toolbar text should remain concise.
|
|
1086
|
+
|
|
1087
|
+
Toolbars are not appropriate places for paragraphs.
|
|
1088
|
+
|
|
1089
|
+
---
|
|
1090
|
+
|
|
1091
|
+
# 86. NAVIGATION TYPOGRAPHY
|
|
1092
|
+
|
|
1093
|
+
Navigation labels should remain recognizable at a glance.
|
|
1094
|
+
|
|
1095
|
+
---
|
|
1096
|
+
|
|
1097
|
+
# 87. CARD TYPOGRAPHY
|
|
1098
|
+
|
|
1099
|
+
Cards should establish:
|
|
1100
|
+
|
|
1101
|
+
```text
|
|
1102
|
+
Title
|
|
1103
|
+
Supporting information
|
|
1104
|
+
Optional metadata
|
|
1105
|
+
Action
|
|
1106
|
+
```
|
|
1107
|
+
|
|
1108
|
+
without competing elements.
|
|
1109
|
+
|
|
1110
|
+
---
|
|
1111
|
+
|
|
1112
|
+
# 88. CARD TITLE PRIORITY
|
|
1113
|
+
|
|
1114
|
+
The card title should generally be the first textual element users recognize.
|
|
1115
|
+
|
|
1116
|
+
---
|
|
1117
|
+
|
|
1118
|
+
# 89. LIST TYPOGRAPHY
|
|
1119
|
+
|
|
1120
|
+
A list row should communicate hierarchy quickly.
|
|
1121
|
+
|
|
1122
|
+
Typical:
|
|
1123
|
+
|
|
1124
|
+
```text
|
|
1125
|
+
Primary
|
|
1126
|
+
↓
|
|
1127
|
+
Secondary
|
|
1128
|
+
↓
|
|
1129
|
+
Metadata
|
|
1130
|
+
```
|
|
1131
|
+
|
|
1132
|
+
---
|
|
1133
|
+
|
|
1134
|
+
# 90. TABLE TYPOGRAPHY
|
|
1135
|
+
|
|
1136
|
+
Tables require:
|
|
1137
|
+
|
|
1138
|
+
```text
|
|
1139
|
+
Column hierarchy
|
|
1140
|
+
Numerical alignment
|
|
1141
|
+
Header distinction
|
|
1142
|
+
Row readability
|
|
1143
|
+
```
|
|
1144
|
+
|
|
1145
|
+
---
|
|
1146
|
+
|
|
1147
|
+
# 91. DASHBOARD TYPOGRAPHY
|
|
1148
|
+
|
|
1149
|
+
Metrics should distinguish:
|
|
1150
|
+
|
|
1151
|
+
```text
|
|
1152
|
+
Value
|
|
1153
|
+
Label
|
|
1154
|
+
Trend
|
|
1155
|
+
Context
|
|
1156
|
+
```
|
|
1157
|
+
|
|
1158
|
+
---
|
|
1159
|
+
|
|
1160
|
+
# 92. LARGE NUMBERS
|
|
1161
|
+
|
|
1162
|
+
Large numerical values should not become visually disconnected from their
|
|
1163
|
+
meaning.
|
|
1164
|
+
|
|
1165
|
+
Example:
|
|
1166
|
+
|
|
1167
|
+
```text
|
|
1168
|
+
$12,430
|
|
1169
|
+
Monthly revenue
|
|
1170
|
+
```
|
|
1171
|
+
|
|
1172
|
+
not merely:
|
|
1173
|
+
|
|
1174
|
+
```text
|
|
1175
|
+
12,430
|
|
1176
|
+
```
|
|
1177
|
+
|
|
1178
|
+
---
|
|
1179
|
+
|
|
1180
|
+
# 93. DATE + TIME
|
|
1181
|
+
|
|
1182
|
+
Date and time presentation should prioritize local conventions.
|
|
1183
|
+
|
|
1184
|
+
---
|
|
1185
|
+
|
|
1186
|
+
# 94. RELATIVE TIME
|
|
1187
|
+
|
|
1188
|
+
Relative timestamps such as:
|
|
1189
|
+
|
|
1190
|
+
```text
|
|
1191
|
+
Just now
|
|
1192
|
+
5 min ago
|
|
1193
|
+
Yesterday
|
|
1194
|
+
```
|
|
1195
|
+
|
|
1196
|
+
can improve scanning when exact timestamps are unnecessary.
|
|
1197
|
+
|
|
1198
|
+
---
|
|
1199
|
+
|
|
1200
|
+
# 95. EXACT TIME
|
|
1201
|
+
|
|
1202
|
+
Use exact timestamps where precision matters.
|
|
1203
|
+
|
|
1204
|
+
---
|
|
1205
|
+
|
|
1206
|
+
# 96. CONTENT PRIORITY
|
|
1207
|
+
|
|
1208
|
+
Before designing typography, classify content:
|
|
1209
|
+
|
|
1210
|
+
```text
|
|
1211
|
+
Critical
|
|
1212
|
+
Primary
|
|
1213
|
+
Secondary
|
|
1214
|
+
Supporting
|
|
1215
|
+
Decorative
|
|
1216
|
+
```
|
|
1217
|
+
|
|
1218
|
+
Typography should reflect this classification.
|
|
1219
|
+
|
|
1220
|
+
---
|
|
1221
|
+
|
|
1222
|
+
# 97. INFORMATION COLLAPSE
|
|
1223
|
+
|
|
1224
|
+
When space becomes limited:
|
|
1225
|
+
|
|
1226
|
+
```text
|
|
1227
|
+
Decorative
|
|
1228
|
+
↓
|
|
1229
|
+
Supporting
|
|
1230
|
+
↓
|
|
1231
|
+
Secondary
|
|
1232
|
+
↓
|
|
1233
|
+
Primary remains
|
|
1234
|
+
```
|
|
1235
|
+
|
|
1236
|
+
Typography should adapt with the layout.
|
|
1237
|
+
|
|
1238
|
+
---
|
|
1239
|
+
|
|
1240
|
+
# 98. TEXT + RESPONSIVE LAYOUT
|
|
1241
|
+
|
|
1242
|
+
If a title becomes too long:
|
|
1243
|
+
|
|
1244
|
+
```text
|
|
1245
|
+
Do not immediately shrink font.
|
|
1246
|
+
|
|
1247
|
+
Consider:
|
|
1248
|
+
Wrap
|
|
1249
|
+
Truncate
|
|
1250
|
+
Reorganize
|
|
1251
|
+
Expand container
|
|
1252
|
+
Move metadata
|
|
1253
|
+
```
|
|
1254
|
+
|
|
1255
|
+
---
|
|
1256
|
+
|
|
1257
|
+
# 99. TYPOGRAPHY + MOTION
|
|
1258
|
+
|
|
1259
|
+
Text transitions should not cause distracting layout jumps.
|
|
1260
|
+
|
|
1261
|
+
When content changes dynamically, preserve visual stability where possible.
|
|
1262
|
+
|
|
1263
|
+
---
|
|
1264
|
+
|
|
1265
|
+
# 100. TYPOGRAPHY + PERFORMANCE
|
|
1266
|
+
|
|
1267
|
+
Large numbers of animated text elements can be expensive.
|
|
1268
|
+
|
|
1269
|
+
Avoid unnecessary per-frame text layout.
|
|
1270
|
+
|
|
1271
|
+
---
|
|
1272
|
+
|
|
1273
|
+
# 101. TYPOGRAPHY QUALITY GATE
|
|
1274
|
+
|
|
1275
|
+
```text
|
|
1276
|
+
[ ] Clear type hierarchy exists
|
|
1277
|
+
[ ] Typography tokens are centralized
|
|
1278
|
+
[ ] Semantic typography roles are defined
|
|
1279
|
+
[ ] Primary content dominates
|
|
1280
|
+
[ ] Secondary content is quieter
|
|
1281
|
+
[ ] Body text is readable
|
|
1282
|
+
[ ] Small text is not used to solve layout problems
|
|
1283
|
+
[ ] Line height is intentional
|
|
1284
|
+
[ ] Reading width is comfortable
|
|
1285
|
+
[ ] Text contrast is sufficient
|
|
1286
|
+
[ ] Buttons use clear action verbs
|
|
1287
|
+
[ ] Icon-only controls have accessibility labels
|
|
1288
|
+
[ ] Long titles have truncation behavior
|
|
1289
|
+
[ ] Long descriptions have expansion behavior
|
|
1290
|
+
[ ] Dynamic content is supported
|
|
1291
|
+
[ ] Localization is considered
|
|
1292
|
+
[ ] RTL is considered
|
|
1293
|
+
[ ] Dynamic Type/text scaling is supported
|
|
1294
|
+
[ ] Large text does not break layout
|
|
1295
|
+
[ ] Numerical typography is appropriate
|
|
1296
|
+
[ ] Tables align numbers correctly
|
|
1297
|
+
[ ] Typography adapts to responsive layouts
|
|
1298
|
+
[ ] Brand typography does not compromise usability
|
|
1299
|
+
[ ] Content hierarchy survives accessibility settings
|
|
1300
|
+
```
|
|
1301
|
+
|
|
1302
|
+
---
|
|
1303
|
+
|
|
1304
|
+
# 102. AGENT TYPOGRAPHY WORKFLOW
|
|
1305
|
+
|
|
1306
|
+
The agent should follow:
|
|
1307
|
+
|
|
1308
|
+
```text
|
|
1309
|
+
1. Inventory all textual content
|
|
1310
|
+
↓
|
|
1311
|
+
2. Classify content importance
|
|
1312
|
+
↓
|
|
1313
|
+
3. Define semantic type roles
|
|
1314
|
+
↓
|
|
1315
|
+
4. Select platform/system typography
|
|
1316
|
+
↓
|
|
1317
|
+
5. Define type scale
|
|
1318
|
+
↓
|
|
1319
|
+
6. Define weights
|
|
1320
|
+
↓
|
|
1321
|
+
7. Define line heights
|
|
1322
|
+
↓
|
|
1323
|
+
8. Define spacing
|
|
1324
|
+
↓
|
|
1325
|
+
9. Define text colors
|
|
1326
|
+
↓
|
|
1327
|
+
10. Define truncation
|
|
1328
|
+
↓
|
|
1329
|
+
11. Define expansion
|
|
1330
|
+
↓
|
|
1331
|
+
12. Define accessibility labels
|
|
1332
|
+
↓
|
|
1333
|
+
13. Test dynamic text scaling
|
|
1334
|
+
↓
|
|
1335
|
+
14. Test localization
|
|
1336
|
+
↓
|
|
1337
|
+
15. Test RTL where applicable
|
|
1338
|
+
↓
|
|
1339
|
+
16. Test long content
|
|
1340
|
+
↓
|
|
1341
|
+
17. Test responsive layouts
|
|
1342
|
+
↓
|
|
1343
|
+
18. Audit hierarchy
|
|
1344
|
+
```
|
|
1345
|
+
|
|
1346
|
+
---
|
|
1347
|
+
|
|
1348
|
+
# 103. AGENT DECISION RULE
|
|
1349
|
+
|
|
1350
|
+
Before shrinking text to make a layout fit, ask:
|
|
1351
|
+
|
|
1352
|
+
```text
|
|
1353
|
+
Can content be removed?
|
|
1354
|
+
|
|
1355
|
+
Can information be reorganized?
|
|
1356
|
+
|
|
1357
|
+
Can secondary information collapse?
|
|
1358
|
+
|
|
1359
|
+
Can the container expand?
|
|
1360
|
+
|
|
1361
|
+
Can the layout change?
|
|
1362
|
+
|
|
1363
|
+
Can the user access the full content elsewhere?
|
|
1364
|
+
```
|
|
1365
|
+
|
|
1366
|
+
Typography should almost never be sacrificed first.
|
|
1367
|
+
|
|
1368
|
+
---
|
|
1369
|
+
|
|
1370
|
+
# 104. FINAL PRINCIPLE
|
|
1371
|
+
|
|
1372
|
+
Excellent typography makes the interface feel:
|
|
1373
|
+
|
|
1374
|
+
```text
|
|
1375
|
+
Clear
|
|
1376
|
+
Calm
|
|
1377
|
+
Structured
|
|
1378
|
+
Readable
|
|
1379
|
+
Confident
|
|
1380
|
+
Premium
|
|
1381
|
+
```
|
|
1382
|
+
|
|
1383
|
+
The user should understand the hierarchy of a screen before consciously
|
|
1384
|
+
thinking about the typography.
|
|
1385
|
+
|
|
1386
|
+
The ideal result is:
|
|
1387
|
+
|
|
1388
|
+
```text
|
|
1389
|
+
Important
|
|
1390
|
+
→ Immediately visible
|
|
1391
|
+
|
|
1392
|
+
Supporting
|
|
1393
|
+
→ Easily discoverable
|
|
1394
|
+
|
|
1395
|
+
Secondary
|
|
1396
|
+
→ Available without distraction
|
|
1397
|
+
|
|
1398
|
+
Decorative
|
|
1399
|
+
→ Never competes with meaning
|
|
1400
|
+
```
|
|
1401
|
+
|
|
1402
|
+
The agent should therefore treat typography as a **navigation system for the
|
|
1403
|
+
user's attention**.
|
|
1404
|
+
|
|
1405
|
+
The best typography does not ask:
|
|
1406
|
+
|
|
1407
|
+
> "How do we make this text look beautiful?"
|
|
1408
|
+
|
|
1409
|
+
It asks:
|
|
1410
|
+
|
|
1411
|
+
> **"How should the user's eyes move through this information?"**
|