feat(cam): sıvı cam arayüzü ve footer'da camsı görünüm kutusu (→ 2.12.3)
Sıvı cam (Liquid Glass UI kitinden çevrildi): şeffaf cam CTA, "Giriş yap" camı, kayan sekme merceği, "Yeni" rozeti, listeye ekleme ve ikon düğmeleri. Footer'da tema seçicinin altına "Camsı görünüm" onay kutusu eklendi: işaret kalkınca cam kurulmaz, her yüzey sade hâline döner; tercih tarayıcıda saklanır. Yanında camın ilham kaynağı (GitHub profil resmi + liquid-glass deposu). 2.9.13 sonrası biriken sürümler (2.10.x–2.12.3) sürüm notlarında. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@ import { Dialog as DialogPrimitive } from "radix-ui"
|
||||
import { cn } from "@/lib/utils"
|
||||
import { Button } from "@/components/ui/button"
|
||||
import { XIcon } from "lucide-react"
|
||||
import { SIVI_KAP, SiviCam } from "@/components/sivi-cam";
|
||||
|
||||
function Dialog({
|
||||
...props
|
||||
@@ -74,8 +75,9 @@ function DialogContent({
|
||||
{showCloseButton && (
|
||||
<DialogPrimitive.Close
|
||||
data-slot="dialog-close"
|
||||
className="kt-dokunma absolute top-3 right-3 z-10 flex size-9 cursor-pointer items-center justify-center rounded-full border border-slate-200 bg-popover text-slate-500 transition-[background-color,transform] duration-150 hover:bg-slate-100 hover:text-slate-800 active:scale-[0.96]"
|
||||
className={cn(SIVI_KAP, "kt-dokunma absolute top-3 right-3 z-10 flex size-9 cursor-pointer items-center justify-center rounded-full border border-slate-200 bg-popover text-slate-500 transition-[background-color,transform] duration-150 hover:bg-slate-100 hover:text-slate-800 active:scale-[0.96] data-cam:active:scale-100")}
|
||||
>
|
||||
<SiviCam />
|
||||
<XIcon className="size-4" aria-hidden />
|
||||
<span className="sr-only">Kapat</span>
|
||||
</DialogPrimitive.Close>
|
||||
|
||||
Reference in New Issue
Block a user