From 7299dca492ac140ab387d0454014ea284a39a44e Mon Sep 17 00:00:00 2001 From: Lee Calcote Date: Fri, 9 May 2025 13:43:01 -0500 Subject: [PATCH 1/2] Enhance theme initialization and dark mode handling in HTML and ThemeManager components Signed-off-by: Lee Calcote --- src/html.js | 54 ++++++++++++++++++++-------- src/theme/app/StyledThemeProvider.js | 8 ++++- src/theme/app/ThemeManager.js | 23 ++++++++++-- 3 files changed, 67 insertions(+), 18 deletions(-) diff --git a/src/html.js b/src/html.js index d10c848d7f944..f6168b0d61ea4 100644 --- a/src/html.js +++ b/src/html.js @@ -1,7 +1,6 @@ import React from "react"; import PropTypes from "prop-types"; - export default function HTML(props) { return ( @@ -24,20 +23,45 @@ export default function HTML(props) { {props.headComponents} -