From d0263ce46160cd4152c67381fab2ee557f3aa483 Mon Sep 17 00:00:00 2001 From: Benedikt Peetz Date: Tue, 30 Sep 2025 09:15:56 +0200 Subject: feat(treewide): Switch to tailwindcss and add more components --- 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 deletions(-) delete mode 100644 stalwart/Trunk.toml delete mode 100644 stalwart/index.html delete mode 100644 stalwart/input.css delete mode 100644 stalwart/package.json delete mode 100644 stalwart/tailwind.config.js (limited to 'stalwart') diff --git a/stalwart/Trunk.toml b/stalwart/Trunk.toml deleted file mode 100644 index 579d138..0000000 --- a/stalwart/Trunk.toml +++ /dev/null @@ -1,4 +0,0 @@ -[[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 deleted file mode 100644 index e7f5dae..0000000 --- a/stalwart/index.html +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - Stalwart Management - - - - - - \ No newline at end of file diff --git a/stalwart/input.css b/stalwart/input.css deleted file mode 100644 index b5c61c9..0000000 --- a/stalwart/input.css +++ /dev/null @@ -1,3 +0,0 @@ -@tailwind base; -@tailwind components; -@tailwind utilities; diff --git a/stalwart/package.json b/stalwart/package.json deleted file mode 100644 index 32a2cb5..0000000 --- a/stalwart/package.json +++ /dev/null @@ -1,18 +0,0 @@ -{ - "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 deleted file mode 100644 index f8dfe93..0000000 --- a/stalwart/tailwind.config.js +++ /dev/null @@ -1,36 +0,0 @@ -/** @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