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:
parent
3c25bdfbd5
commit
46dd1b09ca
2 changed files with 43 additions and 21 deletions
|
|
@ -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"}
|
||||
|
|
|
|||
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue