fix(theme): use opaque surface tokens for modals and sticky layers

The elevated surface tokens (--bg-elevated / --surface-elevated) are
translucent, so sticky modal footers and table headers double-composited
over the modal surface and showed a visible lighter seam in light themes.

Add derived opaque tokens (--bg-elevated-solid / --surface-elevated-solid,
aliased as --lora-surface-solid) and use them for .modal-content, the
download/import modal sticky action footers, and the refresh result
table's sticky header, so the modal surface and its sticky layers always
share one opaque color across every theme and preset.
This commit is contained in:
Will Miao
2026-10-10 19:58:54 +08:00
parent a8941f453f
commit 3d165f92e0
6 changed files with 30 additions and 6 deletions
+2
View File
@@ -65,6 +65,7 @@ body {
--lora-accent: var(--color-accent);
--lora-surface: var(--bg-elevated);
--lora-surface-solid: var(--bg-elevated-solid);
--lora-border: var(--border-subtle);
--lora-text: var(--text-primary);
--lora-error: var(--color-error);
@@ -93,6 +94,7 @@ body {
--lora-accent: var(--color-accent);
--lora-surface: var(--bg-elevated);
--lora-surface-solid: var(--bg-elevated-solid);
--lora-border: var(--border-subtle);
--lora-text: var(--text-primary);
--lora-error: var(--color-error);