ref: 368dd6ad29ac747ea16ec6b48617828912d7f3a0
dir: /samterm-pastelcol/
--- a//sys/src/cmd/samterm/flayer.c +++ b//sys/src/cmd/samterm/flayer.c @@ -29,17 +29,17 @@ lDrect = r; /* Main text is yellowish */ - maincols[BACK] = allocimagemix(display, DPaleyellow, DWhite); - maincols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DDarkyellow); - maincols[BORD] = allocimage(display, Rect(0,0,2,2), screen->chan, 1, DYellowgreen); - maincols[TEXT] = display->black; + maincols[BACK] = display->black; + maincols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x8F8F8FFF); + maincols[BORD] = allocimage(display, Rect(0,0,2,2), screen->chan, 1, 0x363636FF); + maincols[TEXT] = display->white; maincols[HTEXT] = display->black; /* Command text is blueish */ - cmdcols[BACK] = allocimagemix(display, DPalebluegreen, DWhite); - cmdcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, DPalegreygreen); - cmdcols[BORD] = allocimage(display, Rect(0,0,2,2), screen->chan, 1, DPurpleblue); - cmdcols[TEXT] = display->black; + cmdcols[BACK] = display->black; + cmdcols[HIGH] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0x9C9C9CFF); + cmdcols[BORD] = allocimage(display, Rect(0,0,2,2), screen->chan, 1, 0xDCBC72FF); + cmdcols[TEXT] = allocimage(display, Rect(0,0,1,1), screen->chan, 1, 0xFFAD00FF); cmdcols[HTEXT] = display->black; } @@ -89,12 +89,12 @@ flclose(Flayer *l) { if(l->visible == All) - draw(screen, l->entire, display->white, nil, ZP); + draw(screen, l->entire, display->black, nil, ZP); else if(l->visible == Some){ if(l->f.b == 0) l->f.b = allocimage(display, l->entire, screen->chan, 0, DNofill); if(l->f.b){ - draw(l->f.b, l->entire, display->white, nil, ZP); + draw(l->f.b, l->entire, display->black, nil, ZP); flrefresh(l, l->entire, 0); } } @@ -362,7 +362,7 @@ if(0 && Dx(dr)==Dx(olDrect) && Dy(dr)==Dy(olDrect)) move = 1; else - draw(screen, lDrect, display->white, nil, ZP); + draw(screen, lDrect, display->black, nil, ZP); for(i=0; i<nllist; i++){ l = llist[i]; l->lastsr = ZR; --- a//sys/src/cmd/samterm/plan9.c +++ b//sys/src/cmd/samterm/plan9.c @@ -46,7 +46,7 @@ if(t != nil) maxtab = strtoul(t, nil, 0); free(t); - draw(screen, screen->clipr, display->white, nil, ZP); + draw(screen, screen->clipr, display->black, nil, ZP); } int