Use summerfruit theme

This commit is contained in:
Maciej Szlosarczyk 2017-07-03 23:36:42 +03:00
parent ad2efc3d30
commit 3399e6649a
No known key found for this signature in database
GPG key ID: 0D4EEACF63D4262E
4 changed files with 27 additions and 5 deletions

2
emacs
View file

@ -22,7 +22,7 @@
'(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b"))) '(hl-paren-colors (quote ("#ecf0f1" "#ecf0f1" "#c0392b")))
'(package-selected-packages '(package-selected-packages
(quote (quote
(color-theme-approximate smex yaml-mode web-mode ujelly-theme smart-mode-line scala-mode rvm ruby-end rainbow-mode rainbow-delimiters racer noctilux-theme monokai-theme markdown-mode less-css-mode json-reformat jade-mode indent-guide helm-themes helm-projectile helm-ag haskell-mode haml-mode groovy-mode flycheck flatui-theme exec-path-from-shell evil-nerd-commenter evil-magit evil-leader elpy dumb-jump dockerfile-mode diff-hl column-enforce-mode base16-theme avk-emacs-themes atom-one-dark-theme all-the-icons alchemist aggressive-indent ag))) (toml-mode color-theme-approximate smex yaml-mode web-mode ujelly-theme smart-mode-line scala-mode rvm ruby-end rainbow-mode rainbow-delimiters racer noctilux-theme monokai-theme markdown-mode less-css-mode json-reformat jade-mode indent-guide helm-themes helm-projectile helm-ag haskell-mode haml-mode groovy-mode flycheck flatui-theme exec-path-from-shell evil-nerd-commenter evil-magit evil-leader elpy dumb-jump dockerfile-mode diff-hl column-enforce-mode base16-theme avk-emacs-themes atom-one-dark-theme all-the-icons alchemist aggressive-indent ag)))
'(safe-local-variable-values (quote ((encoding . utf-8)))) '(safe-local-variable-values (quote ((encoding . utf-8))))
'(sml/active-background-color "#34495e") '(sml/active-background-color "#34495e")
'(sml/active-foreground-color "#ecf0f1") '(sml/active-foreground-color "#ecf0f1")

View file

@ -227,6 +227,10 @@
(package-refresh-contents) (package-refresh-contents)
(package-install 'racer)) (package-install 'racer))
(unless (package-installed-p 'toml-mode)
(package-refresh-contents)
(package-install 'toml-mode))
;; Python ;; Python
(unless (package-installed-p 'elpy) (unless (package-installed-p 'elpy)
(package-refresh-contents) (package-refresh-contents)

View file

@ -1,5 +1,14 @@
;;; spelling.el -- summary
;;; Commentary:
;;; Code:
;; Disable meta on right alt (useful for Polish characters) ;; Disable meta on right alt (useful for Polish characters)
(setq ns-right-alternate-modifier nil) (setq ns-right-alternate-modifier nil)
;; Highlight misspelled words ;; Highlight misspelled words
(setq ispell-program-name "aspell")
(flyspell-mode 1) (flyspell-mode 1)
(provide 'spelling)
;;; spelling.el ends here

View file

@ -16,24 +16,33 @@
(load-theme 'flatui t t) (load-theme 'flatui t t)
(load "~/.emacs.d/base16-not-harmonic-theme.el") (load "~/.emacs.d/base16-not-harmonic-theme.el")
(load-theme 'base16-not-harmonic t t) (load-theme 'base16-not-harmonic t t)
(load-theme 'base16-mexico-light t t)
(load-theme 'base16-unikitty-light t t)
(load-theme 'base16-summerfruit-light t t)
(defun base16-harmonic-custom () (defun base16-harmonic-custom ()
"Additional configuration for Base 16 theme." "Additional configuration for Base 16 theme."
(set-face-attribute 'linum nil :font "Hasklig 14" (set-face-attribute 'linum nil :font "Hasklig 15"
:slant 'normal :slant 'normal
:background "#2c3a47") :background "#2c3a47")
(set-face-attribute 'font-lock-comment-delimiter-face nil (set-face-attribute 'font-lock-comment-delimiter-face nil
:foreground "#aabcce") :foreground "#aabcce")
(set-face-attribute 'mode-line nil :font "Hasklig 13") (set-face-attribute 'mode-line nil :font "Hasklig 15")
(set-face-attribute 'fringe nil :background "#2c3a47" (set-face-attribute 'fringe nil :background "#2c3a47"
:slant 'normal)) :slant 'normal))
(defun base16-summerfruit-light-custom ()
"Additional configuration for Base16 theme."
(set-face-attribute 'mode-line nil :font "Hasklig 15")
(set-face-attribute 'linum nil :font "Hasklig 15"
:slant 'normal))
(require 'helm-themes) (require 'helm-themes)
(if (display-graphic-p) (if (display-graphic-p)
(progn (progn
(enable-theme 'base16-not-harmonic) (enable-theme 'base16-summerfruit-light)
(base16-harmonic-custom)) (base16-summerfruit-light-custom))
(progn (progn
(color-theme-approximate-on) (color-theme-approximate-on)
(enable-theme 'flatui))) (enable-theme 'flatui)))