Skip to content

Commit 7e6a723

Browse files
committed
bump tailwind and daisy
1 parent 3cbc525 commit 7e6a723

File tree

6 files changed

+2991
-4148
lines changed

6 files changed

+2991
-4148
lines changed

package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,11 @@
66
"author": "JT Archie <[email protected]>",
77
"license": "MIT",
88
"devDependencies": {
9-
"daisyui": "^4.12.10",
10-
"tailwindcss": "^3.4.7"
9+
"@tailwindcss/cli": "^4.0.4",
10+
"daisyui": "^5.0.0-beta.6",
11+
"tailwindcss": "^4.0.4"
1112
},
1213
"scripts": {
13-
"build": "npx tailwindcss -i ./written/input.css -o ./written/public/assets/main.css"
14+
"build": "npx @tailwindcss/cli -i ./written/input.css -o ./written/public/assets/main.css"
1415
}
1516
}

tailwind.config.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

written/chatgpt/2023-11-08-react-figma-cleanup.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ export const ButtonIcon = ({
153153
property1,
154154
className,
155155
icon = (
156-
<Property1IcListing className="!absolute !w-[24px] !h-[24px] !top-[8px] !left-[8px]" />
156+
<Property1IcListing className="absolute! w-[24px]! h-[24px]! top-[8px]! left-[8px]!" />
157157
),
158158
}) => {
159159
const [state, dispatch] = useReducer(reducer, {
@@ -231,7 +231,7 @@ import { Property1IcListing } from "../../icons/Property1IcListing";
231231
export const ButtonIcon = ({
232232
className,
233233
icon = (
234-
<Property1IcListing className="!absolute !w-[24px] !h-[24px] !top-[8px] !left-[8px]" />
234+
<Property1IcListing className="absolute! w-[24px]! h-[24px]! top-[8px]! left-[8px]!" />
235235
),
236236
}) => {
237237
return (

written/input.css

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,23 @@
1-
@tailwind base;
2-
@tailwind components;
3-
@tailwind utilities;
1+
@import "tailwindcss";
2+
@plugin "daisyui";
3+
4+
/*
5+
The default border color has changed to `currentColor` in Tailwind CSS v4,
6+
so we've added these compatibility styles to make sure everything still
7+
looks the same as it did with Tailwind CSS v3.
8+
9+
If we ever want to remove these styles, we need to add an explicit border
10+
color utility to any element that depends on these defaults.
11+
*/
12+
@layer base {
13+
*,
14+
::after,
15+
::before,
16+
::backdrop,
17+
::file-selector-button {
18+
border-color: var(--color-gray-200, currentColor);
19+
}
20+
}
421

522
main {
623
.mermaid {

0 commit comments

Comments
 (0)