{"summary":"누르는 느낌이 있는 스큐어모픽 버튼 세트입니다. 다섯 단계의 위계, 다섯 겹의 재질, 호버와 누름에 따른 빛과 그림자의 변화를 다루며, 관리자 페이지와 도구형 제품에 적합합니다.","notes":"<p>플랫 버튼은 누를 때 보통 색이 조금 진해지는 정도라서, 빠르게 클릭하면 변화가 거의 보이지 않습니다. 스큐어모픽 버튼은 누르면 아래로 들어가고 위치, 그라데이션, 그림자가 함께 바뀌어, 사용자가 제대로 눌렀는지 확인할 수 있습니다. 핵심은 다음 다섯 가지입니다.</p>\n        <ol>\n        <li><strong>다섯 단계의 위계</strong>: 버튼은 많고 색은 적은 관리자 페이지, 편집기, 설정 페이지에 적합하며, 주와 부는 명암과 재질로만 구분합니다. 강한 것부터 primary는 짙은 슬레이트색 키, secondary는 볼록한 흰색 키, tertiary는 옅은 회색 키, ghost는 평소 배경색이 없는 버튼, text는 글자와 가는 밑줄만 있는 버튼입니다. 한 영역에는 primary를 하나만 둡니다.</li>\n        <li><strong>다섯 겹의 재질</strong>: 배경색이 있는 세 단계는 모두 같은 다섯 겹으로 이루어집니다. 위쪽이 6–8% 밝은 그라데이션 면, 그라데이션 아래쪽보다 한 단계 진한 1px 테두리, 위쪽의 흰색 하이라이트, 아래쪽의 어두운 선, 그리고 바닥에 붙은 그림자와 부드러운 드롭 섀도 두 겹입니다. 단계마다 값만 다르므로, 다섯 겹을 한 세트의 토큰으로 정의하고 단계별로 값을 지정합니다.</li>\n        <li><strong>호버와 누름</strong>: 호버하면 키 면이 한 단계 밝아지고 드롭 섀도가 커집니다. 누르면 1px 아래로 이동하고, 그라데이션의 위아래가 뒤집히며, 드롭 섀도는 바닥에 거의 붙을 만큼 줄고, 위쪽 하이라이트는 내부 그림자로 바뀝니다. 기본 상태와 누른 상태의 내부 그림자 겹 수를 같게 맞추고 모자라는 만큼 투명한 그림자로 채워야 그림자가 부드럽게 전환됩니다.</li>\n        <li><strong>광원과 색</strong>: 광원을 바로 위에 고정해 하이라이트는 항상 위쪽, 어두운 선은 항상 아래쪽에 두면, 버튼 전체가 같은 공간에 있는 것처럼 보입니다. 중립 회색만 쓰고 브랜드 색은 쓰지 않으며, 단계는 명암으로 구분합니다. 거울 같은 하이라이트, 외부 발광, 넓은 블러도 쓰지 않습니다.</li>\n        <li><strong>글자 크기에 맞춘 크기 조절</strong>: 높이, 안쪽 여백, 모서리 반경, 테두리, 그림자 각 겹의 오프셋과 블러를 모두 단위 u = 글자 크기 / 14의 배수로 씁니다. 글자가 14px이면 u = 1px이고 버튼 높이는 40px, 16px이면 u ≈ 1.14px이고 높이는 약 45.7px이며, 그림자도 같은 비율로 커집니다.</li>\n        </ol>\n        <h2>매개변수</h2>\n        <dl class=\"params\">\n        <dt>크기</dt><dd>레이블 14px, 높이 40px, 모서리 반경 10px, 좌우 여백 18px</dd>\n        <dt>누름</dt><dd>1px 아래로 이동, 드롭 섀도는 0 1px 1px로 줄어듦</dd>\n        <dt>시간</dt><dd>transform 120ms, 그림자 140ms, 색상 160ms</dd>\n        </dl>\n        <p>함께 제공하는 Prompt는 프로젝트에 있는 버튼 컴포넌트를 우선 개선하고, 기존 인터페이스와 접근성 설정은 그대로 유지합니다. 버튼 컴포넌트가 없을 때만 새로 만듭니다.</p>","prompt":"Define a tactile, skeuomorphic Button component with five variants, from\nstrongest to weakest: primary, secondary, tertiary, ghost, text.\nIf the project already has a component library or design system, do not\nadd a new component: restyle its existing Button through its own variant\nand token system, and keep its API, props and accessibility as they are.\nOtherwise create one reusable Button with `variant` and `size` props.\n\nStyle: calm and precise, like the Lumno browser extension and the Cloudflare\ndashboard. Neutral grays only, no brand hues. Lit from straight above.\nNo glossy Web 2.0 shine, no glow, no large blur.\n\nVariants:\n1. primary   - near-black slate face (#404859 -> #273042), white label\n2. secondary - raised white key (#FFFFFF -> #F4F5F7), dark gray label\n3. tertiary  - soft gray key (#F3F4F6 -> #E7E9EC), dark gray label\n4. ghost     - no face at rest; faint gray fill on hover; a recessed well\n               when pressed\n5. text      - gray label with a thin underline and an arrow that nudges\n               right on hover\n\nEvery filled variant is the same five material layers; only the values\nchange, so define them once as tokens and let each variant set its own:\n1. Face: 180deg linear gradient, top 6-8% lighter than bottom.\n2. Edge: 1px solid border one step darker than the bottom of the face\n   (primary #12161F, secondary rgba(15,23,42,.14), tertiary rgba(15,23,42,.1)).\n3. Top highlight: inset 0 1px 0 white (18% on slate, 85-100% on light\n   faces). Put every inset layer in the button's own box-shadow, before the\n   drop layers, never on a pseudo-element overlay: inset shadows on the\n   element follow the inner radius (outer radius minus border), so the\n   corners line up in every state.\n4. Bottom shade: inset 0 -1px 0 black (22% on slate, 6% on light faces).\n5. Drop shadow in two layers: a tight contact shadow 0 1px 2px plus a soft\n   lift 0 4px 10px -3px (18% and 28% on slate, about a third of that on\n   light faces).\n\nStates (hover, pressed/active, focus-visible, disabled):\n- Hover: face one step lighter; the lift grows to 0 8px 16px -5px.\n- Pressed: translateY(1px); flip the gradient (darker on top); the outer\n  shadow collapses to 0 1px 1px; the top highlight becomes an inner shadow,\n  inset 0 1px 2px black (40% on slate, 12-16% on light faces). Light faces\n  keep a 1px white line below, 0 1px 0 rgba(255,255,255,.9), like a key\n  pressed into paper.\n- Give rest and pressed the same number of inset layers (pad with\n  inset 0 0 0 transparent) so the shadow animates instead of jumping.\n- Focus-visible and disabled follow the library's existing conventions.\n- Timing: 120ms for transform, 140ms for shadows, 160ms for colors.\n\nSizes: all values above are for the 14px label size: height 40px,\npadding 0 18px, radius 10px, label weight 600, optional 16px leading icon.\nOn the slate face add a label text-shadow 0 -1px 0 rgba(0,0,0,.28).\nScale the material with the type, never keep it at fixed pixels: express\nevery length (height, padding, radius, border, icon, the 1px press offset,\nand every shadow offset, blur and spread) as a multiple of a size unit\nu = label size / 14. Provide two sizes: md (14px label, u = 1px) and\nlg (16px label, u = 16/14 px, so height 45.7px, radius 11.4px, lift shadow\n0 4.6px 11.4px -3.4px).","skill":"/skills/kubai-skeuomorphic-buttons/SKILL.md","skillText":"# 有按压反馈的拟物按钮\n\n《999 个小技巧，让你 Vibe 的产品更有质感》第 001 期 · @kubai087\n\n在用户的项目里按下面的要求改造。要求以用户的口吻写成：文中的 I、me、my 指用户；写着要先问的地方，先停下来问用户再继续。\n\n## 改造要求\n\nDefine a tactile, skeuomorphic Button component with five variants, from\nstrongest to weakest: primary, secondary, tertiary, ghost, text.\nIf the project already has a component library or design system, do not\nadd a new component: restyle its existing Button through its own variant\nand token system, and keep its API, props and accessibility as they are.\nOtherwise create one reusable Button with `variant` and `size` props.\n\nStyle: calm and precise, like the Lumno browser extension and the Cloudflare\ndashboard. Neutral grays only, no brand hues. Lit from straight above.\nNo glossy Web 2.0 shine, no glow, no large blur.\n\nVariants:\n1. primary   - near-black slate face (#404859 -> #273042), white label\n2. secondary - raised white key (#FFFFFF -> #F4F5F7), dark gray label\n3. tertiary  - soft gray key (#F3F4F6 -> #E7E9EC), dark gray label\n4. ghost     - no face at rest; faint gray fill on hover; a recessed well\n               when pressed\n5. text      - gray label with a thin underline and an arrow that nudges\n               right on hover\n\nEvery filled variant is the same five material layers; only the values\nchange, so define them once as tokens and let each variant set its own:\n1. Face: 180deg linear gradient, top 6-8% lighter than bottom.\n2. Edge: 1px solid border one step darker than the bottom of the face\n   (primary #12161F, secondary rgba(15,23,42,.14), tertiary rgba(15,23,42,.1)).\n3. Top highlight: inset 0 1px 0 white (18% on slate, 85-100% on light\n   faces). Put every inset layer in the button's own box-shadow, before the\n   drop layers, never on a pseudo-element overlay: inset shadows on the\n   element follow the inner radius (outer radius minus border), so the\n   corners line up in every state.\n4. Bottom shade: inset 0 -1px 0 black (22% on slate, 6% on light faces).\n5. Drop shadow in two layers: a tight contact shadow 0 1px 2px plus a soft\n   lift 0 4px 10px -3px (18% and 28% on slate, about a third of that on\n   light faces).\n\nStates (hover, pressed/active, focus-visible, disabled):\n- Hover: face one step lighter; the lift grows to 0 8px 16px -5px.\n- Pressed: translateY(1px); flip the gradient (darker on top); the outer\n  shadow collapses to 0 1px 1px; the top highlight becomes an inner shadow,\n  inset 0 1px 2px black (40% on slate, 12-16% on light faces). Light faces\n  keep a 1px white line below, 0 1px 0 rgba(255,255,255,.9), like a key\n  pressed into paper.\n- Give rest and pressed the same number of inset layers (pad with\n  inset 0 0 0 transparent) so the shadow animates instead of jumping.\n- Focus-visible and disabled follow the library's existing conventions.\n- Timing: 120ms for transform, 140ms for shadows, 160ms for colors.\n\nSizes: all values above are for the 14px label size: height 40px,\npadding 0 18px, radius 10px, label weight 600, optional 16px leading icon.\nOn the slate face add a label text-shadow 0 -1px 0 rgba(0,0,0,.28).\nScale the material with the type, never keep it at fixed pixels: express\nevery length (height, padding, radius, border, icon, the 1px press offset,\nand every shadow offset, blur and spread) as a multiple of a size unit\nu = label size / 14. Provide two sizes: md (14px label, u = 1px) and\nlg (16px label, u = 16/14 px, so height 45.7px, radius 11.4px, lift shadow\n0 4.6px 11.4px -3.4px).\n"}