Skip to content

Commit a70179c

Browse files
committed
Update appearance
1 parent 1d8d1fd commit a70179c

File tree

3 files changed

+27
-28
lines changed

3 files changed

+27
-28
lines changed

src/components/EnumerationDemo.tsx

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -515,19 +515,7 @@ const EnumerationDemo: React.FC<EnumerationDemoProps> = ({
515515
</CardTitle>
516516
</CardHeader>
517517
<CardContent>
518-
<div
519-
className='h-12 mb-4 text-lg font-medium text-center'
520-
style={{ color: theme.text }}
521-
>
522-
{narration.title}
523-
<div
524-
className='text-sm font-normal'
525-
style={{ color: `${theme.text}88` }}
526-
>
527-
{narration.description}
528-
</div>
529-
</div>
530-
<svg viewBox='0 0 400 400' className='w-full h-80 mb-4'>
518+
<svg viewBox='0 0 400 400' className='w-full h-33 mb-4'>
531519
{columns.map((col, i) => (
532520
<text
533521
key={i}
@@ -541,14 +529,14 @@ const EnumerationDemo: React.FC<EnumerationDemoProps> = ({
541529
</text>
542530
))}
543531

544-
{Array(4)
532+
{Array(5)
545533
.fill(null)
546534
.map((_, i) => (
547535
<line
548536
key={i}
549-
x1={100 + i * 100}
537+
x1={i * 100}
550538
y1={40}
551-
x2={100 + i * 100}
539+
x2={i * 100}
552540
y2={360}
553541
stroke={theme.gridLines}
554542
strokeDasharray='4,4'
@@ -594,7 +582,18 @@ const EnumerationDemo: React.FC<EnumerationDemoProps> = ({
594582
);
595583
})}
596584
</svg>
597-
585+
<div
586+
className='h-12 mb-4 text-lg font-medium text-center'
587+
style={{ color: theme.text }}
588+
>
589+
{narration.title}
590+
<div
591+
className='text-sm font-normal'
592+
style={{ color: `${theme.text}88` }}
593+
>
594+
{narration.description}
595+
</div>
596+
</div>
598597
<div className='space-y-4'>
599598
{!demoType && (
600599
<div className='flex items-center justify-between mb-4'>

src/components/ui/card.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ const CardDescription = React.forwardRef<
5050
>(({ className, ...props }, ref) => (
5151
<p
5252
ref={ref}
53-
className={cn('text-sm text-muted-foreground', className)}
53+
className={cn('text-m text-muted-foreground', className)}
5454
{...props}
5555
/>
5656
));

src/index.css

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@
1212
--popover-foreground: 224 71.4% 4.1%;
1313
--primary: 220.9 39.3% 11%;
1414
--primary-foreground: 210 20% 98%;
15-
--secondary: 220 14.3% 95.9%;
15+
--secondary: 230, 13%, 81%;
1616
--secondary-foreground: 220.9 39.3% 11%;
1717
--muted: 220 14.3% 95.9%;
1818
--muted-foreground: 220 8.9% 46.1%;
1919
--accent: 220 14.3% 95.9%;
2020
--accent-foreground: 220.9 39.3% 11%;
2121
--destructive: 0 84.2% 60.2%;
2222
--destructive-foreground: 210 20% 98%;
23-
--border: 220 13% 91%;
24-
--input: 220 13% 91%;
23+
--border: 230 13% 81%;
24+
--input: 230 13% 81%;
2525
--ring: 224 71.4% 4.1%;
2626
--radius: 0.5rem;
2727
}
@@ -35,16 +35,16 @@
3535
--popover-foreground: 210 20% 98%;
3636
--primary: 210 20% 98%;
3737
--primary-foreground: 220.9 39.3% 11%;
38-
--secondary: 215 27.9% 16.9%;
38+
--secondary: 250, 3%, 47%;
3939
--secondary-foreground: 210 20% 98%;
40-
--muted: 215 27.9% 16.9%;
40+
--muted: 250, 3%, 47%;
4141
--muted-foreground: 217.9 10.6% 64.9%;
42-
--accent: 215 27.9% 16.9%;
42+
--accent: 250, 3%, 47%;
4343
--accent-foreground: 210 20% 98%;
4444
--destructive: 0 62.8% 30.6%;
4545
--destructive-foreground: 210 20% 98%;
46-
--border: 215 27.9% 16.9%;
47-
--input: 215 27.9% 16.9%;
46+
--border: 250, 3%, 47%;
47+
--input: 250, 3%, 47%;
4848
--ring: 216 12.2% 83.9%;
4949
}
5050
}
@@ -120,8 +120,8 @@
120120
}
121121

122122
/* Add responsive utilities */
123-
.h-80 {
124-
height: 20rem;
123+
.h-33 {
124+
height: 33rem;
125125
}
126126

127127
.w-full {

0 commit comments

Comments
 (0)