chore: cleanup, shadcn

This commit is contained in:
enscribe 2024-09-10 14:24:09 -07:00
parent 230dca64ca
commit ea68d4f02f
No known key found for this signature in database
GPG key ID: 9BBD5C4114E25322
38 changed files with 1073 additions and 1378 deletions

View file

@ -27,9 +27,9 @@ function buildToc(headings: Heading[]) {
}
---
<details open class="rounded-lg border border-black/15 dark:border-white/20">
<details open class="rounded-lg border">
<summary>Table of Contents</summary>
<nav class="">
<nav>
<ul class="py-3">
{toc.map((heading) => <TableOfContentsHeading heading={heading} />)}
</ul>
@ -40,12 +40,4 @@ function buildToc(headings: Heading[]) {
summary {
@apply cursor-pointer rounded-t-lg px-3 py-1.5 font-medium transition-colors;
}
summary:hover {
@apply bg-black/5 dark:bg-white/5;
}
details[open] summary {
@apply bg-black/5 dark:bg-white/5;
}
</style>