diff --git a/frontend/src/components/shared/QuickAccessBar.css b/frontend/src/components/shared/QuickAccessBar.css index d429f9721..16f7def5e 100644 --- a/frontend/src/components/shared/QuickAccessBar.css +++ b/frontend/src/components/shared/QuickAccessBar.css @@ -10,4 +10,18 @@ justify-content: center; width: 32px; height: 32px; +} + +.fallbackDivider { + width: 60px; + height: 1px; + background-color: var(--color-gray-300); + margin: 8px 0; + border-radius: 1px; +} + +.mantineDivider { + width: 60px; + margin: 8px 0; + border-color: var(--color-gray-300); } \ No newline at end of file diff --git a/frontend/src/components/shared/QuickAccessBar.tsx b/frontend/src/components/shared/QuickAccessBar.tsx index 1a4a3cab8..a12298b3c 100644 --- a/frontend/src/components/shared/QuickAccessBar.tsx +++ b/frontend/src/components/shared/QuickAccessBar.tsx @@ -5,6 +5,8 @@ import AppsIcon from "@mui/icons-material/AppsRounded"; import SettingsIcon from "@mui/icons-material/SettingsRounded"; import AutoAwesomeIcon from "@mui/icons-material/AutoAwesomeRounded"; import FolderIcon from "@mui/icons-material/FolderRounded"; +import PersonIcon from "@mui/icons-material/PersonRounded"; +import NotificationsIcon from "@mui/icons-material/NotificationsRounded"; import { useRainbowThemeContext } from "./RainbowThemeProvider"; import rainbowStyles from '../../styles/rainbow.module.css'; import AppConfigModal from './AppConfigModal'; @@ -30,6 +32,54 @@ interface ButtonConfig { onClick: () => void; } +function NavHeader() { + return ( + <> +
+ + + + + + + + + + +
+ {/* Divider after top icons */} + + + ); +} + const QuickAccessBar = ({ onToolsClick, onReaderToggle, @@ -46,7 +96,7 @@ const QuickAccessBar = ({ { id: 'tools', name: 'All Tools', - icon: , + icon: , tooltip: 'View all available tools', color: '#1E88E5', size: 'lg', @@ -141,16 +191,69 @@ const QuickAccessBar = ({ const getButtonStyle = (config: ButtonConfig) => { const isActive = activeButton === config.id; - if (config.isRound && isActive) { - return { - backgroundColor: '#D3E7F7', - color: '#0A8BFF', - borderRadius: '50%', - }; + + if (isActive) { + // Active state - use specific icon colors + if (config.id === 'tools') { + return { + backgroundColor: 'var(--icon-tools-bg)', + color: 'var(--icon-tools-color)', + border: 'none', + borderRadius: config.isRound ? '50%' : '8px', + }; + } + if (config.id === 'read') { + return { + backgroundColor: 'var(--icon-read-bg)', + color: 'var(--icon-read-color)', + border: 'none', + borderRadius: config.isRound ? '50%' : '8px', + }; + } + if (config.id === 'sign') { + return { + backgroundColor: 'var(--icon-sign-bg)', + color: 'var(--icon-sign-color)', + border: 'none', + borderRadius: config.isRound ? '50%' : '8px', + }; + } + if (config.id === 'automate') { + return { + backgroundColor: 'var(--icon-automate-bg)', + color: 'var(--icon-automate-color)', + border: 'none', + borderRadius: config.isRound ? '50%' : '8px', + }; + } + if (config.id === 'files') { + return { + backgroundColor: 'var(--icon-files-bg)', + color: 'var(--icon-files-color)', + borderRadius: '50%', + }; + } + if (config.id === 'activity') { + return { + backgroundColor: 'var(--icon-activity-bg)', + color: 'var(--icon-activity-color)', + borderRadius: '50%', + }; + } + if (config.id === 'config') { + return { + backgroundColor: 'var(--icon-config-bg)', + color: 'var(--icon-config-color)', + border: 'none', + borderRadius: config.isRound ? '50%' : '8px', + }; + } } + + // Inactive state - use consistent inactive colors return { - backgroundColor: isActive ? config.color : '#9CA3AF', - color: 'white', + backgroundColor: 'var(--icon-inactive-bg)', + color: 'var(--icon-inactive-color)', border: 'none', borderRadius: config.isRound ? '50%' : '8px', }; @@ -180,6 +283,7 @@ const QuickAccessBar = ({ }} > + {buttonConfigs.map((config, index) => ( @@ -202,7 +306,15 @@ const QuickAccessBar = ({ {/* Add divider after Automate button (index 3) */} - {index === 3 && } + {index === 3 && ( + + )} {/* Add spacer before Config button (index 7) */} {index === 5 &&
} diff --git a/frontend/src/pages/HomePage.tsx b/frontend/src/pages/HomePage.tsx index 0503a7d6d..51cb0d8f6 100644 --- a/frontend/src/pages/HomePage.tsx +++ b/frontend/src/pages/HomePage.tsx @@ -97,7 +97,7 @@ export default function HomePage() { {/* Left: Tool Picker or Selected Tool Panel */}
{/* Top Controls */}