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

@ -53,7 +53,7 @@ export const Restrict = ({ Link = false }) => {
)
return (
<div className="tw-w-full">
<div className="tw:w-full">
<p>
The GDPR guarantees{' '}
<Link href="/docs/about/rights/#the-right-to-restrict-processing" className={linkClasses}>
@ -66,21 +66,21 @@ export const Restrict = ({ Link = false }) => {
onClick={() =>
setModal(
<ModalWrapper keepOpenOnClick>
<div className="tw-text-center tw-w-full tw-max-w-xl">
<div className="tw:text-center tw:w-full tw:max-w-xl">
<h2>Proceed with caution</h2>
<p>
While no data will be removed, this will disable your account. Furthermore, you
can not undo this on your own, but will have to contact support when you want to
restore access to your account.
</p>
<IconButton onClick={restrictAccount} color="error" className="tw-mx-auto">
<IconButton onClick={restrictAccount} color="error" className="tw:mx-auto">
<NoIcon stroke={3} />
Restrict processing of your FreeSewing data
</IconButton>
<IconButton
onClick={clearModal}
color="primary"
className="tw-mx-auto tw-daisy-btn-outline tw-mt-4"
className="tw:mx-auto tw:daisy-btn-outline tw:mt-4"
>
<BackIcon />
Back to safety