dotfiles

my shiny new dotfiles
git clone git://git.jakekoroman.com/dotfiles
Log | Files | Refs | README

commit 96022bae71762f42fe5fecef98bcc3b2a5194618
parent e707cebad510c93bda686e394fabe0ea27a66d50
Author: Jake Koroman <jakekoroman@gmail.com>
Date:   Mon, 15 Apr 2024 19:12:20 -0400

add my new theme, update laptop emacs

Diffstat:
M.config/emacs/init.el | 2+-
A.config/emacs/local/simple-light-theme.el | 49+++++++++++++++++++++++++++++++++++++++++++++++++
Mdevice-specific/laptop/emacs.el | 2+-
3 files changed, 51 insertions(+), 2 deletions(-)

diff --git a/.config/emacs/init.el b/.config/emacs/init.el @@ -41,7 +41,7 @@ ) ;; (global-hl-line-mode 1) -;; (global-display-line-numbers-mode) +(global-display-line-numbers-mode) ;;; Package installs and configuration (require 'package) diff --git a/.config/emacs/local/simple-light-theme.el b/.config/emacs/local/simple-light-theme.el @@ -0,0 +1,49 @@ +(deftheme simple-light + "minimalistic theme for simplicity. + + Follows the philosphy of there should only be 3 main colours. + 1 for code, 1 for comments, and 1 for strings. + These rules guarantee a theme will be simple and usable.") + +(custom-theme-set-faces + 'simple-light + `(default ((t (:foreground "gray10" :background "gray90")))) + `(cursor ((t (:background "black")))) + `(region ((t (:background "gray65")))) + `(highlight ((t (:background "gray80")))) + `(font-lock-builtin-face ((t (:foreground "gray10")))) + `(font-lock-comment-face ((t (:foreground "gray50")))) + `(font-lock-doc-face ((t (:foreground "forest green")))) + `(font-lock-function-name-face ((t (:foreground "gray10")))) + `(font-lock-keyword-face ((t (:foreground "gray10")))) + `(font-lock-string-face ((t (:foreground "forest green")))) + `(font-lock-type-face ((t (:foreground "gray10")))) + `(font-lock-variable-name-face ((t (:foreground "gray10")))) + `(font-lock-constant-face ((t (:foreground "gray10")))) + `(mode-line ((t (:background "gray75")))) + `(error ((t (:foreground "firebrick")))) + ;; org + `(org-table ((t (:background "gray80" :foreground "gray10")))) + `(org-block ((t (:background "gray80" :foreground "gray10")))) + `(org-document-title ((t (:foreground "gray10")))) + `(org-document-info ((t (:foreground "gray10")))) + ;; eshell + `(eshell-prompt ((t (:foreground "firebrick")))) + `(eshell-ls-symlink ((t (:foreground "dark cyan")))) + `(eshell-ls-directory ((t (:foreground "royal blue")))) + ;; dired + `(dired-directory ((t (:foreground "gray10")))) + `(dired-symlink ((t (:foreground "dark cyan")))) + ;; vertico + `(vertico-current ((t (:background "gray65")))) + ;; ido + `(ido-subdir ((t (:foreground "dark cyan")))) + ;; iedit + `(iedit-occurrence ((t (:background "navy"))))) + +;;;###autoload +(when load-file-name + (add-to-list 'custom-theme-load-path + (file-name-as-directory (file-name-directory load-file-name)))) + +(provide-theme 'simple-light) diff --git a/device-specific/laptop/emacs.el b/device-specific/laptop/emacs.el @@ -5,5 +5,5 @@ ;; (toggle-frame-maximized) (set-default 'truncate-lines t) ;; (list-colors-display) for a color picker -(load-theme 'gruber-darker t) +(load-theme 'simple-light t) (transparency 100)