diff --git a/admin/index.php b/admin/index.php index 890afba..0a2aef0 100644 --- a/admin/index.php +++ b/admin/index.php @@ -2168,7 +2168,30 @@ function openUpdateCard(id, triggerBtn) { } Square.payments('', '').then(payments => { _sqPayments = payments; - return _sqPayments.card(); + return _sqPayments.card({ + style: { + '.input-container': { + borderColor: '#d1d5db', + borderRadius: '6px', + backgroundColor: '#ffffff', + }, + '.input-container.is-focus': { + borderColor: '#f97316', + }, + '.input-container.is-error': { + borderColor: '#dc2626', + }, + 'input': { + backgroundColor: '#ffffff', + color: '#111111', + fontSize: '14px', + fontFamily: 'Inter, Arial, sans-serif', + }, + 'input::placeholder': { + color: '#9ca3af', + }, + } + }); }).then(card => { window._ucCard = card; return card.attach('#ucCardContainer'); @@ -2222,7 +2245,7 @@ async function submitUpdateCard() {

Enter the customer's new card. The old card will be removed and replaced.

-
+