summary refs log tree commit diff stats
path: root/stalwart
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-09-30 09:15:56 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2025-09-30 09:15:56 +0200
commitd0263ce46160cd4152c67381fab2ee557f3aa483 (patch)
treeb24a725d71b984e466ff478fbb4449111beeacac /stalwart
parentchore: Second version (diff)
downloadweb-client-d0263ce46160cd4152c67381fab2ee557f3aa483.zip
feat(treewide): Switch to tailwindcss and add more components
Diffstat (limited to 'stalwart')
-rw-r--r--stalwart/Trunk.toml4
-rw-r--r--stalwart/index.html32
-rw-r--r--stalwart/input.css3
-rw-r--r--stalwart/package.json18
-rw-r--r--stalwart/tailwind.config.js36
5 files changed, 0 insertions, 93 deletions
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 @@
-<!DOCTYPE html>
-<html lang="en">
-
-<head>
-    <meta charset="utf-8">
-    <meta name="viewport" content="width=device-width, initial-scale=1.0">
-    <link data-trunk rel="rust" data-wasm-opt="z" />
-
-    <!-- Favicon for browsers -->
-    <link data-trunk rel="icon" type="image/ico" href="./src/assets/favicon.ico">
-    <!-- Favicon sizes for different platforms -->
-    <link data-trunk rel="icon" type="image/png" sizes="32x32" href="./src/assets/favicon-32x32.png">
-    <link data-trunk rel="icon" type="image/png" sizes="16x16" href="./src/assets/favicon-16x16.png">
-    <!-- For Android Chrome -->
-    <link data-trunk rel="icon" type="image/png" sizes="192x192" href="./src/assets/android-chrome-192x192.png">
-    <link data-trunk rel="icon" type="image/png" sizes="512x512" href="./src/assets/android-chrome-512x512.png">
-    <!-- For iOS devices -->
-    <link data-trunk rel="copy-file" href="./src/assets/apple-touch-icon.png" />
-    <link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
-    <!-- Manifest -->
-    <link data-trunk rel="copy-file" href="./src/assets/site.webmanifest" />
-    <link rel="manifest" href="/site.webmanifest">
-    <link data-trunk rel="css" href="/style/output.css" />
-    <link data-trunk rel="copy-file" href="./src/assets/logo.svg" />
-
-    <title>Stalwart Management</title>
-</head>
-
-<body>
-</body>
-
-</html>
\ 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")],
-}