Skip to main content

primer-slint-interaction-states

スター0
フォーク0
更新日2026年5月1日 08:03

Designs and implements Primer-style interaction styling in Slint using explicit state dimensions, mutex groups, and `states [ ]` blocks instead of nested ternary expressions. Covers TouchArea order vs FocusScope, `focus-on-click` for `:focus-visible`-style focus rings, hover/pressed/disabled/selected/focus. Use when adding or refactoring Primer components under packages/primer-slint/, complex controls (hover, pressed, disabled, selected, focus), or when the user asks for Checkbox-like state handling or token-driven visuals.

インストール

Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。

SKILL.md
readonly