aboutsummaryrefslogtreecommitdiff
path: root/lisp/mastodon.el
diff options
context:
space:
mode:
authorAlexander Griffith <griffitaj@gmail.com>2017-05-13 11:00:50 -0400
committerAlexander Griffith <griffitaj@gmail.com>2017-05-13 11:00:50 -0400
commit99f720964dea03651890ee1e2cddff3ab186b962 (patch)
tree9b25dc4af05d5eb0ad172541114e9ac3c42a7dfe /lisp/mastodon.el
parent8cd83d70daa94c5387764c059419c518623099d8 (diff)
Added face customization closes #124
Diffstat (limited to 'lisp/mastodon.el')
-rw-r--r--lisp/mastodon.el26
1 files changed, 26 insertions, 0 deletions
diff --git a/lisp/mastodon.el b/lisp/mastodon.el
index 0dd7f10..92220dc 100644
--- a/lisp/mastodon.el
+++ b/lisp/mastodon.el
@@ -82,6 +82,32 @@ Use. e.g. \"%c\" for your locale's date and time format."
:options '(provide-discover-context-menu)
:group 'mastodon)
+(defcustom mastodon-mode-hook nil
+ "Hook run when entering Mastodon mode."
+ :type 'hook
+ :options '(provide-discover-context-menu)
+ :group 'mastodon)
+
+(defface mastodon-handle-face
+ '((t :inherit default))
+ "Face used for user display names.")
+
+(defface mastodon-display-name-face
+ '((t :inherit warning))
+ "Face used for user display names.")
+
+(defface mastodon-boosted-face
+ '((t :inherit highlight :weight bold))
+ "Face to indicate that a toot is boosted.")
+
+(defface mastodon-boost-fave-face
+ '((t :inherit success))
+ "Face to indicate that you have boosted or favourited a toot.")
+
+(defface mastodon-cw-face
+ '((t :inherit success))
+ "Face used for content warning.")
+
(defun mastodon-version ()
"Message package version."
(interactive)