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:
parent
a2863e5158
commit
44e04a4cef
164 changed files with 2361 additions and 2658 deletions
|
@ -88,7 +88,7 @@ export const DesignCard = ({ name, lineDrawing = false }) => {
|
|||
>
|
||||
<h5
|
||||
className={`text-center py-2 px-4 rounded-t-lg m-0 w-full
|
||||
${lineDrawing ? '' : 'bg-neutral text-neutral-content bg-opacity-70'}`}
|
||||
${lineDrawing ? '' : 'bg-neutral/70 text-neutral-content'}`}
|
||||
>
|
||||
{t(`designs:${name}.t`)}
|
||||
</h5>
|
||||
|
@ -97,11 +97,7 @@ export const DesignCard = ({ name, lineDrawing = false }) => {
|
|||
</div>
|
||||
<div
|
||||
className={`pt-0 m-0 -mt-2 text-center w-full
|
||||
${
|
||||
lineDrawing
|
||||
? 'bg-transparent text-base-content'
|
||||
: 'bg-neutral text-neutral-content bg-opacity-70'
|
||||
}`}
|
||||
${lineDrawing ? 'bg-transparent text-base-content' : 'bg-neutral/70 text-neutral-content'}`}
|
||||
></div>
|
||||
</div>
|
||||
</button>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue