summaryrefslogtreecommitdiffstats
path: root/package.json
diff options
context:
space:
mode:
authorDanilo M. <danix@danix.xyz>2026-04-15 16:18:41 +0200
committerDanilo M. <danix@danix.xyz>2026-04-15 16:18:41 +0200
commit1c1122f068032d0f9d11a86d5294cd872a4dda64 (patch)
treea1dd7f66a2d775aab9dcfd0a15cdafa99c4155f9 /package.json
parent0f0fb848fc6f7e6c3333c6b4595aa8dcaff92068 (diff)
downloaddanixxyz-1c1122f068032d0f9d11a86d5294cd872a4dda64.tar.gz
danixxyz-1c1122f068032d0f9d11a86d5294cd872a4dda64.zip
Set up Tailwind CSS build pipeline and bilingual homepage content
- Install and configure Tailwind CSS with tailwind.config.js - Create npm scripts for building Tailwind (build/watch) - Add .gitignore to exclude node_modules and build artifacts - Create bilingual homepage content (content/it/_index.md, content/en/_index.md) - Update baseof.html to use compiled main.min.css - Fix .ByDate deprecation in list.html template (use sort function) - Fix main.css pre element to support rgba with opacity - Homepage now displays with full dark/light theme styling Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Diffstat (limited to 'package.json')
-rw-r--r--package.json13
1 files changed, 13 insertions, 0 deletions
diff --git a/package.json b/package.json
new file mode 100644
index 0000000..6a04097
--- /dev/null
+++ b/package.json
@@ -0,0 +1,13 @@
+{
+ "name": "danix-xyz-hacker-theme",
+ "version": "1.0.0",
+ "description": "Hugo theme for danix.xyz",
+ "scripts": {
+ "build": "tailwindcss -i themes/danix-xyz-hacker/assets/css/main.css -o themes/danix-xyz-hacker/assets/css/main.min.css",
+ "watch": "tailwindcss -i themes/danix-xyz-hacker/assets/css/main.css -o themes/danix-xyz-hacker/assets/css/main.min.css --watch"
+ },
+ "devDependencies": {
+ "tailwindcss": "^3.4.1",
+ "@tailwindcss/typography": "^0.5.10"
+ }
+}