From dd5ece1c5d3cc912e9b3fdbb696ff4615a273675 Mon Sep 17 00:00:00 2001 From: Your Name Date: Sat, 20 Jun 2026 21:59:36 -0400 Subject: [PATCH] x --- apps/admin/src/index.css | 21 +++++++- apps/admin/src/pages/SystemSettingsPage.tsx | 54 ++++++++++----------- 2 files changed, 47 insertions(+), 28 deletions(-) diff --git a/apps/admin/src/index.css b/apps/admin/src/index.css index 1fcfc94..cc43af3 100644 --- a/apps/admin/src/index.css +++ b/apps/admin/src/index.css @@ -6,6 +6,8 @@ --color-night-900: #0B0C10; --color-night-800: #1F2833; --color-night-700: #45A29E; + --color-night-850: #121820; + --color-night-750: #2A3440; --color-cyan-glow: #66FCF1; --color-silver-metallic: #C5C6C7; --color-slate-dark: #1e293b; @@ -24,7 +26,24 @@ @layer components { .admin-card { - @apply bg-night-900/50 backdrop-blur-md border border-white/5 rounded-xl p-6 transition-all duration-300; + @apply bg-night-900/60 backdrop-blur-md border border-white/10 rounded-xl p-6 transition-all duration-300; + } + + .admin-input { + @apply block rounded-lg border border-night-750 bg-night-850 px-4 py-3 text-sm text-white shadow-inner shadow-black/20 outline-none transition-all duration-200 placeholder:text-slate-500; + } + + .admin-input:hover { + @apply border-slate-500 bg-slate-900; + } + + .admin-input:focus, + .admin-input:focus-visible { + @apply border-cyan-glow bg-slate-900 ring-2 ring-cyan-glow/25; + } + + .admin-input:disabled { + @apply cursor-not-allowed border-white/10 bg-night-900 text-slate-500 opacity-70; } .admin-card-hover { diff --git a/apps/admin/src/pages/SystemSettingsPage.tsx b/apps/admin/src/pages/SystemSettingsPage.tsx index 0ab3bb1..6cc7672 100644 --- a/apps/admin/src/pages/SystemSettingsPage.tsx +++ b/apps/admin/src/pages/SystemSettingsPage.tsx @@ -102,14 +102,14 @@ export default function SystemSettingsPage() {

System Settings

-

Configure shipping rules and payment banking details.

+

Configure shipping rules and payment banking details.

{/* Shipping Settings */}
-
+
@@ -117,7 +117,7 @@ export default function SystemSettingsPage() {
- + setShippingFee(e.target.value)} className="admin-input w-full max-w-sm" /> -

This fee will be applied uniformly to all orders during checkout.

+

This fee will be applied uniformly to all orders during checkout.

{/* Loyalty Points Settings */}
-
+
⭐️
@@ -140,7 +140,7 @@ export default function SystemSettingsPage() {
- +
1 THB spent = Points
-

For example, if you set 1.0, spending 100 THB gives 100 points. If you set 0.5, spending 100 THB gives 50 points.

+

For example, if you set 1.0, spending 100 THB gives 100 points. If you set 0.5, spending 100 THB gives 50 points.

{/* Bank Settings */}
-
+
@@ -169,7 +169,7 @@ export default function SystemSettingsPage() {
- +
- +
- + -
+
✨
@@ -215,7 +215,7 @@ export default function SystemSettingsPage() {
- + -

This name is used by the website and spa header/footer as the brand display name.

+

This name is used by the website and spa header/footer as the brand display name.

- + -

If provided, this image will be displayed instead of the text brand name in headers.

+

If provided, this image will be displayed instead of the text brand name in headers.

{logoUrl && (
Logo Preview @@ -245,7 +245,7 @@ export default function SystemSettingsPage() {
- +