docs(nx-dev): update give a star button styles (#28760)

This commit is contained in:
Benjamin Cabanes 2024-11-01 17:43:03 -04:00 committed by GitHub
parent a89e34cfca
commit af22a41d6a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -38,7 +38,7 @@ export function GitHubStarWidget({
};
return (
<div className="relative flex items-center justify-center gap-2 rounded-md border border-slate-100 p-2 text-xs transition hover:border-slate-200 dark:border-slate-800 dark:hover:border-slate-700 print:hidden">
<div className="relative flex items-center justify-center gap-2 rounded-md bg-slate-950 p-2 text-xs text-white transition hover:bg-slate-900 dark:bg-slate-100 dark:text-slate-950 dark:hover:bg-white print:hidden">
<div className="flex items-center gap-2">
<GithubIcon aria-hidden="true" className="h-4 w-4" />
<span className="font-semibold">{formatStars(starsCount)}</span>