fix: download button dark mode — invert colors for visibility

Light: dark bg + white text. Dark: white bg + dark text.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
7418andClaude Opus 4.6 committed 2026-03-10 23:16:51 +08:00
1 parent 386224d7d9
commit 464ee64a52
1 file changed
+1 -1
@@ -6,7 +6,7 @@ export function DownloadButton({ label = 'Download Latest Release' }: { label?:
href={`${siteConfig.repo.releases}/latest`}
target="_blank"
rel="noopener noreferrer"
className="mt-4 mb-6 inline-flex items-center gap-2 rounded-full bg-[#121213] px-6 py-3 text-sm font-semibold text-white transition-opacity hover:opacity-80"
className="mt-4 mb-6 inline-flex items-center gap-2 rounded-full bg-[#121213] px-6 py-3 text-sm font-semibold text-white transition-opacity hover:opacity-80 dark:bg-white dark:text-[#121213]"
>
{label}
<span aria-hidden="true">→</span>