Color Well
Color Well
Un Color Well es un control pequeño que muestra el color actual. Al hacer clic, abre el selector de colores de macOS para poder cambiarlo.
Un ejemplo real
Un inspector de formas muestra su relleno en un pozo de color. Al pulsarlo se abre el panel de colores compartido, que incluye el cuentagotas.
Partes principales
- 01Etiqueta persistente
- 02Input control
- 03Hint or format
- 04Validation message
Úsalo cuando
Úsalo para un color que las personas puedan editar. Muestra el color actual y abre herramientas del sistema como paletas, perfiles o el cuentagotas.
No lo uses cuando
No lo uses para una marca de color de solo lectura. Usa otro control para una paleta de marca pequeña y fija. Nunca dejes que un solo color transmita un mensaje importante.
Nombre usado en código
AppKit NSColorWell / SwiftUI ColorPicker Antes de lanzarlo
Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion.
Outcome: Complete the task with Color Well (Color Well). User context: Un inspector de formas muestra su relleno en un pozo de color. Al pulsarlo se abre el panel de colores compartido, que incluye el cuentagotas. macOS concept or control: Color Well (Color Well). Why it fits: Úsalo para un color que las personas puedan editar. Muestra el color actual y abre herramientas del sistema como paletas, perfiles o el cuentagotas. Do not use it when: No lo uses para una marca de color de solo lectura. Usa otro control para una paleta de marca pequeña y fija. Nunca dejes que un solo color transmita un mensaje importante. Platform requirements: List the supported macOS versions. Say whether AppKit or SwiftUI owns each part and how they connect. Define window, menu, focus, keyboard, saved state, restore, and multi-window behavior. Platform accessibility and resilience: Use the right accessibility APIs. Check VoiceOver and Full Keyboard Access. Support localization, contrast, and reduced motion when needed. Keep user state after a relaunch. Acceptance criteria: Check the behavior on supported macOS versions with a keyboard and VoiceOver. Window resizing, focus, state restore, and AppKit or SwiftUI integration work in the normal macOS way. Evidence and limits (evidence boundary): Es oficial para esa fuente. Otras plataformas o equipos pueden usar el término de otra manera. Unknowns to confirm: Supported macOS versions, AppKit or SwiftUI structure, and window model. Also confirm sandbox and entitlement limits, save rules, and the accessibility goal.
Revisa esta petición
Review how Color Well (Color Well) is used now. Definition: Un Color Well es un control pequeño que muestra el color actual. Al hacer clic, abre el selector de colores de macOS para poder cambiarlo. Release checks: Check the supported macOS versions and AppKit or SwiftUI integration. Check standard focus and keyboard behavior. Also check VoiceOver, Full Keyboard Access, window resizing, and multi-window state. When needed, check restore, localization, and reduced motion. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.