github star button color fix

This commit is contained in:
therealrinku 2023-10-04 22:14:34 +05:45
parent 9ecfb3a640
commit 9c46bc79d9

View File

@ -96,25 +96,14 @@ const Sidebar = () => {
/> />
</div> </div>
<div className="pl-1" style={{ position: 'relative', top: '3px' }}> <div className="pl-1" style={{ position: 'relative', top: '3px' }}>
{storedTheme === 'dark' ? ( <GitHubButton
<GitHubButton href="https://github.com/usebruno/bruno"
href="https://github.com/usebruno/bruno" data-color-scheme={storedTheme}
data-color-scheme="no-preference: dark; light: dark; dark: light;" data-show-count="true"
data-show-count="true" aria-label="Star usebruno/bruno on GitHub"
aria-label="Star usebruno/bruno on GitHub" >
> Star
Star </GitHubButton>
</GitHubButton>
) : (
<GitHubButton
href="https://github.com/usebruno/bruno"
data-color-scheme="no-preference: light; light: light; dark: light;"
data-show-count="true"
aria-label="Star usebruno/bruno on GitHub"
>
Star
</GitHubButton>
)}
</div> </div>
<div className="flex flex-grow items-center justify-end text-xs mr-2">v0.18.0</div> <div className="flex flex-grow items-center justify-end text-xs mr-2">v0.18.0</div>
</div> </div>