1
0
Fork 0

feat: Upgrade to TailwindCSS 4 & DaisyUI 5 (#263)

Also fixes #251

Reviewed-on: https://codeberg.org/freesewing/freesewing/pulls/263
Co-authored-by: joostdecock <joost@joost.at>
Co-committed-by: joostdecock <joost@joost.at>
This commit is contained in:
joostdecock 2025-04-18 08:07:13 +00:00 committed by Joost De Cock
parent a2863e5158
commit 44e04a4cef
164 changed files with 2361 additions and 2658 deletions

View file

@ -120,12 +120,12 @@ const AccountNavbarItem = ({ Link }) => {
const SimpleNavbarItem = ({ label, Icon, href, Link }) => (
<Link
className="tw-daisy-btn tw-daisy-btn-ghost hover:tw-no-underline hover:tw-text-base-content custom-navbar-item"
className="tw:daisy-btn tw:daisy-btn-ghost tw:hover:no-underline tw:hover:text-base-content custom-navbar-item no-hover-decoration"
href={href}
>
<div className="tw-flex tw-flex-row tw-gap-2 tw-items-center">
<Icon className="tw-w-6 tw-h-6" />
<span className="tw-text-lg">{label}</span>
<div className="tw:flex tw:flex-row tw:gap-2 tw:items-center">
<Icon className="tw:w-6 tw:h-6 tw:text-base-content" />
<span className="tw:text-lg tw:text-base-content">{label}</span>
</div>
</Link>
)