Skip to content

Colorful GitHub PR statuses by aggtaa

Details

Authoraggtaa

LicenseNo License

Categorygithub.com

Created

Updated

Size927 B

Statistics

Learn how we calculate statistics in the FAQ.

Failed to fetch stats.

Description

Allows to highlight GitHub PR code review status with prominent colors.

Notes

Userstyle doesn't have notes.

Source code

/* ==UserStyle==
@name           Colorful GitHub PR statuses
@namespace      github.com/openstyles/stylus
@version        1.0.0
@description    Add prominent colors to github PR statuses
@author         Anton Zykov
==/UserStyle== */
@-moz-document regexp("https?://github\\.com/.+/pulls(\\?.+)?") {
    .Box-row *[aria-label*="approval"] {
        background: #c0ffc0;
        color: black !important;
        padding: 2px 1em;
        border-radius: 2em;
        line-height: 18px !important;
    }
    
    .Box-row *[aria-label*="Review required"] {
        background: #fff080;
        color: black !important;
        padding: 2px 1em;
        border-radius: 2em;
        line-height: 18px !important;
    }

    .Box-row *[aria-label*="requesting changes"] {
        background: #ff8080;
        color: white !important;
        padding: 2px 1em;
        border-radius: 2em;
        line-height: 18px !important;
    }

}

Reviews

No reviews yet.