feat(theme): add @tailwindcss/typography plugin

This commit is contained in:
2026-03-11 14:28:08 +01:00
parent 6f0f9e359d
commit a679408b4d
6 changed files with 1822 additions and 0 deletions

1
theme/static_src/.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
node_modules

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

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,27 @@
{
"name": "theme",
"version": "4.4.0",
"description": "",
"scripts": {
"start": "npm run dev",
"build": "npm run build:clean && npm run build:tailwind",
"build:clean": "rimraf ../static/css/dist",
"build:tailwind": "cross-env NODE_ENV=production postcss ./src/styles.css -o ../static/css/dist/styles.css --minify",
"dev": "cross-env NODE_ENV=development postcss ./src/styles.css -o ../static/css/dist/styles.css --watch"
},
"keywords": [],
"author": "",
"license": "MIT",
"devDependencies": {
"@tailwindcss/postcss": "^4.1.16",
"@tailwindcss/typography": "^0.5.19",
"cross-env": "^10.1.0",
"daisyui": "^5.3.10",
"postcss": "^8.5.6",
"postcss-cli": "^11.0.1",
"postcss-nested": "^7.0.2",
"postcss-simple-vars": "^7.0.1",
"rimraf": "^6.0.1",
"tailwindcss": "^4.1.16"
}
}

View File

@@ -0,0 +1,7 @@
module.exports = {
plugins: {
"@tailwindcss/postcss": {},
"postcss-simple-vars": {},
"postcss-nested": {}
},
}

View File

@@ -1,4 +1,7 @@
@import "tailwindcss";
@plugin "@tailwindcss/typography";
@plugin "daisyui";
/**
* A catch-all path to Django template files, JavaScript, and Python files