Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(docs): bg color for cards #3508

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -63,15 +63,15 @@ const ColorOverview = () => {
</DBButton>
<section className="color-cards">
{colors.map((color) => (
<div
key={color}
className={`db-${color}-bg-basic-level-1`}>
<DBCard spacing="medium" elevationLevel="3">
<DBCard spacing="medium" elevationLevel="2">
<DBCard spacing="medium">{color}</DBCard>
</DBCard>
<DBCard
spacing="medium"
elevationLevel="3"
className={`db-${color}-bg-basic-level-1`}
key={color}>
<DBCard spacing="medium" elevationLevel="2">
<DBCard spacing="medium">{color}</DBCard>
</DBCard>
</div>
</DBCard>
))}
</section>
</div>
Expand Down
Loading