feat(toolkit): composer in dark mode (#490)
* composer in dark mode
* feat: Fix shallow prop usage in IconButton component
Remove the shallow prop usage in the IconButton component to fix a bug. The shallow prop was not being used and caused unnecessary code complexity. This change improves the code readability and maintainability.
Co-authored-by: Khalil Najjar <knajjars@gmail.com>
* fix: Update getCohereColor usage in Welcome, DataSourceMenu, AgentCard, and DiscoverAgentCard components
Refactor the usage of the getCohereColor function in the Welcome, DataSourceMenu, AgentCard, and DiscoverAgentCard components to improve code readability and maintainability. The getCohereColor function is now called with the appropriate arguments and the background parameter is explicitly specified. This change ensures consistent usage of the function across these components.
* refactor: Improve usage of getCohereColor function in multiple components
Refactor the usage of the getCohereColor function in the Welcome, DataSourceMenu, AgentCard, and DiscoverAgentCard components. This change improves code readability and maintainability by calling the function with the appropriate arguments and explicitly specifying the background parameter. It ensures consistent usage of the function across these components.
* refactor: Improve usage of getCohereColor function in multiple components
Refactor the usage of the getCohereColor function in the Welcome, DataSourceMenu, AgentCard, and DiscoverAgentCard components. This change improves code readability and maintainability by calling the function with the appropriate arguments and explicitly specifying the background parameter. It ensures consistent usage of the function across these components.
* refactor: Remove unused file input and handle file upload in FilesMenu component
Remove the unused file input and handle file upload logic from the ComposerToolbar component and refactor it into the new FilesMenu component. This change improves code organization and separates concerns by moving the file upload functionality to a dedicated component. It also removes unnecessary code and simplifies the ComposerToolbar component.
Co-authored-by: Khalil Najjar <knajjars@gmail.com>
* refactor: Update getCohereColor usage in multiple components
Refactor the usage of the getCohereColor function in the Welcome, DataSourceMenu, AgentCard, and DiscoverAgentCard components. This change improves code readability and maintainability by calling the function with the appropriate arguments and explicitly specifying the background parameter. It ensures consistent usage of the function across these components.