Closed hichemfantar closed 1 year ago
Hey thank you for opening this ticket, I've found the issue and this should be fixed now in aad61a74e82a6d02aca792924a63d0f9056e2e83
Let me know if it isn't and I will reopen the ticket 👍
@Shenato Hello, thanks for the effort but it still isn't working for some reason.
This is the round header element and the styles being applied to it.
<text x="525" y="45" fill="currentColor" dominant-baseline="middle" text-anchor="middle" style="font-family: Roboto, Arial, Helvetica, "sans-serif"; font-size: 16px; color: white;">Round Quarterfinals</text>
font-family: Roboto, Arial, Helvetica, "sans-serif";
font-size: 16px;
color: white;
To style roundHeaders you have to use the style property on the bracket component similar to this example
This code snippet shows how to do it through the style
prop
Thanks, it works now. Is it possible to also make it customizable through the theme prop? It's currently possible to change the bracket item font family but not the round header font family.
Hey @hichemfantar!
Is it possible to also make it customizable through the theme prop?
That should be possible in the latest release now https://github.com/g-loot/react-tournament-brackets/releases/tag/v1.0.30
Enjoy! Let me know if it works as intended for you. 🌞
The font family property on the root object works but the one on the round header doesn't apply.