From 6b87924912d2bca32b887117321b4ad5c7b18a4c Mon Sep 17 00:00:00 2001 From: Rasmus Date: Wed, 31 Dec 2025 00:43:18 +0100 Subject: [PATCH] tailwind config --- static/package.json | 7 +++++++ static/src/input.css | 3 +++ tailwind.config.js | 12 ++++++++++++ templates/base.html | 2 +- 4 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 static/package.json create mode 100644 static/src/input.css create mode 100644 tailwind.config.js diff --git a/static/package.json b/static/package.json new file mode 100644 index 0000000..13de9fe --- /dev/null +++ b/static/package.json @@ -0,0 +1,7 @@ +{ + "name": "madplaner-css", + "version": "1.0.0", + "devDependencies": { + "tailwindcss": "^3.4.1" + } +} \ No newline at end of file diff --git a/static/src/input.css b/static/src/input.css new file mode 100644 index 0000000..bd6213e --- /dev/null +++ b/static/src/input.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; \ No newline at end of file diff --git a/tailwind.config.js b/tailwind.config.js new file mode 100644 index 0000000..c74779b --- /dev/null +++ b/tailwind.config.js @@ -0,0 +1,12 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: [ + "./templates/**/*.html", + "./static/**/*.js", + "./app.py" + ], + theme: { + extend: {}, + }, + plugins: [], +} \ No newline at end of file diff --git a/templates/base.html b/templates/base.html index 5f155a8..b6cfa58 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,7 +4,7 @@ Madplaner - +