86 lines
5.8 KiB
Markdown
86 lines
5.8 KiB
Markdown
# Functional color requirements
|
|
|
|
[Interface design](ui-design.md#functional-color-and-complete-menu-checks) · [Decision UI-024](design-decisions.md#ui-024--assertive-functional-color-by-default)
|
|
|
|
RuneStone uses assertive color to help users recognize information, distinguish states, and identify themes.
|
|
This policy applies to human developers and agents across the host and all plugins.
|
|
Start with vivid functional colors. Choose softer colors only when a concrete requirement or measured problem supports that choice.
|
|
|
|
## What aggressive color selection means
|
|
|
|
Actively evaluate strong colors for accents, priority marks, status indicators, selection outlines, links, syntax, and important data.
|
|
Include high-saturation and high-value candidates. Treat 100% saturation and 100% HSV value as ordinary options when they serve the role.
|
|
Prefer the stronger candidate when readability, meaning, and distinction remain sound.
|
|
Do not automatically turn red into dusty coral, emerald into sage, gold into beige, or clear data colors into similar pastels.
|
|
|
|
Words such as quiet, refined, professional, premium, minimal, and cohesive do not set color limits.
|
|
Keep the layout focused through spacing, hierarchy, restrained repetition, and the amount of color on screen.
|
|
Use vivid colors where users must recognize identity, state, or meaning.
|
|
Set surfaces and dividers for their support role. There is no requirement to saturate every background, neutral, or text color.
|
|
A palette average is not a design target, and one bright token cannot excuse a mostly indistinct palette.
|
|
|
|
## Requirements by role
|
|
|
|
| Role | Requirement |
|
|
| --- | --- |
|
|
| Theme identity | Preserve characteristic hues and their strength from current references. |
|
|
| Priority and status | Use clear, assertive colors with opaque symbols. Pair color with shape or text. |
|
|
| Links and actions | Keep actionable text distinct and readable against its actual surface. |
|
|
| Selection and focus | Show a clear state change and boundary. Preserve readable content inside the selected area. |
|
|
| Syntax and data | Give different meanings distinct roles. Avoid several nearly identical muted colors. |
|
|
| Backgrounds and dividers | Support content and visible boundaries. Choose their strength by function rather than a palette-wide muting rule. |
|
|
| Disabled states | Distinguish unavailable actions while keeping labels readable. Do not apply their opacity to enabled content. |
|
|
|
|
Use shared theme tokens. Correct an inappropriate token at its source instead of adding local saturation or opacity overrides.
|
|
Do not fade an entire badge, row, or container when only its background needs transparency.
|
|
Keep meaningful foreground symbols and text opaque.
|
|
|
|
## References and known failures
|
|
|
|
Read the current reference cards and respect the user's stated source priority.
|
|
For Holo, prefer the current fan art. Exclude removed images from later palette decisions.
|
|
Separate characteristic colors from scenery, lighting, alternate clothing, and unrelated details.
|
|
The first trading screenshot and Bloomberg example demonstrate clear information and state distinctions. They do not prescribe a terminal-like appearance for RuneStone.
|
|
|
|
The October 13 review found specific problems:
|
|
|
|
- Holo used marshy green and pink roles that did not match the requested identity. Warm copper, chestnut, amber, and red replaced them.
|
|
- Asuka repeated green and similar cyan roles. Red, orange, yellow, and blue now carry clearer meanings.
|
|
- Malfoid used a sage accent and near-gray syntax. The emerald accent changed from about 29% saturation to 76%.
|
|
- Priority marks were too dark to draw attention. Their symbols now use full saturation and value with readable text.
|
|
|
|
These values record that correction. They are not universal quotas or fixed limits for future themes.
|
|
See the [menu and color review](menu-audit.md) for implementation evidence and image-surface limits.
|
|
|
|
## Readability and visual checks
|
|
|
|
Check contrast against the actual rendered background, including alpha, layered surfaces, images, overlays, and selected states.
|
|
HSV value is not perceived brightness or a contrast ratio. Full value does not guarantee readable text.
|
|
When contrast fails, compare foreground, background, local surface, and role changes before reducing color strength.
|
|
Preserve readable text and state recognition. Follow the project's accessibility thresholds and existing contrast checks.
|
|
Passing contrast alone does not prove useful color distinctions, theme identity, or effective priority emphasis.
|
|
|
|
Inspect screenshots at normal display scale. Check relevant light and dark appearances, narrow layouts, focus, hover, selection, and disabled states.
|
|
Check actual content, code, menus, and priority marks where the changed tokens appear.
|
|
Record unavailable checks and failures. Browser mocks do not replace native desktop acceptance.
|
|
|
|
## Evidence required for review
|
|
|
|
For each changed role, record:
|
|
|
|
| Field | Required evidence |
|
|
| --- | --- |
|
|
| Purpose | Meaning, theme reference, or recognition task |
|
|
| Implementation | Shared token and affected controls |
|
|
| Color | Old and new hex values, HSV saturation and value, and opacity |
|
|
| Readability | Foreground/background pairs, actual composite surface, and contrast results |
|
|
| Visual result | Normal-scale screenshots of affected states and layouts |
|
|
| Softer choice | Concrete requirement or measured problem, plus the stronger candidate considered |
|
|
|
|
A generic claim that muted colors look elegant or comfortable is insufficient.
|
|
Correct unexplained muting or record the unresolved issue before moving the work to Review.
|
|
Use the project's exception process for deliberate departures from this policy. A documented exception does not itself authorize the departure.
|
|
User acceptance still determines Done.
|
|
|
|
Agents also use the global `ui-functional-color` skill. This document supplies the project rules for contributors without that skill.
|