GitHub - swap icon colors (open=red, closed=green)

Makes "good" icons green and "bad" ones red. Closed issue is good, unresolved is bad.

Ekde 2020/07/08. Vidu La ĝisdata versio.

/* ==UserStyle==
@name           GitHub - swap icon colors (open=red, closed=green)
@description    Makes "good" icons green and "bad" ones red.  Closed issue is good, unresolved is bad.
@namespace      myfonj
@version        0.0.1
@license        CC0 - Public Domain
==/UserStyle== */
@-moz-document domain("github.com") {
/*
GitHub - swap colors (open=red, closed=green)
*/
.octicon.open,
.octicon.octicon-issue-opened path
{	color: #cb2431; /* original is green */
}
.octicon.closed,
.octicon.octicon-issue-closed path
{	color: #28a745; /* original is red */
}
.reponav-item .octicon path,
.table-list-header-toggle .btn-link path,
.State--green .octicon.octicon-issue-opened path,
.State--red .octicon.octicon-issue-closed path
{ color: inherit
}
.State--green
{	background-color: #cb2431; /* original is green */
}
.State--red
{	background-color: #28a745; /* original is red */
}


.type-icon-state-closed .octicon-git-pull-request
{ /* leaving original red, as for "closed not merged" */
}
.octicon.octicon-git-pull-request.open
{ color: orange; /* original is green */
}
.octicon.octicon-git-merge.merged , /* does not seem to be needed anymore */
.type-icon-state-merged .octicon-git-merge
{ color: #28a745; /* original violet seems quite ok-ish as well, but to be consistent let's make it green. merged PR = OK*/
}
.octicon-git-pull-request.closed
{ color: #cb2431; /* original is green; closed not merged - not error, not OK */
}
.octicon-git-pull-request.text-gray-light
{ /* "draft" PR is gray */
}
/*
END: GitHub - swap colors (open=red, closed=green)
*/
}