Skip to content

Commit

Permalink
Merge pull request #98 from 2i2c-org/terminal-colors
Browse files Browse the repository at this point in the history
Specify terminal colors
  • Loading branch information
yuvipanda authored Nov 19, 2024
2 parents b5f9c76 + 077b066 commit c828fb8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/ImageBuilder.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,15 @@ function ImageLogs({ setTerm, setFitAddon, name }) {
rows: 1,
// Increase scrollback since image builds can sometimes produce a ton of output
scrollback: 10000,
// colors checked with the contrast checker at https://webaim.org/resources/contrastchecker/
theme: {
red: "\x1b[38;2;248;113;133m",
green: "\x1b[38;2;134;239;172m",
yellow: "\x1b[38;2;253;224;71m",
blue: "\x1b[38;2;147;197;253m",
magenta: "\x1b[38;2;249;168;212m",
cyan: "\x1b[38;2;103;232;249m",
}
});
const fitAddon = new FitAddon();
term.loadAddon(fitAddon);
Expand Down

0 comments on commit c828fb8

Please sign in to comment.