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
|
@ -23,18 +23,18 @@ export const orderBy = _orderBy
|
|||
* CSS classes to spread icon + text horizontally on a button
|
||||
*/
|
||||
export const horFlexClasses =
|
||||
'tw-flex tw-flex-row tw-items-center tw-justify-between tw-gap-4 tw-w-full'
|
||||
'tw:flex tw:flex-row tw:items-center tw:justify-between tw:gap-4 tw:w-full'
|
||||
|
||||
/*
|
||||
* CSS classes to spread icon + text horizontally on a button, only from md upwards
|
||||
*/
|
||||
export const horFlexClassesNoSm =
|
||||
'md:tw-flex md:tw-flex-row md:tw-items-center md:tw-justify-between md:tw-gap-4 tw-w-full'
|
||||
'tw:md:flex tw:md:flex-row tw:md:items-center tw:md:justify-between tw:md:gap-4 tw:w-full'
|
||||
|
||||
/*
|
||||
* These classes are what makes a link a link
|
||||
*/
|
||||
export const linkClasses = 'tw-text-secondary hover:tw-underline hover:tw-cursor-pointer'
|
||||
export const linkClasses = 'tw:text-secondary tw:hover:underline tw:hover:cursor-pointer'
|
||||
|
||||
/*
|
||||
* FUNCTIONS
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue