 (setq default-theme       'smyx)
 ;; (setq default-theme       'leuven)
 
+;; Source: http://emacs.stackexchange.com/a/5343/115
+(defun modi/blend-fringe ()
+  "Set the fringe foreground and background color to that of the theme."
+  (set-face-attribute 'fringe nil
+                      :foreground (face-foreground 'default)
+                      :background (face-background 'default)))
+
+(defun modi/blend-linum ()
+  "Set the linum foreground and background color to that of the theme."
+  (eval-after-load 'linum
+    '(set-face-attribute 'linum nil
+                         :height 0.9
+                         :foreground (face-foreground 'default)
+                         :background (face-background 'default))))
+
 ;; zenburn
 (defun zenburn ()
   "Activate zenburn theme."

  (disable-theme 'leuven)
  (disable-theme 'smyx)
  (load-theme 'zenburn t)
  (eval-after-load 'linum
    '(set-face-attribute 'linum nil :height 0.9 :background "#3F3F3F" :foreground "#6F6F6F"))
  (when (boundp 'setup-smart-mode-line-loaded)
    (sml/apply-theme 'dark))
  (set-face-attribute 'fringe nil :background "#3F3F3F" :foreground "#FFFFFF")
  (when (boundp 'setup-fci-loaded)
    (setq fci-rule-color "#383838")
    (fci-mode -1)))

  (disable-theme 'zenburn)
  (disable-theme 'smyx)
  (load-theme 'leuven t)
  (modi/blend-linum)
  (modi/blend-fringe)
  (when (boundp 'setup-smart-mode-line-loaded)
    (sml/apply-theme 'light))
  (when (boundp 'setup-fci-loaded)
    (setq fci-rule-color "#F2F2F2")
    (fci-mode -1)))
