We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0f03f6 commit c06a917Copy full SHA for c06a917
2025/src/components/Card.astro
@@ -9,7 +9,9 @@ const { class: className } = Astro.props;
9
<div
10
class:list={[
11
className,
12
- "rounded-lg border border-emerald-100 bg-card text-card-foreground",
+ "rounded-lg border text-card-foreground",
13
+ [(className ?? '').search('border-') === -1 && 'border-emerald-100'],
14
+ [(className ?? '').search('bg-') === -1 && 'bg-card'],
15
]}
16
>
17
<slot />
0 commit comments