Giter VIP home page Giter VIP logo

squirrel's Introduction

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

squirrel's People

Contributors

moseeking avatar nekowinston avatar pocco81 avatar rubyowo avatar sgoudham avatar unseen-ninja avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

squirrel's Issues

Share my .zshrc for Rime, make it easier to change theme

Put all theme names in ~/.rimetheme_args and then press Tab:

image

export RIME_DIR="$HOME/Library/Rime"
alias rime-install="bash $RIME_DIR/plum/rime-install"

theme_file="$RIME_DIR/squirrel.custom.yaml"
function rimetheme(){
        theme=" style/color_scheme: $1  # ้…่‰ฒๆ–นๆกˆ"
        scheme_line=`awk '/color_scheme:/{print NR}' ${theme_file}`
        gsed -i "${scheme_line}c\ ${theme}" ${theme_file}
        echo "ๆ›ดๆ–ฐ้…่‰ฒๆ–นๆกˆ: $1"
        Squirrel --reload
}

_rimetheme()
{
    local cur=${COMP_WORDS[COMP_CWORD]}
    COMPREPLY=( $(grep "$cur" ~/.rimetheme_args) )
}
complete -F _rimetheme rimetheme

alias rt=rimetheme

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.