mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 18:37:36 -02:30
Adjust ansi colors to complement the host status bar
This commit is contained in:
@@ -18,12 +18,12 @@ const ansi = new Ansi({
|
|||||||
stream: true,
|
stream: true,
|
||||||
colors: {
|
colors: {
|
||||||
0: '#000',
|
0: '#000',
|
||||||
1: '#A00',
|
1: '#A30000',
|
||||||
2: '#080',
|
2: '#486B00',
|
||||||
3: '#F0AD4E',
|
3: '#795600',
|
||||||
4: '#00A',
|
4: '#00A',
|
||||||
5: '#A0A',
|
5: '#A0A',
|
||||||
6: '#0AA',
|
6: '#004368',
|
||||||
7: '#AAA',
|
7: '#AAA',
|
||||||
8: '#555',
|
8: '#555',
|
||||||
9: '#F55',
|
9: '#F55',
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ describe('<JobEvent />', () => {
|
|||||||
expect(
|
expect(
|
||||||
lineText
|
lineText
|
||||||
.html()
|
.html()
|
||||||
.includes('<span style="color:#080">ok: [localhost]</span>')
|
.includes('<span style="color:#486B00">ok: [localhost]</span>')
|
||||||
).toBe(true);
|
).toBe(true);
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ const OutputHeader = styled.div`
|
|||||||
`;
|
`;
|
||||||
|
|
||||||
const OutputWrapper = styled.div`
|
const OutputWrapper = styled.div`
|
||||||
background-color: #fafafa;
|
background-color: #ffffff;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ const HostStatusBar = ({ i18n, counts = {} }) => {
|
|||||||
label: i18n._(t`Failed`),
|
label: i18n._(t`Failed`),
|
||||||
},
|
},
|
||||||
dark: {
|
dark: {
|
||||||
color: '#8B8D8F',
|
color: '#8F4700',
|
||||||
label: i18n._(t`Unreachable`),
|
label: i18n._(t`Unreachable`),
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user