Skip to content

Commit 747160f

Browse files
committed
Fix #3, #4 ; css cleanup
1 parent 7675ae7 commit 747160f

File tree

3 files changed

+16
-22
lines changed

3 files changed

+16
-22
lines changed

README.md

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,25 @@
44

55
Google Chrome extension to revert closed GitHub issues from purple back to red.
66

7+
|[Report an issue](https://github.com/Katsute/GitHub-Red-Closed-Issues-Extension/issues)|
8+
|---|
9+
710
## Installation
811

9-
1. Checkout or download this repository locally (press the code button in the top right).
12+
1. Checkout (recommended) or download this repository locally (press the code button in the top right).
1013
2. Go to [`chrome://extensions/`](chrome://extensions/) in your browser and turn on **Developer mode** in the top right.
1114
3. Press **Load unpacked** and select the `src` folder. Do not remove this folder, removing it will cause the extension to be uninstalled.
1215
4. Resume coding with closed issues being red.
16+
1317
## Changes
1418

1519
Reverted closed issues from purple to red on:
20+
1621
- Pinned issues
1722
- Issue hover cards
23+
- Issue/pull timelines
1824
- Issues on issues tab
1925
- Issues on subscriptions list
26+
- Issues on search
2027
- Issues on projects
21-
- Issues on projects (beta)
22-
23-
Found a bug? Open a new [issue](https://github.com/Katsute/GitHub-Red-Closed-Issues-Extension/issues).
28+
- Issues on projects (beta)

src/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"name": "GitHub Red Closed Issues",
55
"author": "Katsute",
66
"description": "Revert closed GitHub issues from purple back to red.",
7-
"version": "1.3",
7+
"version": "1.4",
88
"homepage_url": "https://github.com/Katsute/GitHub-Red-Issues-Extension",
99

1010
"permissions": ["tabs"],

src/style.css

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,15 @@
11
/* Copyright (C) 2021 Katsute <https://github.com/Katsute> */
22

33
:root { /* this part provided by kidonng <https://github.com/kidonng> */
4-
--rcie-pull-merged: var(--color-done-emphasis, #8957e5);
4+
--rcie-pull-merged : var(--color-done-emphasis, #8957e5);
55
--rcie-issue-closed: var(--color-danger-fg, #F85149);
6-
--rcie-white: var(--color-fg-on-emphasis, #F0F6Fc);
6+
--rcie-white : var(--color-fg-on-emphasis, #F0F6Fc);
77
}
88

99
/* issue icon */
1010

11-
.issue-closed-done .octicon-issue-closed {
12-
color: var(--rcie-issue-closed) !important;
13-
}
14-
15-
/* issue hover */
16-
17-
.Popover .octicon.octicon-issue-closed.color-text-danger {
18-
color: var(--rcie-issue-closed) !important;
19-
}
20-
21-
/* subscriptions */
22-
23-
.issue-closed-done .octicon.octicon-issue-closed.color-text-danger {
11+
svg.octicon-issue-closed.closed,
12+
svg.octicon-issue-closed.color-fg-done {
2413
color: var(--rcie-issue-closed) !important;
2514
}
2615

@@ -30,7 +19,7 @@ span[title="Status: Closed"] {
3019
background-color: var(--rcie-issue-closed) !important;
3120
}
3221

33-
span[title="Status: Closed"] .octicon-issue-closed {
22+
span[title="Status: Closed"] > svg.octicon-issue-closed {
3423
color: var(--rcie-white) !important;
3524
}
3625

@@ -40,7 +29,7 @@ span[title="Status: Closed"] .octicon-issue-closed {
4029
background-color: var(--rcie-issue-closed) !important;
4130
}
4231

43-
:not(.rcie-merge).TimelineItem-badge.color-bg-done-emphasis .octicon {
32+
:not(.rcie-merge).TimelineItem-badge.color-bg-done-emphasis > svg.octicon-issue-closed {
4433
color: var(--rcie-white) !important;
4534
}
4635

0 commit comments

Comments
 (0)