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
|
@ -38,7 +38,7 @@ export const BellaFront = ({ className, stroke = 1 }) => (
|
|||
* React component for the back
|
||||
*/
|
||||
export const BellaBack = ({
|
||||
className = 'tw-w-full', // CSS classes to apply
|
||||
className = 'tw:w-full', // CSS classes to apply
|
||||
stroke = 1, // Stroke width to use
|
||||
}) => {
|
||||
// Normalize stroke across designs
|
||||
|
|
|
@ -38,7 +38,7 @@ export const BentFront = ({ className, stroke = 1 }) => (
|
|||
* React component for the back
|
||||
*/
|
||||
export const BentBack = ({
|
||||
className = 'tw-w-full', // CSS classes to apply
|
||||
className = 'tw:w-full', // CSS classes to apply
|
||||
stroke = 1, // Stroke width to use
|
||||
}) => {
|
||||
// Normalize stroke across designs
|
||||
|
|
|
@ -38,7 +38,7 @@ export const BibiFront = ({ className, stroke = 1 }) => (
|
|||
* React component for the back
|
||||
*/
|
||||
export const BibiBack = ({
|
||||
className = 'tw-w-full', // CSS classes to apply
|
||||
className = 'tw:w-full', // CSS classes to apply
|
||||
stroke = 1, // Stroke width to use
|
||||
}) => {
|
||||
// Normalize stroke across designs
|
||||
|
|
|
@ -38,7 +38,7 @@ export const BobFront = ({ className, stroke = 1 }) => (
|
|||
* React component for the back
|
||||
*/
|
||||
export const BobBack = ({
|
||||
className = 'tw-w-full', // CSS classes to apply
|
||||
className = 'tw:w-full', // CSS classes to apply
|
||||
stroke = 1, // Stroke width to use
|
||||
}) => {
|
||||
// Normalize stroke across designs
|
||||
|
|
|
@ -40,7 +40,7 @@ export const BreannaFront = ({ className, stroke = 1 }) => (
|
|||
* React component for the back
|
||||
*/
|
||||
export const BreannaBack = ({
|
||||
className = 'tw-w-full', // CSS classes to apply
|
||||
className = 'tw:w-full', // CSS classes to apply
|
||||
stroke = 1, // Stroke width to use
|
||||
}) => {
|
||||
// Normalize stroke across designs
|
||||
|
|
|
@ -38,7 +38,7 @@ export const BrianFront = ({ className, stroke = 1 }) => (
|
|||
* React component for the back
|
||||
*/
|
||||
export const BrianBack = ({
|
||||
className = 'tw-w-full', // CSS classes to apply
|
||||
className = 'tw:w-full', // CSS classes to apply
|
||||
stroke = 1, // Stroke width to use
|
||||
}) => {
|
||||
// Normalize stroke across designs
|
||||
|
|
|
@ -40,7 +40,7 @@ export const BruceFront = ({ className, stroke = 1 }) => (
|
|||
* React component for the back
|
||||
*/
|
||||
export const BruceBack = ({
|
||||
className = 'tw-w-full', // CSS classes to apply
|
||||
className = 'tw:w-full', // CSS classes to apply
|
||||
stroke = 1, // Stroke width to use
|
||||
}) => {
|
||||
// Normalize stroke across designs
|
||||
|
|
|
@ -9,7 +9,7 @@ import React from 'react'
|
|||
* @return LineDrawing as JSX
|
||||
*/
|
||||
export const LineDrawingWrapper = ({
|
||||
className = 'tw-w-full', // CSS classes to apply
|
||||
className = 'tw:w-full', // CSS classes to apply
|
||||
viewBox = '0 0 100 100', // SVG viewBox
|
||||
stroke = 1, // Stroke to use
|
||||
children = [], // The actual linedrawing
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue