跳转至内容

颜色设置

从版本 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 [parameter_name]。例如,更改日志窗格颜色的命令是 config log-pane,然后输入所需颜色的十六进制代码。

提示

您可以使用十六进制颜色选择器来选择颜色,例如:https://www.w3schools.com/colors/colors_picker.asp

或者,您可以使用文本编辑器在 hummingbot_conf 文件夹下的 conf_client.yml 文件中编辑这些值。

注意

在 Hummingbot 的过去版本(1.5.0 及以下版本)中,conf_client.yml 文件名为 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'