diff --git a/fg42-config.el b/fg42-config.el index a492df0..ec41553 100644 --- a/fg42-config.el +++ b/fg42-config.el @@ -1,14 +1,28 @@ (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) +;; 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) -;; Activate these extensions +;; EXTENSIONS +;; ========== +;; Uncomment extensions that you may need. (activate-extensions 'editor 'development 'web @@ -21,6 +35,8 @@ 'ruby ) +;; USER CONFIGS +;; ============ ;; Load user config file in ~/.fg42.el (load-user-config "~/.fg42.el") ;; NOTE: It's important to use ~/.fg42.el instead of this file diff --git a/lib/extensions/editor.el b/lib/extensions/editor.el index 41890b0..4a6ec94 100644 --- a/lib/extensions/editor.el +++ b/lib/extensions/editor.el @@ -9,6 +9,10 @@ (depends-on 'seq) (depends-on 'ov) (depends-on 'cheatsheet) +(depends-on 'spacemacs-theme) + +(with-ability spaceline + (depends-on 'spaceline)) (with-ability guru (depends-on 'guru-mode)) diff --git a/lib/extensions/editor/init.el b/lib/extensions/editor/init.el index 32252d4..f891090 100644 --- a/lib/extensions/editor/init.el +++ b/lib/extensions/editor/init.el @@ -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 ------------------------------------- (ability tramp () (setq tramp-default-method "ssh") diff --git a/lib/themes/color-theme-spacemacs-dark.el b/lib/themes/color-theme-spacemacs-dark.el new file mode 100644 index 0000000..624583f --- /dev/null +++ b/lib/themes/color-theme-spacemacs-dark.el @@ -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) diff --git a/lib/themes/color-theme-spacemacs-light.el b/lib/themes/color-theme-spacemacs-light.el new file mode 100644 index 0000000..b1458ee --- /dev/null +++ b/lib/themes/color-theme-spacemacs-light.el @@ -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)