build!: upgrade to Tailwind CSS v4

This commit is contained in:
satnaing
2025-02-25 20:35:00 +07:00
committed by Sat Naing
parent 360278277d
commit 172e14b5f4
36 changed files with 7631 additions and 10633 deletions
+7 -3
View File
@@ -1,15 +1,17 @@
---
export interface Props {
id?: string;
href: string;
className?: string;
class?: string;
ariaLabel?: string;
title?: string;
disabled?: boolean;
}
const {
id,
href,
className = "",
class: className = "",
ariaLabel,
title,
disabled = false,
@@ -19,6 +21,7 @@ const {
{
disabled ? (
<span
id={id}
class:list={["group inline-block", className]}
title={title}
aria-disabled={disabled}
@@ -27,8 +30,9 @@ const {
</span>
) : (
<a
id={id}
{href}
class:list={["group inline-block hover:text-skin-accent", className]}
class:list={["group inline-block hover:text-accent", className]}
aria-label={ariaLabel}
title={title}
>