From d445705e7de50989fd4542e16197675f6fe90610 Mon Sep 17 00:00:00 2001 From: shatfield4 Date: Tue, 13 May 2025 18:51:52 -0700 Subject: [PATCH 1/2] update light mode designs for system prompt history --- frontend/src/index.css | 3 ++- .../ChatPromptHistory/PromptHistoryItem/index.jsx | 6 +++--- frontend/tailwind.config.js | 1 + 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/frontend/src/index.css b/frontend/src/index.css index 76df646a871..d7b1aaca176 100644 --- a/frontend/src/index.css +++ b/frontend/src/index.css @@ -23,6 +23,7 @@ --theme-sidebar-subitem-default: rgba(255, 255, 255, 0.05); --theme-sidebar-subitem-selected: rgba(255, 255, 255, 0.05); --theme-sidebar-thread-selected: rgba(255, 255, 255, 0.05); + --theme-popup-menu-bg: #000000; --theme-sidebar-subitem-hover: rgba(255, 255, 255, 0.05); --theme-sidebar-border: rgba(255, 255, 255, 0.1); @@ -88,11 +89,11 @@ [data-theme="light"] { --theme-loader: #000000; - --theme-bg-primary: #ffffff; --theme-bg-secondary: #ffffff; --theme-bg-sidebar: #edf2fa; --theme-bg-container: #f9fbfd; + --theme-popup-menu-bg: #C2E7FE; --theme-bg-chat: #ffffff; --theme-bg-chat-input: #eaeaea; diff --git a/frontend/src/pages/WorkspaceSettings/ChatSettings/ChatPromptSettings/ChatPromptHistory/PromptHistoryItem/index.jsx b/frontend/src/pages/WorkspaceSettings/ChatSettings/ChatPromptSettings/ChatPromptHistory/PromptHistoryItem/index.jsx index 63f969c56dd..956bf40336b 100644 --- a/frontend/src/pages/WorkspaceSettings/ChatSettings/ChatPromptSettings/ChatPromptHistory/PromptHistoryItem/index.jsx +++ b/frontend/src/pages/WorkspaceSettings/ChatSettings/ChatPromptSettings/ChatPromptHistory/PromptHistoryItem/index.jsx @@ -58,7 +58,7 @@ export default function PromptHistoryItem({ )} - + {moment(modifiedAt).fromNow()} @@ -82,11 +82,11 @@ export default function PromptHistoryItem({ {showMenu && (