12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- (defun theme/tty()
- (set-face-attribute 'company-tooltip nil
- :background "#FFFFFF"))
- (defun theme/gui()
- (interactive)
- (package-use 'kaolin-themes)
- (setq theme-name (intern (x-get-resource "themeName" "emacs")))
- (unless theme-name (setq theme-name 'kaolin-galaxy))
- (load-theme theme-name t)
- (global-hl-line-mode)
- (when nil
- (set-face-attribute 'default nil
- :background "#121212"
- :foreground "#FFFFFF")
- (set-face-attribute 'mode-line nil
- :background "#202020")
- (set-face-attribute 'linum nil
- :foreground "#AAAAAA")
- (set-face-attribute 'region nil
- :background "#202040")
- (set-face-attribute 'hl-line nil
- :background "#202020")
- (set-face-attribute 'cursor nil
- :background "#CCCCCC"
- :foreground "#151515")
- )
- (setq font-name (x-get-resource "fontName" "emacs"))
- (unless font-name (setq font-name "Hack"))
-
- (set-face-attribute 'default nil
- :family font-name
- :height 112))
- (defun theme/general())
- (theme/general)
- (if (and (display-graphic-p) (not (daemonp)))
- (theme/gui)
- (theme/tty))
|