From 011b8e78c4183a9f6bfdb185f229b9f79aefa589 Mon Sep 17 00:00:00 2001 From: Ilan Cosman Date: Fri, 13 May 2022 17:53:50 -0700 Subject: [PATCH] rustc unified color --- functions/tide/configure/colors/colors.fish | 1 + functions/tide/configure/colors/colors_16color.fish | 1 + functions/tide/configure/configs/classic.fish | 2 +- functions/tide/configure/configs/classic_16color.fish | 2 +- functions/tide/configure/configs/lean.fish | 2 +- functions/tide/configure/configs/lean_16color.fish | 2 +- functions/tide/configure/configs/rainbow.fish | 2 +- functions/tide/configure/configs/rainbow_16color.fish | 2 +- 8 files changed, 8 insertions(+), 6 deletions(-) diff --git a/functions/tide/configure/colors/colors.fish b/functions/tide/configure/colors/colors.fish index 57a77e9..678b4d6 100644 --- a/functions/tide/configure/colors/colors.fish +++ b/functions/tide/configure/colors/colors.fish @@ -6,3 +6,4 @@ _java ED8B00 # https://www.oracle.com/uk/a/ocom/docs/java-licensing-logo-guideli _kubectl 326CE5 # https://cncf-branding.netlify.app/projects/kubernetes/ _node 44883E # https://nodejs.org/static/documents/foundation-visual-guidelines.pdf _php 617CBE # Extracted from https://www.php.net/download-logos.php png logo +_rustc F74C00 # Extracted from https://rustacean.net/ "flat" diff --git a/functions/tide/configure/colors/colors_16color.fish b/functions/tide/configure/colors/colors_16color.fish index f9dfdf8..ec46212 100644 --- a/functions/tide/configure/colors/colors_16color.fish +++ b/functions/tide/configure/colors/colors_16color.fish @@ -6,3 +6,4 @@ _java yellow _kubectl blue _node green _php blue +_rustc brred diff --git a/functions/tide/configure/configs/classic.fish b/functions/tide/configure/configs/classic.fish index 022fe9f..ca345ee 100644 --- a/functions/tide/configure/configs/classic.fish +++ b/functions/tide/configure/configs/classic.fish @@ -88,7 +88,7 @@ tide_right_prompt_separator_diff_color  tide_right_prompt_separator_same_color  tide_right_prompt_suffix '' tide_rustc_bg_color 444444 -tide_rustc_color F74C00 +tide_rustc_color $_rustc tide_rustc_icon  tide_shlvl_bg_color 444444 tide_shlvl_color d78700 diff --git a/functions/tide/configure/configs/classic_16color.fish b/functions/tide/configure/configs/classic_16color.fish index 0bef227..4903876 100644 --- a/functions/tide/configure/configs/classic_16color.fish +++ b/functions/tide/configure/configs/classic_16color.fish @@ -46,7 +46,7 @@ tide_pwd_color_anchors brcyan tide_pwd_color_dirs cyan tide_pwd_color_truncated_dirs magenta tide_rustc_bg_color black -tide_rustc_color red +tide_rustc_color $_rustc tide_shlvl_bg_color black tide_shlvl_color yellow tide_status_bg_color black diff --git a/functions/tide/configure/configs/lean.fish b/functions/tide/configure/configs/lean.fish index 334c33c..af17c2f 100644 --- a/functions/tide/configure/configs/lean.fish +++ b/functions/tide/configure/configs/lean.fish @@ -88,7 +88,7 @@ tide_right_prompt_separator_diff_color ' ' tide_right_prompt_separator_same_color ' ' tide_right_prompt_suffix '' tide_rustc_bg_color normal -tide_rustc_color F74C00 +tide_rustc_color $_rustc tide_rustc_icon  tide_shlvl_bg_color normal tide_shlvl_color d78700 diff --git a/functions/tide/configure/configs/lean_16color.fish b/functions/tide/configure/configs/lean_16color.fish index 24bf416..7184a10 100644 --- a/functions/tide/configure/configs/lean_16color.fish +++ b/functions/tide/configure/configs/lean_16color.fish @@ -46,7 +46,7 @@ tide_pwd_color_anchors brcyan tide_pwd_color_dirs cyan tide_pwd_color_truncated_dirs magenta tide_rustc_bg_color normal -tide_rustc_color red +tide_rustc_color $_rustc tide_shlvl_bg_color normal tide_shlvl_color yellow tide_status_bg_color normal diff --git a/functions/tide/configure/configs/rainbow.fish b/functions/tide/configure/configs/rainbow.fish index b4c95bc..41b85f2 100644 --- a/functions/tide/configure/configs/rainbow.fish +++ b/functions/tide/configure/configs/rainbow.fish @@ -87,7 +87,7 @@ tide_right_prompt_prefix  tide_right_prompt_separator_diff_color  tide_right_prompt_separator_same_color  tide_right_prompt_suffix '' -tide_rustc_bg_color F74C00 +tide_rustc_bg_color $_rustc tide_rustc_color 000000 tide_rustc_icon  tide_shlvl_bg_color 808000 diff --git a/functions/tide/configure/configs/rainbow_16color.fish b/functions/tide/configure/configs/rainbow_16color.fish index a3f0c28..e1531b9 100644 --- a/functions/tide/configure/configs/rainbow_16color.fish +++ b/functions/tide/configure/configs/rainbow_16color.fish @@ -45,7 +45,7 @@ tide_pwd_bg_color blue tide_pwd_color_anchors brwhite tide_pwd_color_dirs brwhite tide_pwd_color_truncated_dirs white -tide_rustc_bg_color red +tide_rustc_bg_color $_rustc tide_rustc_color black tide_shlvl_bg_color yellow tide_shlvl_color black