Skip to content

Change diff highlighting background for dark mode#42989

Merged
rafaelfranca merged 1 commit intorails:mainfrom
jharrilim:patch-2
Sep 20, 2021
Merged

Change diff highlighting background for dark mode#42989
rafaelfranca merged 1 commit intorails:mainfrom
jharrilim:patch-2

Conversation

@jharrilim
Copy link
Contributor

Summary

The background highlight in dark mode diffs aren't easy to look at right now due to the contrast between the text and background color. This change proposes to unset the background color of the text so that it goes up against the black background. Alternatively, a more gentle highlight doesn't look to bad.

Other Information

Current

image

background-color: unset

image

.gd { background-color: #211 } .gi { background-color: #121 }

image

@rails-bot rails-bot bot added the docs label Aug 10, 2021
@rafaelfranca rafaelfranca merged commit b3efb35 into rails:main Sep 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants