Add custom faces.

This commit is contained in:
KJ 2023-09-24 21:34:06 -04:00
parent 5738e49658
commit f41cde5c3c

View File

@ -32,7 +32,11 @@
;; (set-face-attribute 'org-hide nil :inherit 'fixed-pitch) ;; (set-face-attribute 'org-hide nil :inherit 'fixed-pitch)
;; (set-face-attribute 'org-block nil :foreground 'unspecified :inherit 'fixed-pitch) ;; (set-face-attribute 'org-block nil :foreground 'unspecified :inherit 'fixed-pitch)
;; (set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch)) ;; (set-face-attribute 'org-code nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-block nil :underline nil :foreground nil :background "#1e1f28") (setq org-fontify-quote-and-verse-blocks t) ;; Permitir configuración de bloques quote y verse.
(set-face-attribute 'org-block nil :underline nil :foreground nil :background "#282a36")
;; (set-face-attribute 'org-block-begin-line nil :underline nil :foreground nil :background "#1e1f28")
;; (set-face-attribute 'org-block-end-line nil :underline nil :foreground nil :background nil)
(set-face-attribute 'org-block-end-line nil :background 'unspecified)
(set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch)) (set-face-attribute 'org-table nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch)) (set-face-attribute 'org-verbatim nil :inherit '(shadow fixed-pitch))
(set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch)) (set-face-attribute 'org-special-keyword nil :inherit '(font-lock-comment-face fixed-pitch))
@ -53,6 +57,16 @@
(push '("[#B]" . "🔥" ) prettify-symbols-alist) (push '("[#B]" . "🔥" ) prettify-symbols-alist)
(push '("[#C]" . "🐢" ) prettify-symbols-alist) (push '("[#C]" . "🐢" ) prettify-symbols-alist)
(push '("[#D]" . "" ) prettify-symbols-alist) (push '("[#D]" . "" ) prettify-symbols-alist)
(push '("#+begin_quote" . "" ) prettify-symbols-alist)
(push '("#+end_quote" . "" ) prettify-symbols-alist)
(push '("#+begin_export" . "📤" ) prettify-symbols-alist)
(push '("#+end_export" . "" ) prettify-symbols-alist)
(push '("#+begin_comment" . "📝" ) prettify-symbols-alist)
(push '("#+end_comment" . "" ) prettify-symbols-alist)
(push '("#+begin_src" . "" ) prettify-symbols-alist)
(push '("#+end_src" . "" ) prettify-symbols-alist)
(push '("#+begin_example" . "🦉" ) prettify-symbols-alist)
(push '("#+end_example" . "" ) prettify-symbols-alist)
(prettify-symbols-mode) (prettify-symbols-mode)
) )