Colorize Public/Private label on user repositories list.
GitHub Visibility Label Colorizer by kobi32768
Details
Authorkobi32768
LicenseCC0
Categorygithub
Created
Updated
Size903 B
Statistics
Learn how we calculate statistics in the FAQ.
Failed to fetch stats.
Description
Notes
Userstyle doesn't have notes.Source code
/* ==UserStyle==
@name GitHub Visibility Label Colorizer
@namespace github.com/openstyles/stylus
@version 1.0.0
@description Colorize Public/Private label on user repositories list.
@author kobi32768
==/UserStyle== */
@-moz-document domain("github.com") {
#user-repositories-list li.private span.Label,
#org-repositories div.private span.Label,
.js-pinned-items-reorder-container div.private span.Label{
border-color: var(--borderColor-danger-muted);
color: var(--fgColor-danger);
}
#user-repositories-list li.public span.Label,
#org-repositories div.public span.Label,
.js-pinned-items-reorder-container div.public span.Label{
border-color: var(--borderColor-success-emphasis);
color: var(--fgColor-success);
}
}
/*
TODO: JS で embeddedData 解析して SVG アイコンに fill/stroke を付ける
*/