From 0058493a54074645c2b7c6a0f49d8852fd952b5a Mon Sep 17 00:00:00 2001 From: rajchales-monito Date: Thu, 6 Aug 2026 17:25:09 +0200 Subject: [PATCH] Start Tailwind UI rebuild --- AGENTS.md | 3 ++ public/admin.html | 14 +++---- public/preview.html | 56 +++++++++---------------- public/tailwind.css | 2 +- src/styles/tailwind.css | 91 +++++++++++++++++++++++++++++++++++++++++ 5 files changed, 121 insertions(+), 45 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 707f307..cd66c3d 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -56,6 +56,9 @@ npm.cmd run build:css Rules: +- Treat `src/styles/tailwind.css` as the master style source from now on. +- `public/admin.css` is legacy/specialized CSS. Do not add new generic component styling there; migrate repeated UI patterns into Tailwind component classes instead. +- New screens and redesigned sections should be built with Tailwind utility classes or reusable classes from `@layer components`. - Prefer reusable Tailwind component classes in `@layer components` over one-off CSS for repeated controls. - Repeated controls should share the same structure: icon before text, centered text, chevron on the right, consistent icon size/color/alignment, height, padding, border, radius, hover, and focus states. - Panel top bars should share height, border, background, text color, and button styling. diff --git a/public/admin.html b/public/admin.html index e163a8d..233f166 100644 --- a/public/admin.html +++ b/public/admin.html @@ -10,12 +10,12 @@
-