mirror of
https://github.com/SlimeVR/SlimeVR-Server.git
synced 2026-11-25 19:41:20 -08:00
Fix style for tracker "shadow" & add to all cases (#1204)
This commit is contained in:
1 parent
26ec95b2a7
commit
3bbf5cb3e3
4 files changed
+5
-5
No files matched your search
@@ -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,
|
||||
})}
|
||||
>
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in new issue
Block a user