feat(tasarim): geniş yüzeyler masaüstünde 56 px squircle — rounded-5xl token'ı (→ 2.5.6)
Some checks failed
Deploy / deploy (push) Has been cancelled
Some checks failed
Deploy / deploy (push) Has been cancelled
Geniş kartta (1120 px duvar, 896 px karşılaştırma kabı) 32 px kavis düz köşe gibi okunuyordu; Bilal gerçek boyutlu kıyasta 56'yı seçti ve 'her geniş yüzey' dedi. --radius-5xl (56 px) eklendi, ≈600 px'ten geniş kart/kap/bant/çekmece/geniş modal 'rounded-2xl md:rounded-5xl' aldı (19 yer); telefonda 32/38 px kalır. Kısa satır butonları ve küçük kartlar 32 px. --kt-kose eşlemesi md:rounded-5xl'i de tanır. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
@@ -45,7 +45,7 @@ export function CtaBandi({
|
||||
<Etiket
|
||||
ref={ref as Ref<HTMLDivElement>}
|
||||
className={cn(
|
||||
"relative isolate overflow-hidden rounded-2xl",
|
||||
"relative isolate overflow-hidden rounded-2xl md:rounded-5xl",
|
||||
ton === "beyaz"
|
||||
? "border border-slate-200 bg-card text-slate-900"
|
||||
: "bg-primary text-white",
|
||||
|
||||
@@ -38,7 +38,7 @@ export function PikselCtaYuzeyi({
|
||||
onFocusCapture={(e) => setTamamla(hedefMi(e.target))}
|
||||
onBlurCapture={() => setTamamla(false)}
|
||||
className={cn(
|
||||
"kt-koyu-yuzey relative isolate overflow-hidden rounded-3xl border border-blue-400/20 bg-slate-950 text-white shadow-xl shadow-slate-900/10",
|
||||
"kt-koyu-yuzey relative isolate overflow-hidden rounded-3xl md:rounded-5xl border border-blue-400/20 bg-slate-950 text-white shadow-xl shadow-slate-900/10",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
|
||||
@@ -582,7 +582,7 @@ function Sayfa({
|
||||
data-slot="alt-sayfa"
|
||||
className={cn(
|
||||
// `after`: kenarın altına uzanan yüzey — yukarı esnemede sayfanın altında boşluk görünmez.
|
||||
"group/alt-sayfa fixed inset-x-0 bottom-0 z-50 mx-auto flex w-full flex-col rounded-t-3xl border border-b-0 border-slate-200 bg-card text-slate-900 shadow-2xl outline-none will-change-transform after:pointer-events-none after:absolute after:inset-x-0 after:top-full after:h-40 after:bg-card data-[state=closed]:pointer-events-none! sm:max-w-2xl",
|
||||
"group/alt-sayfa fixed inset-x-0 bottom-0 z-50 mx-auto flex w-full flex-col rounded-t-3xl md:rounded-t-5xl border border-b-0 border-slate-200 bg-card text-slate-900 shadow-2xl outline-none will-change-transform after:pointer-events-none after:absolute after:inset-x-0 after:top-full after:h-40 after:bg-card data-[state=closed]:pointer-events-none! sm:max-w-2xl",
|
||||
className,
|
||||
)}
|
||||
style={{ y, opacity: varlik, maxHeight: `${kesirler[ust] * 100}dvh` }}
|
||||
|
||||
Reference in New Issue
Block a user