Skip to content

Commit

Permalink
Fix style for tracker "shadow" & add to all cases (#1204)
Browse files Browse the repository at this point in the history
  • Loading branch information
ButterscotchV authored Oct 26, 2024
1 parent 26ec95b commit 3bbf5cb
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gui/src/components/tracker/TrackerCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ export function TrackerCard({
? {
boxShadow: `0px 0px ${Math.floor(velocity * 8)}px ${Math.floor(
velocity * 8
)}px var(--accent-background-30)`,
)}px rgb(var(--accent-background-30))`,
}
: {}
}
Expand Down
2 changes: 1 addition & 1 deletion gui/src/components/tracker/TrackerPartCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export function TrackerPartCard({
style={{
boxShadow: `0px 0px ${globalVelocity * 3}px ${
globalVelocity * 3
}px #BB8AE5`,
}px rgb(var(--accent-background-30))`,
}}
>
{roleError && (
Expand Down
4 changes: 2 additions & 2 deletions gui/src/components/tracker/TrackerSettings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,11 @@ export function TrackerSettingsPage() {
></BodyPartIcon>
)}
{tracker?.tracker.info?.bodyPart === BodyPart.NONE && (
<WarningIcon className="text-yellow-300" />
<WarningIcon className="fill-status-warning" />
)}
<Typography
color={classNames({
'text-yellow-300':
'text-status-warning':
tracker?.tracker.info?.bodyPart === BodyPart.NONE,
})}
>
Expand Down
2 changes: 1 addition & 1 deletion gui/src/components/tracker/TrackersTable.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ export function RowContainer({
style={{
boxShadow: `0px 0px ${Math.floor(velocity * 8)}px ${Math.floor(
velocity * 8
)}px #BB8AE5`,
)}px rgb(var(--accent-background-30))`,
}}
className={classNames(
'h-[50px] flex flex-col justify-center px-3',
Expand Down

0 comments on commit 3bbf5cb

Please sign in to comment.