1
0
Fork 0
mirror of https://github.com/miawinter98/just-short-it.git synced 2024-11-24 00:59:53 +00:00

added: tailwindcss packages and config

This commit is contained in:
Mia Rose Winter 2023-11-18 00:54:12 +01:00
parent d27e02262a
commit ec999ba46c
Signed by: miawinter
GPG key ID: 4B6F6A83178F595E
6 changed files with 3539 additions and 4 deletions

3
.gitignore vendored
View file

@ -709,4 +709,5 @@ FodyWeavers.xsd
# we generate these
wwwroot/css/index.css
wwwroot/css/index.min.css
wwwroot/css/index.min.css
/wwwroot/css/main.min.css

3487
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,14 @@
{
"dependencies": {
"bulma": "^0.9.4"
"autoprefixer": "^10.4.16",
"bulma": "^0.9.4",
"cssnano": "^6.0.1",
"daisyui": "^4.4.0",
"postcss": "^8.4.31",
"postcss-cli": "^10.1.0",
"tailwindcss": "^3.3.5"
},
"scripts": {
"css:build": "postcss -o wwwroot/css/main.min.css wwwroot/css/main.css"
}
}

9
postcss.config.js Normal file
View file

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

30
tailwind.config.js Normal file
View file

@ -0,0 +1,30 @@
/** @type {import('tailwindcss').Config} */
module.exports = {
content: ["Pages/**/*.cshtml", "Components/**/*.razor"],
theme: {
extend: {
}
},
plugins: [require("daisyui")],
daisyui: {
logs: false,
themes: [
{
dark: {
"primary": "#4a3285",
"primary-content": "#26d962",
"secondary-content": "#1fad4e",
"base-100": "#141414",
"base-content": "#fff",
"--rounded-btn": ".125rem",
"fontFamily": 'BlinkMacSystemFont, -apple-system, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", "Helvetica", "Arial", sans-serif',
"fontSize": "1.1rem",
"fontWeight": 600
}
}
]
}
}

3
wwwroot/css/main.css Normal file
View file

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