Skip to content

Latest commit

 

History

History
96 lines (77 loc) · 4.96 KB

README.md

File metadata and controls

96 lines (77 loc) · 4.96 KB

Logo
Catppuccin for Squirrel(Rime for MacOS)

Previews

🌻 Latte
🪴 Frappé
🌺 Macchiato
🌿 Mocha

 

Read this in other languages: English,简体中文.

Usage

  1. Download squirrel.custom.yaml file here.
  2. Open the Squirrel configuration folder through the Settings... menu item in the Squirrel menu bar.
  3. Backup the squirrel.custom.yaml file in the configuration folder,replace it with the squirrel.custom.yaml file downloaded in step one.

Instead: open the squirrel.custom.yaml file under the configuration folder, copy the content after the preset_color_schemes tag from the downloaded file in step one into the configuration, and modify the content of the style/color_scheme and style/color_scheme_dark tags to your preferred theme. This ensures that the original configuration content is preserved to the greatest extent possible. For specific parameters, please refer to the FAQ.

  1. Make the configuration effective through the Deploy menu item in the Squirrel menu bar (default shortcut: control+option+`).
  2. Well done,Enjoy~

🙋 FAQ

How to customize the related color theme?

The following are some custom theme parameters within the file squirrel.custom.yaml

  style/color_scheme: catppuccin_latte         # for MacOS Light Appearance
  style/color_scheme_dark: catppuccin_mocha    # for MacOS Dark Appearance

Here are some color parameters for custom themes(#aabbggrr):

  back_color: 0xFFFFFF                         # Candidate bar background color
  border_color: 0xFFFFFF                       # Border color
  text_color: 0xFFFFFF                         # Pinyin line text color 
  label_color: 0xFFFFFF                        # Candidate bar number color
  candidate_text_color: 0xFFFFFF               # Candidate item text color
  hilited_back_color: 0xFFFFFF                 # Background color of the first candidate item
  hilited_candidate_text_color: 0xFFFFFF       # Text color of the first candidate item
  hilited_candidate_label_color: 0xFFFFFF      # Number color of the first candidate item
  hilited_text_color: 0xFFFFFF                 # Highlighted Pinyin (requires embedded coding)
  hilited_comment_text_color: 0xFFFFFF         # Highlighted annotation text color
  comment_text_color: 0xFFFFFF                 # Pinyin and other prompt text color

Tip:the color format for Squirrel is #aabbggrr. If using a different color format, please make sure to replace accordingly.

Can this configuration be adapted to other platforms of Rime input method?

As for other Rime input methods on different platforms, such as Weasel, they should be compatible according to Rime's instructions. You just need to rename the configuration file to the <configuration code>.custom.yaml,this project has not undergone relevant testing. Please refer to the Rime official documentation for details.

💝 Thanks to

 

Copyright © 2021-present Catppuccin Org