#ui#customization#themes#control-ui
界面定制与主题
定制 OpenClaw Control UI 的界面和主题。
AI 摘要
这页重点
核心结论
定制 OpenClaw Control UI 的界面和主题。
适用主题
定制开发
高频关键词
ui / customization / themes / control-ui
可信信号
最后更新 2026-03-11
界面定制与主题
本文介绍如何定制 OpenClaw 的用户界面。
主题配置
颜色主题
{
"ui": {
"theme": {
"mode": "dark",
"primary": "#5865F2",
"secondary": "#99AAB5",
"background": "#2C2F33",
"surface": "#23272A",
"text": "#FFFFFF",
"error": "#ED4245",
"success": "#57F287"
}
}
}
自定义 CSS
/* custom.css */
.openclaw-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}
.message-bubble {
border-radius: 16px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
布局定制
侧边栏
{
"ui": {
"sidebar": {
"visible": true,
"width": 280,
"collapsible": true,
"sections": [
{"id": "chats", "label": "对话"},
{"id": "channels", "label": "渠道"},
{"id": "settings", "label": "设置"}
]
}
}
}
消息列表
{
"ui": {
"messages": {
"show_timestamps": true,
"show_avatars": true,
"max_height": "70vh"
}
}
}
功能开关
功能配置
{
"ui": {
"features": {
"voice_input": true,
"file_upload": true,
"canvas_view": true,
"code_highlight": true
}
}
}