From 4f6decca2d204f425c0f4cf190aa1a152c0d6e4e Mon Sep 17 00:00:00 2001 From: jarugupj <121142710+jarugupj@users.noreply.github.com> Date: Sun, 14 Jun 2026 04:36:21 +0000 Subject: [PATCH 1/2] fix dark mode tinker-bot swap path on prod MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The CSS swap rule used an absolute path (`/images/tinker-bot-dark.svg`) which resolves against the domain root in the browser. On prod the docs are served under `/docs/`, so the absolute path 404s and the swap silently keeps the light variant — invisible against the dark page. Drop the leading slash so the path resolves relative to the stylesheet's location, working in both the mintlify preview (docs at root) and prod (docs under `/docs/`). --- style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/style.css b/style.css index 0c5e88f..900dd00 100644 --- a/style.css +++ b/style.css @@ -217,7 +217,7 @@ html.dark { } /* hero bot dark recolor */ -html.dark img[src*="/images/tinker-bot.svg"] { content: url("/images/tinker-bot-dark.svg"); } +html.dark img[src*="/images/tinker-bot.svg"] { content: url("images/tinker-bot-dark.svg"); } /* warning callout — selector depends on mintlify's yellow-* classes; renames silently break this */ html.dark .callout[class*="yellow"] { From 7622fc596b1c691625b593de42596cd3debe5503 Mon Sep 17 00:00:00 2001 From: jarugupj <121142710+jarugupj@users.noreply.github.com> Date: Sun, 14 Jun 2026 05:07:02 +0000 Subject: [PATCH 2/2] fix dark mode tinker-bot swap on prod using markup-level visibility MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The previous CSS-based swap used a relative url() that resolved against the document URL (style.css is inlined as a