Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -187,6 +187,7 @@ Expected result:

- `abyss`: deep indigo with violet-magenta accents (default)
- `clay`: warm cream light mode with earthy terracotta accents
- `glacier`: icy daylight light mode with steel-blue accents
- `crimson`: high-contrast red mode
- `fallout`: RobCo phosphor CRT, warm amber-lime on near-black
- `lunar`: desaturated monochrome noir
Expand Down
7 changes: 4 additions & 3 deletions bin/boo
Original file line number Diff line number Diff line change
Expand Up @@ -1152,7 +1152,7 @@ apply_prompt_theme() {
left_os_bg="$(blend_color "$_T_bg" "$_T_fg" 140)"
left_user_bg="$(blend_color "$_T_bg" "$_T_fg" 210)"
left_path_bg="$(blend_color "$_T_bg" "$_T_fg" 90)"
left_git_bg="$(blend_color "$_T_bg" "$_T_fg" 280)"
left_git_bg="${_T_omp_git_bg}"
left_exec_bg="$(blend_color "$_T_bg" "$_T_fg" 360)"
left_root_bg="$_T_pal_1"
left_root_fg="$(theme_text_color_for_bg "$left_root_bg")"
Expand Down Expand Up @@ -1183,8 +1183,9 @@ apply_prompt_theme() {
tf_fg="$(readable_color_or_theme_text "$chip_infra_bg" "${_T_omp_tf_fg}")"
sysinfo_fg="$(readable_color_or_theme_text "$chip_metric_bg" "${_T_omp_sysinfo_fg}")"
time_fg="$(readable_color_or_theme_text "$chip_time_bg" "${_T_ui_label:-$_T_pal_7}")"
git_dirty_bg="$_T_pal_3"
git_diverged_bg="$_T_pal_5"
# Keep git state highlighting subtle so light themes don't get muddy/dark blocks.
git_dirty_bg="$(blend_color "$left_git_bg" "$_T_pal_3" 240)"
git_diverged_bg="$(blend_color "$left_git_bg" "$_T_pal_5" 240)"
git_dirty_tpl="{{ if or (.Working.Changed) (.Staging.Changed) }}${git_dirty_bg}{{ end }}"
git_diverged_tpl="{{ if and (gt .Ahead 0) (gt .Behind 0) }}${git_diverged_bg}{{ end }}"

Expand Down
35 changes: 35 additions & 0 deletions themes/glacier.theme
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# builtin
description=icy daylight light mode - steel blue accents
accent=#3c79b8
bg=#eef4fb
fg=#253242
cursor=#3c79b8
cursor_text=#eef4fb
selection_bg=#d7e5f5
selection_fg=#1a2633
ui_dim=#617489
ui_label=#526579
ui_value=#2f4357
omp_chip_cloud_bg=#cfe0f2
omp_go_fg=#2f6f54
omp_az_fg=#3c79b8
omp_gcp_fg=#4b88c5
omp_tf_fg=#6b5fb0
omp_sysinfo_fg=#5b7691
omp_git_bg=#c4d8ee
pal_0=#253242
pal_1=#b5525e
pal_2=#2f7a5d
pal_3=#8a6d2f
pal_4=#3e6fa5
pal_5=#6e5fae
pal_6=#2d7f8a
pal_7=#dce8f5
pal_8=#4a5a6b
pal_9=#c7616d
pal_10=#3f8c6d
pal_11=#9b8040
pal_12=#4e83be
pal_13=#7c6fc0
pal_14=#3b95a0
pal_15=#eef4fb