Skip to content

Commit ef18a91

Browse files
committed
dark theme for pages
1 parent 30330b5 commit ef18a91

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/components/markdown/HighlightCard.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="highlight-card bg-white rounded-lg shadow-md p-5 mt-6">
1+
<div class="highlight-card rounded-lg p-5 mt-6 border border-white/10 bg-[#141720]">
22
<slot />
33
</div>
44

src/components/sponsor-tiers/sponsor-tiers.astro

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -213,7 +213,7 @@ const formatPrice = (price: number | string) => {
213213
return order[a.title] - order[b.title];
214214
})
215215
.map((tier) => (
216-
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
216+
<div class="rounded-2xl p-6 pb-20 relative not-prose z-0 border border-white/10 bg-[#141720]">
217217
<div class="min-h-[160px]">
218218
<Ribbon
219219
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}
@@ -273,7 +273,7 @@ const formatPrice = (price: number | string) => {
273273
})
274274

275275
.map((tier) => (
276-
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
276+
<div class="rounded-2xl p-6 pb-20 relative not-prose z-0 border border-white/10 bg-[#141720]">
277277
<div class="min-h-[160px]">
278278
<Ribbon
279279
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}
@@ -321,7 +321,7 @@ const formatPrice = (price: number | string) => {
321321
})
322322

323323
.map((tier) => (
324-
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
324+
<div class="rounded-2xl p-6 pb-20 relative not-prose z-0 border border-white/10 bg-[#141720]">
325325
<div class="min-h-[160px]">
326326
<Ribbon
327327
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}
@@ -381,7 +381,7 @@ const formatPrice = (price: number | string) => {
381381
return order[a.title] - order[b.title];
382382
})
383383
.map((tier) => (
384-
<div class="bg-white text-black rounded-2xl p-6 pb-20 relative not-prose z-0">
384+
<div class="rounded-2xl p-6 pb-20 relative not-prose z-0 border border-white/10 bg-[#141720]">
385385
<div class="min-h-[160px]">
386386
<Ribbon
387387
className={`absolute -right-6 -top-8 ${getRibbonClass(tier.title)}`}

0 commit comments

Comments
 (0)