oh-my-design-cli 1.8.1 → 1.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (46) hide show
  1. package/README.ja.md +4 -4
  2. package/README.ko.md +6 -6
  3. package/README.md +6 -6
  4. package/README.zh-TW.md +4 -4
  5. package/data/reference-fingerprints.json +983 -23
  6. package/package.json +1 -1
  7. package/web/references/bito/DESIGN.md +394 -0
  8. package/web/references/cashapp/DESIGN.md +449 -0
  9. package/web/references/cuboai/DESIGN.md +435 -0
  10. package/web/references/cybozu/DESIGN.md +453 -0
  11. package/web/references/datadog/DESIGN.md +441 -0
  12. package/web/references/digital-agency-jp/DESIGN.md +439 -0
  13. package/web/references/dmm/DESIGN.md +455 -0
  14. package/web/references/gaudiy/DESIGN.md +387 -0
  15. package/web/references/gitlab/DESIGN.md +546 -0
  16. package/web/references/goodpatch/DESIGN.md +429 -0
  17. package/web/references/headspace/DESIGN.md +505 -0
  18. package/web/references/heptabase/DESIGN.md +448 -0
  19. package/web/references/iicombined/DESIGN.md +421 -0
  20. package/web/references/maicoin/DESIGN.md +484 -0
  21. package/web/references/mailchimp/DESIGN.md +450 -0
  22. package/web/references/mikan/DESIGN.md +450 -0
  23. package/web/references/moze/DESIGN.md +423 -0
  24. package/web/references/ncsoft/DESIGN.md +488 -0
  25. package/web/references/nhn/DESIGN.md +441 -0
  26. package/web/references/nintendo/DESIGN.md +445 -0
  27. package/web/references/patreon/DESIGN.md +439 -0
  28. package/web/references/pepabo/DESIGN.md +486 -0
  29. package/web/references/pinkfong/DESIGN.md +450 -0
  30. package/web/references/plaid/DESIGN.md +472 -0
  31. package/web/references/portaly/DESIGN.md +441 -0
  32. package/web/references/readmoo/DESIGN.md +492 -0
  33. package/web/references/shiftup/DESIGN.md +433 -0
  34. package/web/references/sparkful/DESIGN.md +434 -0
  35. package/web/references/speeda/DESIGN.md +422 -0
  36. package/web/references/spindle/DESIGN.md +470 -0
  37. package/web/references/spoqa/DESIGN.md +422 -0
  38. package/web/references/stibee/DESIGN.md +424 -0
  39. package/web/references/tmap/DESIGN.md +423 -0
  40. package/web/references/twilio/DESIGN.md +515 -0
  41. package/web/references/twitch/DESIGN.md +431 -0
  42. package/web/references/vocus/DESIGN.md +450 -0
  43. package/web/references/workday/DESIGN.md +452 -0
  44. package/web/references/wrtn/DESIGN.md +454 -0
  45. package/web/references/xrex/DESIGN.md +475 -0
  46. package/web/references/zepeto/DESIGN.md +463 -0
@@ -0,0 +1,439 @@
1
+ ---
2
+ id: digital-agency-jp
3
+ name: Digital Agency Design System (DADS)
4
+ country: JP
5
+ category: government
6
+ homepage: "https://design.digital.go.jp/"
7
+ primary_color: "#0017c1"
8
+ logo:
9
+ type: favicon
10
+ slug: "https://www.google.com/s2/favicons?domain=digital.go.jp&sz=128"
11
+ verified: "2026-06-17"
12
+ added: "2026-06-17"
13
+ omd: "0.1"
14
+ ds:
15
+ name: Digital Agency Design System (DADS)
16
+ url: "https://design.digital.go.jp/dads/"
17
+ type: system
18
+ description: "Japan Digital Agency (デジタル庁) official government design system — design language, accessibility/usability guidelines, Figma data, HTML + React component snippets, CC BY 4.0."
19
+ tokens:
20
+ source: live-extract
21
+ extracted: "2026-06-17"
22
+ note: "primary = live solid-fill blue (#0017c1, rgb(0,23,193)) on the search button and outline-button borders; link/heading blue (#00118f, rgb(0,17,143)) is the darker text-on-white accent. Body text near-black #333333; surfaces grey #f2f2f2/#e6e6e6; semantic red #ec0000 / green #197a4b confirmed in the button-page color scan."
23
+ colors:
24
+ primary: "#0017c1"
25
+ primary-hover: "#00118f"
26
+ link: "#00118f"
27
+ canvas: "#ffffff"
28
+ ink: "#333333"
29
+ ink-strong: "#1a1a1a"
30
+ ink-pure: "#000000"
31
+ muted: "#666666"
32
+ muted-alt: "#767676"
33
+ hairline: "#949494"
34
+ surface: "#f2f2f2"
35
+ surface-alt: "#e6e6e6"
36
+ tint-blue: "#e8f1fe"
37
+ tint-blue-selected: "#d9e6ff"
38
+ error: "#ec0000"
39
+ success: "#197a4b"
40
+ on-primary: "#ffffff"
41
+ typography:
42
+ family: { sans: "Noto Sans JP" }
43
+ display: { size: 32, weight: 700, lineHeight: 1.50, use: "Section headline (H2), Noto Sans JP Bold" }
44
+ heading: { size: 20, weight: 700, lineHeight: 1.50, use: "Page title (H1) / card heading (H3)" }
45
+ body-lg: { size: 17, weight: 400, lineHeight: 1.70, use: "Default body text, generous CJK line-height" }
46
+ body: { size: 16, weight: 400, lineHeight: 1.50, use: "UI text, nav links, button labels" }
47
+ nav: { size: 16, weight: 400, lineHeight: 1.50, use: "Header nav items" }
48
+ button: { size: 16, weight: 700, lineHeight: 1.50, use: "Button label, Bold" }
49
+ spacing: { xs: 4, sm: 8, md: 12, base: 16, lg: 24, xl: 32, xxl: 48, section: 64 }
50
+ rounded: { sm: 8, md: 16, full: 9999 }
51
+ shadow:
52
+ none: "none"
53
+ components:
54
+ button-filled: { type: button, bg: "#0017c1", fg: "#ffffff", radius: "8px", height: "48px", padding: "8px 16px", font: "16px / 700 Noto Sans JP", use: "Primary filled action — search submit, key CTA", states: "hover #00118f" }
55
+ button-outline: { type: button, bg: "#ffffff", fg: "#0017c1", border: "1px solid #0017c1", radius: "8px", height: "56px", padding: "12px 16px", font: "16px / 700 Noto Sans JP", use: "Secondary outline action — section anchors", states: "hover bg #e8f1fe" }
56
+ button-text: { type: button, fg: "#00118f", font: "17px / 400 Noto Sans JP", use: "Inline text link button (e.g. Figma file link)" }
57
+ input-text: { type: input, bg: "#ffffff", fg: "#1a1a1a", border: "1px solid #666666", radius: "8px", height: "48px", padding: "0 16px", font: "16px / 400 Noto Sans JP", use: "Search box / text input, focus blue #0017c1" }
58
+ card-canvas: { type: card, bg: "#ffffff", fg: "#333333", border: "1px solid #949494", radius: "16px", padding: "24px", use: "Content navigation card, no shadow, #00118f heading" }
59
+ nav-link: { type: tab, fg: "#333333", font: "16px / 400 Noto Sans JP", padding: "10px 16px", active: "text #00118f + 2px bottom border #0017c1", use: "Header navigation item" }
60
+ chip-blue: { type: badge, bg: "#e8f1fe", fg: "#00118f", radius: "8px", font: "16px / 400 Noto Sans JP", use: "Selected / informational chip tint" }
61
+ error-text: { type: badge, fg: "#ec0000", font: "16px / 400 Noto Sans JP", use: "Field-level error message colour" }
62
+ components_harvested: true
63
+ ---
64
+
65
+ # Design System Inspiration of Digital Agency Design System (DADS)
66
+
67
+ ## 1. Visual Theme & Atmosphere
68
+
69
+ The Digital Agency Design System (デジタル庁デザインシステム, DADS) is the official design system of Japan's Digital Agency (デジタル庁), published openly at `design.digital.go.jp/dads/` under CC BY 4.0. Its job is the opposite of a consumer brand's: not to delight or differentiate, but to make government services legible, accessible, and trustworthy for every citizen — including those on low-end devices, with low vision, or with low digital fluency. The result is a system of deliberate, almost austere clarity. The canvas is pure white (`#ffffff`); body text sits in a calm near-black (`#333333`) — softened off pure black for long-form readability — and the entire identity hangs on a single confident government blue (`#0017c1`).
70
+
71
+ That blue does two jobs. As a solid fill (`#0017c1`, the search-submit button) it is "the action," and as a darker text-weight variant (`#00118f`) it carries every link, every card heading, and every interactive label on white. This two-step blue — a saturated fill for surfaces, a deeper navy-blue for text-on-white — is the system's core contrast strategy, chosen so that link text clears WCAG contrast against white while filled buttons stay vivid. There is no second accent hue competing for attention; semantic colour is reserved strictly for meaning (error red `#ec0000`, success green `#197a4b`).
72
+
73
+ The typographic voice is unmistakably Japanese-civic: the stack leads with **Noto Sans JP** (`"Noto Sans", "Noto Sans JP", system-ui, sans-serif`), the open-source CJK workhorse chosen precisely because it renders consistently across every government device and platform without licensing friction. Body runs at a generous 17px with a roomy 1.7 line-height — wide leading is a CJK-legibility decision, giving dense kanji and kana room to breathe. Headlines step up to Bold (weight 700) at 20px (page title) and 32px (section) but never shout; weight, not size, carries hierarchy. Depth is essentially absent — `box-shadow: none` across the hero, nav, cards, and buttons. Separation comes from thin `#949494` hairlines, flat grey surfaces (`#f2f2f2`, `#e6e6e6`), and an 8px/16px radius scale that reads as friendly-but-serious. This is design as public infrastructure: quiet, accessible, and built to be copied by every ministry.
74
+
75
+ **Key Characteristics:**
76
+ - Single government blue: solid fill `#0017c1` for actions, deeper `#00118f` for text-on-white links/headings
77
+ - Noto Sans JP as the mandated open-source CJK typeface — consistent cross-device government rendering
78
+ - Near-black `#333333` body text instead of pure black — softer for long-form civic reading
79
+ - Generous CJK line-height (1.7 on 17px body) for kanji/kana legibility
80
+ - Flat, shadow-free system — `box-shadow: none`; separation via `#949494` hairlines and grey surfaces
81
+ - Restrained radius scale (8px inputs/buttons, 16px cards) — approachable but institutional
82
+ - Semantic colour reserved for meaning only — error red `#ec0000`, success green `#197a4b`
83
+ - Accessibility-first: high contrast, large 48–56px touch targets, CC BY 4.0 openness
84
+
85
+ ## 2. Color Palette & Roles
86
+
87
+ ### Primary
88
+ - **Government Blue** (`#0017c1`): Primary action colour. Solid fill on the search-submit button (`rgb(0, 23, 193)`), and the 1px border + text colour of outline buttons. The system's single "action" hue.
89
+ - **Link Blue** (`#00118f`): Deeper navy-blue (`rgb(0, 17, 143)`) used for all text-on-white links, card headings (H3), and inline link buttons. The text-weight companion to the fill blue, tuned for contrast against white.
90
+ - **Pure White** (`#ffffff`): Page background, card surfaces, text on the blue fill.
91
+
92
+ ### Text Hierarchy
93
+ - **Ink** (`#333333`): Default body and heading text (`rgb(51, 51, 51)`) — near-black, the dominant foreground colour across the page.
94
+ - **Ink Strong** (`#1a1a1a`): Input field text (`rgb(26, 26, 26)`) — a slightly deeper near-black for entered values.
95
+ - **Pure Black** (`#000000`): Occasional maximum-contrast text accent.
96
+ - **Muted** (`#666666`): Secondary text and the homepage search-input border (`rgb(102, 102, 102)`).
97
+ - **Muted Alt** (`#767676`): Tertiary / placeholder-level grey (`rgb(118, 118, 118)`), the minimum AA-passing grey on white.
98
+
99
+ ### Surface & Borders
100
+ - **Hairline** (`#949494`): Card and container border (`rgb(148, 148, 148)`) — the primary separation device in this shadow-free system.
101
+ - **Surface Grey** (`#f2f2f2`): Flat tinted surface (`rgb(242, 242, 242)`) for content blocks and code samples.
102
+ - **Surface Alt** (`#e6e6e6`): A darker grey surface (`rgb(230, 230, 230)`) for alternating / nested blocks.
103
+ - **Tint Blue** (`#e8f1fe`): Soft blue tint (`rgb(232, 241, 254)`) for informational chips and hover backgrounds.
104
+ - **Tint Blue Selected** (`#d9e6ff`): Stronger blue tint (`rgb(217, 230, 255)`) for selected/active states.
105
+
106
+ ### Semantic
107
+ - **Error Red** (`#ec0000`): Error text and destructive indicators (`rgb(236, 0, 0)`).
108
+ - **Success Green** (`#197a4b`): Success and confirmation indicators (`rgb(25, 122, 75)`).
109
+
110
+ ## 3. Typography Rules
111
+
112
+ ### Font Family
113
+ - **Primary**: `Noto Sans JP`, declared as the stack `"Noto Sans", "Noto Sans JP", -apple-system, system-ui, sans-serif`. The open-source CJK typeface is mandated so every government surface renders identically without font-licensing barriers.
114
+
115
+ ### Hierarchy
116
+
117
+ | Role | Font | Size | Weight | Line Height | Notes |
118
+ |------|------|------|--------|-------------|-------|
119
+ | Section Heading (H2) | Noto Sans JP | 32px (2.00rem) | 700 | 1.50 (48px) | Major section titles |
120
+ | Page Title (H1) | Noto Sans JP | 20px (1.25rem) | 700 | 1.50 | Site/page title in header |
121
+ | Card Heading (H3) | Noto Sans JP | 20px (1.25rem) | 700 | 1.50 | Card titles, in Link Blue `#00118f` |
122
+ | Body Large | Noto Sans JP | 17px (1.06rem) | 400 | 1.70 (28.9px) | Default body — generous CJK leading |
123
+ | Body / UI | Noto Sans JP | 16px (1.00rem) | 400 | 1.50 | Nav links, body UI text |
124
+ | Button | Noto Sans JP | 16px (1.00rem) | 700 | 1.50 | Button labels — Bold |
125
+
126
+ ### Principles
127
+ - **Weight carries hierarchy, not just size**: Headings are Bold (700) while body stays Regular (400); the jump from 16px body to 20px heading is modest, so weight does the heavy lifting.
128
+ - **Generous CJK leading**: The 17px body runs at 1.70 line-height (28.9px) — wide leading gives kanji and kana density room to remain legible.
129
+ - **One typeface, every surface**: Noto Sans JP is the sole family. No display/body split, no decorative type — consistency across ministries and devices is the goal.
130
+ - **Civic restraint**: No italics, no condensed weights, no letter-spacing tricks. The type reads as neutral, official, and accessible.
131
+
132
+ ## 4. Component Stylings
133
+
134
+ ### Buttons
135
+
136
+ **Filled (Primary)**
137
+ - Background: `#0017c1`
138
+ - Text: `#ffffff`
139
+ - Radius: 8px
140
+ - Padding: 8px 16px
141
+ - Height: 48px
142
+ - Font: 16px Noto Sans JP weight 700
143
+ - Hover: `#00118f` background
144
+ - Use: Primary action — search submit ("検索"), key CTAs
145
+
146
+ **Outline (Secondary)**
147
+ - Background: `#ffffff`
148
+ - Text: `#0017c1`
149
+ - Border: 1px solid `#0017c1`
150
+ - Radius: 8px
151
+ - Padding: 12px 16px
152
+ - Height: 56px
153
+ - Font: 16px Noto Sans JP weight 700
154
+ - Hover: `#e8f1fe` background tint
155
+ - Use: Secondary actions — section anchor links ("ヘッダーコンテナ: 概要")
156
+
157
+ **Text Link**
158
+ - Text: `#00118f`
159
+ - Font: 17px Noto Sans JP weight 400
160
+ - Use: Inline link button (e.g. "v2.0.0以降のFigmaファイル")
161
+
162
+ ### Inputs & Forms
163
+
164
+ **Text Input / Search Box**
165
+ - Background: `#ffffff`
166
+ - Text: `#1a1a1a`
167
+ - Border: 1px solid `#666666`
168
+ - Radius: 8px
169
+ - Padding: 0 16px (48px left pad when icon present)
170
+ - Height: 48px
171
+ - Font: 16px Noto Sans JP weight 400
172
+ - Focus: blue `#0017c1` border
173
+ - Use: Search box and standard text fields
174
+
175
+ ### Cards & Containers
176
+
177
+ **Navigation Card**
178
+ - Background: `#ffffff`
179
+ - Text: `#333333`
180
+ - Border: 1px solid `#949494`
181
+ - Radius: 16px
182
+ - Padding: 24px
183
+ - Use: Content navigation cards (はじめに / ガイダンス / 基本デザイン) — heading in Link Blue `#00118f`, no shadow
184
+
185
+ ### Badges & Chips
186
+
187
+ **Informational Chip**
188
+ - Background: `#e8f1fe`
189
+ - Text: `#00118f`
190
+ - Radius: 8px
191
+ - Font: 16px Noto Sans JP weight 400
192
+ - Use: Selected / informational chip tint
193
+
194
+ **Error Indicator**
195
+ - Text: `#ec0000`
196
+ - Font: 16px Noto Sans JP weight 400
197
+ - Use: Field-level error message colour
198
+
199
+ ### Navigation
200
+ - Background: `#ffffff`
201
+ - Text: `#333333`
202
+ - Font: 16px Noto Sans JP weight 400
203
+ - Padding: 10px 16px
204
+ - Active: Link Blue `#00118f` text + 2px bottom border `#0017c1`
205
+ - Use: Top horizontal header nav (はじめに / ガイダンス / 基本デザイン / コンポーネント / リソース / お知らせ)
206
+
207
+ ---
208
+
209
+ **Verified:** 2026-06-17 (omd:add-reference CREATE — Tier 1 live inspect)
210
+ **Tier 1 sources:** https://design.digital.go.jp/ (DADS homepage, live computed style); https://design.digital.go.jp/dads/components/button/ (button component page, live computed style — filled/outline buttons + semantic colour scan)
211
+ **Tier 2 sources:** getdesign.md/digital-agency-jp — not listed (government DS, outside coverage); styles.refero.design — not listed
212
+ **Conflicts unresolved:** none
213
+
214
+ ## 5. Layout Principles
215
+
216
+ ### Spacing System
217
+ - Base unit: 8px
218
+ - Scale: 4px, 8px, 12px, 16px, 24px, 32px, 48px, 64px
219
+ - Notable: Card padding lands at 24px (measured); nav items use 10px/16px padding for comfortable 44px+ touch targets
220
+
221
+ ### Grid & Container
222
+ - Centered content column with a fixed header containing the title, nav, and search box
223
+ - The homepage groups system entry points as a grid of bordered navigation cards (16px radius, `#949494` hairline)
224
+ - Sections separate by flat grey surfaces (`#f2f2f2`, `#e6e6e6`) and hairlines rather than elevation
225
+ - Component docs use a left rail + content layout typical of documentation systems
226
+
227
+ ### Whitespace Philosophy
228
+ - **Clarity over density**: Government content prioritises scannability — generous vertical rhythm and 1.7 body leading keep dense Japanese text readable.
229
+ - **Flat segmentation**: blocks separate by background tint and `#949494` hairlines, never by shadow.
230
+ - **Touch-first sizing**: interactive targets sit at 44–56px tall for accessibility on touch devices.
231
+
232
+ ### Border Radius Scale
233
+ - Small (8px): buttons, inputs, chips — the workhorse
234
+ - Medium (16px): cards and content containers
235
+ - Full (9999px): pills where used
236
+
237
+ ## 6. Depth & Elevation
238
+
239
+ | Level | Treatment | Use |
240
+ |-------|-----------|-----|
241
+ | Flat (Level 0) | No shadow | Page background, inline text, most surfaces |
242
+ | Tint (Level 1) | `#f2f2f2` / `#e6e6e6` background shift | Block / section separation without elevation |
243
+ | Hairline (Level 2) | `1px solid #949494` border | Card and container outlines, dividers |
244
+
245
+ **Shadow Philosophy**: DADS is a near-shadowless system. Live inspection found `box-shadow: none` across the hero, header, navigation cards, and buttons. Depth and grouping are communicated entirely through flat tinted surfaces (`#f2f2f2`, `#e6e6e6`) and thin `#949494` hairlines. This is a deliberate accessibility-and-performance choice: flat surfaces render predictably across the full range of government-citizen devices, avoid the visual noise of stacked shadows, and keep focus on content and high-contrast colour. When emphasis is needed, the system reaches for the blue (`#0017c1` fill / `#00118f` text) or the blue tints (`#e8f1fe`, `#d9e6ff`), never elevation.
246
+
247
+ ## 7. Do's and Don'ts
248
+
249
+ ### Do
250
+ - Use solid government blue (`#0017c1`) for filled primary actions and outline-button borders/text
251
+ - Use the deeper Link Blue (`#00118f`) for all text-on-white links and card headings
252
+ - Use Noto Sans JP across every surface — it's the mandated open-source CJK typeface
253
+ - Use near-black `#333333` for body text instead of pure black
254
+ - Give body text generous line-height (1.7 on 17px) for CJK legibility
255
+ - Separate content with `#949494` hairlines and `#f2f2f2`/`#e6e6e6` grey surfaces, not shadows
256
+ - Keep radius restrained — 8px on buttons/inputs/chips, 16px on cards
257
+ - Reserve red (`#ec0000`) and green (`#197a4b`) strictly for error/success meaning
258
+ - Keep touch targets large (44–56px) for accessibility
259
+
260
+ ### Don't
261
+ - Add a second accent hue — blue is the only brand colour; colour beyond it must carry meaning
262
+ - Use drop shadows for elevation — DADS is a flat, shadow-free system
263
+ - Use pure black (`#000000`) for body text — reserve near-black `#333333`
264
+ - Use the fill blue (`#0017c1`) for small text on white where contrast is tight — use Link Blue `#00118f`
265
+ - Substitute a non-CJK or licensed font — Noto Sans JP is mandated for cross-device consistency
266
+ - Use sharp 0px corners or oversized radii — stay in the 8–16px range
267
+ - Crowd Japanese text with tight line-height — keep CJK leading generous
268
+ - Use red or green decoratively — they are semantic-only
269
+
270
+ ## 8. Responsive Behavior
271
+
272
+ ### Breakpoints
273
+ | Name | Width | Key Changes |
274
+ |------|-------|-------------|
275
+ | Mobile | <768px | Single column, header collapses to hamburger, cards stack |
276
+ | Tablet | 768-1024px | Moderate padding, 2-up card grid |
277
+ | Desktop | >1024px | Full layout, multi-column card grid, persistent header nav |
278
+
279
+ ### Touch Targets
280
+ - Buttons at 48–56px height with 8–16px padding — comfortably tappable
281
+ - Search input at 48px height with a clear 48px icon affordance
282
+ - Nav items with 10px/16px padding land at 44px tall — meeting accessibility minimums
283
+
284
+ ### Collapsing Strategy
285
+ - Header nav: horizontal links → hamburger menu button on mobile
286
+ - Navigation card grid: multi-column → 2-up → stacked single column
287
+ - Section headings (32px) reduce on mobile while weight 700 is maintained
288
+ - Grey/white alternating sections maintain full-width treatment
289
+
290
+ ### Image Behavior
291
+ - Figma/component preview images and diagrams carry no shadow at any size, consistent with the flat system
292
+ - Cards maintain 16px radius across breakpoints
293
+
294
+ ## 9. Agent Prompt Guide
295
+
296
+ ### Quick Color Reference
297
+ - Primary action (filled): Government Blue (`#0017c1`)
298
+ - Link / heading text: Link Blue (`#00118f`)
299
+ - Background: Pure White (`#ffffff`)
300
+ - Body text: Ink (`#333333`)
301
+ - Input text: Ink Strong (`#1a1a1a`)
302
+ - Muted text / border: Muted (`#666666`), Muted Alt (`#767676`)
303
+ - Hairline: `#949494`
304
+ - Surfaces: Surface Grey (`#f2f2f2`), Surface Alt (`#e6e6e6`)
305
+ - Blue tints: `#e8f1fe`, `#d9e6ff`
306
+ - Error: Red (`#ec0000`), Success: Green (`#197a4b`)
307
+
308
+ ### Example Component Prompts
309
+ - "Create a government service header on white. Title at 20px Noto Sans JP weight 700, color #333333. Horizontal nav links at 16px weight 400, #333333, active item gets #00118f text + 2px bottom border #0017c1. Search box: white bg, 1px solid #666666 border, 8px radius, 48px tall, with a filled blue submit button (#0017c1 bg, white text, 8px radius, 16px weight 700)."
310
+ - "Design a navigation card: white background, 1px solid #949494 border, 16px radius, 24px padding, no shadow. Heading at 20px Noto Sans JP weight 700 in #00118f. Body at 17px weight 400, line-height 1.7, #333333."
311
+ - "Build an outline button: white bg, 1px solid #0017c1 border, #0017c1 text, 8px radius, 16px Noto Sans JP weight 700, 56px tall. Hover fills #e8f1fe."
312
+ - "Create a form field with error: input at white bg, 1px solid #666666, 8px radius, 48px tall; on error show #ec0000 message text below at 16px Noto Sans JP."
313
+
314
+ ### Iteration Guide
315
+ 1. Blue is the only brand colour — `#0017c1` for fills/borders, `#00118f` for text links and headings
316
+ 2. Noto Sans JP everywhere; weight 700 for headings/buttons, 400 for body
317
+ 3. No shadows — separate with `#949494` hairlines and `#f2f2f2`/`#e6e6e6` surfaces
318
+ 4. Body text is `#333333` (never pure black); give it 1.7 line-height for CJK
319
+ 5. Radius stays 8px (buttons/inputs/chips) to 16px (cards)
320
+ 6. Red `#ec0000` and green `#197a4b` are semantic-only — never decorative
321
+ 7. Keep touch targets 44–56px for accessibility
322
+
323
+ ---
324
+
325
+ ## 10. Voice & Tone
326
+
327
+ DADS's voice is **plain, neutral, and accessible** — the register of a public institution that must be understood by every citizen regardless of digital fluency. Copy is functional Japanese: section labels are direct nouns ("はじめに" / Introduction, "ガイダンス" / Guidance, "基本デザイン" / Basic Design, "コンポーネント" / Components), and instructions favour clarity over personality. There is no marketing tone, no superlatives, no exclamation — the system documents itself with the calm precision of a public manual.
328
+
329
+ | Context | Tone |
330
+ |---|---|
331
+ | Section / nav labels | Direct nouns. "はじめに", "ガイダンス", "コンポーネント", "リソース". |
332
+ | Component docs | Explanatory and precise — what the component is, when to use it, accessibility notes. |
333
+ | CTAs / actions | Plain imperatives. "検索" (Search). No hype. |
334
+ | Accessibility guidance | Concrete and rule-based — states the requirement plainly. |
335
+ | Versioning / notices | Factual. "デジタル庁デザインシステムβ版 v2.14.0" — states the version and beta status openly. |
336
+
337
+ **Voice samples (verbatim from live site):**
338
+ - "デジタル庁デザインシステムβ版" — site title, states beta status openly. *(verified live 2026-06-17, document.title)*
339
+ - "デジタル庁デザインシステムの構成" ("Composition of the Digital Agency Design System") — section H2, neutral explanatory framing. *(verified live 2026-06-17)*
340
+ - "本ウェブサイトのコンテンツ" ("Contents of this website") — section H2, plain descriptive label. *(verified live 2026-06-17)*
341
+
342
+ **Forbidden register**: marketing superlatives, emotional appeals, exclamation-heavy hype, undefined jargon, anything that reads as promotional rather than informational. Government content is for everyone — clarity beats cleverness.
343
+
344
+ ## 11. Brand Narrative
345
+
346
+ The Digital Agency Design System (デジタル庁デザインシステム, DADS) is published by **Japan's Digital Agency (デジタル庁)**, the government body established on **September 1, 2021** to lead the digital transformation of Japan's public sector and to standardise the quality of government digital services. DADS exists to solve a structural problem: across hundreds of ministries, agencies, and local governments, public websites and services had been built inconsistently — varying in accessibility, usability, and trust. A shared, open design system lets every government team build services that are consistent, accessible, and recognisably part of the same trustworthy whole.
347
+
348
+ DADS is published openly at `design.digital.go.jp/dads/` under a **CC BY 4.0** licence, with design language, accessibility and usability guidelines, Figma libraries, and ready-to-use HTML and React component snippets. The "β版" (beta) labelling — visible in the live header as "v2.14.0" — is itself a statement of posture: the system is iterated in public, versioned transparently, and treated as evolving infrastructure rather than a finished brand artifact.
349
+
350
+ What DADS refuses, visible in its design: the visual flourish and persuasion of consumer branding (no second accent colour, no shadows, no decorative type) and the inconsistency of ad-hoc government sites. What it embraces: a single high-contrast government blue, the mandated open-source Noto Sans JP for universal CJK rendering, generous accessible spacing, and an openness (CC BY 4.0, public versioning) that mirrors its civic mission — design as shared public infrastructure.
351
+
352
+ ## 12. Principles
353
+
354
+ 1. **Accessibility is the baseline, not a feature.** High contrast, large touch targets, and a mandated legible CJK typeface are non-negotiable. *UI implication:* meet WCAG contrast (Link Blue `#00118f` for text on white), keep targets 44px+, never rely on colour alone to convey meaning.
355
+ 2. **One blue, meaning-only colour.** A single brand blue carries identity; every other colour must mean something. *UI implication:* use `#0017c1`/`#00118f` for brand and action; reserve red `#ec0000` and green `#197a4b` strictly for error/success.
356
+ 3. **Consistency across every ministry.** The system's value is that a citizen recognises the same patterns everywhere. *UI implication:* reuse the documented components and tokens verbatim; do not invent local variants.
357
+ 4. **Flat clarity over decoration.** Trust comes from legibility, not visual flourish. *UI implication:* no shadows; separate with hairlines and grey surfaces; keep type and layout calm.
358
+ 5. **Open and iterated in public.** CC BY 4.0, public versioning, and a β posture make the system improvable by everyone. *UI implication:* design for reuse and forking; document rationale and accessibility notes alongside every component.
359
+
360
+ ## 13. Personas
361
+
362
+ *Personas below are fictional archetypes informed by publicly observable DADS user segments (government service teams, ministry developers, and the citizens they serve), not individual people.*
363
+
364
+ **佐藤 健, 38, 東京.** A front-end developer on a ministry digital-services team. Pulls DADS HTML/React snippets and Figma libraries to build a public-benefit application form. Values that the components ship with accessibility built in, so he doesn't have to re-derive contrast ratios and focus states for every project.
365
+
366
+ **田中 美咲, 45, 大阪.** A service designer at a local government office modernising a citizen-facing portal. Uses the DADS guidelines to justify design decisions to non-design stakeholders — the documented rationale and the CC BY 4.0 openness make it easy to adopt without procurement friction.
367
+
368
+ **鈴木 一郎, 67, 地方都市.** A citizen using a government service on an older Android phone with larger text settings. Never sees DADS by name, but benefits directly: high-contrast blue links he can read, large tappable buttons, and a calm uncluttered layout that doesn't overwhelm him.
369
+
370
+ ## 14. States
371
+
372
+ | State | Treatment |
373
+ |---|---|
374
+ | **Empty (no results)** | White canvas. Single Ink (`#333333`) line at body size explaining no matching results, with one filled blue (`#0017c1`) action to adjust the query. No decorative illustration. |
375
+ | **Empty (no saved items)** | Muted (`#666666`) single line stating nothing is saved yet, plus a plain path back. Calm and factual. |
376
+ | **Loading (content fetch)** | Skeleton blocks on `#f2f2f2` tinted surface at final dimensions, 16px radius. Flat pulse — no shadow shimmer, consistent with the shadowless system. |
377
+ | **Loading (in-place)** | Inline progress; previous content stays visible. No full-screen blocking. |
378
+ | **Error (request failed)** | Inline message in Error Red `#ec0000` with a plain-language explanation of what happened and what to do next. Never a bare generic error. |
379
+ | **Error (form validation)** | Field-level message in `#ec0000` below the input; input border shifts to indicate the error. Describes what is valid, not just "必須" (required). |
380
+ | **Success (action completed)** | Brief confirmation in Success Green `#197a4b` with next-step detail linked below. No celebratory flourish. |
381
+ | **Skeleton** | `#f2f2f2` blocks at final dimensions, 16px radius, flat pulse. |
382
+ | **Disabled** | Muted Alt (`#767676`) text on a reduced-contrast surface; the affordance is clearly non-interactive while remaining readable. |
383
+ | **Focus** | Visible focus ring in government blue `#0017c1` on every interactive element — a hard accessibility requirement. |
384
+
385
+ ## 15. Motion & Easing
386
+
387
+ **Durations**:
388
+
389
+ | Token | Value | Use |
390
+ |---|---|---|
391
+ | `motion-fast` | 120ms | Hover, focus, press |
392
+ | `motion-standard` | 200ms | Disclosure/accordion expand, dropdown, sheet |
393
+ | `motion-slow` | 320ms | Page-level transitions |
394
+
395
+ **Easings**:
396
+
397
+ | Token | Curve | Use |
398
+ |---|---|---|
399
+ | `ease-enter` | `cubic-bezier(0.2, 0.6, 0.25, 1)` | Arriving — disclosures, dropdowns, sheets |
400
+ | `ease-exit` | `cubic-bezier(0.4, 0.0, 1, 1)` | Dismissals |
401
+ | `ease-standard` | `cubic-bezier(0.25, 0.1, 0.25, 1)` | Two-way transitions |
402
+
403
+ **Motion rules**: Motion is minimal, functional, and quiet — consistent with an accessibility-first government system. Disclosures and accordions expand at `motion-standard / ease-enter`; hover and focus respond at `motion-fast`. No bounce, no spring, no decorative animation — public infrastructure signals steadiness and predictability. Under `prefers-reduced-motion: reduce`, all transitions collapse to instant and the interface remains fully functional. Motion must never be the sole carrier of meaning.
404
+
405
+ <!--
406
+ OmD v0.1 Sources — Philosophy Layer (sections 10–15)
407
+
408
+ Tier 1 live inspect (2026-06-17) via playwright getComputedStyle:
409
+ - https://design.digital.go.jp/ (DADS homepage) — title "デジタル庁デザインシステムβ版",
410
+ body Noto Sans JP / 17px / line-height 28.9px (1.70) / color rgb(51,51,51) #333333;
411
+ search submit button bg rgb(0,23,193) #0017c1 / white text / 8px radius / weight 700;
412
+ search input bg #ffffff / 1px solid rgb(102,102,102) #666666 / 8px radius / 48px / text rgb(26,26,26) #1a1a1a;
413
+ nav links color rgb(51,51,51) / 16px / 10px 16px padding; section H2 32px/700;
414
+ card H3 color rgb(0,17,143) #00118f / 20px / 700; navigation card bg #ffffff /
415
+ 1px solid rgb(148,148,148) #949494 / 16px radius / 24px padding / box-shadow none.
416
+ - https://design.digital.go.jp/dads/components/button/ (button component page) —
417
+ filled button rgb(0,23,193) #0017c1 white text 8px; outline button bg #ffffff /
418
+ 1px solid rgb(0,23,193) / text rgb(0,23,193) / 8px radius / 56px / 12px 16px padding;
419
+ colour scan surfaced rgb(232,241,254) #e8f1fe, rgb(217,230,255) #d9e6ff tints,
420
+ rgb(236,0,0) #ec0000 error, rgb(25,122,75) #197a4b success, rgb(242,242,242) #f2f2f2,
421
+ rgb(230,230,230) #e6e6e6 surfaces, rgb(118,118,118) #767676 muted.
422
+
423
+ Token-level claims (§1-9) are sourced from this live inspection.
424
+
425
+ Voice samples (§10) are verbatim from the live site (document.title and section H2 headings).
426
+
427
+ Brand narrative (§11): Japan's Digital Agency (デジタル庁) was established September 1, 2021;
428
+ DADS is published at design.digital.go.jp/dads under CC BY 4.0 with Figma + HTML/React
429
+ snippets and accessibility/usability guidelines (per the homepage and the brief's Tier 1
430
+ hints). The β/version posture ("β版 v2.14.0") is verbatim from the live header.
431
+
432
+ Personas (§13) are fictional archetypes informed by publicly observable DADS user segments
433
+ (government service teams, ministry developers, citizens). Names are illustrative; they do
434
+ not refer to real people.
435
+
436
+ Interpretive claims (e.g., "one blue, meaning-only colour", "flat clarity as a rejection of
437
+ consumer-branding flourish") are editorial readings connecting DADS's observed design to its
438
+ civic mission, not directly quoted Digital Agency statements.
439
+ -->