diff --git a/frontend/src/index.css b/frontend/src/index.css index 76df646a871..3a07acde0e3 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 && ( { setShowMenu(false); deleteHistory(id); diff --git a/frontend/tailwind.config.js b/frontend/tailwind.config.js index 98294046a83..fec041ba3d8 100644 --- a/frontend/tailwind.config.js +++ b/frontend/tailwind.config.js @@ -56,6 +56,7 @@ export default { container: 'var(--theme-bg-container)', chat: 'var(--theme-bg-chat)', "chat-input": 'var(--theme-bg-chat-input)', + "popup-menu": 'var(--theme-popup-menu-bg)', }, text: { primary: 'var(--theme-text-primary)',