         (set-face-attribute 'cperl-array-face nil :foreground "red" :background "default" :weight 'bold :slant 'normal)
         (set-face-attribute 'cperl-hash-face nil :foreground "red" :background "default" :weight 'bold :slant 'normal)
         (set-face-attribute 'cperl-nonoverridable-face nil :foreground "cyan"))))
+
+(use-package diff-mode :defer t :config
+  (if (equal mytheme 'solarized-dark)
+      (set-face-attribute 'diff-file-header nil :inherit 'diff-header :background 'unspecified)))
 
 (use-package ido-mode :defer 0
   :init

      (set-face-attribute 'font-lock-string-face nil :foreground "green")
      (set-face-attribute 'font-lock-type-face nil :foreground "cyan")
      (set-face-attribute 'font-lock-variable-name-face nil :foreground "brightred")
      (set-face-attribute 'region nil :background "brightcyan"))

  ;;; window system mode
  (progn


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; GLOBAL THEMING ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

(require 'color)

(if (not (window-system))
    ;;; tty mode, colors based on my modified Solarized palatte for iTerm2
    (progn
