diff --git a/src/components/shared/GithubStarsButton.tsx b/src/components/shared/GithubStarsButton.tsx
index 9dc9c8e1d8..9b24549d7e 100644
--- a/src/components/shared/GithubStarsButton.tsx
+++ b/src/components/shared/GithubStarsButton.tsx
@@ -17,8 +17,16 @@ function GithubIcon() {
export default function GithubStarsButton({className}) {
const starsCount = useContext(GithubStarsContext)
+ const [isHovered, setIsHovered] = React.useState(false)
+
return (
-
+ setIsHovered(true)}
+ onMouseLeave={() => setIsHovered(false)}
+ target="_blank"
+ className={`${className} header-button header-button-github ${isHovered && "button-grid-bg-github"}`}
+ >
Star {starsCount}
diff --git a/src/css/custom.css b/src/css/custom.css
index 02d1bf4ddb..b715c94d0c 100644
--- a/src/css/custom.css
+++ b/src/css/custom.css
@@ -377,6 +377,12 @@ nav.menu {
border-radius: 20px;
}
+.button-grid-bg-github {
+ background-image: linear-gradient(rgba(0, 0, 0, 0.05) 1px, transparent 2px),
+ linear-gradient(90deg, rgba(0, 0, 0, 0.05) 1px, transparent 2px);
+ background-size: 20px 20px;
+}
+
@media (max-width: 996px) {
.grid-bg-section {
background-size: 40px 40px;