GitHub Red Issues

Turns the issue color of closed issues from purple back to red - back reddish color icon for closed github issues.

当前为 2021-12-21 提交的版本,查看 最新版本

  1. /* ==UserStyle==
  2. @name GitHub Red Issues
  3. @namespace github.com/openstyles/stylus
  4. @version 1.0.15
  5. @description Turns the issue color of closed issues from purple back to red - back reddish color icon for closed github issues.
  6. @author Katsute, kidonng, krystian3w, iam-py-test, obfuscatedgenerated
  7. @license CC BY-NC-SA 4.0 https://creativecommons.org/licenses/by-nc-sa/4.0/
  8. ==/UserStyle== */
  9. @-moz-document domain("github.com") {
  10. /* Copyright (C) 2021 Katsute <https://github.com/Katsute> */
  11. :root {
  12. --rissue-pull-merged: var(--color-done-emphasis, #8957e5);
  13. --rissue-issue-closed: var(--color-danger-fg, #F85149);
  14. --rissue-white: var(--color-fg-on-emphasis, #F0F6Fc);
  15. }
  16.  
  17. /* issue icon */
  18.  
  19. svg.octicon-issue-closed.closed,
  20. svg.octicon-issue-closed.color-fg-done {
  21. color: var(--rissue-issue-closed) !important;
  22. }
  23.  
  24. /* issue badge */
  25.  
  26. span[title="Status: Closed"] {
  27. background-color: var(--rissue-issue-closed) !important;
  28. }
  29.  
  30. span[title="Status: Closed"]>svg.octicon-issue-closed {
  31. color: var(--rissue-white) !important;
  32. }
  33.  
  34. /* timeline */
  35.  
  36. :not(.rissue-merge).TimelineItem-badge.color-bg-done-emphasis {
  37. background-color: var(--rissue-issue-closed) !important;
  38. }
  39.  
  40. :not(.rissue-merge).TimelineItem-badge.color-bg-done-emphasis>svg.octicon-issue-closed {
  41. color: var(--rissue-white) !important;
  42. }
  43.  
  44. /* projects beta */
  45.  
  46. svg[aria-label="Closed issue"] {
  47. color: var(--rissue-issue-closed) !important;
  48. }
  49. }