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
|
@ -4,11 +4,11 @@ import { BulletIcon } from '@freesewing/react/components/Icon'
|
|||
|
||||
export const ControlScore = ({ control, color = 'base-content' }) =>
|
||||
control ? (
|
||||
<div className={`tw-flex tw-flex-row tw-items-center tw-text-${color}`}>
|
||||
<div className={`tw:flex tw:flex-row tw:items-center tw:text-${color}`}>
|
||||
{Object.keys(controlDesc).map((score) => (
|
||||
<BulletIcon
|
||||
fill={control >= score ? true : false}
|
||||
className="tw-w-6 tw-h-6 tw--ml-1"
|
||||
className="tw:w-6 tw:h-6 tw:-ml-1"
|
||||
key={score}
|
||||
/>
|
||||
))}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue