fix: restore icon color on button elements in header

<button> gets color:ButtonText from the browser UA stylesheet, making
SVG stroke="currentColor" render black. Add text-base-content to
inherit the DaisyUI theme color like the <a>-based router-links do.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Calixte
2026-04-14 01:07:25 +02:00
parent c42c26a407
commit b6f6759af5
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ defineProps<{ user: string; repo: string }>()
</svg>
</router-link> -->
<button class="btn btn-ghost btn-circle" onclick="font_modal.showModal()">
<button class="btn btn-ghost btn-circle text-base-content" onclick="font_modal.showModal()">
<svg
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icons-tabler-outline icon-tabler-typography"