{"summary":"Tıklama hissi veren skeuomorfik düğmeler: beş düzey, beş malzeme katmanı, üzerine gelme ve basmada ışık ve gölge; yönetim panelleri ve araç tipi ürünler için.","notes":"<p>Düz bir düğmeye basıldığında genellikle yalnızca rengi biraz koyulaşır ve hızlı tıklamalarda bu neredeyse fark edilmez; skeuomorfik bir düğme ise basıldığında aşağı iner, konumu, gradyanı ve gölgesi birlikte değişir, kullanıcı tıklamanın gerçekleştiğinden emin olur. Başlıca beş nokta şunlardır:</p>\n        <ol>\n        <li><strong>Beş düzey</strong>: düğmesi çok, rengi az olan yönetim panelleri, düzenleyiciler ve ayar sayfaları için uygundur; öncelik yalnızca açıklık-koyuluk ve malzemeyle ayırt edilir. Güçlüden zayıfa: primary koyu arduvaz renkli bir tuş, secondary yüksekte duran beyaz bir tuş, tertiary açık gri bir tuş, ghost normalde zeminsiz, text yalnızca metin ve ince bir alt çizgi; aynı alanda yalnızca bir primary bulunur.</li>\n        <li><strong>Beş malzeme katmanı</strong>: zemini olan üç düzeyin hepsi aynı beş katmandan oluşur: üstte %6–8 daha açık bir gradyan yüzey, gradyanın alt renginden bir ton koyu 1px kenar, üstte beyaz bir parlak çizgi, altta koyu bir çizgi ve yüzeye yapışık bir gölge ile yumuşak bir düşen gölgeden oluşan iki katman. Düzeyler arasında yalnızca değerler farklıdır; beş katman tek bir token grubu olarak tanımlanır, her düzey kendi değerlerini verir.</li>\n        <li><strong>Üzerine gelme ve basma</strong>: üzerine gelindiğinde tuş yüzeyi bir ton açılır, düşen gölge büyür. Basıldığında 1px aşağı iner, gradyan ters döner, düşen gölge neredeyse yüzeye yapışacak kadar daralır ve üstteki parlak çizgi bir iç gölgeye dönüşür. Normal ve basılı durumlarda iç gölge katman sayısı aynı olmalı, eksikler saydam gölgelerle tamamlanmalıdır; gölge ancak o zaman yumuşakça geçer.</li>\n        <li><strong>Işık ve renk</strong>: ışık kaynağı sabit olarak tam yukarıdadır; parlak çizgi her zaman üstte, koyu çizgi her zaman altta olur ve bütün düğmeler aynı mekândaymış gibi görünür. Marka rengi değil, yalnızca nötr griler kullanılır, düzeyler açıklık-koyulukla ayrılır; ayna gibi parlaklıklar, dış ışımalar ve geniş bulanıklıklar da kullanılmaz.</li>\n        <li><strong>Yazı boyutuyla ölçekleme</strong>: yükseklik, iç boşluk, köşe yarıçapı, kenarlık ve her gölge katmanının kayması ile bulanıklığı, u = yazı boyutu / 14 biriminin katları olarak yazılır. 14px metinde u = 1px ve düğme 40px yüksekliğindedir; 16px metinde u ≈ 1.14px, düğme yaklaşık 45.7px yüksekliğindedir ve gölgeler aynı oranda büyür.</li>\n        </ol>\n        <h2>Parametreler</h2>\n        <dl class=\"params\">\n        <dt>Boyut</dt><dd>Etiket 14px; yükseklik 40px; köşe yarıçapı 10px; yatay iç boşluk 18px</dd>\n        <dt>Basılı</dt><dd>1px aşağı iner; düşen gölge 0 1px 1px değerine daralır</dd>\n        <dt>Zamanlama</dt><dd>Transform 120ms; gölgeler 140ms; renkler 160ms</dd>\n        </dl>\n        <p>Ekteki Prompt öncelikle projede zaten var olan düğme bileşenini dönüştürür, mevcut arayüzünü ve erişilebilirlik ayarlarını korur; projede düğme bileşeni yoksa ancak o zaman yenisini oluşturur.</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"}