From fd832ce7a3660bd81b5476477ecdc2bc822df5c2 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Fri, 26 Sep 2025 20:15:48 +0200 Subject: chore: Second version --- stalwart/Trunk.toml | 4 ++++ stalwart/index.html | 32 ++++++++++++++++++++++++++++++++ stalwart/input.css | 3 +++ stalwart/package.json | 18 ++++++++++++++++++ stalwart/tailwind.config.js | 36 ++++++++++++++++++++++++++++++++++++ 5 files changed, 93 insertions(+) create mode 100644 stalwart/Trunk.toml create mode 100644 stalwart/index.html create mode 100644 stalwart/input.css create mode 100644 stalwart/package.json create mode 100644 stalwart/tailwind.config.js (limited to 'stalwart') diff --git a/stalwart/Trunk.toml b/stalwart/Trunk.toml new file mode 100644 index 0000000..579d138 --- /dev/null +++ b/stalwart/Trunk.toml @@ -0,0 +1,4 @@ +[[hooks]] +stage = "pre_build" +command = "sh" +command_arguments = ["-c", "npx tailwindcss -i input.css -o style/output.css"] diff --git a/stalwart/index.html b/stalwart/index.html new file mode 100644 index 0000000..e7f5dae --- /dev/null +++ b/stalwart/index.html @@ -0,0 +1,32 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + Stalwart Management + + + + + + \ No newline at end of file diff --git a/stalwart/input.css b/stalwart/input.css new file mode 100644 index 0000000..b5c61c9 --- /dev/null +++ b/stalwart/input.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/stalwart/package.json b/stalwart/package.json new file mode 100644 index 0000000..32a2cb5 --- /dev/null +++ b/stalwart/package.json @@ -0,0 +1,18 @@ +{ + "name": "stalwart-admin", + "version": "0.1.0", + "description": "", + "main": "index.js", + "scripts": { + "build": "npx tailwindcss -i ./style/input.css -o ./style/output/output.css", + "watch": "npx tailwindcss -i ./style/input.css -o ./style/output/output.css --watch" + }, + "author": "", + "license": "ISC", + "devDependencies": { + "@tailwindcss/forms": "^0.5.7", + "@tailwindcss/typography": "^0.5.10", + "preline": "^1.9.0", + "tailwindcss": "^3.3.5" + } +} diff --git a/stalwart/tailwind.config.js b/stalwart/tailwind.config.js new file mode 100644 index 0000000..f8dfe93 --- /dev/null +++ b/stalwart/tailwind.config.js @@ -0,0 +1,36 @@ +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ["*.html", "./src/**/*.rs", "./node_modules/preline/dist/*.js"], + theme: { + screens: { + sm: '480px', + md: '768px', + lg: '1020px', + xl: '1440px', + }, + fontFamily: { + sans: ['Inter', 'sans-serif'], + + }, + extend: { + //https://play.tailwindcss.com/VCZwwz1e3R + animation: { + text: 'text 5s ease infinite', + }, + keyframes: { + text: { + '0%, 100%': { + 'background-size': '200% 200%', + 'background-position': 'left center', + }, + '50%': { + 'background-size': '200% 200%', + 'background-position': 'right center', + }, + }, + }, + }, + }, + darkMode: 'class', + plugins: [require('@tailwindcss/forms'), require("@tailwindcss/typography"), require("preline/plugin")], +} -- cgit 1.4.1