跳至内容

颜色设置

从 0.45 版本开始,我们新增了全局配置参数,允许用户自定义客户端的背景颜色。

New Hummingbot UI

  1. top-pane
  2. output-pane
  3. input-pane
  4. bottom-pane
  5. log-pane
  6. terminal-primary

更改面板颜色

要更改面板颜色,请在 Hummingbot 客户端中运行 config [参数名] 命令。例如,更改日志面板颜色的命令是 config log-pane,然后输入所需颜色的十六进制代码。

提示

您可以使用类似以下的十六进制颜色选择器来选择颜色:https://www.w3schools.com/colors/colors_picker.asp

或者,您也可以使用文本编辑器编辑位于 hummingbot_conf 文件夹中的 conf_client.yml 文件来修改这些值。

注意

在 Hummingbot 的早期版本(1.5.0 及以下)中,该文件名为 conf_global.yml

重置颜色为默认值

在 Hummingbot 内部按下 CTRL + R 可将样式重置为默认颜色。

# Background color of the top pane
top-pane: '#000000'

# Background color of the bottom pane
bottom-pane: '#000000'

# Background color of the output pane
output-pane: '#282C2F'

# Background color of the input pane
input-pane: '#151819'

# Background color of the logs pane
logs-pane: '#151819'

# Terminal primary color (text)
terminal-primary: '#00FFE5'