Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

added dark button support for modal 'close' action

Blue Mousee6b0eb54dc0c
diff --git a/src/ui/Modal.jsx b/src/ui/Modal.jsx
index 2df62285c..73522dc17 100644
--- a/src/ui/Modal.jsx
+++ b/src/ui/Modal.jsx
@@ -92,7 +92,7 @@ const Modal = ({
{closeText && (
<button
type='button'
- className='mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm'
+ className='mt-3 w-full inline-flex justify-center rounded-md border border-gray-300 shadow-sm px-4 py-2 bg-white text-base font-medium text-gray-700 hover:bg-gray-50 dark:text-gray-50 dark:border-gray-600 dark:bg-gray-600 dark:hover:border-gray-600 dark:hover:bg-gray-700 sm:mt-0 sm:ml-3 sm:w-auto sm:text-sm'
onClick={onClose}
>
{closeText}