mirror of
https://github.com/miawinter98/just-short-it.git
synced 2024-11-27 18:09:54 +00:00
added: tailwindcss packages and config
This commit is contained in:
parent
d27e02262a
commit
ec999ba46c
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -710,3 +710,4 @@ FodyWeavers.xsd
|
||||||
# we generate these
|
# we generate these
|
||||||
wwwroot/css/index.css
|
wwwroot/css/index.css
|
||||||
wwwroot/css/index.min.css
|
wwwroot/css/index.min.css
|
||||||
|
/wwwroot/css/main.min.css
|
||||||
|
|
3487
package-lock.json
generated
3487
package-lock.json
generated
File diff suppressed because it is too large
Load diff
11
package.json
11
package.json
|
@ -1,5 +1,14 @@
|
||||||
{
|
{
|
||||||
"dependencies": {
|
"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
9
postcss.config.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
module.exports = {
|
||||||
|
plugins: {
|
||||||
|
tailwindcss: {},
|
||||||
|
autoprefixer: {},
|
||||||
|
cssnano: {
|
||||||
|
preset: "default"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
30
tailwind.config.js
Normal file
30
tailwind.config.js
Normal 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
3
wwwroot/css/main.css
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
@tailwind base;
|
||||||
|
@tailwind components;
|
||||||
|
@tailwind utilities;
|
Loading…
Reference in a new issue