GitHub changed the color of both closed issues and merged PRs to purple, making it difficult to differentiate between PRs and issues in search.
This userstyle changes the color of closed issues to a redish-pink.
Authorhmnd
LicenseMIT
Categorygithub
Created
Updated
Size822 B
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
GitHub changed the color of both closed issues and merged PRs to purple, making it difficult to differentiate between PRs and issues in search.
This userstyle changes the color of closed issues to a redish-pink.
/* ==UserStyle==
@name GitHub Closed Issues
@namespace userstyles.world
@description Make GitHub issues pink.
@author hmnd <david@hmnd.io> (https://github.com/hmnd)
@version 1.0.0
@license MIT
==/UserStyle== */
@-moz-document domain("github.com") {
:root,
[data-color-mode="light"][data-light-theme*="light"],
[data-color-mode="dark"][data-dark-theme*="light"] {
--color-issue-closed-fg: hsl(340, 69%, 52%);
}
.closed.octicon.octicon-issue-closed {
color: var(--color-issue-closed-fg);
}
.issue,
#show_issue .State--merged:not([title*="Merged"]),
#show_issue .TimelineItem-badge,
.octicon-issue-closed,
div[id^="ref-issue"] + div {
--color-done-emphasis: var(--color-issue-closed-fg);
--color-done-fg: var(--color-issue-closed-fg);
}
}