Full Color
Full Color is the AIUI visual specification for Rokid Color (Chinese name: 乐奇全彩眼镜). It combines white text, color accents, and clear outlines on a see-through display so users can read results quickly within a limited field of view.
Before adapting an existing agent, read the Full-Color Glasses Adaptation Guide. Continue using Monochrome for monochrome devices; keep the dimensions, type scales, and fill rules of each specification separate.
Core Design Constraints
Dimensions below use logical design units; text sizes use dp. In WXSS, use logical px values consistent with the theme rather than hardware physical pixels.
| Item | Requirement |
|---|---|
| Full-screen reference | 480 × 352 |
| Card container reference | Width 480; height adapts to content |
| Text | 14–24 dp |
| Icons | At least 12 × 12 |
| Background | Theme background always pure black #000000; prefer transparent cards and controls |
| Large fills | Avoid large filled backgrounds; build structure with whitespace and outlines |
| Visible content alpha | At least 40% recommended |
| Outermost card | No border in any state; retain radius 12 and existing spacing |
| Internal cards | Radius 12, 1px white inside stroke at alpha 30% |
| Selected or focused internal cards | White stroke at alpha 100%, with width remaining 1px |
| Card padding | 10 horizontally and 24 vertically between content and border |
| FOV clearance | 10 between cards and FOV edges |
| Dividers | Width 1, alpha 40% |
“30% opacity” here means a color alpha of 0.3, or rgba(255,255,255,0.3) for the default internal card border. Internal card borders are exempt from the recommended 40% foreground minimum, as are transparent containers and black backgrounds. Text and icons retain the recommended minimum; dividers remain at 40% alpha.
Black and See-Through Rendering
Pure black appears transparent on the glasses. It cannot act as an opaque panel that blocks the real world. Do not use black text, or low-brightness dark gray, dark blue, and similar colors for essential text, icons, or lines.
A black page background and transparent cards form the baseline. Prefer white or clearly visible bright colors for essential content, and verify them against bright and complex real backgrounds. Contrast in a black desktop preview does not establish readability on the glasses.
Color System
The following values are key defaults in the built-in full-color theme. Semantic colors support status communication; errors, success, and selection should retain text, icon, or shape cues.
| Token | Use | Default |
|---|---|---|
--color-background | Page background | #000000 |
--color-surface / --color-surface-highlight | Container and highlighted-container backgrounds | transparent |
--color-text-primary | Body and essential text | #ffffff |
--color-text-secondary | Secondary text | rgba(255,255,255,0.6) |
--color-primary | Primary accent | #66b3ff |
--color-secondary / --border-color-success | Secondary accent and success | #80e6b0 |
--border-color-danger | Error indication | #ff8080 |
--border-color-warning | Warning indication | #ffd966 |
--border-color-highlight | Category accent | #c4a6ff |
--border-color-default | Default control borders | rgba(255,255,255,0.6) |
--border-color-muted | Muted borders and dividers | rgba(255,255,255,0.4) |
--border-color-strong | Selected and focused borders | #ffffff |
Set color alpha on individual text or borders instead of applying opacity: 0.4 to an entire card. Parent opacity also weakens child content and can reduce an already translucent foreground below the readability baseline.
Recommended Palette
These colors come from the design reference and are optional recommendations, not built-in theme token defaults. A family and column number form the color name, for example cyan5. Choose or override colors explicitly; the existing theme defaults remain as listed above.
| Family | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 |
|---|---|---|---|---|---|---|---|---|---|---|
| Cyan | cyan1 | cyan2 | cyan3 | cyan4 | cyan5 | cyan6 | cyan7 | cyan8 | cyan9 | cyan10 |
| Green | green1 | green2 | green3 | green4 | green5 | green6 | green7 | green8 | green9 | green10 |
| Violet | violet1 | violet2 | violet3 | violet4 | violet5 | violet6 | violet7 | violet8 | violet9 | violet10 |
| Red | red1 | red2 | red3 | red4 | red5 | red6 | red7 | red8 | red9 | red10 |
| Gray | gray1 | gray2 | gray3 | gray4 | gray5 | gray6 | gray7 | gray8 | gray9 | gray10 |
| Yellow | yellow1 | yellow2 | yellow3 | yellow4 | yellow5 | yellow6 | yellow7 | yellow8 | yellow9 | yellow10 |
The transparent white scale uses white with the following alpha values:
| Token | Alpha | Color |
|---|---|---|
white1a | 0.04 | white1a |
white2a | 0.08 | white2a |
white3a | 0.12 | white3a |
white4a | 0.16 | white4a |
white5a | 0.24 | white5a |
white6a | 0.3 | white6a |
white7a | 0.4 | white7a |
white8a | 0.5 | white8a |
white9a | 0.6 | white9a |
white10a | 0.7 | white10a |
white11a | 0.8 | white11a |
white12a | 0.9 | white12a |
white | 1 | white |
| Role | Reference colors |
|---|---|
| Primary / secondary / tertiary / quaternary neutral | gray10 / gray7 / gray5 / gray3 |
| Primary accent | cyan5; weaker variants cyan3, cyan2 |
| Error | red5; weaker variants red3, red2 |
| Success | green5; weaker variants green3, green2 |
| Warning | yellow5; weaker variants yellow3, yellow2 |
| Violet base | violet5 |
These hierarchy levels are design references, not a guarantee of readability on a see-through display. Darker grays and weak semantic colors may be hard to see; reserve them for nonessential details unless verified on the target device. White alpha below 0.4 is unsuitable for essential visible foreground; internal card borders remain an exception at 0.3. Keep essential content clear, pair color with text, icons, or shape, and verify against real backgrounds.
Typography and Icons
| Level | Suggested Size | Theme Value |
|---|---|---|
| Major heading | 24 | --font-size-max; used by header by default |
| Card title | 20 | --card-title-font-size |
| Body and actions | 16 | Default for text, p, inputs, and buttons |
| Supporting information | 14 | --card-footer-font-size; minimum size --font-size-min |
| Icons | Default 16, minimum 12 × 12 | --icon-size-min |
These tokens and defaults do not automatically correct all custom content. Check explicitly styled text, text embedded in images, and Canvas annotations. Reduce information and split the flow when content does not fit, while preserving minimum text and icon sizes.
Cards, Spacing, and Focus
| Token | Current Theme Default (Override Card Borders Below) |
|---|---|
--app-width | 448px |
--card-margin | 10px |
--card-padding | 10px, horizontal content spacing |
--card-padding-y | 24px, vertical content spacing |
--card-radius | 12px |
--card-border-width | 2px |
--card-border-color | White at alpha 60% |
--card-focus-border-color | White at alpha 100% |
--card-divider-width / --card-divider-color | 1px / white at alpha 40% |
These are the current theme defaults; --app-width remains 448px. The new design reference is 480, so override it as needed and adapt to the available container. Override card borders to meet this specification: the outermost layout card has no border, and internal cards use a 1px white border at 30% alpha. Keep internal card focus and selection at 100% alpha. For example, apply these classes to the corresponding card elements in the full-color layout:
@media (color) {
:root {
--app-width: 480px;
}
.outer-card {
border: 0;
}
.inner-card {
margin: 0;
border: 1px solid rgba(255,255,255,0.3);
}
.inner-card:focus,
.inner-card:host-focus,
.inner-card.is-selected {
border-color: #ffffff;
}
}
Use 480 × 352 as the full-screen reference. The card container reference width is 480; its height adapts to content and available space. The width describes the container, not its inner content: include FOV clearance, padding, and borders in the available space.
Adapt layouts to the actual container width and height; do not fix card height to 352. Budget for margins, borders, padding, titles, and actions together. Split, paginate, or scroll overflow content instead of simply hiding it with overflow: hidden.
Apply visible :focus and :host-focus styling to interactive internal cards; keep the outermost layout card borderless. Maintain business selection state separately, and do not rely only on hover or color changes. See the Focus System.
Component and Asset Baselines
- Cards, buttons, and inputs: Prefer transparent backgrounds and white text. Keep the outermost card borderless, use the internal card outline above, and retain existing button and input outlines. Make interactive focus visible.
- Images and icons: Prefer clear silhouettes and recognizable subjects. Use transparent backgrounds for decorative assets, and avoid large background blocks or dark details.
- Charts: Prefer lines and outline shapes. Support colors with labels, units, and legends; avoid large solid areas.
- Maps: Prioritize routes, positions, and essential labels instead of filling the field of view with colored surfaces.
- Errors and empty states: Explain the state and next action briefly, with icons or outlines as well as color.
Delivery Checks
Check the content area, text, icons, padding, margins, and focus against the values above. Inspect black and dark details, compounded opacity, and large fills. Finally, verify reading, confirmation, back navigation, and scrolling on the target glasses under different lighting conditions and real backgrounds.
For implementation, see the Full-Color Glasses Adaptation Guide. For troubleshooting and refinement, see the Full-Color Optimization Guide.
Design Source
The complete design.md-format source is design/fullcolor/design.md. It includes YAML token definitions, component patterns, states, theme mapping, and acceptance requirements. Keep the source and both language versions of this page aligned when changing the specification.
See preview-color.html for the full-color visual preview. Download it and open it directly in a browser; no build step is required.