Repository navigation
default-branch-button - Highlight non default branch button - #7804
Conversation
| .rgh-highlight-non-default-branch { | ||
| background-color: var( | ||
| --bgColor-accent-muted, | ||
| var(--color-accent-subtle) |
There was a problem hiding this comment.
I think these colors have been removed or deprecated years ago, we don’t need the fallbacks. We should probably remove them from the whole repo (if I’m right) and replace them with red so that these bugs are immediately seen, reported and fixed.
There was a problem hiding this comment.
I mean in this PR let’s only change this file. The rest of the repo can follow separately
|
No I mean literally |
|
@fregante I think |
|
The purpose of this fallback color is to make bugs immediately visible by having a high contrast and not fit in. |
|
You can see GitHub using the same strategy here in order to catch usage of certain variables: |
|
I'm not super convinced by the color, but let's try it out. It captures the attention (as desired) and hopefully it doesn't distract the user too much. |
Closes: #7679
Test URLs
https://github.com/refined-github/refined-github/tree/sandbox/keep-branch
Screenshot