Skip to content

Commit

Permalink
Merge pull request #281 from shelwinsunga/resolve-lightmode
Browse files Browse the repository at this point in the history
[docs] github button lightmode fix
  • Loading branch information
MadcowD authored Oct 3, 2024
2 parents a03fdce + dcd9d26 commit f7f706e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docs/src/_templates/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
background-clip: padding-box, border-box, border-box;
background-origin: border-box;
border: calc(0.08 * 1rem) solid transparent;
color: #030303;
color: #fff;
background-image:
linear-gradient(#121213, #121213),
linear-gradient(#121213 50%, rgba(18,18,19,0.6) 80%, rgba(18,18,19,0)),
Expand All @@ -55,12 +55,14 @@
}

.dark .github-star-btn {
color: #030303;
background-image:
linear-gradient(#fff, #fff),
linear-gradient(#fff 50%, rgba(255,255,255,0.6) 80%, rgba(0,0,0,0)),
linear-gradient(90deg, hsl(var(--color-1)), hsl(var(--color-5)), hsl(var(--color-3)), hsl(var(--color-4)), hsl(var(--color-2)));
}


@media (max-width: 640px) {
.github-star-btn {
font-size: 12px;
Expand Down

0 comments on commit f7f706e

Please sign in to comment.