Fix #350: Cursor almost invisible (#371)

The caret color was never set in the theme and thus only the default was
used. This worked for the light version, but created an almost invisible
caret in the dark variant.

This should inject the caret-color property for all entry widgets, but
some locations might be missed nonetheless.

There is also a second property "-gtk-secondary-caret-color" which is
"used for the secondary caret in bidirectional text" according to the
documentation, but I do not know which this secondary caret is, so I did
not touch it.
pull/360/merge
SammysHP 2016-04-23 03:07:15 +01:00 committed by Dustin Falgout
parent 1616dac147
commit ca69ff7769
1 changed files with 1 additions and 0 deletions

View File

@ -71,6 +71,7 @@
@include border($bg); @include border($bg);
color: $fg; color: $fg;
caret-color: $fg;
&:focus, &:active { border-color: border_focus($borders_color); } &:focus, &:active { border-color: border_focus($borders_color); }