diff options
author | Jesús <heckyel@hyperbola.info> | 2022-10-17 05:26:11 +0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-10-17 05:26:11 +0800 |
commit | d43f5f350ab6d47939cf79c6eb1a566343115db9 (patch) | |
tree | 0e5b4b5b3d03e992e734e11314a343df2c76faab /modules/init-theme.el | |
parent | b34a82ace3282bfba34b57096ca3c59bfa4f280e (diff) | |
download | emacs-personal-d43f5f350ab6d47939cf79c6eb1a566343115db9.tar.lz emacs-personal-d43f5f350ab6d47939cf79c6eb1a566343115db9.tar.xz emacs-personal-d43f5f350ab6d47939cf79c6eb1a566343115db9.zip |
Set vscode like default theme
Diffstat (limited to 'modules/init-theme.el')
-rw-r--r-- | modules/init-theme.el | 86 |
1 files changed, 0 insertions, 86 deletions
diff --git a/modules/init-theme.el b/modules/init-theme.el deleted file mode 100644 index 939b30f..0000000 --- a/modules/init-theme.el +++ /dev/null @@ -1,86 +0,0 @@ -;;; init-theme.el --- .Emacs Configuration -*- lexical-binding: t -*- -;;; Commentary: -;; - -;;; Code: -(use-package doom-themes - :pin "MELPA" - :ensure t - :bind - ("C-x t d" . dark-theme) - ("C-x t s" . semi-dark-theme) - ("C-x t l" . light-theme) - - :init - (defun light-theme () - "Activate light colortheme" - (interactive) - (load-theme 'doom-one-light) - (delete-selection-mode 1) - ) - - (defun dark-theme () - "Activate dark colortheme" - (interactive) - (load-theme 'doom-molokai) - (delete-selection-mode 1) - ;; Invoke customcolors - (darkcolor) - ) - - (defun semi-dark-theme () - "Activate semi-dark colortheme" - (interactive) - (load-theme 'doom-molokai) - (delete-selection-mode 1) - ;; Invoke customcolors - (semidarkcolor) - ) - - ;; Invoke theme - (load-theme 'doom-molokai t) ;; global - - :config - (defun darkcolor () - "Simple dark for theme." - (set-cursor-color "#2979FF") - (set-face-background 'highlight "#2979FF") - (set-background-color "#101418") - - ;; Modeline - (set-face-background 'mode-line "#0C0E10") - (set-face-background 'modeline-inactive "#333333") - ;; (set-face-foreground 'mode-line "#FFFFFF") - - ;; Fix linum current-line highlight - (defface my-linum-hl - '((t :background "#0C0E10" :foreground "gold")) - "Face for the currently active Line number" - :group 'linum) - ) - - (defun semidarkcolor () - "Simple semidarkcolor for theme." - (set-cursor-color "#2979FF") - (set-face-background 'highlight "#2979FF") - (set-background-color "#1C1E1F") - - ;; Modeline - (set-face-background 'mode-line "#2D2E2E") - (set-face-background 'mode-line-inactive "#333333") - ;; (set-face-foreground 'mode-line "#FFFFFF") - - ;; Fix linum current-line highlight - (defface my-linum-hl - '((t :background "gray20" :foreground "gold")) - "Face for the currently active Line number" - :group 'linum) - ) - - ;; Invoke color - (semidarkcolor) ;; default - ) - -(provide 'init-theme) - -;;; init-theme.el ends here |