fix dark mode, storybook config, and minor UI issues

- Add color scheme toggle to Storybook preview via globalTypes
- Remove @storybook/addon-actions (built into Storybook 9+)
- Include .storybook/ files in tsconfig.storybook.json
- Fix InlineError show more button color for readability
- Use transparent variant on Remove button for consistent red in dark mode

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
cliffhall 2026-03-23 13:12:37 -04:00
commit 46dd1b09ca
2 changed files with 43 additions and 21 deletions

View file

@ -38,7 +38,7 @@ export function InlineError({
<Button
variant="transparent"
size="compact-xs"
c="dark"
c="var(--inspector-text-primary)"
onClick={() => setExpanded((v) => !v)}
>
{expanded ? "Show less" : "Show more"}

View file

@ -117,7 +117,7 @@ export function ServerCard({
<Button variant="subtle" size="xs" onClick={onEdit}>
Edit
</Button>
<Button variant="subtle" size="xs" color="red" onClick={onRemove}>
<Button variant="transparent" size="xs" color="red" onClick={onRemove}>
Remove
</Button>
</ActionsRow>