Separate themes to its own file, add spelling config

TODO:
* fix flyspell not loading on every buffer
* Add other dictionaries to flyspell (Polish)
This commit is contained in:
Maciej Szlosarczyk 2017-04-20 11:34:50 +03:00
parent d09ee89c44
commit a9fa2b4456
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
6 changed files with 98 additions and 62 deletions

47
themes.el Normal file
View file

@ -0,0 +1,47 @@
;; (setq airline-helm-colors t)
;; (setq airline-cursor-colors t)
;; (setq airline-eshell-colors t)
;; Neotree theme
(setq neo-theme 'arrow)
;; Add mode line icons items
;; (mode-icons-mode)
;; Use smart-mode-line
(require 'smart-mode-line)
(setq sml/no-confirm-load-theme t)
(sml/setup)
(sml/apply-theme 'light)
;; NOTE: airline is extremely slow, do not use it
;; (require 'airline-themes)
;; (airline-themes-set-modeline)
;; TODO: Figure out how to load a theme randomly.
;; (load-theme 'ujelly t t)
(load-theme 'avk-daylight t t)
(load-theme 'monokai t t)
;; (load-theme 'flatui t t)
(load-theme 'atom-one-dark t t)
(load-theme 'flatui t t)
;; (load-theme 'airline-doom-one)
;; (load-theme 'airline-base16-shell-dark)
(require 'helm-themes)
(if (display-graphic-p)
(progn
(enable-theme 'flatui))
;; (enable-theme 'airline-doom-one)
;; (helm-themes 'avk-daylight t))
(progn
(enable-theme 'monokai))
;; (helm-themes 'monokai t))
;; (enable-theme 'airline-base16-shell-dark)
)
(color-theme-approximate-on)
(set-face-attribute 'default nil :font "Hasklig 13")
(set-face-attribute 'mode-line nil :font "Hasklig 12")
(set-face-attribute 'linum nil :font "Hasklig 13")