GitHub-Dark icon indicating copy to clipboard operation
GitHub-Dark copied to clipboard

Colorize many things

Open koumaza opened this issue 4 years ago • 4 comments
trafficstars

Probably, Squash and Commit required.

UserCss: https://github.com/koumaza/GitHub-Dark/blob/koumaza/suggestion/github-dark.user.css?raw=true

Screenshots
  • Close button
    • image
  • Dropdown Caret
    • image
  • Kebab Icon
    • image
  • Markdown Anchor
    • When :active
    • image
  • Organizations Border
    • image
  • Acv Underline
    • When :hover
    • image
  • "Remove Public Email" Colorize in Settings/Profile
    • image

koumaza avatar Dec 24 '20 20:12 koumaza

Hmm not sure on this one. We generally follow the rule that if something is not colored in the original themes, we don't add color. Of course there are exceptions like the navbar hover, but generally I think we should not stray too far from the original style.

Another issue is all these "manual" rules will sooner or later become outdated because GitHub often rapidly changes things, so they will eventually become a maintenance burden.

silverwind avatar Dec 24 '20 23:12 silverwind

Hi @silverwind I understood. But, Kebab Icon and Markdown Anchor are colorize comes from the original style. I'll make change just for them.

Another issue is all these "manual" rules will sooner or later become outdated because GitHub often rapidly changes things, so they will eventually become a maintenance burden

This is the fate of UserCss.

koumaza avatar Dec 25 '20 03:12 koumaza

Again, replace CSS vars colors instead of adding more selectors, what youre doing is only OK if for instance GH isnt using css vars in that particular area.

This style already has many many opinionated tweaks to colors in these octicon-x areas so these fit right in, however adding more selectors is not the way, replacing CSS vars colors is the only way to get sane styles.

the-j0k3r avatar Dec 25 '20 08:12 the-j0k3r

OK, I'll add to vars.css

koumaza avatar Dec 25 '20 08:12 koumaza