RIME Color Scheme Design Rules

RIME is a modular, extensible input method engine in cross-platform C++ code, built on top of open-source technologies.

For light schemes:

  • color_format: rgba
  • text_color: 0x000000 # 默认文字颜色
  • comment_text_color: 0x717171 # 注释文字颜色,0x8E8E8E的反色
  • label_color: 0x8E8E8E # 标签文字颜色
  • back_color: 0xFFFFFF # 候选窗背景色
  • border_color: 0xE7E7E7 # 候选窗边框颜色
  • hilited_candidate_text_color: 0xC02C38 # 高亮候选文字颜色,根据个人喜好选择
  • hilited_candidate_back_color: 0xC02C3826 # 高亮候选背景颜色,高亮候选文字颜色不透明度20%,alpha值约为38/0x26
  • hilited_label_color: 0xC02C38 # 高亮候选的标签颜色,与高亮候选文字颜色一致
  • hilited_comment_text_color: 0xC02C38 # 高亮候选的注释颜色,与高亮候选文字颜色一致
  • candidate_text_color: 0x454545 # 候选文字颜色
  • candidate_back_color: 0xFFFFFF # 非高亮候选背景颜色

For dark schemes:

  • color_format: rgba
  • text_color: 0xFFFFFF # 默认文字颜色
  • comment_text_color: 0x8E8E8E # 注释文字颜色
  • label_color: 0x717171 # 标签文字颜色
  • back_color: 0x000000 # 候选窗背景色
  • border_color: 0x000000 # 候选窗边框颜色
  • hilited_candidate_text_color: 0xFFFFFF # 高亮候选文字颜色
  • hilited_candidate_back_color: 0xC02C38 # 高亮候选背景颜色,与亮色主题中高亮候选文字颜色一致
  • hilited_label_color: 0xFFFFFF # 高亮候选的标签颜色,与高亮候选文字颜色一致
  • hilited_comment_text_color: 0xFFFFFF # 高亮候选的注释颜色,与高亮候选文字颜色一致
  • candidate_text_color: 0xBABABA # 候选文字颜色,0x454545的反色
  • candidate_back_color: 0x000000 # 非高亮候选背景颜色

I like traditional chinese colors very much, here are many choices:

Customize color schemes refer to this wiki.

Related

Convert Fonts to Different Formats

fontTools is a family of libraries and utilities for manipulating fonts in Python.

Set TX-02 Oblique in Emacs

Berkeley Mono is a love letter to the golden era of computing.

JetBrainsMono With Slashed Zero

With OpenType Feature Freezer, freeze slashed zero with JetBrainsMono font.