fix: dark/light theme fixes

This commit is contained in:
iCrawl
2022-09-07 18:39:02 +02:00
parent d8e774138d
commit 8d07ea9a62
4 changed files with 9 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ export function Section({
const disclosure = useDisclosureState({ defaultOpen: !defaultClosed });
return (
<div>
<div className="flex flex-col">
<Disclosure
className="bg-light-600 hover:bg-light-700 active:bg-light-800 dark:bg-dark-600 dark:hover:bg-dark-500 dark:active:bg-dark-400 rounded p-3"
state={disclosure}

View File

@@ -89,7 +89,7 @@ export function SidebarItems({
{groupItems[group].map((member, index) => (
<Link key={index} href={member.path} prefetch={false}>
<a
className={`dark:border-dark-100 border-light-800 ml-5 border-l p-[5px] pl-6 ${
className={`dark:border-dark-100 border-light-800 ml-5 flex flex-col border-l p-[5px] pl-6 ${
asPathWithoutQueryAndAnchor === member.path
? 'bg-blurple text-white'
: 'dark:hover:bg-dark-200 dark:active:bg-dark-100 hover:bg-light-700 active:bg-light-800'