wip: Bunch of changes for v4
From the top of my head (but I'll write this up later): - We keep the info about the designs in the design - We use a new about.json file for this - The auto-generated data.mjs file is no more - Linedrawings we use in the design picker use the front - Linedrawings should respect square aspect ration - Migrated components to use the 'tw-' prefic for tailwind CSS classes to avoid conflicts with docusaurus styles
This commit is contained in:
parent
6b8eea2724
commit
c8808695e5
255 changed files with 3038 additions and 2304 deletions
|
@ -19,7 +19,7 @@ export const IconButton = ({
|
|||
btnProps = {},
|
||||
}) => {
|
||||
const allProps = {
|
||||
className: `${staticLinkClasses} daisy-btn-${color} hover:text-${color}-content ${className}`,
|
||||
className: `${staticLinkClasses} tw-daisy-btn-${color} hover:tw-text-${color}-content ${className}`,
|
||||
title: title,
|
||||
...btnProps,
|
||||
}
|
||||
|
@ -29,4 +29,6 @@ export const IconButton = ({
|
|||
return onClick ? <button {...allProps}>{children}</button> : <a {...allProps}>{children}</a>
|
||||
}
|
||||
|
||||
const staticLinkClasses = `flex flex-row gap-2 lg:gap-12 items-center justify-between w-full lg:w-auto daisy-btn hover:no-underline capitalize my-2`
|
||||
const staticLinkClasses =
|
||||
'tw-flex tw-flex-row tw-gap-2 lg:tw-gap-12 tw-items-center ' +
|
||||
'tw-justify-between tw-w-full lg:tw-w-auto tw-daisy-btn hover:tw-no-underline tw-capitalize tw-my-2'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue