ui.gadgets.panes: fix tests under dark-theme.
ui.gadgets.panes: fix tests under dark-theme.

bpollack/factor,mrjbq7/factor,bpollack/factor,AlexIljin/factor,AlexIljin/factor,tgunr/factor,AlexIljin/factor,mrjbq7/factor,bpollack/factor,AlexIljin/factor,factor/factor,bpollack/factor,mrjbq7/factor,bpollack/factor,factor/factor,tgunr/factor,AlexIljin/factor,mrjbq7/factor,bpollack/factor,tgunr/factor,factor/factor,mrjbq7/factor,tgunr/factor,factor/factor,factor/factor,tgunr/factor,factor/factor,AlexIljin/factor,tgunr/factor,mrjbq7/factor,AlexIljin/factor,bpollack/factor