diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-05-01 15:37:55 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-05-01 15:37:55 -0700 |
commit | 2b616894fdedcb40d2907272567377ce073fbc54 (patch) | |
tree | 1052304e1d425e0f65f838ab088ddbdd24d1d371 /shell/trace.mu | |
parent | e3290a6c1a8dbdf386e6763b8beedf0ac3092e88 (diff) | |
download | mu-2b616894fdedcb40d2907272567377ce073fbc54.tar.gz |
move color scheme closer to Solarized dark
sed -i 's,0x12/bg=almost-black,0xdc/bg=green-bg,g' shell/*.mu sed -i 's, 0/bg, 0xc5/bg=blue-bg,g' shell/*.mu sed -i 's, 7/fg=trace, 0x38/fg=trace,g' shell/*.mu sed -i 's, 7/bg=grey, 0x5c/bg=black,g' shell/*.mu Still a few issues. Thanks Adrian Cochrane and Zach DeCook. https://floss.social/@alcinnz/106152068473019933 https://social.librem.one/@zachdecook/106159988837603417
Diffstat (limited to 'shell/trace.mu')
-rw-r--r-- | shell/trace.mu | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/shell/trace.mu b/shell/trace.mu index 24a87bba..cfa6b97f 100644 --- a/shell/trace.mu +++ b/shell/trace.mu @@ -302,7 +302,7 @@ fn dump-trace _self: (addr trace) { var curr/ebx: (addr trace-line) <- index trace, offset var curr-label-ah/eax: (addr handle array byte) <- get curr, label var curr-label/eax: (addr array byte) <- lookup *curr-label-ah - y <- render-trace-line 0/screen, curr, 0, y, 0x80/width, 0x30/height, 7/fg, 0/bg + y <- render-trace-line 0/screen, curr, 0, y, 0x80/width, 0x30/height, 7/fg, 0xc5/bg=blue-bg } i <- increment loop @@ -685,20 +685,20 @@ fn render-trace-menu screen: (addr screen) { var y/ecx: int <- copy height y <- decrement set-cursor-position screen, 0/x, y - draw-text-rightward-from-cursor screen, " ctrl-r ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " run main ", width, 7/fg, 0/bg - draw-text-rightward-from-cursor screen, " ctrl-s ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " run sandbox ", width, 7/fg, 0/bg + draw-text-rightward-from-cursor screen, " ctrl-r ", width, 0/fg, 0x5c/bg=black + draw-text-rightward-from-cursor screen, " run main ", width, 7/fg, 0xc5/bg=blue-bg + draw-text-rightward-from-cursor screen, " ctrl-s ", width, 0/fg, 0x5c/bg=black + draw-text-rightward-from-cursor screen, " run sandbox ", width, 7/fg, 0xc5/bg=blue-bg draw-text-rightward-from-cursor screen, " ctrl-m ", width, 0/fg, 0x18/bg=keyboard - draw-text-rightward-from-cursor screen, " to keyboard ", width, 7/fg, 0/bg - draw-text-rightward-from-cursor screen, " j ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " down ", width, 7/fg, 0/bg - draw-text-rightward-from-cursor screen, " k ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " up ", width, 7/fg, 0/bg - draw-text-rightward-from-cursor screen, " enter ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " expand ", width, 7/fg, 0/bg - draw-text-rightward-from-cursor screen, " backspace ", width, 0/fg, 7/bg=grey - draw-text-rightward-from-cursor screen, " collapse ", width, 7/fg, 0/bg + draw-text-rightward-from-cursor screen, " to keyboard ", width, 7/fg, 0xc5/bg=blue-bg + draw-text-rightward-from-cursor screen, " j ", width, 0/fg, 0x5c/bg=black + draw-text-rightward-from-cursor screen, " down ", width, 7/fg, 0xc5/bg=blue-bg + draw-text-rightward-from-cursor screen, " k ", width, 0/fg, 0x5c/bg=black + draw-text-rightward-from-cursor screen, " up ", width, 7/fg, 0xc5/bg=blue-bg + draw-text-rightward-from-cursor screen, " enter ", width, 0/fg, 0x5c/bg=black + draw-text-rightward-from-cursor screen, " expand ", width, 7/fg, 0xc5/bg=blue-bg + draw-text-rightward-from-cursor screen, " backspace ", width, 0/fg, 0x5c/bg=black + draw-text-rightward-from-cursor screen, " collapse ", width, 7/fg, 0xc5/bg=blue-bg } fn edit-trace _self: (addr trace), key: grapheme { |