From ee2ab865a05c4280375b5521a03127a1a5c3d2b9 Mon Sep 17 00:00:00 2001 From: Katsute <58778985+Katsute@users.noreply.github.com> Date: Wed, 8 Oct 2025 20:45:13 -0400 Subject: [PATCH 1/2] revert box shadow --- src/manifest.json | 2 +- src/style.css | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/manifest.json b/src/manifest.json index 02b0349..43165ef 100644 --- a/src/manifest.json +++ b/src/manifest.json @@ -4,7 +4,7 @@ "name": "GitHub Red Issues", "author": "Katsute", "description": "Revert closed GitHub issues from purple back to red.", - "version": "10.3", + "version": "10.4", "homepage_url": "https://github.com/KatsuteDev/GitHub-Red-Issues", "icons": { "16": "icon16.png", diff --git a/src/style.css b/src/style.css index c720a57..76ceaf4 100644 --- a/src/style.css +++ b/src/style.css @@ -55,7 +55,6 @@ projects-v2 div:has(> span ~ h1) span[data-variant="done"] { /* timeline icon */ div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBadge-"]):has(path[d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"]){ border-color: var(--rissue-issue-closed) !important; - box-shadow: var(--boxShadow-thin, inset 0 0 0 max(1px, 0.0625rem)) var(--rissue-issue-closed) !important; background-color: var(--rissue-issue-closed) !important; } From 48379f1a88aef60c47972ae8e37afb2cb6d44839 Mon Sep 17 00:00:00 2001 From: Katsute <58778985+Katsute@users.noreply.github.com> Date: Sun, 12 Oct 2025 16:03:38 -0400 Subject: [PATCH 2/2] remove some outdated selectors, restore on label (still used) --- src/style.css | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/src/style.css b/src/style.css index 76ceaf4..2fe7edf 100644 --- a/src/style.css +++ b/src/style.css @@ -15,8 +15,6 @@ span.State--merged, span[class^="StateLabel__StateLabelBase"], span[class^="prc-StateLabel-StateLabel"], - .TimelineItem-Badge, - .TimelineItem-badge, div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBadge-"]), a[href*="/discussions"], .hx_anim-fade-out, @@ -43,15 +41,16 @@ projects-v2 div:has(> span ~ h1) span[data-variant="done"] { } :is( - span.State--merged, /* issue badge (legacy) */ - .TimelineItem-badge, /* timeline icon (legacy) */ -):has(svg.octicon-issue-closed, svg.octicon-discussion-closed), + span[class^="StateLabel__StateLabelBase"], + span[class^="prc-StateLabel-StateLabel"], +):has(path[d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l3.5-3.5Z"] + path[d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"]){ + box-shadow: var(--boxShadow-thin, inset 0 0 0 max(1px, 0.0625rem)) var(--rissue-issue-closed) !important; +} + :is( - span[class^="StateLabel__StateLabelBase"], /* new issue badge & projects v2 */ + span[class^="StateLabel__StateLabelBase"], span[class^="prc-StateLabel-StateLabel"], ):has(path[d="M11.28 6.78a.75.75 0 0 0-1.06-1.06L7.25 8.69 5.78 7.22a.75.75 0 0 0-1.06 1.06l2 2a.75.75 0 0 0 1.06 0l3.5-3.5Z"] + path[d="M16 8A8 8 0 1 1 0 8a8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 1 0-13 0 6.5 6.5 0 0 0 13 0Z"]), -/* timeline icon (legacy) */ -.TimelineItem-Badge:has(path[d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"]), /* timeline icon */ div:is([class^="prc-Timeline-TimelineBadge-"],[class*=" prc-Timeline-TimelineBadge-"]):has(path[d="M0 8a8 8 0 1 1 16 0A8 8 0 0 1 0 8Zm1.5 0a6.5 6.5 0 1 0 13 0 6.5 6.5 0 0 0-13 0Zm10.28-1.72-4.5 4.5a.75.75 0 0 1-1.06 0l-2-2a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018l1.47 1.47 3.97-3.97a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042Z"]){ border-color: var(--rissue-issue-closed) !important;