Skip to content

Commit d1c2899

Browse files
committed
style: fix unreadable text for dark mode
1 parent 933014a commit d1c2899

File tree

5 files changed

+9
-9
lines changed

5 files changed

+9
-9
lines changed

src/components/Benefits.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ const features = [
4242
<div class="bg-white dark:bg-transparent">
4343
<div class="max-w-6xl mx-auto py-16 px-4 sm:px-6 lg:py-24 lg:px-8">
4444
<div class="max-w-3xl mx-auto text-center">
45-
<h2 class="text-base font-mono text-navy-300 mb-3 dark:text-white">Benefits</h2>
45+
<h2 class="text-base font-mono text-navy-300 mb-3 dark:text-cyan-300">Benefits</h2>
4646
<h3 class="text-3xl font-extrabold text-gray-900 dark:text-white">
4747
Made for people that make websites.
4848
</h3>

src/components/Contributors.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const contributors = await getContributors()
1616
</h2>
1717
</div>
1818

19-
<h3 class="text-base font-mono text-navy-300 text-center mb-8">
19+
<h3 class="text-base font-mono text-navy-300 text-center mb-8 dark:text-cyan-300">
2020
GitHub Contributors
2121
</h3>
2222
<div class="max-w-5xl mx-auto flex flex-wrap justify-center">
@@ -40,14 +40,14 @@ const contributors = await getContributors()
4040
}
4141
</div>
4242

43-
<h3 class="mt-24 mb-8 text-base font-mono text-navy-300 text-center">
43+
<h3 class="mt-24 mb-8 text-base font-mono text-navy-300 text-center dark:text-cyan-300">
4444
Featured Sponsors
4545
</h3>
4646
<div class="max-w-4xl mx-auto flex flex-wrap justify-center">
4747
<FeaturedSponsors />
4848
</div>
4949

50-
<h3 class="mt-24 mb-8 text-base font-mono text-navy-300 text-center">
50+
<h3 class="mt-24 mb-8 text-base font-mono text-navy-300 text-center dark:text-cyan-300">
5151
GitHub Sponsors
5252
</h3>
5353
<div class="max-w-4xl mx-auto flex flex-wrap justify-center">

src/components/Features.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const features = [
7676
<div
7777
class="mx-auto max-w-md px-4 text-center sm:max-w-3xl sm:px-6 lg:max-w-7xl lg:px-8"
7878
>
79-
<h2 class="text-base font-mono text-navy-300">Features</h2>
79+
<h2 class="text-base font-mono text-navy-300 dark:text-cyan-300">Features</h2>
8080
<p class="mt-2 text-3xl font-bold text-gray-900 sm:text-4xl dark:text-white">
8181
Running in minutes, ready for the long haul.
8282
</p>

src/components/Footer.astro

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ const navigation = {
7676
<div class="grid grid-cols-auto gap-8 xl:col-span-4">
7777
<div class="md:grid md:grid-cols-4 md:gap-8">
7878
<div class="mt-12 md:mt-0">
79-
<h2 class="text-sm font-mono text-navy-300 tracking-wider">
79+
<h2 class="text-sm font-mono text-navy-300 tracking-wider dark:text-cyan-300">
8080
Support
8181
</h2>
8282
<ul class="mt-4 space-y-4 dark:text-white">
@@ -97,7 +97,7 @@ const navigation = {
9797
</ul>
9898
</div>
9999
<div class="mt-12 md:mt-0">
100-
<h2 class="text-sm font-mono text-navy-300 tracking-wider">
100+
<h2 class="text-sm font-mono text-navy-300 tracking-wider dark:text-cyan-300">
101101
Product
102102
</h2>
103103
<ul class="mt-4 space-y-4 dark:text-white">
@@ -118,7 +118,7 @@ const navigation = {
118118
</ul>
119119
</div>
120120
<div class="mt-12 md:mt-0">
121-
<h2 class="text-sm font-mono text-navy-300 tracking-wider">
121+
<h2 class="text-sm font-mono text-navy-300 tracking-wider dark:text-cyan-300">
122122
Social
123123
</h2>
124124
<ul class="mt-4 space-y-4 dark:text-white">

src/pages/blog/author/[id].astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ const { Content } = await render(author)
4646
</div>
4747
</div>
4848

49-
<h2 class="text-base font-mono text-navy-300 px-6 lg:px-0">
49+
<h2 class="text-base font-mono text-navy-300 px-6 lg:px-0 dark:text-cyan-300">
5050
{author.data.firstName || author.data.name}’s {
5151
posts.length == 1 ? `Post` : `Posts`
5252
}

0 commit comments

Comments
 (0)