aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon-tl.el
diff options
context:
space:
mode:
authoralexjgriffith <griffitaj @gmail.com>2017-05-15 09:46:47 -0400
committeralexjgriffith <griffitaj @gmail.com>2017-05-15 09:46:47 -0400
commit3c4c7e70a236b309f192c55e289f5fe42141f4fb (patch)
tree65ce4d792a8d5fb81318a66334ac9aeee88ad9da /lisp/mastodon-tl.el
parentab7b7724b9c466726d24aa8c7b68a939b0271238 (diff)
parent2f4dc17ac2732e266bbf333132da20e9223cccd8 (diff)
Merge branch 'develop' into image-nl-placement
Diffstat (limited to 'lisp/mastodon-tl.el')
-rw-r--r--lisp/mastodon-tl.el19
1 files changed, 11 insertions, 8 deletions
diff --git a/lisp/mastodon-tl.el b/lisp/mastodon-tl.el
index a354278..856c0d8 100644
--- a/lisp/mastodon-tl.el
+++ b/lisp/mastodon-tl.el
@@ -109,10 +109,11 @@ Optionally start from POS."
(concat
(when mastodon-media-show-avatars-p
(mastodon-media--get-avatar-rendering avatar-url))
- (propertize name 'face 'warning)
- " (@"
- handle
- ")")))
+ (propertize name 'face 'mastodon-display-name-face)
+ (propertize (concat " (@"
+ handle
+ ")")
+ 'face 'mastodon-handle-face))))
(defun mastodon-tl--byline-boosted (toot)
"Add byline for boosted data from TOOT."
@@ -120,7 +121,7 @@ Optionally start from POS."
(when reblog
(concat
" "
- (propertize "Boosted" 'face 'highlight)
+ (propertize "Boosted" 'face 'mastodon-boosted-face)
" "
(mastodon-tl--byline-author reblog)))))
@@ -140,9 +141,11 @@ Return value from boosted content if available."
(propertize
(concat (propertize "\n | " 'face 'default)
(when boosted
- (format "(%s) " (propertize "B" 'face 'success)))
+ (format "(%s) "
+ (propertize "B" 'face 'mastodon-boost-fave-face)))
(when faved
- (format "(%s) " (propertize "F" 'face 'success)))
+ (format "(%s) "
+ (propertize "F" 'face 'mastodon-boost-fave-face)))
(mastodon-tl--byline-author toot)
(mastodon-tl--byline-boosted toot)
" "
@@ -172,7 +175,7 @@ also render the html"
(message (concat "\n ---------------"
"\n Content Warning"
"\n ---------------\n"))
- (cw (mastodon-tl--set-face message 'success nil)))
+ (cw (mastodon-tl--set-face message 'mastodon-cw-face nil)))
(if (> (length string) 0)
(replace-regexp-in-string "\n\n\n ---------------"
"\n ---------------" (concat string cw))