mirror of
https://github.com/ansible/awx.git
synced 2026-01-16 20:30:46 -03:30
Adjust ansi colors to complement the host status bar
This commit is contained in:
parent
028a0a9279
commit
d250dd0cd6
@ -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',
|
||||
|
||||
@ -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);
|
||||
});
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -46,7 +46,7 @@ const HostStatusBar = ({ i18n, counts = {} }) => {
|
||||
label: i18n._(t`Failed`),
|
||||
},
|
||||
dark: {
|
||||
color: '#8B8D8F',
|
||||
color: '#8F4700',
|
||||
label: i18n._(t`Unreachable`),
|
||||
},
|
||||
};
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user