mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-08-14 09:09:58 +00:00
Replace hardcoded section-row background with CSS variable for dark mode
closes #32
This commit is contained in:
+3
-1
@@ -45,6 +45,7 @@
|
||||
--input-bg: #1e1e34;
|
||||
--selected-bg: #1e3a5f;
|
||||
--hover-bg: rgba(255,255,255, 0.06);
|
||||
--section-bg: #1e1e34;
|
||||
}
|
||||
}
|
||||
/* ⚠️ DARK THEME VARIABLES — KEEP IN SYNC with @media block above */
|
||||
@@ -64,6 +65,7 @@
|
||||
--input-bg: #1e1e34;
|
||||
--selected-bg: #1e3a5f;
|
||||
--hover-bg: rgba(255,255,255, 0.06);
|
||||
--section-bg: #1e1e34;
|
||||
}
|
||||
|
||||
* { margin: 0; padding: 0; box-sizing: border-box; }
|
||||
@@ -321,7 +323,7 @@ a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible
|
||||
padding: 5px 8px; border-bottom: 1px solid var(--border);
|
||||
}
|
||||
.field-table .section-row td {
|
||||
background: #eef2ff; font-weight: 700; font-size: 11px;
|
||||
background: var(--section-bg, #eef2ff); font-weight: 700; font-size: 11px;
|
||||
text-transform: uppercase; letter-spacing: .5px; color: var(--accent);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user