Browse Source

Use violet for extremely cold temp (#11)

pull/559/head
Igor Chubin 5 years ago
parent
commit
482dffc9a9
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      share/we-lang/we-lang.go

+ 4
- 2
share/we-lang/we-lang.go View File

@ -551,10 +551,12 @@ func formatTemp(c cond) string {
color := func(temp int, explicitPlus bool) string {
var col = 0
if !config.Inverse {
col = 21
// Extemely cold temperature must be shown with violet
// because dark blue is too dark
col = 165
switch temp {
case -15, -14, -13:
col = 27
col = 171
case -12, -11, -10:
col = 33
case -9, -8, -7:


Loading…
Cancel
Save