From 82514eb9708491ffd0e610a9fd6baa774e65f250 Mon Sep 17 00:00:00 2001 From: csawatzky Date: Thu, 8 May 2025 16:26:34 -0600 Subject: [PATCH] time bar font colour, moved visual farm in the side navigator to the top --- src/common/time/TimeBar.tsx | 19 +++++++++++-------- src/navigation/SideNavigator.tsx | 28 ++++++++++++++-------------- 2 files changed, 25 insertions(+), 22 deletions(-) diff --git a/src/common/time/TimeBar.tsx b/src/common/time/TimeBar.tsx index 73f6d3d..14ce04a 100644 --- a/src/common/time/TimeBar.tsx +++ b/src/common/time/TimeBar.tsx @@ -2,7 +2,7 @@ import { Button, DialogActions, DialogContent, - Grid, + Grid2 as Grid, TextField, Theme, Typography @@ -15,6 +15,7 @@ import { DateRangePreset, GetDefaultDateRange, SetDefaultPreset } from "./DateRa import { useThemeType } from "hooks"; import { makeStyles } from "@mui/styles"; import { cloneDeep } from "lodash"; +import { color } from "@mui/system"; interface Props { startDate: Moment; @@ -28,10 +29,12 @@ type DateRange = [T | null, T | null]; const useStyles = makeStyles((_theme: Theme) => { return ({ activeButtonLight: { - border: "1px solid black" + border: "1px solid black", + color: "black" }, acitveButtonDark: { - border: "1px solid white" + border: "1px solid white", + color: "white" } }) }); @@ -128,7 +131,7 @@ export default function TimeBar(props: Props) { {datePickerDialog()} - + - + - + - + - +