shithub: orca

Download patch

ref: dbc1606be9d9224c3a9ee7b3fa7dddc5ebfb2617
parent: ffb712a9f80886bf9b80f851b894dacf1a294b39
author: Sigrid Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Feb 22 07:24:15 EST 2020

plan9: make dots/rulers a bit more brighter in general, and dimmer when selected

--- a/plan9.c
+++ b/plan9.c
@@ -113,7 +113,7 @@
 	[Dback] = 0x000000ff,
 	[Dfhigh] = 0xffffffff,
 	[Dfmed] = 0x777777ff,
-	[Dflow] = 0x222222ff,
+	[Dflow] = 0x272727ff,
 	[Dfinv] = 0x000000ff,
 	[Dbmed] = 0x72dec2ff,
 	[Dbinv] = 0xffb545ff,
@@ -662,7 +662,7 @@
 					ry = !!y + (y + 1) / field.height;
 					c = rulerstyle == Snone ? styles[dotstyle].dot.r : styles[rulerstyle].ruler.r[ry*3+rx];
 				}
-				fg = Dflow;
+				fg = selected ? Dfmed : Dflow;
 			} else if (!selected && !grouphl) {
 				if (c == '#') {
 					fg = Dfmed;