Add file for theme

This commit is contained in:
Andreas Zweili 2022-08-18 21:15:35 +02:00
parent f4521f02dc
commit 71dafd4e8c
1 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,18 @@
;; Color theme
;; disable background in terminal
(defun on-after-init ()
(unless (display-graphic-p (selected-frame))
(set-face-background 'default "unspecified-bg" (selected-frame))))
(add-hook 'window-setup-hook 'on-after-init)
(when (boundp 'enable-color-theme)
;; load solarized color theme
(use-package solarized-theme
:ensure t
:config
(setq solarized-use-variable-pitch nil)
(setq solarized-scale-org-headlines nil)
(setq solarized-high-contrast-mode-line t)
(set-face-inverse-video 'region nil)
(load-theme 'solarized-light t)))