From 7cfd235a00b0930f22b95b7f5261650917282daa Mon Sep 17 00:00:00 2001 From: Nicolas Cantu Date: Sun, 28 Dec 2025 23:21:18 +0100 Subject: [PATCH] Fix: Update PaymentModal to use custom Tailwind CSS theme colors --- components/PaymentModal.tsx | 30 +++++++++++++++--------------- styles/globals.css | 8 ++++---- 2 files changed, 19 insertions(+), 19 deletions(-) diff --git a/components/PaymentModal.tsx b/components/PaymentModal.tsx index 268b45b..c0430d7 100644 --- a/components/PaymentModal.tsx +++ b/components/PaymentModal.tsx @@ -54,14 +54,14 @@ function PaymentHeader({ return (
-

Zap de {amount} sats

+

Zap de {amount} sats

{timeLabel && ( -

+

Time remaining: {timeLabel}

)}
-
@@ -71,10 +71,10 @@ function PaymentHeader({ function InvoiceDisplay({ invoiceText, paymentUrl }: { invoiceText: string; paymentUrl: string }) { return (
-

Lightning Invoice:

-
{invoiceText}
+

Lightning Invoice:

+
{invoiceText}
-
+
-

Scan with your Lightning wallet to pay

+

Scan with your Lightning wallet to pay

) } @@ -103,13 +103,13 @@ function PaymentActions({ onClick={() => { void onCopy() }} - className="flex-1 px-4 py-2 bg-gray-200 hover:bg-gray-300 rounded-lg font-medium transition-colors" + className="flex-1 px-4 py-2 bg-cyber-light border border-neon-cyan/30 hover:border-neon-cyan/50 hover:bg-cyber-dark text-cyber-accent hover:text-neon-cyan rounded-lg font-medium transition-colors" > {copied ? 'Copied!' : 'Copy Invoice'} @@ -122,9 +122,9 @@ function ExpiredNotice({ show }: { show: boolean }) { return null } return ( -
-

This invoice has expired

-

Please close this modal and try again to generate a new invoice.

+
+

This invoice has expired

+

Please close this modal and try again to generate a new invoice.

) } @@ -177,7 +177,7 @@ export function PaymentModal({ invoice, onClose, onPaymentComplete }: PaymentMod return (
-
+
@@ -188,11 +188,11 @@ export function PaymentModal({ invoice, onClose, onPaymentComplete }: PaymentMod /> {errorMessage && ( -

+

{errorMessage}

)} -

+

Payment will be automatically verified once completed

diff --git a/styles/globals.css b/styles/globals.css index 0ab9942..759abeb 100644 --- a/styles/globals.css +++ b/styles/globals.css @@ -11,25 +11,25 @@ --color-midnight-700: #1f2435; --color-midnight-800: #222737; --color-midnight-900: #252a39; - + --color-neon-cyan: #00ffff; --color-neon-green: #00ff41; --color-neon-blue: #0080ff; --color-neon-purple: #bf00ff; --color-neon-pink: #ff00ff; - + --color-cyber-dark: #0a0a0f; --color-cyber-darker: #050508; --color-cyber-light: #1a1a2e; --color-cyber-accent: #00d9ff; --color-cyber-accent2: #00ff88; - + --shadow-neon-cyan: 0 0 10px #00ffff, 0 0 20px #00ffff, 0 0 30px #00ffff; --shadow-neon-green: 0 0 10px #00ff41, 0 0 20px #00ff41, 0 0 30px #00ff41; --shadow-neon-blue: 0 0 10px #0080ff, 0 0 20px #0080ff, 0 0 30px #0080ff; --shadow-glow-cyan: 0 0 5px #00ffff, 0 0 10px #00ffff; --shadow-glow-green: 0 0 5px #00ff41, 0 0 10px #00ff41; - + --bg-image-cyber-grid: linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px); --bg-size-grid: 20px 20px; }