[dyad] Applied a strict black and white theme - wrote 3 file(s)

This commit is contained in:
[dyad]
2026-01-20 12:01:17 +01:00
parent e978708456
commit 29b7d57694
3 changed files with 13 additions and 13 deletions

View File

@@ -41,7 +41,7 @@ export function MetaForm() {
<div className="w-full space-y-6">
<form onSubmit={handleSubmit} className="flex flex-col sm:flex-row items-center gap-3">
<div className="relative w-full">
<Globe className="absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 text-gray-400" />
<Globe className="absolute left-3 top-1/2 -translate-y-1/2 h-5 w-5 text-muted-foreground" />
<Input
name="url"
type="url"
@@ -56,9 +56,9 @@ export function MetaForm() {
</form>
{error && (
<Card className="bg-red-50 border-red-200 dark:bg-red-900/20 dark:border-red-500/30">
<Card className="border-destructive bg-destructive/10">
<CardContent className="p-4">
<p className="text-red-600 dark:text-red-400 text-center">{error}</p>
<p className="text-destructive text-center">{error}</p>
</CardContent>
</Card>
)}
@@ -66,18 +66,18 @@ export function MetaForm() {
{metaData && (
<Card className="w-full shadow-lg rounded-lg">
<CardHeader>
<CardTitle className="text-xl text-gray-800 dark:text-white">Extraction Results</CardTitle>
<CardTitle className="text-xl text-card-foreground">Extraction Results</CardTitle>
</CardHeader>
<CardContent className="space-y-4">
<div>
<h3 className="font-semibold text-gray-700 dark:text-gray-300">Meta Title</h3>
<p className="text-gray-600 dark:text-gray-400 bg-gray-100 dark:bg-gray-800 p-3 rounded-md mt-1">
<h3 className="font-semibold text-card-foreground">Meta Title</h3>
<p className="text-muted-foreground bg-muted p-3 rounded-md mt-1">
{metaData.title || "Not found"}
</p>
</div>
<div>
<h3 className="font-semibold text-gray-700 dark:text-gray-300">Meta Description</h3>
<p className="text-gray-600 dark:text-gray-400 bg-gray-100 dark:bg-gray-800 p-3 rounded-md mt-1">
<h3 className="font-semibold text-card-foreground">Meta Description</h3>
<p className="text-muted-foreground bg-muted p-3 rounded-md mt-1">
{metaData.description || "Not found"}
</p>
</div>