Skip to content

Commit

Permalink
🆙bump: version up tailwindcss v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Marukome0743 committed Nov 25, 2024
1 parent 617ed92 commit 459aa8f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 20 deletions.
9 changes: 6 additions & 3 deletions app/globals.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
@import "tailwindcss/base";
@import "tailwindcss/components";
@import "tailwindcss/utilities";
@import "tailwindcss";

@theme {
--color-background: var(--background);
--color-foreground: var(--foreground);
}

:root {
--background: #ffffff;
Expand Down
2 changes: 1 addition & 1 deletion app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export default function Home() {
<ol className="list-inside list-decimal text-sm text-center sm:text-left">
<li className="mb-2">
Get started by editing{" "}
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded font-semibold">
<code className="bg-black/[.05] dark:bg-white/[.06] px-1 py-0.5 rounded-sm font-semibold">
app/page.tsx
</code>
</li>
Expand Down
Binary file modified bun.lockb
Binary file not shown.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,15 @@
"@biomejs/biome": "^1.9.4",
"@happy-dom/global-registrator": "^15.11.6",
"@playwright/test": "next",
"@tailwindcss/postcss": "^4.0.0-beta.2",
"@testing-library/dom": "^10.4.0",
"@testing-library/react": "^16.0.1",
"@types/bun": "^1.1.13",
"@types/react": "^18.3.12",
"@types/react-dom": "^18.3.1",
"babel-plugin-react-compiler": "experimental",
"postcss": "^8.4.49",
"tailwindcss": "^3.4.15",
"tailwindcss": "^4.0.0-beta.2",
"typescript": "^5.7.2"
},
"trustedDependencies": ["@biomejs/biome", "sharp"]
Expand Down
2 changes: 1 addition & 1 deletion postcss.config.mjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('postcss-load-config').Config} */
const config = {
plugins: {
tailwindcss: {},
"@tailwindcss/postcss": {},
},
}

Expand Down
14 changes: 0 additions & 14 deletions tailwind.config.ts

This file was deleted.

0 comments on commit 459aa8f

Please sign in to comment.