Added PostCSS, TailwindCSS, DaisyUI, main.css

This commit is contained in:
Mia Rose Winter 2024-01-11 14:31:05 +01:00
parent 3019fdeeca
commit bec5612b8d
No known key found for this signature in database
GPG key ID: 6D529582434BBD8A
7 changed files with 47 additions and 0 deletions

View file

@ -6,6 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<base href="/" />
<link rel="stylesheet" href="app.css" />
<link rel="stylesheet" href="/css/main.min.css" />
<link rel="stylesheet" href="Wave.styles.css" />
<link rel="icon" type="image/png" href="favicon.png" />
<HeadOutlet />

BIN
Wave/package-lock.json generated Normal file

Binary file not shown.

17
Wave/package.json Normal file
View file

@ -0,0 +1,17 @@
{
"name": "wave",
"version": "0.0.1",
"scripts": {
"css:build": "postcss -o wwwroot/css/main.min.css wwwroot/css/main.css"
},
"author": "Mia Rose Winter",
"license": "MIT",
"devDependencies": {
"autoprefixer": "^10.4.16",
"cssnano": "^6.0.3",
"daisyui": "^4.6.0",
"postcss": "^8.4.33",
"postcss-cli": "^11.0.0",
"tailwindcss": "^3.4.1"
}
}

9
Wave/postcss.config.js Normal file
View file

@ -0,0 +1,9 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
cssnano: {
preset: "default"
}
}
}

16
Wave/tailwind.config.js Normal file
View file

@ -0,0 +1,16 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["Pages/**/*.cshtml", "Components/**/*.razor"],
theme: {
extend: {
}
},
plugins: [require("daisyui")],
daisyui: {
logs: false,
themes: [
"light", "dark"
]
}
}

View file

@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

1
Wave/wwwroot/css/main.min.css vendored Normal file

File diff suppressed because one or more lines are too long