From dd74bc44a0fa841e44ce0751305270f5e59cb154 Mon Sep 17 00:00:00 2001 From: Joe Heffernan Date: Mon, 11 May 2026 17:56:59 -0700 Subject: [PATCH 1/3] change styling on slider, tabs, and tooltip --- src/style/theme.ts | 38 ++++++++++++++++++++++++++++++++++++-- 1 file changed, 36 insertions(+), 2 deletions(-) diff --git a/src/style/theme.ts b/src/style/theme.ts index ec908c1f..3221e774 100644 --- a/src/style/theme.ts +++ b/src/style/theme.ts @@ -3,6 +3,40 @@ import { theme } from "antd"; const commonComponents = { Button: { controlHeight: 40 }, + Slider: { + trackBg: '#7AA4D7', + trackHoverBg: '#5F92CE', + handleColor: '#7AA4D7', + handleActiveColor: '#3378C4', + handleColorDisabled: '#C6D2DE', + trackBgDisabled: '#C6D2DE', + }, + Tabs: { + inkBarColor: '#468ADE', + itemHoverColor: '#6BA0E5', + titleFontSize: 18, + }, + Tooltip: { + colorTextLightSolid: '#000000', + colorBgSpotlight: '#cbe3ff', + boxShadowSecondary: '4px 3px 10px 0px #1F1F1FCC', + } +}; + +const lightComponents = { + ...commonComponents, + Tabs: { + ...commonComponents.Tabs, + colorPrimary: '#000000', + }, +}; + +const darkComponents = { + ...commonComponents, + Tabs: { + ...commonComponents.Tabs, + colorPrimary: '#ffffff', + }, }; export const lightTheme: ThemeConfig = { @@ -15,7 +49,7 @@ export const lightTheme: ThemeConfig = { colorTextBase: "#213547", }, components: { - ...commonComponents, + ...lightComponents, Layout: { headerBg: "#ffffff", bodyBg: "#ffffff", @@ -33,7 +67,7 @@ export const darkTheme: ThemeConfig = { colorTextBase: "rgba(255,255,255,0.87)", }, components: { - ...commonComponents, + ...darkComponents, Layout: { headerBg: "#0f1115", bodyBg: "#0f1115", From 8102d79ea425f02124a1d644f8555cb0c3dd6efd Mon Sep 17 00:00:00 2001 From: Joe Heffernan Date: Mon, 11 May 2026 20:46:10 -0700 Subject: [PATCH 2/3] adjust button stylings --- src/components/ErrorLogs/index.tsx | 2 +- src/components/RecipeForm/index.tsx | 2 +- src/components/StatusBar/index.tsx | 2 +- src/index.css | 7 ------- src/style/theme.ts | 17 ++++++++++++++++- 5 files changed, 19 insertions(+), 11 deletions(-) diff --git a/src/components/ErrorLogs/index.tsx b/src/components/ErrorLogs/index.tsx index 885274c6..fa14c729 100644 --- a/src/components/ErrorLogs/index.tsx +++ b/src/components/ErrorLogs/index.tsx @@ -16,7 +16,7 @@ const ErrorLogs = (props: ErrorLogsProps): JSX.Element => { return ( <> - {