style(studio): distinguish open-section body from header background

Add panel.bg-inset token (#121214) and inset shadow to open-group body
for visual separation from the header row.
This commit is contained in:
Vance Ingalls
2026-07-14 15:51:58 -07:00
parent 6062d3b31c
commit 127b8e4658
3 changed files with 72 additions and 1 deletions
@@ -537,7 +537,7 @@ export function PropertyPanelFlat({
animateEntrance={justToggledIds.includes(openGroup.id)}
/>
<div
className={`${justToggledIds.includes(openGroup.id) ? "hf-flat-group-enter " : ""}min-h-0 flex-1 overflow-y-auto border-b border-panel-hairline px-4 py-3`}
className={`${justToggledIds.includes(openGroup.id) ? "hf-flat-group-enter " : ""}min-h-0 flex-1 overflow-y-auto border-b border-panel-hairline bg-panel-bg-inset px-4 py-3 shadow-[inset_0_2px_4px_-1px_rgba(0,0,0,0.5)]`}
>
{openGroup.content}
</div>
@@ -12,6 +12,9 @@ const studioPreset = {
},
panel: {
bg: "#0C0C0E",
// Open inspector-section body — slightly lighter than headers (bg)
// so the recessed scrollable region reads distinct.
"bg-inset": "#121214",
input: "#161618",
surface: "#18181B",
hover: "#27272A",