added highlight filter...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2017-11-28 07:12:49 +03:00
parent 27845d02da
commit 7f724a5727
3 changed files with 5 additions and 0 deletions

View File

@ -153,6 +153,9 @@ body {
.image-show-shadows {
filter: contrast(0.8) brightness(3) contrast(1.5);
}
.image-show-highlights {
filter: contrast(0.8) brightness(0.6) contrast(1.2);
}

View File

@ -435,6 +435,7 @@ module.GLOBAL_KEYBOARD = {
// filters...
';': 'togglePreviewFilter: "Show shadows" -- Preview shadows',
'ctrl-;': 'togglePreviewFilter: "Show highlights" -- Preview highlights',
"'": 'togglePreviewFilter: "Black and white" -- Preview black and white',
// doc...

View File

@ -2256,6 +2256,7 @@ module.PreviewFilters = core.ImageGridFeatures.Feature({
'preview-filters': {
'Black and white': 'image-bw',
'Show shadows': 'image-show-shadows',
'Show highlights': 'image-show-highlights',
'No filters': 'none',
},
},