From 5e0de6e8947cc594c2ef697f6b886a1f1af813e9 Mon Sep 17 00:00:00 2001 From: JK-le-dev Date: Sat, 18 Oct 2025 20:04:02 -0500 Subject: [PATCH] style(colors): changed colors using slate and grey colors for the most part with violot bc why not --- web-app/src/app/index.jsx | 2 +- .../src/components/layouts/chat-layout.jsx | 2 +- .../components/ui/button/action-button.css | 29 --------------- .../components/ui/button/action-button.jsx | 37 ------------------- .../src/components/ui/chat/chat-header.jsx | 6 ++- .../src/components/ui/chat/chat-window.jsx | 4 +- .../src/components/ui/chat/message-input.jsx | 6 +-- web-app/src/index.css | 15 ++++---- 8 files changed, 18 insertions(+), 83 deletions(-) delete mode 100644 web-app/src/components/ui/button/action-button.css diff --git a/web-app/src/app/index.jsx b/web-app/src/app/index.jsx index 9d0b576..8ce7147 100644 --- a/web-app/src/app/index.jsx +++ b/web-app/src/app/index.jsx @@ -3,7 +3,7 @@ import ChatLayout from "src/components/layouts/chat-layout"; function App() { return ( -
+
); diff --git a/web-app/src/components/layouts/chat-layout.jsx b/web-app/src/components/layouts/chat-layout.jsx index 5d64ed8..ebb0208 100644 --- a/web-app/src/components/layouts/chat-layout.jsx +++ b/web-app/src/components/layouts/chat-layout.jsx @@ -25,7 +25,7 @@ export default function ChatLayout() { } return ( -
+
diff --git a/web-app/src/components/ui/button/action-button.css b/web-app/src/components/ui/button/action-button.css deleted file mode 100644 index 499ef30..0000000 --- a/web-app/src/components/ui/button/action-button.css +++ /dev/null @@ -1,29 +0,0 @@ -.action-btn { - display: inline-flex; - align-items: center; - gap: 6px; - padding: 6px 12px; - border: 2px solid var(--btn-color); - border-radius: 6px; - background-color: white; - color: var(--btn-color); - font-weight: 500; - cursor: pointer; - transition: all 0.25s ease; -} - -.action-btn:hover, -.action-btn:focus { - background-color: var(--btn-color); - color: white; - border-color: var(--btn-color); -} - -.action-btn svg { - fill: currentColor; - transition: fill 0.25s ease; -} - -.action-btn:hover { - transform: translateY(-1px); -} diff --git a/web-app/src/components/ui/button/action-button.jsx b/web-app/src/components/ui/button/action-button.jsx index 52573a5..9df9c6f 100644 --- a/web-app/src/components/ui/button/action-button.jsx +++ b/web-app/src/components/ui/button/action-button.jsx @@ -6,43 +6,6 @@ export default function ActionButton({ type = "add", // 'add' or 'delete' ...props }) { - // Define color and icon based on type - const config = { - add: { - color: "#0F2862", - svg: ( - - - - ), - }, - delete: { - color: "#9E363A", - svg: ( - - - - ), - }, - }; - - const { color, svg } = config[type] || config.add; - return (