Skip to content

Commit 33e9e4a

Browse files
Copilothotlong
andcommitted
Use design system colors for error messages
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
1 parent c086813 commit 33e9e4a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/site/app/playground/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ export default function PlaygroundPage() {
292292
<div className="bg-fd-muted px-4 py-2 border-b border-fd-border">
293293
<h2 className="text-sm font-semibold text-fd-foreground">JSON Schema</h2>
294294
{error && (
295-
<div className="mt-2 text-xs text-red-500 bg-red-50 dark:bg-red-950 p-2 rounded">
295+
<div className="mt-2 text-xs text-fd-destructive bg-fd-destructive/10 p-2 rounded border border-fd-destructive/20">
296296
{error}
297297
</div>
298298
)}

0 commit comments

Comments
 (0)