From 7922b66970eb57c7762be87477f7790819720003 Mon Sep 17 00:00:00 2001 From: GauthierWebDev Date: Sat, 19 Apr 2025 19:55:26 +0200 Subject: [PATCH] style: Remove unnecessary dark theme classes --- app/pages/+config.ts | 2 +- app/partials/HeroSection.tsx | 4 ++-- app/partials/TableOfContents.tsx | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/app/pages/+config.ts b/app/pages/+config.ts index fbecb92..fb8c104 100755 --- a/app/pages/+config.ts +++ b/app/pages/+config.ts @@ -18,7 +18,7 @@ export default { class: "h-full antialiased", }, bodyAttributes: { - class: "flex min-h-full bg-white dark:bg-slate-900", + class: "flex min-h-full bg-white", }, prerender: true, diff --git a/app/partials/HeroSection.tsx b/app/partials/HeroSection.tsx index a99dd5d..a3e5655 100644 --- a/app/partials/HeroSection.tsx +++ b/app/partials/HeroSection.tsx @@ -36,7 +36,7 @@ function TrafficLightsIcon(props: JSX.IntrinsicElements["svg"]) { export function HeroSection() { return ( -
+
@@ -67,7 +67,7 @@ export function HeroSection() {
-
+
diff --git a/app/partials/TableOfContents.tsx b/app/partials/TableOfContents.tsx index 6d38166..08258e9 100644 --- a/app/partials/TableOfContents.tsx +++ b/app/partials/TableOfContents.tsx @@ -80,14 +80,14 @@ export function TableOfContents(props: TableOfContentsProps) { class={clsx( isActive(section) ? "text-violet-500" - : "font-normal text-slate-500 hover:text-slate-700 dark:text-slate-400 dark:hover:text-slate-300", + : "font-normal text-slate-500 hover:text-slate-700", )} > {section.title} {section.children.length > 0 && ( -
    +
      {(subSection) => (
    1. @@ -96,7 +96,7 @@ export function TableOfContents(props: TableOfContentsProps) { class={ isActive(subSection) ? "text-violet-500" - : "hover:text-slate-600 dark:hover:text-slate-300" + : "hover:text-slate-600" } > {subSection.title}