Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Solarized scheme for squirrel
solarized_rock:
name: "曬經石/Solarized Rock"
author: "Aben <tntaben@gmail.com>, based on Ethan Schoonover's Solarized color scheme"
corner_radius: 7 #圓角
border_height: 0
border_width: 0
back_color: 0x362b00 #背景色
candidate_text_color: 0x969483 #候選字顏色
hilited_candidate_back_color: 0x8236d3 #高亮候選字背景色
hilited_candidate_text_color: 0xffffff #高亮候選字顏色
hilited_comment_text_color: 0x362b00 #註解文字高亮
hilited_text_color: 0x98a12a #for Weasel?
text_color: 0x009985 #for Weasel?
font_face: "Hiragino Sans GB, PingFangSC-Regular" #字體
font_point: 28 #字號
line_spacing: 5 #行距
spacing: 5 #間距
label_font_face: "Hiragino Sans GB" #編號字體
label_font_point: 18 #編號字號
# Patch for squirrel.custom.yaml
preset_color_schemes/solarized_rock:
name: "曬經石/Solarized Rock"
author: "Aben <tntaben@gmail.com>, based on Ethan Schoonover's Solarized color scheme"
corner_radius: 7 #圓角
border_height: 0
border_width: 0
back_color: 0x362b00 #背景色
candidate_text_color: 0x969483 #候選字顏色
hilited_candidate_back_color: 0x8236d3 #高亮候選字背景色
hilited_candidate_text_color: 0xffffff #高亮候選字顏色
hilited_comment_text_color: 0x362b00 #註解文字高亮
hilited_text_color: 0x98a12a #for Weasel?
text_color: 0x009985 #for Weasel?
font_face: "Hiragino Sans GB, PingFangSC-Regular" #字體
font_point: 28 #字號
line_spacing: 5 #行距
spacing: 5 #間距
label_font_face: "Hiragino Sans GB" #編號字體
label_font_point: 18 #編號字號
@lotem

This comment has been minimized.

Copy link

commented Jan 30, 2013

'text_color' is not used in Squirrel as long as 'candidate_text_color' is defined.

but in Weasel, there is an extra 'preedit' line where 'text_color' and 'hilited_text_color' do make sense.

text_color: 0x423607 is too similar to 'back_color', making preedit text difficult to recognize.

thus I picked these new colors from Solarized:

    text_color: 0x009985
    hilited_text_color: 0x98a12a
@aben

This comment has been minimized.

Copy link
Owner Author

commented Nov 8, 2016

@lotem how to contribute this color scheme? can I create a pull request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.