fix: restore icon color on FontChange trigger button

<button> defaults to color: ButtonText (black) in browsers, unlike <a>
which inherits. Adding color: inherit restores the theme color for the
SVG stroke (which uses currentColor).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Julien Calixte
2026-04-14 01:06:25 +02:00
parent cfe5ef8fcd
commit c42c26a407

View File

@@ -160,5 +160,9 @@ defineProps<{ user: string; repo: string }>()
align-items: center; align-items: center;
justify-content: space-between; justify-content: space-between;
margin-top: 10px; margin-top: 10px;
button {
color: inherit;
}
} }
</style> </style>