Control how strong the diffs are shown in the minimap
Micka33 opened this issue · comments
Mickaël CASSY commented
Cédric Néhémie commented
Hi @Micka33, I forgot to put a section for that in the README, but you can redefine the colors for the minimap-git-diff markers from your user stylesheet. Currently, the colors as defined as below:
.minimap {
.git-line-modified{
background: fadeOut(@syntax-color-modified, 50%);
}
.git-line-added {
background: fadeOut(@syntax-color-added, 40%);
}
.git-line-removed {
background: fadeOut(@syntax-color-removed, 30%);
}
}
You can just tweak that by increasing the fading ratio.
Mickaël CASSY commented
Nice !
The next step might be to add it to the user interface ;)
Cédric Néhémie commented
Actually the user stylesheet is a much more richer solution, you can use all less color functions and theme variables to compute the finall colors, using a setting or building an UI for that would restrict the possibilities.