Closed voronianski closed 7 years ago
Found the old link colour from a stale tab #4078c0
And the css for the private label
.label-private {
font-weight: normal;
color: #4c4a42;
background-color: #ffefc6;
}
The new green buttons are particularly upsetting on my monitor. Here's the old CSS for reference:
/* Green primary button */
.btn-primary {
color: #fff;
text-shadow: 0 -1px 0 rgba(0,0,0,0.15);
background-color: #6cc644;
background-image: -webkit-linear-gradient(#91dd70, #55ae2e);
background-image: linear-gradient(#91dd70, #55ae2e);
border: 1px solid #5aad35;
}
Because the current software only applies to the header color, there should be a preferences page so that you can select which changes to apply. I like the old header with the new colors, for example.
@rightfold this half-effort appeasing attitude is completely against the stated goal of the project to make github GREAT again, just like it was in the 1950s
We need to make the colors great again! Feel free to shoot in a PR 👍
http://web.archive.org/web/*/github.com
We should support github GREAT 2008 again, GREAT 2009 again, GREAT 2010 again...
Just found this extension: github-old-colors
It changes links back to the old blue, and removes some shadows and background images from buttons. But it doesn't restore the old header bar, and it doesn't restore all of the earlier colors.
It uses a nice whitelist for links, which might be less problematic than the blacklist in my PR. This is an option worth considering...
@joeytwiddle i dont get why your pull has both save-the-colors.css and links.css
@svnpenn In my Chrome, our custom styles are injected before the page styles load. As a result, the page's a
rule overrides the a
rule in save-the-colors.css
That's why I took tombola's script for styling the links (and for the toggling behaviour). It uses .great-again a
which is more specific, so it overrided the page's rule. For sure, the two scripts could be combined into one.
What I am wondering now is the best way to override their CSS without accidentally styling elements we want to leave alone. This is especially problematic for the a
links. (Another reason why I am keeping link styling in its own file for now).
Some options are:
!important
or .great-again
) after the page's styles, and entirely abandon toggling between new/old colors. This is a simple solution, but I quite enjoy the toggling behaviour, and would prefer to keep it.On Firefox, I'm giving these a try:
They don't restore the old greens and purples. But they do restore the old white header and many of the blue links.
There are others: 1
Fixed by #51
I think you need to save us from new github colors! Especially links!