commit f70694a2b9b3f1deea098deafa2918eecb1d19c9
parent 55f80f2b70d5152388205d64e943e1fba0d064fb
Author: triesap <triesap@radroots.dev>
Date: Wed, 21 Jan 2026 19:49:01 +0000
app: add tailwind build plumbing
- add tailwind css entrypoint and trunk link
- add tailwind and postcss config files
- add app dev dependencies for tailwind tooling
- scope tailwind content scanning to app sources
Diffstat:
5 files changed, 26 insertions(+), 0 deletions(-)
diff --git a/app/assets/styles.css b/app/assets/styles.css
@@ -0,0 +1,3 @@
+@tailwind base;
+@tailwind components;
+@tailwind utilities;
diff --git a/app/index.html b/app/index.html
@@ -5,6 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Rad Roots</title>
<link data-trunk rel="icon" href="assets/favicon.ico" />
+ <link data-trunk rel="tailwind-css" href="assets/styles.css" />
<link
data-trunk
rel="rust"
diff --git a/app/package.json b/app/package.json
@@ -0,0 +1,9 @@
+{
+ "name": "radroots-app",
+ "private": true,
+ "devDependencies": {
+ "autoprefixer": "^10.4.19",
+ "postcss": "^8.4.38",
+ "tailwindcss": "^3.4.17"
+ }
+}
diff --git a/app/postcss.config.js b/app/postcss.config.js
@@ -0,0 +1,6 @@
+module.exports = {
+ plugins: {
+ tailwindcss: {},
+ autoprefixer: {}
+ }
+};
diff --git a/app/tailwind.config.js b/app/tailwind.config.js
@@ -0,0 +1,7 @@
+module.exports = {
+ content: ["./index.html", "./src/**/*.rs"],
+ theme: {
+ extend: {}
+ },
+ plugins: []
+};