diff options
| author | Adam Malczewski <[email protected]> | 2026-10-15 15:05:06 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-10-15 15:05:06 +0900 |
| commit | 755b04c514b15043cbe003ced905a7523e0e8eed (patch) | |
| tree | a7fe22bef86c45fd1b014df51adbfb4adeef532f /src/features/tabs/ui/TabGroupBox.svelte | |
| parent | ab51a8144c3faf1d545e33195f2190492219e861 (diff) | |
| download | dispatch-web-755b04c514b15043cbe003ced905a7523e0e8eed.tar.gz dispatch-web-755b04c514b15043cbe003ced905a7523e0e8eed.zip | |
style(tabs): subagent group boxes use a 20% secondary (lavender) tint, compounding per nesting level
Diffstat (limited to 'src/features/tabs/ui/TabGroupBox.svelte')
| -rw-r--r-- | src/features/tabs/ui/TabGroupBox.svelte | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/features/tabs/ui/TabGroupBox.svelte b/src/features/tabs/ui/TabGroupBox.svelte index 289cb6d..daad8cb 100644 --- a/src/features/tabs/ui/TabGroupBox.svelte +++ b/src/features/tabs/ui/TabGroupBox.svelte @@ -6,15 +6,16 @@ import TabGroupBox from "./TabGroupBox.svelte"; /** - * A subagent group: a darker box spanning both grid columns that wraps the + * A subagent group: a tinted box spanning both grid columns that wraps the * group parent's (double-width) card + its subagents' cards. Recursive — * a subagent with its own subagents renders a nested box. The box BLEEDS * outward (negative margin + equal padding, `groupBleedPx`) so the cards * inside stay on the same two columns as top-level cards: every card keeps * identical dimensions at every depth. The padding is EQUAL on all four * sides (= the bleed) so the box looks even — except below a nested box on - * the last row, where it is trimmed to match that box's side gaps. Every box paints 20% black, - * which compounds: each nesting level reads darker than the one around it. + * the last row, where it is trimmed to match that box's side gaps. Every + * box paints a 20% secondary (lavender) tint, which compounds: each + * nesting level reads a little stronger than the one around it. */ let { node, @@ -40,7 +41,7 @@ </script> <div - class="col-span-2 rounded-lg bg-black/20" + class="col-span-2 rounded-lg bg-secondary/20" style:margin-inline="-{bleed}px" style:padding="{bleed}px {bleed}px {padBottom}px" role="group" |
