Adjust ansi colors to complement the host status bar

This commit is contained in:
Marliana Lara 2020-02-06 13:34:58 -05:00
parent 028a0a9279
commit d250dd0cd6
No known key found for this signature in database
GPG Key ID: 38C73B40DFA809EE
4 changed files with 7 additions and 7 deletions

View File

@ -18,12 +18,12 @@ const ansi = new Ansi({
stream: true,
colors: {
0: '#000',
1: '#A00',
2: '#080',
3: '#F0AD4E',
1: '#A30000',
2: '#486B00',
3: '#795600',
4: '#00A',
5: '#A0A',
6: '#0AA',
6: '#004368',
7: '#AAA',
8: '#555',
9: '#F55',

View File

@ -53,7 +53,7 @@ describe('<JobEvent />', () => {
expect(
lineText
.html()
.includes('<span style="color:#080">ok: [localhost]</span>')
.includes('<span style="color:#486B00">ok: [localhost]</span>')
).toBe(true);
});

View File

@ -23,7 +23,7 @@ const OutputHeader = styled.div`
`;
const OutputWrapper = styled.div`
background-color: #fafafa;
background-color: #ffffff;
display: flex;
flex-direction: column;
font-family: monospace;

View File

@ -46,7 +46,7 @@ const HostStatusBar = ({ i18n, counts = {} }) => {
label: i18n._(t`Failed`),
},
dark: {
color: '#8B8D8F',
color: '#8F4700',
label: i18n._(t`Unreachable`),
},
};