diff options
Diffstat (limited to 'yeetube-buffer.el')
-rw-r--r-- | yeetube-buffer.el | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/yeetube-buffer.el b/yeetube-buffer.el index c671177..26b9586 100644 --- a/yeetube-buffer.el +++ b/yeetube-buffer.el @@ -29,9 +29,6 @@ ;;; Code: -(require 'yeetube-face) - - (defcustom yeetube-buffer-display-emojis nil "Display video title's emojis. @@ -40,6 +37,27 @@ Emojis cause formatting issues, this should be off by default." :safe #'booleanp :group 'yeetube) + +(defface yeetube-face-header-query + '((t :inherit font-lock-function-name-face)) + "Face used for the video published date.") + +(defface yeetube-face-duration + '((t :inherit font-lock-string-face)) + "Face used for the video duration.") + +(defface yeetube-face-view-count + '((t :inherit font-lock-keyword-face)) + "Face used for the video view count.") + +(defface yeetube-face-title + '((t :inherit font-lock-variable-use-face)) + "Face used for video title.") + +(defface yeetube-face-channel + '((t :inherit font-lock-function-call-face)) + "Face used for video title.") + (defun yeetube-buffer-strip-emojis (str) "Remove characters which are part of the `emoji' script from STR." (cl-remove-if (lambda (c) |