Skip to content

Commit

Permalink
replace mentions of "red" with palette.danger
Browse files Browse the repository at this point in the history
  • Loading branch information
aliasaria committed Jan 9, 2024
1 parent db879d8 commit e575abf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/renderer/components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ export default function Header({ connection, setConnection, experimentInfo }) {
<div style={{ width: '60px', textAlign: 'center' }}>
<div style={{ width: '60px', position: 'absolute', opacity: 0.6 }}>
<Sparklines height={20} width={60} data={cs.gpu}>
<SparklinesLine color="red" />
<SparklinesLine color="var(--joy-palette-danger-500)" />
</Sparklines>
</div>
{Math.round(cs.gpu[cs.gpu.length - 1])}%
Expand Down
2 changes: 1 addition & 1 deletion src/renderer/components/ModelZoo/LocalModels.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ export default function LocalModels({
/>
&nbsp;
<Trash2Icon
color="red"
color="var(--joy-palette-danger-600)"
onClick={() => {
mutate();
}}
Expand Down

0 comments on commit e575abf

Please sign in to comment.