Skip to content

Commit 09919ff

Browse files
authored
style(callouts): make notes/tips/warnings/danger more readable (#548)
1 parent ba04ea7 commit 09919ff

File tree

2 files changed

+20
-20
lines changed

2 files changed

+20
-20
lines changed

src/pages/support-ddev.astro

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ const title = `Support DDEV`
4242
<p>
4343
<strong>Our Current Goal:</strong> We need <strong>$12,000/month</strong> to fully fund both maintainers. We're currently at $6,300/month (See the header for current status!). Your contribution directly ensures DDEV's sustainability and continued excellence.
4444
</p>
45-
<div class="bg-blue-50 dark:bg-blue-900/20 p-6 rounded-lg border-l-4 border-blue-500 my-8">
46-
<h3 class="font-semibold text-blue-800 dark:text-blue-200 mt-0">Ways to Support Financially</h3>
45+
<div class="bg-cyan-100 dark:bg-cyan-900/50 p-6 rounded-lg border-l-4 border-cyan-600 dark:border-cyan-400 my-8">
46+
<h3 class="font-semibold text-slate-900 dark:text-slate-100 mt-0">Ways to Support Financially</h3>
4747
<ul class="mb-0">
4848
<li><strong>GitHub Sponsors:</strong> Perfect for individuals and organizations who prefer monthly recurring support</li>
4949
<li><strong>Direct Invoicing:</strong> Many organizations prefer direct billing. <a href="/contact">Contact us</a> to set this up</li>
@@ -77,14 +77,14 @@ const title = `Support DDEV`
7777
Community contributions help reduce the maintenance burden on our funded maintainers, allowing them to focus on core development and new features.
7878
</p>
7979
<div class="grid md:grid-cols-2 gap-6 my-8">
80-
<div class="bg-gray-50 dark:bg-gray-800 p-6 rounded-lg">
81-
<h3 class="font-semibold mb-3 mt-0">💬 Help Others in the Community</h3>
82-
<p class="mb-4">Answer questions on <a href={DISCORD_URL} target="_blank">Discord</a> and in the <a href="https://github.com/ddev/ddev/issues" target="_blank">GitHub Issue Queue</a>. Every question you answer helps our maintainers focus on development.</p>
80+
<div class="bg-green-100 dark:bg-green-900/50 p-6 rounded-lg border-l-4 border-green-600 dark:border-green-400">
81+
<h3 class="font-semibold mb-3 mt-0 text-slate-900 dark:text-slate-100">💬 Help Others in the Community</h3>
82+
<p class="mb-4 text-slate-800 dark:text-slate-200">Answer questions on <a href={DISCORD_URL} target="_blank">Discord</a> and in the <a href="https://github.com/ddev/ddev/issues" target="_blank">GitHub Issue Queue</a>. Every question you answer helps our maintainers focus on development.</p>
8383
<a href={DISCORD_URL} target="_blank" class="text-blue-600 dark:text-blue-400 font-medium">Join Discord →</a>
8484
</div>
85-
<div class="bg-gray-50 dark:bg-gray-800 p-6 rounded-lg">
86-
<h3 class="font-semibold mb-3 mt-0">🛠 Contribute Code & Docs</h3>
87-
<p class="mb-4">File issues, submit PRs, improve documentation—every contribution helps.</p>
85+
<div class="bg-green-100 dark:bg-green-900/50 p-6 rounded-lg border-l-4 border-green-600 dark:border-green-400">
86+
<h3 class="font-semibold mb-3 mt-0 text-slate-900 dark:text-slate-100">🛠 Contribute Code & Docs</h3>
87+
<p class="mb-4 text-slate-800 dark:text-slate-200">File issues, submit PRs, improve documentation—every contribution helps.</p>
8888
<a href="https://github.com/ddev/ddev/blob/main/CONTRIBUTING.md" target="_blank" class="text-blue-600 dark:text-blue-400 font-medium">Contributing Guide →</a>
8989
</div>
9090
</div>

src/styles/callouts.css

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,53 +10,53 @@
1010

1111
.callout-note,
1212
.callout-info {
13-
@apply border-blue-500 bg-blue-50 dark:bg-blue-950/30;
13+
@apply border-cyan-600 bg-cyan-100 dark:border-cyan-400 dark:bg-cyan-900/50;
1414
}
1515

1616
.callout-note .callout-title,
1717
.callout-info .callout-title {
18-
@apply text-blue-900 dark:text-blue-200;
18+
@apply text-slate-900 dark:text-slate-100;
1919
}
2020

2121
.callout-note p,
2222
.callout-info p {
23-
@apply text-blue-800 dark:text-blue-300;
23+
@apply text-slate-800 dark:text-slate-200;
2424
}
2525

2626
.callout-tip {
27-
@apply border-green-500 bg-green-50 dark:bg-green-950/30;
27+
@apply border-green-600 bg-green-100 dark:border-green-400 dark:bg-green-900/50;
2828
}
2929

3030
.callout-tip .callout-title {
31-
@apply text-green-900 dark:text-green-200;
31+
@apply text-slate-900 dark:text-slate-100;
3232
}
3333

3434
.callout-tip p {
35-
@apply text-green-800 dark:text-green-300;
35+
@apply text-slate-800 dark:text-slate-200;
3636
}
3737

3838
.callout-warning {
39-
@apply border-yellow-500 bg-yellow-50 dark:bg-yellow-950/30;
39+
@apply border-yellow-600 bg-yellow-100 dark:border-yellow-400 dark:bg-yellow-900/50;
4040
}
4141

4242
.callout-warning .callout-title {
43-
@apply text-yellow-900 dark:text-yellow-200;
43+
@apply text-slate-900 dark:text-slate-100;
4444
}
4545

4646
.callout-warning p {
47-
@apply text-yellow-800 dark:text-yellow-300;
47+
@apply text-slate-800 dark:text-slate-200;
4848
}
4949

5050
.callout-danger {
51-
@apply border-red-500 bg-red-50 dark:bg-red-950/30;
51+
@apply border-red-600 bg-red-100 dark:border-red-400 dark:bg-red-900/50;
5252
}
5353

5454
.callout-danger .callout-title {
55-
@apply text-red-900 dark:text-red-200;
55+
@apply text-slate-900 dark:text-slate-100;
5656
}
5757

5858
.callout-danger p {
59-
@apply text-red-800 dark:text-red-300;
59+
@apply text-slate-800 dark:text-slate-200;
6060
}
6161

6262
/* Remove extra margins from last paragraph in callout */

0 commit comments

Comments
 (0)