2
0
Fork 0
mirror of https://github.com/tchartron/blow synced 2025-03-01 05:37:13 +00:00
This commit is contained in:
Thomas Chartron 2021-11-06 13:17:14 +01:00
parent da88834204
commit 46bb6effee
6 changed files with 4630 additions and 0 deletions

3
.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
node_modules/
src/
postcss.config.js

4598
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

13
package.json Normal file
View 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

File diff suppressed because one or more lines are too long

14
tailwind.config.js Normal file
View file

@ -0,0 +1,14 @@
module.exports = {
purge: [
'./templates/**/*.html',
'./static/js/**/*.js',
],
darkMode: 'class', // or 'media' or 'class'
theme: {
extend: {},
},
variants: {
extend: {},
},
plugins: [],
}

View file

@ -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 %}