本文へスキップ
Kitbay
スキル

Shade dropdown surface contract

MIT2026年11月11日 更新55,770GitHubスター

A short rule skill in the Ghost repository for Shade, Ghost's component library.

スキルの内容

A short rule skill in the Ghost repository for Shade, Ghost's component library. It fires when an agent edits the dropdown menu, select or popover component files and keeps the three floating surfaces visually identical: the second elevated background, a semi-transparent border that is lighter in dark mode, medium shadow, medium rounding and the standard Radix open-state animation. A change to one must be made to all three. The only exception is the dropdown submenu, which gets a larger shadow so it stands out from its parent. Menu items use the shared hover token rather than raw greys, and a fourth such component would justify extracting a shared recipe.

できること

  • Keep dropdown, select and popover styles in step
  • Apply Shade's elevated surface tokens
  • Flag raw grey hover classes