aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-30 12:19:31 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2023-04-30 12:19:31 +0200
commit58a5b6444c9f5d0f0b07e37a08e869cb74bef684 (patch)
treec8269634e5da26f51ba60ed4d15f4c8a434086e1 /lisp/mastodon.el
parentd4470b348e3ba0ea5df98457548a39219065997b (diff)
parent7c0bab3efe68aab790820fd7bb3914f8efc4913b (diff)
Merge branch 'var-pitch-compose' into develop
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."