From d987b3c796aa351d11505709ccaea8a5d370d68d Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Mon, 18 Nov 2024 14:27:36 -0800 Subject: [PATCH] Fix onboarding inputs in dark mode --- frontend/src/components/EditingChatBubble/index.jsx | 4 +++- frontend/src/index.css | 11 +++++++++++ frontend/src/pages/OnboardingFlow/Steps/index.jsx | 10 ++++++++-- 3 files changed, 22 insertions(+), 3 deletions(-) diff --git a/frontend/src/components/EditingChatBubble/index.jsx b/frontend/src/components/EditingChatBubble/index.jsx index b78a6716a0..feabd4c6ee 100644 --- a/frontend/src/components/EditingChatBubble/index.jsx +++ b/frontend/src/components/EditingChatBubble/index.jsx @@ -16,7 +16,9 @@ export default function EditingChatBubble({ return (
-

+

{isUser ? t("common.user") : t("appearance.message.assistant")}

* select:not([data-theme="light"]), +[data-layout="onboarding"] > * input:not([data-theme="light"]), +[data-layout="onboarding"] > * textarea:not([data-theme="light"]) { + border: 1px solid #ffffff; +} + html, body { padding: 0; diff --git a/frontend/src/pages/OnboardingFlow/Steps/index.jsx b/frontend/src/pages/OnboardingFlow/Steps/index.jsx index 1a6852e64b..bc222b8261 100644 --- a/frontend/src/pages/OnboardingFlow/Steps/index.jsx +++ b/frontend/src/pages/OnboardingFlow/Steps/index.jsx @@ -37,7 +37,10 @@ export function OnboardingLayout({ children }) { if (isMobile) { return ( -
+
@@ -87,7 +90,10 @@ export function OnboardingLayout({ children }) { } return ( -
+
{backBtn.showing && (