-
-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Change won't sign information text to black. #9843
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Codecov Report
@@ Coverage Diff @@
## master #9843 +/- ##
==========================================
+ Coverage 42.31% 42.31% +<.01%
==========================================
Files 604 604
Lines 79130 79137 +7
==========================================
+ Hits 33481 33486 +5
+ Misses 41526 41525 -1
- Partials 4123 4126 +3
Continue to review full report at Codecov.
|
@@ -152,7 +152,7 @@ | |||
{{$.i18n.Tr "repo.signing.will_sign" .SigningKey}} | |||
</div> | |||
{{else if .IsSigned}} | |||
<div class="item text yellow"> | |||
<div class="item text black"> | |||
<i class="icon unlock grey"></i> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
<i class="icon unlock grey"></i> | |
<i class="icon unlock"></i> |
match icon to text color for consistency.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(I did not change the whitespace in this suggestion, seems like a GitHub bug)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Black icon also in the warning case (when there is protection)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fine with me I suppose. Icon color matching text color is visually pleasing.
What about dark mode? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Small patch to #9708.
When protected branch doesn't require signed commits, there should still be an information in the pull request if the commit will be signed. However I don't think it should be a warning, as it would be normal for persons/organizations that don't use commit signing. Therefore I suggest changing this text from yellow to black.
Screenshot
Before change:

After change:
