Update tailwind to v3, various wangling

This commit is contained in:
2023-05-16 17:48:25 +01:00
parent c55577e04e
commit 57c730a2cf
14 changed files with 6821 additions and 183615 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because one or more lines are too long

6475
theme/static_src/package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

View File

@@ -16,15 +16,19 @@
"author": "",
"license": "MIT",
"devDependencies": {
"autoprefixer": "^10.0.2",
"@tailwindcss/aspect-ratio": "^0.4.2",
"@tailwindcss/forms": "^0.5.3",
"@tailwindcss/line-clamp": "^0.4.4",
"@tailwindcss/typography": "^0.5.9",
"autoprefixer": "^10.4.14",
"clean-css-cli": "^4.3.0",
"cross-env": "^7.0.3",
"node-sass": "^5.0.0",
"postcss": "^8.1.9",
"postcss": "^8.4.23",
"postcss-cli": "^8.3.0",
"postcss-scss": "^3.0.4",
"rimraf": "^3.0.2",
"tailwindcss": "^2.0.1",
"tailwindcss": "^3.3.2",
"watch": "^1.0.2"
}
}

View File

@@ -1,3 +1,7 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
input {
color: black;
}

View File

@@ -2,14 +2,10 @@
// If you need the full config, get it from here:
// https://unpkg.com/browse/tailwindcss@latest/stubs/defaultConfig.stub.js
module.exports = {
purge: [
// Templates within theme app (e.g. base.html)
content: [
'../templates/**/*.html',
// Templates in other apps. Uncomment the following line if it matches
// your project structure or change it to match.
'../../templates/**/*.html',
],
darkMode: 'media',
theme: {
extend: {},
},

View File

@@ -0,0 +1,3 @@
{% for field in form %}
{{ field.label_tag }} {{ field }} <br/>
{% endfor %}