From 4332e28fbb2f8898060c99c8a215504e0935d495 Mon Sep 17 00:00:00 2001
From: Konrad Mohrfeldt <km@roko.li>
Date: Tue, 26 Nov 2024 03:04:21 +0100
Subject: [PATCH] fix: add some missing dark-mode button styles

---
 src/tailwind.css | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/tailwind.css b/src/tailwind.css
index 56498d8..aecfa4b 100644
--- a/src/tailwind.css
+++ b/src/tailwind.css
@@ -233,11 +233,13 @@ thead .fc-day-selected:hover {
   }
 
   .btn-secondary {
-    @apply tw-border tw-border-solid tw-border-transparent tw-transition hocus:tw-bg-gray-100 hocus:tw-border-gray-200;
+    @apply tw-border tw-border-solid tw-border-transparent tw-transition tw-text-inherit hocus:enabled:tw-bg-gray-100 hocus:enabled:tw-border-gray-200;
+    @apply dark:hocus:enabled:tw-bg-neutral-700 dark:hocus:enabled:tw-border-neutral-600;
   }
 
   .btn-danger {
     @apply tw-border-rose-200 tw-bg-rose-100 tw-text-rose-700 hocus:enabled:tw-bg-rose-600 hocus:enabled:tw-border-rose-600 hocus:enabled:tw-text-white;
+    @apply dark:tw-border-rose-950 dark:tw-bg-rose-950/20 dark:tw-text-white dark:hocus:enabled:tw-bg-rose-950 dark:hocus:enabled:tw-border-rose-900;
   }
 
   .btn-primary {
-- 
GitLab