fix(external-admin): preserve black-gold tokens in production

This commit is contained in:
zhx 2026-07-15 20:01:37 +08:00
parent c67d2e2d4b
commit 56b50cc87e
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
<!doctype html> <!doctype html>
<html dir="ltr" lang="en"> <html data-external-admin-theme="black-gold" dir="ltr" lang="en">
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" /> <meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />

View File

@ -5,7 +5,7 @@
* All directional rules use CSS logical properties because the app also runs RTL (Arabic). * 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-page: #0d0d11;
--bg-sidebar: #101015; --bg-sidebar: #101015;
--bg-header: rgba(14, 14, 19, 0.88); --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. */ /* Bigger touch targets on handsets; 16px inputs also stop iOS Safari focus-zoom. */
@media (max-width: 899px) { @media (max-width: 899px) {
:root { :root[data-external-admin-theme="black-gold"] {
--control-height: 44px; --control-height: 44px;
--control-font-size: 16px; --control-font-size: 16px;
--control-line-height: 22px; --control-line-height: 22px;