mirror of
https://github.com/tchartron/blow
synced 2025-03-01 05:37:13 +00:00
update
This commit is contained in:
parent
da88834204
commit
46bb6effee
6 changed files with 4630 additions and 0 deletions
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
node_modules/
|
||||
src/
|
||||
postcss.config.js
|
4598
package-lock.json
generated
Normal file
4598
package-lock.json
generated
Normal file
File diff suppressed because it is too large
Load diff
13
package.json
Normal file
13
package.json
Normal file
|
@ -0,0 +1,13 @@
|
|||
{
|
||||
"scripts": {
|
||||
"dev": "NODE_ENV=development npx tailwindcss -i ./src/css/main.css -o ./static/css/main.css",
|
||||
"prod": "NODE_ENV=production npx tailwindcss -i ./src/css/main.css -o ./static/css/main.css --minify"
|
||||
},
|
||||
"devDependencies": {
|
||||
"autoprefixer": "^10.4.0",
|
||||
"cssnano": "^5.0.9",
|
||||
"postcss": "^8.3.11",
|
||||
"postcss-cli": "^9.0.2",
|
||||
"tailwindcss": "^2.2.19"
|
||||
}
|
||||
}
|
1
static/css/main.css
Normal file
1
static/css/main.css
Normal file
File diff suppressed because one or more lines are too long
14
tailwind.config.js
Normal file
14
tailwind.config.js
Normal file
|
@ -0,0 +1,14 @@
|
|||
module.exports = {
|
||||
purge: [
|
||||
'./templates/**/*.html',
|
||||
'./static/js/**/*.js',
|
||||
],
|
||||
darkMode: 'class', // or 'media' or 'class'
|
||||
theme: {
|
||||
extend: {},
|
||||
},
|
||||
variants: {
|
||||
extend: {},
|
||||
},
|
||||
plugins: [],
|
||||
}
|
|
@ -4,6 +4,7 @@
|
|||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link href="https://unpkg.com/tailwindcss@^2/dist/tailwind.min.css" rel="stylesheet">
|
||||
<link href="/css/main.css" rel="stylesheet">
|
||||
|
||||
<title>
|
||||
{% block title %}
|
||||
|
|
Loading…
Add table
Reference in a new issue