forked from FG42/FG42
Spacemacs-(dark/light) themes added with spaceline.
This commit is contained in:
parent
a075dbe921
commit
8fb30b72a5
|
@ -1,14 +1,28 @@
|
||||||
(add-to-list 'load-path (concat (getenv "FG42_HOME") "/lib"))
|
(add-to-list 'load-path (concat (getenv "FG42_HOME") "/lib"))
|
||||||
;(toggle-debug-on-error)
|
|
||||||
|
;; DEBUG
|
||||||
|
;; =====
|
||||||
|
;; Uncomment the below code to trigger stacktraces in case of any errors
|
||||||
|
;; (toggle-debug-on-error)
|
||||||
|
|
||||||
(require 'fg42)
|
(require 'fg42)
|
||||||
|
|
||||||
|
;; THEME
|
||||||
|
;; =====
|
||||||
;; Load the default theme
|
;; Load the default theme
|
||||||
(theme themes/color-theme-monokai)
|
;; Other options are:
|
||||||
|
;; (theme themes/color-theme-spacemacs-monokai)
|
||||||
|
;; (theme themes/color-theme-spacemacs-light)
|
||||||
|
(theme themes/color-theme-spacemacs-dark)
|
||||||
|
|
||||||
;; Disable abilities which we do not want to load
|
;; ABILITIES
|
||||||
|
;; =========
|
||||||
|
;; Disable abilities which you don't want.
|
||||||
(disable 'rbenv 'helm 'spell 'linum)
|
(disable 'rbenv 'helm 'spell 'linum)
|
||||||
|
|
||||||
;; Activate these extensions
|
;; EXTENSIONS
|
||||||
|
;; ==========
|
||||||
|
;; Uncomment extensions that you may need.
|
||||||
(activate-extensions 'editor
|
(activate-extensions 'editor
|
||||||
'development
|
'development
|
||||||
'web
|
'web
|
||||||
|
@ -21,6 +35,8 @@
|
||||||
'ruby
|
'ruby
|
||||||
)
|
)
|
||||||
|
|
||||||
|
;; USER CONFIGS
|
||||||
|
;; ============
|
||||||
;; Load user config file in ~/.fg42.el
|
;; Load user config file in ~/.fg42.el
|
||||||
(load-user-config "~/.fg42.el")
|
(load-user-config "~/.fg42.el")
|
||||||
;; NOTE: It's important to use ~/.fg42.el instead of this file
|
;; NOTE: It's important to use ~/.fg42.el instead of this file
|
||||||
|
|
|
@ -9,6 +9,10 @@
|
||||||
(depends-on 'seq)
|
(depends-on 'seq)
|
||||||
(depends-on 'ov)
|
(depends-on 'ov)
|
||||||
(depends-on 'cheatsheet)
|
(depends-on 'cheatsheet)
|
||||||
|
(depends-on 'spacemacs-theme)
|
||||||
|
|
||||||
|
(with-ability spaceline
|
||||||
|
(depends-on 'spaceline))
|
||||||
|
|
||||||
(with-ability guru
|
(with-ability guru
|
||||||
(depends-on 'guru-mode))
|
(depends-on 'guru-mode))
|
||||||
|
|
|
@ -56,6 +56,11 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
(ability spaceline ()
|
||||||
|
"A really cool mode line alternative which borrowed from awesome spacemacs"
|
||||||
|
(require 'spaceline-config)
|
||||||
|
(spaceline-spacemacs-theme))
|
||||||
|
|
||||||
;; Tramp configuration -------------------------------------
|
;; Tramp configuration -------------------------------------
|
||||||
(ability tramp ()
|
(ability tramp ()
|
||||||
(setq tramp-default-method "ssh")
|
(setq tramp-default-method "ssh")
|
||||||
|
|
|
@ -0,0 +1,9 @@
|
||||||
|
(require 'spacemacs-common)
|
||||||
|
|
||||||
|
(defun themes/color-theme-spacemacs-dark ()
|
||||||
|
"Spacemacs dark color theme"
|
||||||
|
(interactive)
|
||||||
|
(deftheme spacemacs-dark "Spacemacs theme, the dark version")
|
||||||
|
(create-spacemacs-theme 'dark 'spacemacs-dark))
|
||||||
|
|
||||||
|
(provide 'themes/color-theme-spacemacs-dark)
|
|
@ -0,0 +1,9 @@
|
||||||
|
(require 'spacemacs-common)
|
||||||
|
|
||||||
|
(defun themes/color-theme-spacemacs-light ()
|
||||||
|
"Spacemacs light color theme"
|
||||||
|
(interactive)
|
||||||
|
(deftheme spacemacs-light "Spacemacs theme, the light version")
|
||||||
|
(create-spacemacs-theme 'light 'spacemacs-light))
|
||||||
|
|
||||||
|
(provide 'themes/color-theme-spacemacs-light)
|
Loading…
Reference in New Issue