From 42f50e7a0c3f28cec5a88d4b518258791b76c24f Mon Sep 17 00:00:00 2001
From: memdmp <memdmp@estrogen.zone>
Date: Wed, 12 Mar 2025 14:34:09 +0100
Subject: feat: upgrade tailwind

---
 src/app.css | 32 +++++++++++++++++++++++++++++---
 1 file changed, 29 insertions(+), 3 deletions(-)

(limited to 'src')

diff --git a/src/app.css b/src/app.css
index e920bfb..0199fc9 100644
--- a/src/app.css
+++ b/src/app.css
@@ -7,6 +7,32 @@
 
   You should have received a copy of the GNU Affero General Public License along with this program.  If not, see <http://www.gnu.org/licenses/>.
 */
-@tailwind base;
-@tailwind components;
-@tailwind utilities;
+@import 'tailwindcss';
+
+@theme {
+  --font-bios:
+    'Ac437 IBM EGA 8x14', 'Hack', 'Courier New', 'Courier', 'monospace';
+  --font-grub:
+    'Px437 DOS/V re. JPN12', 'Ac437 IBM EGA 8x14', 'Hack', 'Courier New',
+    'Courier', 'monospace';
+  --font-mono:
+    'PxPlus IBM EGA 8x14', 'Hack', 'Courier New', 'Courier', 'monospace';
+}
+
+/*
+  The default border color has changed to `currentColor` in Tailwind CSS v4,
+  so we've added these compatibility styles to make sure everything still
+  looks the same as it did with Tailwind CSS v3.
+
+  If we ever want to remove these styles, we need to add an explicit border
+  color utility to any element that depends on these defaults.
+*/
+@layer base {
+  *,
+  ::after,
+  ::before,
+  ::backdrop,
+  ::file-selector-button {
+    border-color: var(--color-gray-200, currentColor);
+  }
+}
-- 
cgit v1.2.3