Ticket #3244: add viewbold and viewselected missing from some skins.

Change "black" and "white" to "rgb000" and "rgb555" when it's rendered
in bold, because the legacy 16 colors change their actual color in
addition to going bold in most of the terminals which is undesired.
Second, there was some unintended difference between the two gray skins
in the file type colors.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Egmont Koblinger 2014-09-01 10:07:23 +04:00 committed by Andrew Borodin
parent 6235636c47
commit 1aa16a0972
12 changed files with 42 additions and 10 deletions

View File

@ -47,7 +47,8 @@
dtitle = rgb303
[error]
_default_ = white;rgb400;bold
# "white" might change color when going bold, so use "rgb555" instead
_default_ = rgb555;rgb400;bold
errdfocus = ;rgb303
errdhotnormal = rgb141
errdhotfocus = rgb141;rgb303
@ -58,7 +59,7 @@
executable = rgb030
symlink = rgb202
hardlink =
stalelink = rgb303
stalelink = rgb400
device = rgb231
special = rgb331
core = rgb430
@ -66,7 +67,7 @@
archive = rgb012
doc = rgb103
source = rgb310
media = rgb303
media = rgb024
graph = rgb033
database = rgb421
@ -115,7 +116,10 @@
[viewer]
_default_ = black;gray22
# "black" might change color when going bold, so use "rgb000" instead
viewbold = rgb000;;bold
viewunderline = ;;underline
viewselected = rgb303;rgb141;bold
[diffviewer]
added = ;rgb340
@ -123,7 +127,8 @@
changednew = rgb303;gray20
changed = ;gray21
removed = ;rgb511
error = white;rgb400;bold
# "white" might change color when going bold, so use "rgb555" instead
error = rgb555;rgb400;bold
[widget-common]
sort-sign-up =

View File

@ -47,7 +47,8 @@
dtitle = rgb004
[error]
_default_ = white;rgb400;bold
# "white" might change color when going bold, so use "rgb555" instead
_default_ = rgb555;rgb400;bold
errdfocus = ;rgb004
errdhotnormal = rgb530
errdhotfocus = rgb530;rgb004
@ -58,7 +59,7 @@
executable = rgb030
symlink = rgb202
hardlink =
stalelink = rgb404
stalelink = rgb400
device = rgb231
special = rgb331
core = rgb430
@ -66,7 +67,7 @@
archive = rgb012
doc = rgb103
source = rgb310
media = rgb004
media = rgb024
graph = rgb033
database = rgb421
@ -115,7 +116,10 @@
[viewer]
_default_ = black;gray22
# "black" might change color when going bold, so use "rgb000" instead
viewbold = rgb000;;bold
viewunderline = ;;underline
viewselected = rgb004;rgb530;bold
[diffviewer]
added = ;rgb340
@ -123,7 +127,8 @@
changednew = rgb004;gray20
changed = ;gray21
removed = ;rgb511
error = white;rgb400;bold
# "white" might change color when going bold, so use "rgb555" instead
error = rgb555;rgb400;bold
[widget-common]
sort-sign-up =

View File

@ -152,7 +152,9 @@
[viewer]
_default_ = color7;default
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color11;color2;bold
[diffviewer]
changedline = color15;color4

View File

@ -152,7 +152,9 @@
[viewer]
_default_ = color7;color0
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color11;color2;bold
[diffviewer]
changedline = color15;color4

View File

@ -152,7 +152,9 @@
[viewer]
_default_ = color7;default
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color11;color1;bold
[diffviewer]
changedline = color15;color4

View File

@ -152,7 +152,9 @@
[viewer]
_default_ = color7;color0
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color11;color1;bold
[diffviewer]
changedline = color15;color4

View File

@ -152,7 +152,9 @@
[viewer]
_default_ = color250;default
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color228;color23;bold
[diffviewer]
changedline = color231;color29

View File

@ -152,7 +152,9 @@
[viewer]
_default_ = color252;color237
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color228;color23;bold
[diffviewer]
changedline = color231;color29

View File

@ -152,7 +152,9 @@
[viewer]
_default_ = color250;default
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color228;color88;bold
[diffviewer]
changedline = color231;color130

View File

@ -152,7 +152,9 @@
[viewer]
_default_ = color252;color237
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color228;color88;bold
[diffviewer]
changedline = color231;color130

View File

@ -101,9 +101,10 @@
[error]
_default_ = rgb554;rgb320;bold
errdfocus = black;rgb452;bold
# "black" might change color when going bold, so use "rgb000" instead
errdfocus = rgb000;rgb452;bold
errdhotnormal = ;;bold+underline
errdhotfocus = black;rgb452;bold+underline
errdhotfocus = rgb000;rgb452;bold+underline
errdtitle = ;;bold+underline
[filehighlight]
@ -169,7 +170,10 @@
[viewer]
_default_ = black;rgb554
# "black" might change color when going bold, so use "rgb000" instead
viewbold = rgb000;;bold
viewunderline = ;;underline
viewselected = rgb400;rgb452
[diffviewer]
added = ;rgb450

View File

@ -158,7 +158,9 @@
[viewer]
_default_ = color250;color234
viewbold = ;;bold
viewunderline = ;;underline
viewselected = color228;color60
[diffviewer]
changedline = ;color60