Skip to content

Commit cdf18e2

Browse files
committed
Tweak FAQ text color on dark mode
1 parent b7a3280 commit cdf18e2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/home/Faq.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ const faqs = [
4141
faqs.map((faq, index) => (
4242
<div class="border-b border-primary-white/10 px-4 transition">
4343
<details class="rounded-lg border border-transparent p-6 open:border-primary-900/40 dark:open:border-primary-white/50">
44-
<summary class="text-sm leading-6 text-gray-900 select-none font-medium text-xl">{t(faq.question)}</summary>
44+
<summary class="text-sm leading-6 text-gray-900 dark:text-white select-none font-medium text-xl">{t(faq.question)}</summary>
4545
<div class="mt-3 mb-3 text-sm leading-6 text-gray-600">
46-
<p class="text-primary-950/70 dark:text-primary-200/70 text-base">
46+
<p class="text-primary-950/70 dark:text-white text-base">
4747
<Fragment set:html={t(faq.answer)} />
4848
</p>
4949
</div>

0 commit comments

Comments
 (0)