mirror of
https://github.com/perstarkse/minne.git
synced 2026-04-21 00:11:26 +02:00
feat: tailwindcss & daisyui beta
This commit is contained in:
@@ -1,3 +1,24 @@
|
|||||||
@tailwind base;
|
@import 'tailwindcss';
|
||||||
@tailwind components;
|
@plugin "daisyui";
|
||||||
@tailwind utilities;
|
@plugin "@tailwindcss/typography";
|
||||||
|
|
||||||
|
@config '../tailwind.config.js';
|
||||||
|
|
||||||
|
/*
|
||||||
|
The default border color has changed to `currentColor` in Tailwind CSS v4,
|
||||||
|
so we've added these compatibility styles to make sure everything still
|
||||||
|
looks the same as it did with Tailwind CSS v3.
|
||||||
|
|
||||||
|
If we ever want to remove these styles, we need to add an explicit border
|
||||||
|
color utility to any element that depends on these defaults.
|
||||||
|
*/
|
||||||
|
@layer base {
|
||||||
|
|
||||||
|
*,
|
||||||
|
::after,
|
||||||
|
::before,
|
||||||
|
::backdrop,
|
||||||
|
::file-selector-button {
|
||||||
|
border-color: var(--color-gray-200, currentColor);
|
||||||
|
}
|
||||||
|
}
|
||||||
6938
assets/style.css
6938
assets/style.css
File diff suppressed because it is too large
Load Diff
5440
package-lock.json
generated
5440
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
20
package.json
20
package.json
@@ -1,19 +1,13 @@
|
|||||||
{
|
{
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"build:css": "postcss assets/input.css -o assets/style.css",
|
"dev": "npx @tailwindcss/cli --input assets/input.css --output assets/style.css --watch"
|
||||||
"watch:css": "postcss assets/input.css -o assets/style.css --watch",
|
|
||||||
"build:tailwind": "tailwindcss --input assets/input.css --output assets/style.css",
|
|
||||||
"watch:tailwind": "tailwindcss --input assets/input.css --output assets/style.css --watch",
|
|
||||||
"dev": "npm-run-all --parallel watch:css watch:tailwind"
|
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.15",
|
"@tailwindcss/typography": "^0.5.15",
|
||||||
"autoprefixer": "^10.4.20",
|
"daisyui": "^5.0.0-beta.1",
|
||||||
"cssnano": "^7.0.6",
|
"tailwindcss": "^4.0.0-beta.9"
|
||||||
"daisyui": "^4.12.23",
|
},
|
||||||
"npm-run-all": "^4.1.5",
|
"dependencies": {
|
||||||
"postcss": "^8.4.49",
|
"@tailwindcss/cli": "^4.0.0-beta.9"
|
||||||
"postcss-cli": "^11.0.0",
|
|
||||||
"tailwindcss": "^3.4.17"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -24,9 +24,6 @@ module.exports = {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
plugins: [
|
|
||||||
require("@tailwindcss/typography"),
|
|
||||||
require('daisyui')],
|
|
||||||
daisyui: {
|
daisyui: {
|
||||||
themes: ["light", "dark"],
|
themes: ["light", "dark"],
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user