fix(canvas): 创作界面 - 统一素材选择并修复画布顶栏与暗色交互

This commit is contained in:
ddCat committed 2026-08-14 18:35:43 +08:00
1 parent 9973c656a6
commit 7ba4cb148e
18 files changed
+673 -448

No files matched your search

@@ -305,8 +305,8 @@ function FaceSelectionOverlay({
>
{selected ? (
<span
className="absolute -top-2.5 left-1/2 -translate-x-1/2 whitespace-nowrap rounded-full px-1.5 py-0.5 text-[var(--fs-micro)] font-semibold text-white"
style={{ background: active ? theme.accent.primary : "rgba(20,20,22,.82)" }}
className="absolute -top-2.5 left-1/2 -translate-x-1/2 whitespace-nowrap rounded-full px-1.5 py-0.5 text-[var(--fs-micro)] font-semibold"
style={{ background: active ? theme.accent.primary : "rgba(20,20,22,.82)", color: active ? theme.accent.onPrimary : "#ffffff" }}
>
{selected.name}
</span>