aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-29 12:02:00 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-29 13:00:00 +0200
commit7bc512d546477d8399208fcdf9fa53540fb5cdae (patch)
tree73962f874f60b11a002e3e1a4b623c7dda83cfa1 /lisp/mastodon.el
parentbec7a01c1fe63fdb9ca45602ec71315514b4572d (diff)
variable pitch for toot compose buffer, but not for docs
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 980e31f..c29fd25 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -241,6 +241,20 @@ Use. e.g. \"%c\" for your locale's date and time format."
'((t :inherit success))
"Face used for content warning.")
+(defface mastodon-toot-docs-face
+ `((t :inherit font-lock-comment-face
+ :height 1.0
+ :family ,(face-attribute 'default :family)))
+ "Face used for documentation in toot compose buffer.
+If `mastodon-tl--enable-proportional-fonts' is changed,
+mastodon.el needs to be re-loaded for this to be correctly set.")
+
+(defface mastodon-toot-docs-reply-text-face
+ `((t :inherit font-lock-comment-face
+ :family ,(face-attribute 'variable-pitch :family)))
+ "Face used for reply text in toot compose buffer.
+See `mastodon-toot-display-orig-in-reply-buffer'.")
+
;;;###autoload
(defun mastodon ()
"Connect Mastodon client to `mastodon-instance-url' instance."