wip: small random ui changes
This commit is contained in:
@@ -62,10 +62,10 @@ export default function AlertChanges({ settings, widgetID}) {
|
||||
|
||||
// Alert colors are now light/dark mode responsive
|
||||
const alertColors = {
|
||||
Red: "alertRed",
|
||||
Orange: "alertOrange",
|
||||
Yellow: "alertYellow",
|
||||
Green: "alertGreen",
|
||||
Red: "Red",
|
||||
Orange: "Orange",
|
||||
Yellow: "Yellow",
|
||||
Green: "Green",
|
||||
};
|
||||
|
||||
if (isLoading) return (
|
||||
@@ -126,7 +126,7 @@ export default function AlertChanges({ settings, widgetID}) {
|
||||
{object?.alert_scheme_domain === "aviation" && <Plane size={15} />}
|
||||
{object?.alert_scheme_domain === "maritime" && <Sailboat size={15} />}
|
||||
</Timeline.Indicator>
|
||||
<Timeline.Indicator h="50%" outline="none" bg="widgetBadgeBg" color="iconColor" size="lg">
|
||||
<Timeline.Indicator h="50%" outline="none" bg="transparent" color="iconColor" size="lg">
|
||||
{object?.change_type === "increase" ? <TrendingUp /> : <TrendingDown />}
|
||||
</Timeline.Indicator>
|
||||
</Timeline.Connector>
|
||||
|
||||
Reference in New Issue
Block a user