@@ -57,12 +57,17 @@ (defcustom sbbs-recenter-to-top t "Move point to top of frame when moving through posts." :type 'boolean) -(defcustom sbbs-open-at-last-post t +(defcustom t "Jump to last post in a thread when opening a thread." :type 'boolean) +(defface sbbs--semi-spoiler-face + '((((background light)) :background "gray80" :foreground "black") + (((background dark)) :background "gray20" :foreground "white")) + "Face for spoiler text in threads.") + (defface sbbs--spoiler-face '((((background light)) :background "black" :foreground "black") (((background dark)) :background "white" :foreground "white")) "Face for spoiler text in threads.") @@ -783,9 +788,9 @@ ("__[^ ].*?__" . 'italic) ;; monospaced ("==[^ ].*?==" . 'shadow) ;; spoiler - ("~~[^ ].*?~~" . 'sbbs--spoiler-face) + ("~~[^ ].*?~~" . 'sbbs--semi-spoiler-face) ;; references (">>\\([[:digit:]]+\\(?:-[[:digit:]]+\\)?\\(?:,[[:digit:]]+\\(?:-[[:digit:]]+\\)?\\)*\\)" . 'link) ;; quotes