shithub: vdiff

Download patch

ref: 777d794f07f298a93fa80db39b74a647e07b964e
parent: 993cc78a865dd03801b8f01e208e32de07840beb
author: phil9 <telephil9@gmail.com>
date: Fri Dec 30 14:22:48 EST 2022

change dark mode colors to better fit rio

--- a/vdiff.c
+++ b/vdiff.c
@@ -181,12 +181,12 @@
 initcols(int black)
 {
 	if(black){
-		initcol(&scrlcol,     0x22272EFF, 0xADBAC7FF);
-		initcol(&cols[Lfile], 0xADBAC7FF, 0x2D333BFF);
-		initcol(&cols[Lsep],  0xADBAC7FF, 0x263549FF);
-		initcol(&cols[Ladd],  0xADBAC7FF, 0x273732FF);
-		initcol(&cols[Ldel],  0xADBAC7FF, 0x3F2D32FF);
-		initcol(&cols[Lnone], 0xADBAC7FF, 0x22272EFF);
+		initcol(&scrlcol,     DBlack, 0x999999FF^(~0xFF));
+		initcol(&cols[Lfile], DWhite, 0x333333FF);
+		initcol(&cols[Lsep],  DBlack, DPurpleblue);
+		initcol(&cols[Ladd],  DWhite, 0x002800FF);
+		initcol(&cols[Ldel],  DWhite, 0x3F0000FF);
+		initcol(&cols[Lnone], DWhite, DBlack);
 	}else{
 		initcol(&scrlcol,     DWhite, 0x999999FF);
 		initcol(&cols[Lfile], DBlack, 0xEFEFEFFF);