Skip to content

Commit 3ffc5d3

Browse files
committed
dark theme for pages
1 parent ef18a91 commit 3ffc5d3

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

src/components/ui/Accordion.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const { title, id } = Astro.props;
1111
<summary
1212
aria-expanded="false"
1313
aria-controls={id}
14-
class="cursor-pointer flex justify-between p-2 bg-[#d4d5e5] focus:ring-2"
14+
class="cursor-pointer flex justify-between p-2 bg-white/5 hover:bg-white/10 focus:ring-2 rounded transition-colors duration-200"
1515
>
1616
<span class="font-semibold">{title}</span>
1717
<span aria-hidden="true" class="group-open:hidden arrow">▼</span>

src/components/ui/Prose.astro

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@ const { class: className, full=false } = Astro.props;
2222
"prose-th:text-text",
2323
"prose-td:text-text",
2424
"prose-hr:border-white/10",
25+
"prose-blockquote:text-white/80",
26+
"prose-blockquote:border-l-white/30",
27+
"prose-blockquote:not-italic",
2528
className,
2629
]}
2730
style={full ? "max-width: none !important;": "margin:auto;"}

0 commit comments

Comments
 (0)