From d6833f092ca9243e79f316e150553b7578fd3584 Mon Sep 17 00:00:00 2001 From: Abigail Alexander Date: Thu, 12 Nov 2026 09:27:11 +0000 Subject: [PATCH 1/2] Fix dark border on tabs --- src/ui/widgets/Tabs/tabs.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/ui/widgets/Tabs/tabs.tsx b/src/ui/widgets/Tabs/tabs.tsx index 359e68f6..cd63a562 100644 --- a/src/ui/widgets/Tabs/tabs.tsx +++ b/src/ui/widgets/Tabs/tabs.tsx @@ -95,6 +95,7 @@ export const TabBar = (props: TabComponentProps): JSX.Element => { { aria-labelledby={`simple-tab-${index}`} sx={{ overflow: "scroll", - backgroundColor: "transparent" + backgroundColor: "transparent", + backgroundImage: "none" }} > {value === index && <>{tab.children}} From ddf585d95b07edd6397a38ec2d46f1433b9bcfa9 Mon Sep 17 00:00:00 2001 From: Abigail Alexander Date: Thu, 19 Nov 2026 10:00:14 +0000 Subject: [PATCH 2/2] Export phoebus theme and add theme to display --- src/index.ts | 1 + src/ui/widgets/Display/display.tsx | 15 ++++++++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/index.ts b/src/index.ts index 95af579a..1f7d7ff4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -7,3 +7,4 @@ export * from "./ui/hooks"; export * from "./types"; export { contextRender } from "./testResources"; export * from "./version"; +export * from "./phoebusTheme"; diff --git a/src/ui/widgets/Display/display.tsx b/src/ui/widgets/Display/display.tsx index a74789aa..d1d52583 100644 --- a/src/ui/widgets/Display/display.tsx +++ b/src/ui/widgets/Display/display.tsx @@ -21,6 +21,8 @@ import { MacroContextType } from "../../../types/macros"; import { getOptionalValue } from "../utils"; +import { Theme, ThemeProvider } from "@mui/material"; +import { phoebusTheme } from "../../../phoebusTheme"; const widgetName = "display"; @@ -38,6 +40,7 @@ const DisplayProps = { type DisplayComponentProps = InferWidgetProps & { id: string; class?: string; + theme?: Theme; }; // Generic display widget to put other things inside @@ -92,11 +95,13 @@ export const DisplayComponent = (props: DisplayComponentProps): JSX.Element => { }; } return ( - -
- <>{newProps.children} -
-
+ + +
+ <>{newProps.children} +
+
+
); };