From 56b50cc87e937d18d7545c8b0b1933a6ee988052 Mon Sep 17 00:00:00 2001 From: zhx Date: Wed, 15 Jul 2026 20:01:37 +0800 Subject: [PATCH] fix(external-admin): preserve black-gold tokens in production --- external-admin/index.html | 2 +- external-admin/src/styles/index.css | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/external-admin/index.html b/external-admin/index.html index 8c5c043..329eb1a 100644 --- a/external-admin/index.html +++ b/external-admin/index.html @@ -1,5 +1,5 @@ - + diff --git a/external-admin/src/styles/index.css b/external-admin/src/styles/index.css index 9cda337..b4ab771 100644 --- a/external-admin/src/styles/index.css +++ b/external-admin/src/styles/index.css @@ -5,7 +5,7 @@ * All directional rules use CSS logical properties because the app also runs RTL (Arabic). */ -:root { +:root[data-external-admin-theme="black-gold"] { --bg-page: #0d0d11; --bg-sidebar: #101015; --bg-header: rgba(14, 14, 19, 0.88); @@ -88,7 +88,7 @@ /* Bigger touch targets on handsets; 16px inputs also stop iOS Safari focus-zoom. */ @media (max-width: 899px) { - :root { + :root[data-external-admin-theme="black-gold"] { --control-height: 44px; --control-font-size: 16px; --control-line-height: 22px;