Skip to content

Commit 2b18790

Browse files
committed
tie contribute cards to theme colors
1 parent 3475dff commit 2b18790

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

src/components/GridItem/ContributorDoc.astro

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ const { item } = Astro.props;
1313
class="group hover:no-underline"
1414
href={`/contribute/${removeLocaleAndExtension(item.slug)}`}
1515
>
16-
<div class="grid place-content-center mt-xs bg-bg-blue aspect-photo p-4 mb-2">
16+
<div
17+
class="grid place-content-center mt-xs bg-accent-color text-accent-type-color aspect-photo p-4 mb-2"
18+
>
1719
<span
1820
class="text-lg text-center align-middle line-clamp-3 text-pretty group-hover:underline"
1921
>

src/layouts/ContributeLayout.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ setJumpToState({
8686
donateSectionItems.map((it) => (
8787
<li>
8888
<a href={it.url}>
89-
<div class="grid place-content-center mt-xs bg-bg-blue aspect-photo p-4 mb-2">
89+
<div class="grid place-content-center mt-xs bg-accent-color text-accent-type-color aspect-photo p-4 mb-2">
9090
<span class="text-lg text-center align-middle line-clamp-3 text-pretty">
9191
{it.title}
9292
</span>

0 commit comments

Comments
 (0)