Fix style for tracker "shadow" & add to all cases (#1204)

This commit is contained in:
Butterscotch! authored and GitHub committed 2024-10-25 21:47:06 -03:00
1 parent 26ec95b2a7
commit 3bbf5cb3e3
4 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -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))`,
}
: {}
}
@@ -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 && (
@@ -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,
})}
>
+1 -1
View File
@@ -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',