Skip to content

Commit

Permalink
Fix: (ement-room-list--timestamp-colors) Background on TTYs
Browse files Browse the repository at this point in the history
Fixes #79.  See also 0541916, #34,
and #73.

Thanks to Tassilo Horn (@tsdh) for reporting.
  • Loading branch information
alphapapa committed Jul 9, 2022
1 parent 2b4ee52 commit 6859771
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ement-room-list.el
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ Used in `ement-room-list' and `ement-taxy-room-list'."
(color-rgb-to-hex r g b 2)))
(color-gradient (color-name-to-rgb (face-foreground 'ement-room-list-recent
nil 'default))
(color-name-to-rgb (face-foreground 'default))
(color-name-to-rgb (face-foreground 'default nil 'default))
24))
(mapcar
;; One face per week for the last year (actually we
Expand All @@ -225,8 +225,8 @@ Used in `ement-room-list' and `ement-taxy-room-list'."
(lambda (rgb)
(pcase-let ((`(,r ,g ,b) rgb))
(color-rgb-to-hex r g b 2)))
(color-gradient (color-name-to-rgb (face-foreground 'default))
(color-name-to-rgb (face-background 'default))
(color-gradient (color-name-to-rgb (face-foreground 'default nil 'default))
(color-name-to-rgb (face-background 'default nil 'default))
104)))
'vector))))

Expand Down

0 comments on commit 6859771

Please sign in to comment.