feat: Introduce Agent UI Theme Management and Refactor Color Usage
- Added agent_ui_theme.h and agent_ui_theme.cc to centralize theme color definitions for the Agent UI, improving consistency across components. - Updated AgentChatWidget and AgentChatHistoryPopup to utilize the new theme management system, replacing hardcoded colors with theme-derived values. - Introduced agent_ui_theme.cc to define color properties for various UI elements, enhancing maintainability and visual coherence. - Included agent_ui_theme.h in relevant files to streamline access to theme colors, promoting a cleaner codebase.
This commit is contained in:
@@ -49,6 +49,7 @@ if(YAZE_WITH_GRPC)
|
||||
list(APPEND YAZE_APP_EDITOR_SRC
|
||||
app/editor/agent/agent_editor.cc
|
||||
app/editor/agent/agent_chat_widget.cc
|
||||
app/editor/agent/agent_ui_theme.cc
|
||||
app/editor/agent/agent_collaboration_coordinator.cc
|
||||
app/editor/agent/network_collaboration_coordinator.cc
|
||||
app/editor/agent/automation_bridge.cc
|
||||
|
||||
Reference in New Issue
Block a user