Has anything major changed in org-mode in the last couple of months, I'm
looking specifically at italics and bold, which using my theme of
'darkest-midnight' used to show as green text (for italics) and red text
(for bold). Now they just show as white text but slanting, for italics,
and bold text, for bold.

And I'm attaching my theme just in case its something within it causing
my problems? If you do find the problem within the theme, please do tell
me. As ATM I'm going nuts trying to figure a way round the problems in
my current writing project.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk
TGmeds = http://www.tgmeds.org.uk
DrugFacts = https://www.drugfacts.org.uk
So you want to write a book ... = https://sharonmk.co.uk
Debian 13.5, Fluxbox 1.3.7, emacs 31.0.50, org 9.8.6
;;; -*- lexical-binding: t -*-
;;; darkest-midnight-theme.el --- My own home-grown theme

;; Copyright (C) 2011-2012 Free Software Foundation, Inc

;; Author: Sharon Kimble

;; This file is NOT part of GNU Emacs.

;; GNU Emacs is free software: you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.

;; GNU Emacs is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
;; GNU General Public License for more details.

;; You should have received a copy of the GNU General Public License
;; along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.

;;; Code:


(deftheme darkest-midnight
  "Created 2014-08-04")

;; (let ((background "gray12")
;;       (foreground "gainsboro")
;;       (vc-added "green")
;;       (vc-removed "red")
;;       (vc-changed "blue")
;;       (vc-context "gray")))

(custom-theme-set-faces
 `darkest-midnight
 ;; `(default ((((min-colors 4096)) (:background "gray12" :foreground "gainsboro"))))
 `(default ((t (:stipple nil :background "gray12" :foreground "gainsboro" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :width normal :height 100))))
 `(Info-title-1-face ((t (:bold t :family "helv" :weight bold :height 1.728))) t)
 `(Info-title-2-face ((t (:bold t :family "helv" :weight bold :height 1.44))) t)
 `(Info-title-3-face ((t (:bold t :family "helv" :weight bold :height 1.2))) t)
 `(Info-title-4-face ((t (:bold t :family "helv" :weight bold :height 1.1))) t)
 `(cursor ((t (:background "red" :foreground "#222222"))))
 `(fixed-pitch ((t (:family "Monospace"))))
 `(variable-pitch ((t (:family "Sans Serif"))))
 ;; '(escape-glyph ((((:background "black")) (:foreground "cyan")) (((type pc)) (:foreground "magenta")) (t (:foreground "brown"))))
 `(minibuffer-prompt ((t (:foreground "#FD971F"))))
 `(highlight ((t (:background "black" :foreground "cyan"))))
 ;; `(highlight ((t (:background "sienna")))) 
 `(mouse ((t (:background "yellow"))))
 `(region ((t (:background "#555"))))
 ;; `(shadow ((((class color grayscale) (min-colors 88) (background light)) (:foreground "grey50")) (((class color grayscale) (min-colors 88) (background dark)) (:foreground "grey70")) (((class color) (min-colors 8) (background light)) (:foreground "green")) (((class color) (min-colors 8) (background dark)) (:foreground "yellow"))))
 `(secondary-selection ((((class color) (min-colors 88) (background light)) (:background "yellow1")) (((class color) (min-colors 88) (background dark)) (:background "SkyBlue4")) (((class color) (min-colors 16) (background light)) (:background "yellow")) (((class color) (min-colors 16) (background dark)) (:background "SkyBlue4")) (((class color) (min-colors 8)) (:foreground "black" :background "cyan")) (t (:inverse-video t))))
 `(trailing-whitespace ((((class color) (background light)) (:background "red1")) (((class color) (background dark)) (:background "red1")) (t (:inverse-video t))))
 `(font-lock-builtin-face ((t (:foreground "#FF80F4"))))
 `(font-lock-comment-delimiter-face ((t (:foreground "#8C8C8C"))))
 `(font-lock-comment-face ((t (:foreground "#8C8C8C"))))
 `(font-lock-constant-face ((t (:foreground "#A6E22E"))))
 `(font-lock-doc-face ((t (:foreground "#EEDC82"))))
 `(font-lock-function-name-face ((t (:foreground "#A6E22E"))))
 `(font-lock-keyword-face ((t (:foreground "#F92672"))))
 `(font-lock-negation-char-face ((t (:foreground "#FF6C60"))))
 `(font-lock-preprocessor-face ((t (:foreground "#F92672"))))
 `(font-lock-regexp-grouping-backslash ((t (:foreground "#A63A62"))))
 `(font-lock-regexp-grouping-construct ((t (:foreground "#A63A62"))))
 `(font-lock-string-face ((t (:foreground "#EEDC82"))))
 `(font-lock-type-face ((t (:foreground "#66D9EF"))))
 `(font-lock-variable-name-face ((t (:foreground "#FD971F"))))
 `(font-lock-warning-face ((t (:foreground "#FF6C60"))))
 `(gnus-header-content ((t (:foreground "#ff9810"))))
 `(gnus-header-from ((t (:foreground "#f0e16a"))))
 `(gnus-header-name ((t (:foreground "#ff9800"))))
 `(gnus-header-subject ((t (:foreground "#ff8800"))))
 `(org-agenda-date-today ((t (:weight bold :foreground "#ff9800" :height 1.4))))
 `(org-scheduled ((t (:foreground "#eeeeec"))))
 `(font-latex-bold-face ((t (:foreground "#cd8b00"))))
 `(font-latex-italic-face ((t (:foreground "#808bed" :italic t))))
 `(font-latex-string-face ((t (:foreground "#708090"))))
 `(font-latex-match-reference-keywords ((t (:foreground "#708090"))))
 `(font-latex-match-variable-keywords ((t (:foreground "#708090"))))
 `(button ((t (:underline (:color foreground-color :style line) :foreground "#F92672"))))
 `(link ((t (:underline (:color foreground-color :style line) :foreground "cyan1"))))
 `(link-visited ((t (:foreground "violet" :inherit (link)))))
 `(fringe ((t (:background "#161A1F"))))
 `(header-line ((t (:foreground "#DEDEDE" :background "#333"))))
 `(tooltip ((t (:foreground "black" :background "lightyellow" :inherit (variable-pitch)))))
 `(mode-line ((t (:background "#333" :foreground "#EEDC82" :box (:line-width 1 :color "red") :height 1.0))))
 `(mode-line-buffer-id ((t (:weight bold))))
 `(mode-line-emphasis ((t (:weight bold))))
 `(mode-line-highlight ((((class color) (min-colors 88)) (:box (:line-width 1 :color "grey40"))) (t (:inherit (highlight)))))
 `(mode-line-inactive ((t (:foreground "#555" :background "#222"))))
 `(mode-line ((t (:background "gray37" :foreground "grey85" :overline "black" :height 1.0))))
 `(mode-line-buffer-id ((t (:weight bold :family "helvetica"))))
 `(mode-line-inactive ((t (:inherit mode-line :background "grey20" :foreground "grey40" :weight light))))

 ;; company
 ;; `(company-tooltip ((t (:inherit default :background (color-lighten-name bg 2)))))
 ;; `(company-scrollbar-bg ((t (:background (color-lighten-name bg 10)))))
 ;; `(company-scrollbar-fg ((t (:background (color-lighten-name bg 5)))))
 ;; `(company-tooltip-selection ((t (:inherit font-lock-function-name-face))))
 ;; `(company-tooltip-common ((t (:inherit font-lock-constant-face))))

 ;; org-mode
 `(org-checkbox ((t (:background "black" :foreground "gray" :box (:line-width 1)))))
 ;; `(org-checkbox ((t (:background "black" :foreground "dark-gray" :box (:line-width 1))))) 
 `(org-done ((t (:bold t :weight bold :foreground "green" :box (:line-width 1)))))
 `(org-todo ((t (:bold t :foreground "red" :weight bold :box (:line-width 1)))))
 `(org-document-title ((t (:foreground "green" :background "black" :weight bold :height 1.5))))
 `(org-document-info ((t (:foreground "yellow" :background "black" :weight bold))))
 `(org-document-info-keyword ((t (:foreground "gray" :background "black"))))
 `(org-agenda-date-today ((t (:foreground "yellow" :slant italic :weight bold))) t)
 `(org-agenda-date ((t (:foreground "green" :slant italic :weight bold))) t)
 `(org-agenda-calendar-event ((t (:foreground "pink"))) t)
 `(org-scheduled ((t (:foreground "red"))) t)
 `(org-agenda-structure ((t (:inherit font-lock-comment-face))))
 `(org-archived ((t (:slant italic))))
 ;;`(org-checkbox ((t (:background "gray" :foreground "black"))))
 `(org-date ((t (:foreground "green" :underline t))))
 ;;`(org-done ((t (:bold t :weight bold :foreground "green" :box (:line-width 1)))))
 ;; '(org-done (:weight bold :foreground chameleon-3))                       
 ;; '(org-todo (:weight bold :foreground scarlet-red-2))                       
 ;;`(org-todo ((t (:bold t :foreground "orange" :weight bold :box (:line-width 1)))))
 `(org-level-1 ((t (:foreground "pink" :height 1.0))))
 `(org-level-2 ((t (:foreground "yellow" :height 1.0))))
 `(org-level-3 ((t (:foreground "magenta" :height 1.0))))
 `(org-level-4 ((t (:foreground "deep pink"))))
 `(org-level-5 ((t (:foreground "green"))))
 `(org-level-6 ((t (:foreground "pink"))))
 `(org-level-7 ((t (:foreground "green"))))
 `(org-level-8 ((t (:foreground "yellow"))))
 `(org-link ((t (:foreground "yellow" :underline t))))
 `(org-tag ((t (:bold t :weight bold))))
 `(org-column ((t (:background "black" :foreground "yellow"))))
 
 ;; `(org-column-title ((t (:background bg-1 :underline t :weight bold))))
 ;;`(org-block ((t (:foreground fg :background bg-05))))
 ;;`(org-block-begin-line 
 ;;  ((t (:foreground "#008ED1" :background bg-1))))
 ;;`(org-block-background ((t (:background bg-05))))
 ;;`(org-block-end-line 
 ;;  ((t (:foreground "#008ED1" :background bg-1))))
;;; latex
 `(myparencite ((t (:foreground "green" :background "black"))))
 `(LaTeX-command "latex myparencite" (:foreground "green" :background "black"))
 
 `(isearch ((t (:foreground "#555" :background "#A63A62"))))
 `(isearch-fail ((t (:background "#FF6C60"))))
 `(lazy-highlight ((t (:foreground "#555" :background "#FF80F4"))))
 `(match ((((class color) (min-colors 88) (background light)) (:background "yellow1")) (((class color) (min-colors 88) (background dark)) (:background "RoyalBlue3")) (((class color) (min-colors 8) (background light)) (:foreground "black" :background "yellow")) (((class color) (min-colors 8) (background dark)) (:foreground "white" :background "blue")) (((type tty) (class mono)) (:inverse-video t)) (t (:background "gray"))))
 `(next-error ((t (:inherit (region)))))
 `(query-replace ((t (:inherit (isearch)))))
 `(flyspell-incorrect ((t (:background "Green" :foreground "black" :weight bold))))
 ;; `(flyspell-incorrect ((t (:background "orange red" :foreground "black" :slant italic :weight bold))))
 ;;`(flyspell-duplicate ((t (:background "Orange" :foreground "black"))))
 `(flyspell-duplicate ((t (:foreground "red" :underline t :weight bold))))  
 `(gnus-summary-normal-unread ((t (:foreground "dark orange" :slant italic))))
 `(tabbar-key-binding ((t (:inherit variable-pitch :background "gray12" :foreground "gainsboro"))))
 `(tabbar-ruler-default ((t (:inherit variable-pitch :background "gray12" :foreground "gainsboro"))))
 ;;'(tabbar-ruler-button ((t (:inherit tabbar-ruler-default :foreground "dark red" :style released-button))))
 ;;'(tabbar-ruler-button-highlight ((t (:inherit tabbar-ruler-default))))
 ;;'(tabbar-ruler-highlight ((t (:underline t))))
 `(tabbar-selected-highlight ((t (:background "white" :foreground "black"))))
 `(tabbar-ruler-selected ((t (:inherit tabbar-ruler-default :background "white" :foreground "black"))))
 ;;'(tabbar-ruler-separator ((t (:inherit tabbar-ruler-default :background "#95CA59" :weight bold :box :line-width 7 :height 25))))
 `(tabbar-ruler-unselected ((t (:inherit tabbar-ruler-default))))
 ;;`(tabbar-selected-highlight ((t (:background "black" :foreground "gold" :height 85))))
 ;; `(tabbar-selected-modified ((t (:weight bold :height 85))))
 `(default ((t (:family "DejaVu Sans Mono" :foundry "unknown" :width normal :height 115 :weight normal :slant normal :underline nil :overline nil :strike-through nil :box nil :inverse-video nil :foreground "#DEDEDE" :background "#161A1F" :stipple nil :inherit nil))))
 ;;`(tabbar-default ((t (:inherit variable-pitch :background "#959A79" :foreground "black" :weight bold :height 85))))
 )

(provide-theme 'darkest-midnight)

Reply via email to