aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2019-07-08 17:55:31 +0300
committerromkatv <roman.perepelitsa@gmail.com>2019-07-08 17:55:31 +0300
commit8a84f0e7f39d9ff28d1bc29b0826f8637dd11080 (patch)
treebbca743588b1e3582c3148d565a0bbe0b7c27574
parent2ff8332d2de4959c38c627a3f57f28bdb7d2387e (diff)
use numerical values for default colors
-rwxr-xr-xinternal/p10k.zsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/internal/p10k.zsh b/internal/p10k.zsh
index 85100dc9..87d76158 100755
--- a/internal/p10k.zsh
+++ b/internal/p10k.zsh
@@ -2661,11 +2661,11 @@ _p9k_init() {
fi
if [[ $POWERLEVEL9K_COLOR_SCHEME == light ]]; then
- DEFAULT_COLOR=white
- DEFAULT_COLOR_INVERTED=black
+ DEFAULT_COLOR=7
+ DEFAULT_COLOR_INVERTED=0
else
- DEFAULT_COLOR=black
- DEFAULT_COLOR_INVERTED=white
+ DEFAULT_COLOR=0
+ DEFAULT_COLOR_INVERTED=7
fi
typeset -gA _P9K_BATTERY_STATES=(