Replace hardcoded section-row background with CSS variable for dark mode

closes #32
This commit is contained in:
you
2026-03-19 21:32:58 +00:00
parent 9c236a27fe
commit d0fa45a365
+3 -1
View File
@@ -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);
}