Skip to content
Snippets Groups Projects
Commit e575abfa authored by ali asaria's avatar ali asaria
Browse files

replace mentions of "red" with palette.danger

parent db879d83
Branches
Tags
No related merge requests found
...@@ -233,7 +233,7 @@ export default function Header({ connection, setConnection, experimentInfo }) { ...@@ -233,7 +233,7 @@ export default function Header({ connection, setConnection, experimentInfo }) {
<div style={{ width: '60px', textAlign: 'center' }}> <div style={{ width: '60px', textAlign: 'center' }}>
<div style={{ width: '60px', position: 'absolute', opacity: 0.6 }}> <div style={{ width: '60px', position: 'absolute', opacity: 0.6 }}>
<Sparklines height={20} width={60} data={cs.gpu}> <Sparklines height={20} width={60} data={cs.gpu}>
<SparklinesLine color="red" /> <SparklinesLine color="var(--joy-palette-danger-500)" />
</Sparklines> </Sparklines>
</div> </div>
{Math.round(cs.gpu[cs.gpu.length - 1])}% {Math.round(cs.gpu[cs.gpu.length - 1])}%
......
...@@ -316,7 +316,7 @@ export default function LocalModels({ ...@@ -316,7 +316,7 @@ export default function LocalModels({
/> />
&nbsp; &nbsp;
<Trash2Icon <Trash2Icon
color="red" color="var(--joy-palette-danger-600)"
onClick={() => { onClick={() => {
mutate(); mutate();
}} }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment