But: obtenir un theme sombre rapidement/facilement.
Premiere approche
Inverser les couleurs avec filter: invert(1)
Le blanc devient noir, mais les teintes ne sont pas préservées.
On peut récupérer la teinte originale, en décallant la teinte de 180 dégrés.
filter: hue-rotate(180deg);
Ce qui donne
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("commitstrip.com") {
html { filter: invert(1) hue-rotate(180deg); }
}
Probleme et correction
body { background: #131313; }
Workaround: réinversons les images
Creer un nouveau style
@namespace url(http://www.w3.org/1999/xhtml);
@-moz-document domain("commitstrip.com") {
body { background: #131313; }
/* html { filter: brightness(115%) contrast(85%) invert(1) hue-rotate(180deg); } */
html { filter: invert(1) hue-rotate(180deg); }
img { filter: invert(1) hue-rotate(180deg); }
}
OneTab (for chrome) : https://chrome.google.com/webstore/detail/onetab/chphlpgkkbolifaimnlloiipkdnihall?hl=fr
(firefox)
scrot /tmp/screenlock.png
convert /tmp/screenlock.png -noise 4x4 -implode -1.1 /tmp/screenlock_noised.png
i3lock -i /tmp/screenlock_noised.png
https://github.com/mroth/lolcommits
vim .vimrc
highlight OverLength ctermbg=218 ctermfg=white guibg=#592929
match OverLength /\%81v.\+/
ou
set &colorcolumn=join(range(81,999),",")
hi ColorColumn ctermbg=233