ref: 69ecee789dbd0ca7c637cd27e97a64c998dd47f6
dir: /patches/acme.patch/
diff -r 297026d9dc30 sys/src/cmd/acme/acme.c --- a/sys/src/cmd/acme/acme.c Thu Feb 18 21:40:30 2021 +0100 +++ b/sys/src/cmd/acme/acme.c Thu Feb 25 12:25:27 2021 -0800 @@ -876,17 +876,17 @@ Image *tmp; /* Blue */ - tagcols[BACK] = allocimagemix(display, DPalebluegreen, DWhite); - tagcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DPalegreygreen); - tagcols[BORD] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DPurpleblue); + tagcols[BACK] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xddddddFF); + tagcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x404040FF); + tagcols[BORD] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x404040FF); tagcols[TEXT] = display->black; tagcols[HTEXT] = display->black; /* Yellow */ - textcols[BACK] = allocimagemix(display, DPaleyellow, DWhite); - textcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DDarkyellow); - textcols[BORD] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DYellowgreen); - textcols[TEXT] = display->black; + textcols[BACK] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x9a9a9aFF); + textcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xddddddFF); + textcols[BORD] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xddddddFF); + textcols[TEXT] = display->white; textcols[HTEXT] = display->black; if(button){ @@ -907,12 +907,12 @@ r.max.x -= 2; border(modbutton, r, 2, tagcols[BORD], ZP); r = insetrect(r, 2); - tmp = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DMedblue); + tmp = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x404040FF); draw(modbutton, r, tmp, nil, ZP); freeimage(tmp); r = button->r; - colbutton = allocimage(display, r, screen->chan, 0, DPurpleblue); + colbutton = allocimage(display, r, screen->chan, 0, 0x404040FF); but2col = allocimage(display, r, screen->chan, 1, 0xAA0000FF); but3col = allocimage(display, r, screen->chan, 1, 0x006600FF);