Skip to content

Instantly share code, notes, and snippets.

@hyjk2000
Created February 21, 2020 04:52
Show Gist options
  • Select an option

  • Save hyjk2000/8c0c952f4aaacf784beadec1e90a78d8 to your computer and use it in GitHub Desktop.

Select an option

Save hyjk2000/8c0c952f4aaacf784beadec1e90a78d8 to your computer and use it in GitHub Desktop.
Bitbucket Diff Colorblind Mode
:root {
--bbcb-deleted-word: rgb(255, 204, 51);
--bbcb-deleted-line: rgb(255, 238, 186);
--bbcb-added-word: rgb(127, 177, 251);
--bbcb-added-line: rgb(213, 227, 249);
}
.udiff-line.deletion pre.source del,
div[type=del] del {
background-color: var(--bbcb-deleted-word) !important;
}
.udiff-line.deletion pre.source,
div[type=del] {
background-color: var(--bbcb-deleted-line) !important;
}
.udiff-line.addition pre.source ins,
div[type=add] ins {
background-color: var(--bbcb-added-word) !important;
}
.udiff-line.addition pre.source,
div[type=add] {
background-color: var(--bbcb-added-line) !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment