<< All versions

Skill v1.0.1

currentLLM-judged scan90/100
io-gui/io/io-gui-colors

+1 new

──Details
PublishedOctober 16, 2026 at 09:36 PM
Content Hashsha256:d5911c2641db42e7...
Git SHA12267d144e0b
Bump Typepatch
Compare with v1.0.0
──Files
Files (1 file, 1023 B)
SKILL.md1023 Bactive
SKILL.md · 29 lines · 1023 B

version: "1.0.1" name: io-gui-colors description: >- Edit colors with IoColorPicker, IoColorRgba, and channel sliders using 0–1 ColorValue objects. Use when working with @io-gui/colors or color channel UI.


@io-gui/colors

Defaults

  • Import from @io-gui/colors.
  • Element value is ColorValue: {r,g,b,a?} each 0–1, plain object.
  • Compact UI: IoColorPicker → expands IoColorPanelSingleton. Inline per-channel number fields + picker: IoColorRgba.

Gotchas

  • Not core `Color`. Theme tokens use @io-gui/core Color. Do not assign Color instances as picker values.
  • Not 0–255 (conversion helpers may use 0–255 arrays at the boundary only).
  • Alpha slider only when value.a is defined.
  • Hue is preserved when S/V/L hit extremes that would lose hue in RGB round-trips.
  • Panel singleton lives in overlay; set source/expand from the picker — don't create ad-hoc panels.

Read next

← v1.0.0All versions