Skip to content

Commit

Permalink
Colorize GH Circlebadge
Browse files Browse the repository at this point in the history
  • Loading branch information
the-j0k3r authored and koumaza committed Jan 14, 2021
1 parent 1190f68 commit d351b89
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions github-dark.user.css
Expand Up @@ -8783,6 +8783,18 @@
.project-card code {
background: #333 !important;
}
/* fix gh circlebadge bg e.g. https://github.com/marketplace/dependabot-preview */
.CircleBadge--github::after {
background-color: var(--color-icon-primary);
}
.CircleBadge-icon[alt*="workflow logo"] {
filter: invert(.95) brightness(1.5) grayscale(1);
mix-blend-mode: lighten;
}
/* fix GH circlebadge https://github.com/login/oauth/authorize?client_id=c602a8bd54b1e774f864&scope=repo */
.CircleBadge[style*="background-color: #fff; overflow"] {
background-color: var(--color-bg-tertiary);
}
}
@-moz-document regexp("^https?://((education|gist|graphql|guides|raw|resources|status|developer|support|vscode-auth)\\.)?github\\.com/((?!(sponsors)).)*$"), domain("githubusercontent.com"), domain("www.githubstatus.com") {
/*[[syntax-theme]]*//*[[syntax-jupyter]]*/
Expand Down
12 changes: 12 additions & 0 deletions src/main.css
Expand Up @@ -2299,4 +2299,16 @@
.project-card code {
background: #333 !important;
}
/* fix gh circlebadge bg e.g. https://github.com/marketplace/dependabot-preview */
.CircleBadge--github::after {
background-color: var(--color-icon-primary);
}
.CircleBadge-icon[alt*="workflow logo"] {
filter: invert(.95) brightness(1.5) grayscale(1);
mix-blend-mode: lighten;
}
/* fix GH circlebadge https://github.com/login/oauth/authorize?client_id=c602a8bd54b1e774f864&scope=repo */
.CircleBadge[style*="background-color: #fff; overflow"] {
background-color: var(--color-bg-tertiary);
}
}

0 comments on commit d351b89

Please sign in to comment.