From 8bda6152066e6c411f18fadea89d9c96f90a0d00 Mon Sep 17 00:00:00 2001 From: Andreas Gerler Date: Wed, 28 Oct 2015 17:54:04 +0100 Subject: [PATCH] set face for org src begin/end --- bba.org | 47 +++++++++++++++++++++++++++-------------------- 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/bba.org b/bba.org index 58df4bb2..d217b7c5 100644 --- a/bba.org +++ b/bba.org @@ -2142,26 +2142,33 @@ You have to work hard to be lazy. [[https://emacsfodder.github.io/emacs-theme-editor/][Emacs Theme Editor]] is a nice tool to define your colors. #+BEGIN_SRC emacs-lisp - (deftheme bba1 "DOCSTRING for bba1") - (custom-theme-set-faces 'bba1 - '(default ((t (:foreground "#07e30d" :background "#282828" )))) - '(cursor ((t (:background "#f09213" )))) - '(fringe ((t (:background "#131313" )))) - '(mode-line ((t (:foreground "#282828" :background "#d96503" )))) - '(region ((t (:background "#7a7674" )))) - '(secondary-selection ((t (:background "#584e47" )))) - '(font-lock-builtin-face ((t (:foreground "#fe8019" )))) - '(font-lock-comment-face ((t (:foreground "#df7114" )))) - '(font-lock-function-name-face ((t (:foreground "#b8bb26" )))) - '(font-lock-keyword-face ((t (:foreground "#fb4934" )))) - '(font-lock-string-face ((t (:foreground "#b8bb26" )))) - '(font-lock-type-face ((t (:foreground "#d3869b" )))) - '(font-lock-constant-face ((t (:foreground "#d3869b" )))) - '(font-lock-variable-name-face ((t (:foreground "#83a598" )))) - '(minibuffer-prompt ((t (:foreground "#b8bb26" :bold t )))) - '(font-lock-warning-face ((t (:foreground "red" :bold t )))) - ) - (provide-theme 'bba1) + (deftheme bba1 "DOCSTRING for bba1") + (custom-theme-set-faces 'bba1 + '(default ((t (:foreground "#07e30d" :background "#282828" )))) + '(cursor ((t (:background "#f09213" )))) + '(fringe ((t (:background "#131313" )))) + '(mode-line ((t (:foreground "#282828" :background "#d96503" )))) + '(region ((t (:background "#7a7674" )))) + '(secondary-selection ((t (:background "#584e47" )))) + '(font-lock-builtin-face ((t (:foreground "#fe8019" )))) + '(font-lock-comment-face ((t (:foreground "#df7114" )))) + '(font-lock-function-name-face ((t (:foreground "#b8bb26" )))) + '(font-lock-keyword-face ((t (:foreground "#fb4934" )))) + '(font-lock-string-face ((t (:foreground "#b8bb26" )))) + '(font-lock-type-face ((t (:foreground "#d3869b" )))) + '(font-lock-constant-face ((t (:foreground "#d3869b" )))) + '(font-lock-variable-name-face ((t (:foreground "#83a598" )))) + '(minibuffer-prompt ((t (:foreground "#b8bb26" :bold t )))) + '(font-lock-warning-face ((t (:foreground "red" :bold t )))) + ) + (provide-theme 'bba1) + + (if (display-graphic-p) + (custom-set-faces + '(org-block-begin-line ((t (:background "#29759c" :foreground "#84cbef"))) t) + '(org-block-end-line ((t (:inherit org-block-begin-line))) t) + ) + ) #+END_SRC -- 2.47.3