Switch to new emacs config + housekeeping

This commit is contained in:
Andrew Scott 2023-08-30 03:38:04 -04:00
parent 264a5bc37f
commit 7e233e3a38
Signed by: a
GPG key ID: 7CD5A5977E4931C1
39 changed files with 123 additions and 4133 deletions

View file

@ -62,10 +62,17 @@
(setq visible-bell t)
;; Fonts
{{- if eq .chezmoi.hostname "helix" }}
(push '(font . "Hack-24") default-frame-alist)
(set-face-font 'default "Hack-24")
(set-face-font 'fixed-pitch "Hack-24")
(set-face-font 'variable-pitch "DejaVu Sans-24")
{{- else }}
(push '(font . "Hack-12") default-frame-alist)
(set-face-font 'default "Hack-12")
(set-face-font 'fixed-pitch "Hack-12")
(set-face-font 'variable-pitch "DejaVu Sans-12")
{{- end }}
;; Some GUI options
(push '(tool-bar-lines . 0) default-frame-alist)

View file

@ -32,7 +32,7 @@
;;; Code:
;; Profile emacs startup
(add-hook 'elpaca-after-init-hook
(add-hook 'emacs-startup-hook
(lambda ()
(message "Emacs loaded in %s with %d garbage collections."
(format "%.2f seconds"
@ -101,30 +101,20 @@
("S-C-<up>" . enlarge-window))
:init
;;; General Options
;; Better scrolling
(setq scroll-step 1
scroll-conservatively 1000
scroll-preserve-screen-position t
mouse-wheel-follow-mouse t
mouse-wheel-progressive-speed nil
;; 1st #: lines to scroll, 2nd #: while holding shift
mouse-wheel-scroll-amount '(2 ((shift) .1)))
scroll-preserve-screen-position t)
(when (fboundp 'pixel-scroll-precision-mode)
(pixel-scroll-precision-mode t))
;; Cursor
(setq-default cursor-type 'bar
blink-cursor-delay 1.0)
;; Tabs
(setq tab-always-indent 'complete)
(setq-default tab-width 4
indent-tabs-mode nil)
;; Column numbers
(setq column-number-mode t)
(setq-default tab-width 4)
;; Prefer UTF-8 character coding
(prefer-coding-system 'utf-8)
@ -154,11 +144,11 @@
(use-package compile
:elpaca nil
:commands (compile recompile)
:custom (compilation-scroll-output t))
:config (setq compilation-scroll-output t))
(use-package cus-edit
:elpaca nil
:init (setq-default custom-file null-device))
:config (setq-default custom-file null-device))
(use-package display-fill-column-indicator
:elpaca nil
@ -169,7 +159,7 @@
(use-package display-line-numbers
:elpaca nil
:hook ((conf-mode lsp-mode) . display-line-numbers-mode))
:hook ((conf-mode prog-mode) . display-line-numbers-mode))
(use-package elec-pair
:elpaca nil
@ -178,18 +168,17 @@
(use-package files
:elpaca nil
:init
:config
(setq backup-by-copying t
confirm-kill-processes nil
delete-old-versions t
kept-new-versions 5
kept-old-versions 3
require-final-newline t
version-control t)
(let ((auto_save_directory (concat xdg_cache_home "auto-save-list/")))
(setq backup-directory-alist `((".*" . ,auto_save_directory))
auto-save-file-name-transforms `((".*" ,auto_save_directory t))))
:custom
(backup-by-copying t)
(confirm-kill-processes nil)
(delete-old-versions t)
(kept-new-versions 5)
(kept-old-versions 3)
(require-final-newline t)
(version-control t))
auto-save-file-name-transforms `((".*" ,auto_save_directory t)))))
(use-package flyspell
:elpaca nil
@ -198,6 +187,13 @@
(((git-commit-mode markdown-mode) . flyspell-mode)
(lsp-mode . flyspell-prog-mode)))
(use-package mwheel
:elpaca nil
:config
(setq mouse-wheel-follow-mouse t
mouse-wheel-progressive-speed nil
mouse-wheel-scroll-amount '(2 ((shift) . 1))))
(use-package paren
:elpaca nil
:defer 3
@ -205,29 +201,34 @@
(use-package recentf
:elpaca nil
:init (setq recentf-save-file (concat xdg_cache_home "recentf"))
:config
(recentf-mode)
:custom
(recentf-auto-cleanup 'never)
(recentf-max-menu-items 15)
(recentf-max-saved-items 100))
(setq recentf-auto-cleanup 'never
recentf-max-menu-items 15
recentf-max-saved-items 100
recentf-save-file (concat xdg_cache_home "recentf"))
(recentf-mode))
(use-package savehist
:elpaca nil
:defer 3
:init (setq savehist-file (concat xdg_cache_home "history"))
:config
(savehist-mode)
:custom
(savehist-autosave-interval 60)
(savehist-additional-variables '(search-ring regexp-search-ring)))
(setq savehist-autosave-interval 60
savehist-additional-variables '(search-ring regexp-search-ring)
savehist-file (concat xdg_cache_home "history"))
(savehist-mode))
(use-package saveplace
:elpaca nil
:defer 1
:init (setq save-place-file (concat xdg_cache_home "places"))
:config (save-place-mode))
:config
(setq save-place-file (concat xdg_cache_home "places"))
(save-place-mode))
(use-package simple
:elpaca nil
:config
(setq-default indent-tabs-mode nil
column-number-mode t))
(use-package whitespace
:elpaca nil
@ -237,20 +238,19 @@
text-mode) . whitespace-mode)
:config
(add-hook 'before-save-hook #'whitespace-cleanup)
:custom
(whitespace-line-column 100)
(whitespace-style '(big-indent
face
lines-tail
missing-newline-at-eof
tabs
trailing)))
(setq whitespace-line-column 100
whitespace-style '(big-indent
face
lines-tail
missing-newline-at-eof
tabs
trailing)))
;;; Packages
;; Benchmark Emacs startup
(use-package esup
:defer t
:config (setq esup-depth 0))
:custom (esup-depth 0))
;; Theme
(use-package everforest
@ -275,8 +275,8 @@
;; Mode line
(use-package moody
:defer 1
:custom
(x-underline-at-descent-line t)
:config
(setq x-underline-at-descent-line t)
(moody-replace-eldoc-minibuffer-message-function)
(moody-replace-mode-line-buffer-identification)
(moody-replace-mode-line-front-space)
@ -288,16 +288,13 @@
(use-package keycast
:defer t
:custom
(keycast-mode-line-insert-after 'moody-mode-line-buffer-identification))
:config (keycast-mode-line-insert-after 'moody-mode-line-buffer-identification))
;; Show keybind hints
(use-package which-key
:defer 3
:config
(which-key-mode)
:custom
(which-key-idle-delay 0.3))
:config (which-key-mode)
:custom (which-key-idle-delay 0.3))
;; Flyspell corrections
(use-package flyspell-correct
@ -313,10 +310,10 @@
;; Better undo/redo
(use-package undo-tree
:defer 3
:init (setq undo-tree-history-directory-alist
`((".*" . ,(concat xdg_cache_home "undo-tree/"))))
:config (global-undo-tree-mode)
:custom (undo-tree-auto-save-history t))
:custom
(undo-tree-auto-save-history t)
(undo-tree-history-directory-alist `((".*" . ,(concat xdg_cache_home "undo-tree/")))))
;; Completion style
(use-package orderless
@ -367,9 +364,9 @@
;; Select xref locations with preview
(setq xref-show-xrefs-function #'consult-xref
xref-show-definitions-function #'consult-xref)
:config
(setq consult-narrow-key "<"
consult-preview-key 'any)
:custom
(consult-narrow-key "<")
(consult-preview-key 'any)
;; Switch project root function
;; (autoload 'projectile-project-root "projectile")
:bind (;; C-c bindings in `mode-specific-map'
@ -436,30 +433,32 @@
:elpaca (corfu :files (:defaults "extensions/*"))
:bind (:map corfu-map ("M-SPC" . corfu-insert-separator))
:config
(setq corfu-min-width 60
corfu-max-width corfu-min-width
corfu-auto t
corfu-auto-delay 0.3
corfu-cycle t
corfu-popupinfo-delay 0.6
corfu-separator ?\s)
(global-corfu-mode)
(corfu-popupinfo-mode))
(corfu-popupinfo-mode)
:custom
(corfu-min-width 60)
(corfu-max-width corfu-min-width)
(corfu-auto t)
(corfu-auto-delay 0.3)
(corfu-cycle t)
(corfu-popupinfo-delay 0.6)
(corfu-separator ?\s))
(use-package kind-icon
:after (corfu)
:init (setq svg-lib-icons-dir (concat xdg_cache_home "svg-lib/"))
:config
(setq kind-icon-default-face 'corfu-default
kind-icon-blend-background nil)
(push #'kind-icon-margin-formatter corfu-margin-formatters))
:config (push #'kind-icon-margin-formatter corfu-margin-formatters)
:custom
(kind-icon-default-face 'corfu-default)
(kind-icon-blend-background nil)
(svg-lib-icons-dir (concat xdg_cache_home "svg-lib/")))
;; Git
(use-package magit
:init (setq transient-history-file (concat xdg_cache_home "transient-history"))
:custom (magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
:bind ("C-M-;" . magit-status))
:bind ("C-M-;" . magit-status)
:custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1)
(transient-history-file (concat xdg_cache_home "transient-history")))
(use-package git-timemachine
:bind ("C-M-'" . git-timemachine))
@ -467,15 +466,15 @@
;; Project Management
(use-package projectile
:defer 1
:init (setq projectile-known-projects-file (concat xdg_cache_home "projectile-bookmarks"))
:bind ("C-c p" . projectile-command-map)
:config
(push "*node_modules" projectile-globally-ignored-directories)
(projectile-mode))
(projectile-mode)
:custom
(projectile-known-projects-file (concat xdg_cache_home "projectile-bookmarks")))
(use-package treemacs
:defer 1
:init (setq treemacs-persist-file (concat xdg_cache_home "treemacs-persist"))
:bind
(:map global-map
("M-0" . treemacs-select-window)
@ -485,9 +484,11 @@
("C-x t C-t" . treemacs-find-file)
("C-x t M-t" . treemacs-find-tag))
:config
(setq treemacs-git-mode 'deferred)
(treemacs-filewatch-mode)
(treemacs-git-commit-diff-mode))
(treemacs-git-commit-diff-mode)
:custom
(treemacs-git-mode 'deferred)
(treemacs-persist-file (concat xdg_cache_home "treemacs-persist")))
(use-package consult-projectile
:after (consult projectile))
@ -542,20 +543,18 @@
;; Visualize color names
(use-package rainbow-mode
:commands (rainbow-mode)
:hook ((conf-mode lsp-mode) . rainbow-mode))
;; Syntax parsing/highlighting
(use-package treesit-auto
:defer 3
:config
(setq treesit-auto-install 'prompt)
(global-treesit-auto-mode))
:config (global-treesit-auto-mode)
:custom (treesit-auto-install 'prompt))
;; Syntax checking
(use-package flycheck
:hook (lsp-mode . flycheck-mode)
:config (setq flycheck-python-flake8-executable 'flake8))
:custom (flycheck-python-flake8-executable 'flake8))
(use-package consult-flycheck
:after (consult flycheck))
@ -569,22 +568,22 @@
python-ts-mode
zig-mode) . lsp)
(lsp-mode . lsp-enable-which-key-integration))
:config
(setq lsp-session-file (concat xdg_cache_home "lsp-session")
lsp-idle-delay 0.6
lsp-prefer-flymake nil))
:custom
(lsp-idle-delay 0.6)
(lsp-prefer-flymake nil)
(lsp-session-file (concat xdg_cache_home "lsp-session")))
(use-package lsp-ui
:hook (lsp-mode . lsp-ui-mode)
:config
(setq lsp-ui-doc-position 'bottom-and-right
lsp-ui-sideline-delay 0.6
lsp-ui-sideline-show-code-actions t
lsp-ui-sideline-show-hover t
lsp-ui-sideline-update-mode 'line
lsp-ui-flycheck-enable t
lsp-ui-flycheck-list-position 'right
lsp-ui-peek-enable t))
:custom
(lsp-ui-doc-position 'bottom-and-right)
(lsp-ui-sideline-delay 0.6)
(lsp-ui-sideline-show-code-actions t)
(lsp-ui-sideline-show-hover t)
(lsp-ui-sideline-update-mode 'line)
(lsp-ui-flycheck-enable t)
(lsp-ui-flycheck-list-position 'right)
(lsp-ui-peek-enable t))
(use-package consult-lsp
:after (consult lsp-mode)
@ -607,16 +606,17 @@
("C-S-<f5>" . dap-debug-restart)
("C-c d" . dap-debug-last))
:config
(setq dap-breakpoints-file (concat xdg_cache_home "dap-breakpoints")
dap-utils-extension-path (concat user-emacs-directory "dap-extensions/")
dap-auto-configure-features '(sessions locals tooltip)
dap-lldb-debug-program 'lldb-vscode
dap-python-debugger 'debugpy)
(eval-when-compile
(require 'cl-lib))
(require 'dap-python)
(require 'dap-lldb)
(require 'dap-gdb-lldb)
:custom
(dap-breakpoints-file (concat xdg_cache_home "dap-breakpoints"))
(dap-utils-extension-path (concat user-emacs-directory "dap-extensions/"))
(dap-auto-configure-features '(sessions locals tooltip))
(dap-lldb-debug-program 'lldb-vscode)
(dap-python-debugger 'debugpy)
;; Templates
(dap-register-debug-template
"Rust :: LLDB Run Configuration"
@ -640,9 +640,9 @@
(use-package js2-mode
:interpreter (("nodejs" . js2-mode) ("node" . js2-mode))
:hook (js-ts-mode . js2-minor-mode)
:config
(setq js-indent-level 2
js2-mode-show-strict-warnings t))
:custom
(js-indent-level 2)
(js2-mode-show-strict-warnings t))
;; Python
(use-package lsp-pyright
@ -655,7 +655,7 @@
:after (python)
:bind (:map python-mode-map
("C-c C-n" . numpydoc-generate))
:config (setq numpydoc-insert-examples-block nil))
:custom (numpydoc-insert-examples-block nil))
(use-package conda
:after (python)
@ -671,14 +671,13 @@
;; Web templates
(use-package web-mode
:config
(setq web-mode-code-indent-offset 2
web-mode-enable-front-matter-block t
web-mode-markup-indent-offset 2
web-mode-attribute-indent-offset 2)
:custom
(web-mode-code-indent-offset 2)
(web-mode-enable-front-matter-block t)
(web-mode-markup-indent-offset 2)
(web-mode-attribute-indent-offset 2)
:mode
(("\\.astro\\'" . web-mode)
("\\.html?\\'" . web-mode)))
((("\\.astro\\'" "\\.html?\\'") . web-mode)))
;; Zig
(use-package zig-mode

View file

@ -1,792 +0,0 @@
;;; init.el --- GNU Emacs Initialization File
;;; OPTIONS:
;; Disable package.el (interferes with straight.el)
(setq package-enable-at-startup nil)
;; Disable native comp warnings
(setq native-comp-async-report-warnings-errors nil)
;; Disable startup message
(setq inhibit-startup-message t)
;; Don't ask about running processes on exit
(setq confirm-kill-processes nil)
;; Visible bell
(setq visible-bell t)
;; Write external customizations to /dev/null
(setq-default custom-file null-device)
;; Disable some GUI options
(menu-bar-mode -1)
(scroll-bar-mode -1)
(tool-bar-mode -1)
(tooltip-mode -1)
;; Fringe width
(set-fringe-mode 10)
;; Disable suspend-frame shortcut
(define-key global-map "\C-z" nil)
;; Font (does nothing if mixed-pitch is used)
;; (set-face-attribute 'default nil :font "ibm plex mono light" :height 100)
;; Profile emacs startup
(add-hook 'emacs-startup-hook
(lambda ()
(message "*** Emacs loaded in %s with %d garbage collections."
(format "%.2f seconds"
(float-time
(time-subtract after-init-time before-init-time)))
gcs-done)))
;; ESC behaves like C-g
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
;; Parenthesis/bracket pairs
(show-paren-mode t)
(setq-default show-paren-style 'parenthesis)
(electric-pair-mode 1)
;; Relocate emacs-user-directory to $XDG_DATA_HOME
(setq user-emacs-directory (expand-file-name "~/.local/share/emacs/")
url-history-file (expand-file-name "url/history" user-emacs-directory))
;; Store autosaves in $XDG_CACHE_HOME
(setq auto-save-file-name-transforms
`((".*" "~/.cache/emacs/autosave/" t)))
;; Default encoding
(set-default-coding-systems 'utf-8)
;; More reasonable keybinds for resizing windows
(global-set-key (kbd "S-C-<left>") 'shrink-window-horizontally)
(global-set-key (kbd "S-C-<right>") 'enlarge-window-horizontally)
(global-set-key (kbd "S-C-<down>") 'shrink-window)
(global-set-key (kbd "S-C-<up>") 'enlarge-window)
;; Scrolling
(setq mouse-wheel-scroll-amount '(4 ((shift) . 1))) ; 1: lines to scroll, 2: while holding shift
(setq mouse-wheel-progressive-speed nil) ; acceleration
(setq mouse-wheel-follow-mouse 't) ; scroll window under cursor
(setq scroll-step 1) ; keyboard scrolling
;; Tabs
(setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq indent-line-function 'insert-tab)
;; Recent files
(recentf-mode 1)
(setq recentf-max-menu-items 25)
(setq recentf-max-saved-items 25)
;; Line numbers
(setq column-number-mode t)
(dolist (mode '(text-mode-hook
prog-mode-hook
conf-mode-hook))
(add-hook mode (lambda () (display-line-numbers-mode 1))))
;; Line width indicator
(setq-default fill-column 80)
(add-hook 'prog-mode-hook #'display-fill-column-indicator-mode)
;;; PACKAGE MANAGEMENT:
;; Install and load straight.el
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(url-retrieve-synchronously
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
'silent 'inhibit-cookies)
(goto-char (point-max))
(eval-print-last-sexp)))
(load bootstrap-file nil 'nomessage))
;; use-package
(straight-use-package 'use-package)
;; use-package/straight integration
(use-package straight
:custom (straight-use-package-by-default t))
;;; PACKAGES:
;; Automatically set paths to the new user-emacs-directory
(use-package no-littering)
;; Automatically clean whitespace
(use-package ws-butler
:hook ((text-mode . ws-butler-mode)
(prog-mode . ws-butler-mode)))
;; Keybindings overview by prefix key
(use-package which-key
:init (which-key-mode)
:config
(setq which-key-idle-delay 0.3))
;; Save history over restarts
(use-package savehist
:init
(savehist-mode))
;; SSH
;; (use-package tramp
;; :config
;; (setq tramp-default-method "ssh"))
;; Completion with vertico/consult
(use-package vertico
:init
(vertico-mode)
;; Different scroll margin
;; (set vertico-scroll-margin 0)
;; Show more candidates
;; (setq vertico-count 20)
;; Grow and shrink the Vertico minibuffer
;; (setq vertico-resize t)
;; Optionally enable cycling for `vertico-next' and `vertico-previous'.
;; (setq vertico-cycle t)
)
(use-package emacs
:init
;; Add prompt indicator to `completing-read-multiple'.
(defun crm-indicator (args)
(cons (format "[CRM%s] %s"
(replace-regexp-in-string
"\\`\\[.*?]\\*\\|\\[.*?]\\*\\'" ""
crm-separator)
(car args))
(cdr args)))
(advice-add #'completing-read-multiple :filter-args #'crm-indicator)
;; Do not allow the cursor in the minibuffer prompt
(setq minibuffer-prompt-properties
'(read-only t cursor-intangible t face minibuffer-prompt))
(add-hook 'minibuffer-setup-hook #'cursor-intangible-mode)
;; Emacs 28: Hide commands in M-x which do not work in the current mode.
;; Vertico commands are hidden in normal buffers.
(setq read-extended-command-predicate
#'command-completion-default-include-p)
(setq enable-recursive-minibuffers t))
(use-package consult
:bind (;; C-c bindings (mode-specific-map)
("C-c h" . consult-history)
("C-c m" . consult-mode-command)
("C-c k" . consult-kmacro)
;; C-x bindings (ctl-x-map)
("C-x C-r" . consult-recent-file)
("C-x M-:" . consult-complex-command) ;; orig. repeat-complex-command
("C-x b" . consult-buffer) ;; orig. switch-to-buffer
("C-x 4 b" . consult-buffer-other-window) ;; orig. switch-to-buffer-other-window
("C-x 5 b" . consult-buffer-other-frame) ;; orig. switch-to-buffer-other-frame
("C-x r b" . consult-bookmark) ;; orig. bookmark-jump
("C-x p b" . consult-project-buffer) ;; orig. project-switch-to-buffer
;; Custom M-# bindings for fast register access
("M-#" . consult-register-load)
("M-'" . consult-register-store) ;; orig. abbrev-prefix-mark (unrelated)
("C-M-#" . consult-register)
;; Other custom bindings
("M-y" . consult-yank-pop) ;; orig. yank-pop
("<help> a" . consult-apropos) ;; orig. apropos-command
;; M-g bindings (goto-map)
("M-g e" . consult-compile-error)
;; ("M-g f" . consult-flymake) ;; Alternative: consult-flycheck
("M-g f" . consult-flycheck)
("M-g g" . consult-goto-line) ;; orig. goto-line
("M-g M-g" . consult-goto-line) ;; orig. goto-line
("M-g o" . consult-outline) ;; Alternative: consult-org-heading
("M-g m" . consult-mark)
("M-g k" . consult-global-mark)
("M-g i" . consult-imenu)
("M-g I" . consult-imenu-multi)
;; M-s bindings (search-map)
("M-s d" . consult-find)
("M-s D" . consult-locate)
("M-s g" . consult-grep)
("M-s G" . consult-git-grep)
("M-s r" . consult-ripgrep)
("M-s l" . consult-line)
("M-s L" . consult-line-multi)
("M-s m" . consult-multi-occur)
("M-s k" . consult-keep-lines)
("M-s u" . consult-focus-lines)
;; Isearch integration
("M-s e" . consult-isearch-history)
:map isearch-mode-map
("M-e" . consult-isearch-history) ;; orig. isearch-edit-string
("M-s e" . consult-isearch-history) ;; orig. isearch-edit-string
("M-s l" . consult-line) ;; needed by consult-line to detect isearch
("M-s L" . consult-line-multi) ;; needed by consult-line to detect isearch
;; Minibuffer history
:map minibuffer-local-map
("M-s" . consult-history) ;; orig. next-matching-history-element
("M-r" . consult-history)) ;; orig. previous-matching-history-element
;; Enable automatic preview at point in the *Completions* buffer. This is
;; relevant when you use the default completion UI.
:hook (completion-list-mode . consult-preview-at-point-mode)
;; The :init configuration is always executed (Not lazy)
:init
;; Optionally configure the register formatting. This improves the register
;; preview for `consult-register', `consult-register-load',
;; `consult-register-store' and the Emacs built-ins.
(setq register-preview-delay 0.5
register-preview-function #'consult-register-format)
;; Optionally tweak the register preview window.
;; This adds thin lines, sorting and hides the mode line of the window.
(advice-add #'register-preview :override #'consult-register-window)
;; Use Consult to select xref locations with preview
(setq xref-show-xrefs-function #'consult-xref
xref-show-definitions-function #'consult-xref)
;; Configure other variables and modes in the :config section,
;; after lazily loading the package.
:config
;; Optionally configure preview. The default value
;; is 'any, such that any key triggers the preview.
(setq consult-preview-key 'any)
;; (setq consult-preview-key (kbd "M-."))
;; (setq consult-preview-key (list (kbd "<S-down>") (kbd "<S-up>")))
;; For some commands and buffer sources it is useful to configure the
;; :preview-key on a per-command basis using the `consult-customize' macro.
(consult-customize
consult-theme :preview-key '(:debounce 0.2 any)
consult-ripgrep consult-git-grep consult-grep
consult-bookmark consult-recent-file consult-xref
consult--source-bookmark consult--source-file-register
consult--source-recent-file consult--source-project-recent-file
;; :preview-key (kbd "M-.")
:preview-key '(:debounce 0.4 any))
;; Optionally configure the narrowing key.
;; Both < and C-+ work reasonably well.
(setq consult-narrow-key "<") ;; (kbd "C-+")
;; Optionally make narrowing help available in the minibuffer.
;; You may want to use `embark-prefix-help-command' or which-key instead.
;; (define-key consult-narrow-map (vconcat consult-narrow-key "?") #'consult-narrow-help)
;; By default `consult-project-function' uses `project-root' from project.el.
;; Optionally configure a different project root function.
;; There are multiple reasonable alternatives to chose from.
;;;; 1. project.el (the default)
;; (setq consult-project-function #'consult--default-project--function)
;;;; 2. projectile.el (projectile-project-root)
;; (autoload 'projectile-project-root "projectile")
;; (setq consult-project-function (lambda (_) (projectile-project-root)))
;;;; 3. vc.el (vc-root-dir)
;; (setq consult-project-function (lambda (_) (vc-root-dir)))
;;;; 4. locate-dominating-file
;; (setq consult-project-function (lambda (_) (locate-dominating-file "." ".git")))
)
(use-package consult-flycheck)
(use-package consult-git-log-grep
:custom
(consult-git-log-grep-open-function #'magit-show-commit))
(use-package consult-company
:bind
(:map company-mode-map
([remap completion-at-point] . consult-company)))
(use-package consult-lsp
:bind
(:map lsp-mode-map
([remap xref-find-apropos] . consult-lsp-symbols)))
;; (use-package consult-projectile)
(use-package consult-yasnippet)
;; Alternate completion style
(use-package orderless
:init
;; Configure a custom style dispatcher (see the Consult wiki)
;; (setq orderless-style-dispatchers '(+orderless-dispatch)
;; orderless-component-separator #'orderless-escapable-split-on-space)
(setq completion-styles '(orderless basic)
completion-category-defaults nil
completion-category-overrides '((file (styles partial-completion)))))
;; Contextual actions
(use-package marginalia
:config
(marginalia-mode))
(use-package embark
:bind
(("C-." . embark-act) ;; pick some comfortable binding
("C-;" . embark-dwim) ;; good alternative: M-.
("C-h B" . embark-bindings)) ;; alternative for `describe-bindings'
:init
;; Optionally replace the key help with a completing-read interface
(setq prefix-help-command #'embark-prefix-help-command)
:config
;; Hide the mode line of the Embark live/completions buffers
(add-to-list 'display-buffer-alist
'("\\`\\*Embark Collect \\(Live\\|Completions\\)\\*"
nil
(window-parameters (mode-line-format . none)))))
(use-package embark-consult
:hook
(embark-collect-mode . consult-preview-at-point-mode))
;;; ORG-MODE:
(dolist (mode '(org-mode-hook))
(add-hook mode (lambda () (display-line-numbers-mode 0))))
(setq org-startup-indented t ; Indentation
org-pretty-entities t ; Rich text/Special chars
org-hide-emphasis-markers t ; Hide markup - see org-appear
org-startup-with-inline-images t ; Image previews
org-image-actual-width '(300))
(use-package org-appear
:hook (org-mode . org-appear-mode))
(use-package org-superstar
:hook
(org-mode . org-superstar-mode)
:config
(setq org-superstar-special-todo-items t))
;;; APPEARANCE:
;; Theme
(setq custom-safe-themes t)
(add-to-list 'custom-theme-load-path
(expand-file-name "custom/themes/everforest-theme" user-emacs-directory))
(load-theme 'everforest-hard-dark t)
;; (use-package everforest
;; :straight (:type git :repo "https://git.sr.ht/~theorytoe/everforest-theme"))
;; Better distinction between work buffers and others
;; (use-package solaire-mode
;; :init
;; (solaire-global-mode t))
;; Modeline
(use-package minions
:hook (doom-modeline-mode . minions-mode)
(simple-modeline-mode . minions-mode))
(use-package doom-modeline
:init (doom-modeline-mode)
:custom
(doom-modeline-height 32)
;(doom-modeline-bar-width .75)
(doom-modeline-window-width-limit fill-column)
(doom-modeline-lsp t)
(doom-modeline-minor-modes t)
(doom-modeline-persp-name nil)
(doom-modeline-buffer-file-name-style 'truncate-upto-project)
(doom-modeline-major-mode-icon t)
(doom-modeline-major-mode-color-icon t)
(doom-modeline-enable-word-count t)
(doom-modeline-env-version t)
(doom-modeline-env-load-string "..."))
;; Font
(use-package mixed-pitch
;:hook
;(org-mode . mixed-pitch-mode)
:config
{{- if eq .chezmoi.hostname "helix"}}
(set-face-attribute 'default nil :font "Hack" :height 220)
(set-face-attribute 'fixed-pitch nil :font "Hack" :height 220)
(set-face-attribute 'variable-pitch nil :font "DejaVu Sans" :height 200))
{{- else }}
(set-face-attribute 'default nil :font "Hack" :height 90)
(set-face-attribute 'fixed-pitch nil :font "Hack" :height 90)
(set-face-attribute 'variable-pitch nil :font "DejaVu Sans" :height 100))
{{- end }}
;(add-hook 'mixed-pitch-mode-hook #'solaire-mode-reset)
;; Icons
(use-package all-the-icons)
;; Hide some minor modes
(use-package diminish)
;;; PROJECT MANAGEMENT:
;; Git
(use-package magit
:bind ("C-M-;" . magit-status)
:commands (magit-status magit-get-current-branch)
:custom
(magit-display-buffer-function #'magit-display-buffer-same-window-except-diff-v1))
;; Treemacs
(use-package treemacs
:bind
(:map global-map
("M-0" . treemacs-select-window)
("C-x t 1" . treemacs-delete-other-windows)
("C-x t t" . treemacs)
("C-x t B" . treemacs-bookmark)
("C-x t C-t" . treemacs-find-file)
("C-x t M-t" . treemacs-find-tag)))
(use-package lsp-treemacs
:config
(lsp-treemacs-sync-mode 1))
;;; UTILITIES:
;; Text completion
(use-package company
:config
(global-company-mode 1)
(setq company-global-modes '(not gud-mode))
(setq company-global-modes '(not comint-mode))
:custom
(company-idle-delay 0)
(company-minimum-prefix-length 1)
(company-tooltip-align-annotations t)
:bind
(:map company-active-map
("RET" . nil)
("[return]" . nil)
("TAB" . company-complete-selection)
("<tab>" . company-complete-selection)
("C-n" . company-select-next)
("C-p" . company-select-previous)))
;; Templating
(use-package yasnippet
:bind
("C-c y s" . yas-insert-snippet)
("C-c y v" . yas-visit-snippet-file)
:config
(yas-reload-all)
(add-to-list 'yas-snippet-dirs
(expand-file-name "custom/snippets" user-emacs-directory))
:hook
(prog-mode . yas-minor-mode)
(tex-mode . yas-minor-mode)
(latex-mode . yas-minor-mode))
(use-package yasnippet-snippets)
;;; LANGUAGE SUPPORT:
;; LSP
(use-package lsp-mode
:init
(setq lsp-keymap-prefix "C-c l")
:commands (lsp lsp-deferred)
:hook
((c-mode . lsp)
(c++-mode . lsp)
(go-mode . lsp)
(java-mode . lsp)
(js-mode . lsp)
(latex-mode . lsp)
(python-mode . lsp)
(rust-mode . lsp)
(tex-mode . lsp)
(typescript-mode . lsp)
(web-mode . lsp)
(zig-mode . lsp)
(lsp-mode . lsp-enable-which-key-integration))
:custom
(lsp-eldoc-render-all nil)
(lsp-idle-delay 0.6)
;; (lsp-rust-analyzer-cargo-watch-command "clippy")
;; (lsp-rust-analyzer-server-display-inlay-hints t)
;; (lsp-rust-analyzer-display-lifetime-elision-hints-enable "skip_trivial")
;; (lsp-rust-analyzer-display-chaining-hints t)
;; (lsp-rust-analyzer-display-lifetime-elision-hints-use-parameter-names nil)
;; (lsp-rust-analyzer-display-closure-return-type-hints t)
;; (lsp-rust-analyzer-display-parameter-hints nil)
;; (lsp-rust-analyzer-display-reborrow-hints nil)
:config
(setq lsp-prefer-flymake nil)) ; prefer lsp-ui (flycheck) to flymake
; (setq lsp-disabled-clients '(clangd))) ; prefer ccls to clangd
; :bind
; (:map lsp-mode-map
; ("TAB" . completion-at-point)))
(use-package lsp-ui
:requires lsp-mode flycheck
:hook (lsp-mode . lsp-ui-mode)
:commands lsp-ui-mode
:config
(setq lsp-ui-doc-enable t)
(setq lsp-ui-doc-use-childframe t)
(setq lsp-ui-doc-position 'bottom-and-right)
(setq lsp-ui-doc-include-signature t)
(setq lsp-ui-sideline-enable t)
(setq lsp-ui-sideline-show-hover t)
(setq lsp-ui-flycheck-enable t)
(setq lsp-ui-flycheck-list-position 'right)
(setq lsp-ui-flycheck-live-reporting t)
(setq lsp-ui-peek-enable t)
(setq lsp-ui-peek-list-width 60)
(setq lsp-ui-peek-peek-height 25)
(lsp-ui-doc-show))
;; Debugging
(use-package dap-mode
:after lsp-mode
:commands dap-debug
:config
(dap-ui-mode 1)
(dap-tooltip-mode 1)
(eval-when-compile
(require 'cl-lib))
(require 'dap-python)
;(require 'dap-node)
(require 'dap-lldb)
(require 'dap-gdb-lldb)
(dap-gdb-lldb-setup)
(dap-register-debug-template
"Rust :: LLDB Run Configuration"
(list :type "lldb"
:request "launch"
:name "LLDB::Run"
:gdbpath "rust-lldb"))
:bind
(:map dap-mode-map
("<f5>" . dap-debug)
("<f10>" . dap-next)
("<f11>" . dap-step-in)
("S-<f5>" . dap-disconnect)
("C-S-<f5>" . dap-debug-restart)))
(use-package realgud)
(use-package realgud-lldb)
;; Syntax checking
(use-package flycheck
:hook (lsp-mode . flycheck-mode)
:config
(setq flycheck-python-flake8-executable "flake8"))
;; Format on save
(use-package apheleia
:init
(apheleia-global-mode +1))
(use-package reformatter ;; required for zig fmt
:after zig-mode)
;; Syntax parsing/highlighting (use native tree-sitter on emacs 29+)
;; (use-package tree-sitter
;; :config
;; (global-tree-sitter-mode)
;; (add-hook 'tree-sitter-after-on-hook #'tree-sitter-hl-mode))
;; (use-package tree-sitter-langs)
;; emacs 29+
(use-package treesit-auto
:config
(setq treesit-auto-install 'prompt)
(global-treesit-auto-mode))
;; C/C++
(setq dap-lldb-debug-program '("/usr/bin/lldb-vscode"))
(setq-default c-default-style "k&r")
(setq-default c-basic-offset 2)
;; (use-package ccls
;; :hook ((c-mode c++-mode objc-mode cuda-mode) .
;; (lambda () (require 'ccls) (lsp))))
(use-package modern-cpp-font-lock
:hook
(c++-mode . modern-c++-font-lock-mode))
;; Golang
(use-package go-mode
:config
(add-hook 'before-save-hook #'lsp-organize-imports))
;; JavaScript/TypeScript, Web
(setq css-indent-level 2)
(setq css-indent-offset 2)
(setq js-indent-level 2)
(add-to-list 'auto-mode-alist '("\\.mjs\\'" . js-mode))
(use-package js2-mode
:config
(add-to-list 'interpreter-mode-alist '("#!/usr/bin/env node" . js2-mode))
;(setq js2-strict-missing-semi-warning t)
(setq js2-mode-show-strict-warnings t)
:hook (js-mode . js2-minor-mode))
(use-package typescript-mode
:config
(setq typescript-indent-level 2)
:mode ("\\.ts\\'" . typescript-mode)
("\\.tsx\\'" . typescript-mode))
;; (use-package restclient
;; :init
;; (use-package company-restclient)
;; :mode ("\\.http\\'" . restclient-mode))
(use-package rainbow-mode
:hook
((js-mode . rainbow-mode)
(typescript-mode . rainbow-mode)
(web-mode . rainbow-mode)))
;; (use-package skewer-mode
;; :init
;; (setq httpd-port 8080)
;; :hook
;; (('js-mode-hook 'skewer-mode)
;; ('css-mode-hook 'skewer-css-mode)
;; ('html-mode-hook 'skewer-html-mode)))
;; (use-package skewer-reload-stylesheets
;; :hook
;; (('css-mode-hook 'skewer-reload-stylesheets-start-editing)
;; ('scss-mode-hook 'skewer-reload-stylesheets-start-editing)))
;; (use-package simple-httpd)
(use-package web-mode
:config
(setq web-mode-code-indent-offset 2)
(setq web-mode-markup-indent-offset 2)
(setq web-mode-attribute-indent-offset 2)
:mode
(("\\.phtml\\'" . web-mode)
("\\.tpl\\.php\\'" . web-mode)
("\\.jsp\\'" . web-mode)
("\\.as[cp]x\\'" . web-mode)
("\\.erb\\'" . web-mode)
("\\.mustache\\'" . web-mode)
("\\.djhtml\\'" . web-mode)
("\\.jst.ejs\\'" . web-mode)
("\\.html?\\'" . web-mode)))
(use-package jsdoc
:straight (jsdoc :type git :host github :repo "isamert/jsdoc.el")
:bind ("C-c C-n" . jsdoc))
;; LaTeX
;(use-package lsp-latex)
;'(setq lsp-tex-server 'digestif)
;; OpenGL / GLSL
(use-package glsl-mode)
;; Protocol Buffers
(use-package protobuf-mode)
;; Python
(setq dap-python-debugger 'debugpy)
(use-package lsp-pyright
:hook (python-mode . (lambda ()
(require 'lsp-pyright)
(lsp)))) ; or lsp-deferred
(use-package numpydoc
:after python
:bind (:map python-mode-map
("C-c C-n" . numpydoc-generate))
:config
(setq numpydoc-insert-examples-block nil))
(use-package conda
:init
(setq conda-anaconda-home (expand-file-name "/opt/miniconda3"))
(setq conda-env-home-directory (expand-file-name "~/.conda/envs"))
(conda-env-initialize-interactive-shells)
;(conda-env-autoactivate-mode)
:hook
('find-file-hook . (lambda ()
(when (bound-and-true-p conda-project-env-path)
(conda-env-activate-for-buffer)))))
;; Rust
(use-package rustic
:ensure
:bind (:map rustic-mode-map
("M-j" . lsp-ui-imenu)
("M-?" . lsp-find-references)
("C-c C-c l" . flycheck-list-errors)
("C-c C-c a" . lsp-execute-code-action)
("C-c C-c r" . lsp-rename)
("C-c C-c q" . lsp-workspace-restart)
("C-c C-c Q" . lsp-workspace-shutdown)
("C-c C-c s" . lsp-rust-analyzer-status)
("C-c C-c e" . lsp-rust-analyzer-expand-macro)
("C-c C-c d" . dap-hydra)
("C-c C-c h" . lsp-ui-doc-glance)))
;; :config
;; uncomment for less flashiness
;; (setq lsp-eldoc-hook nil)
;; (setq lsp-enable-symbol-highlighting nil)
;; (setq lsp-signature-auto-activate nil)
;; comment to disable rustfmt on save
;; (add-hook 'rustic-mode-hook 'rk/rustic-mode-hook))
;; (defun rk/rustic-mode-hook ()
;; ;; so that run C-c C-c C-r works without having to confirm, but don't try to
;; ;; save rust buffers that are not file visiting. Once
;; ;; https://github.com/brotzeit/rustic/issues/253 has been resolved this should
;; ;; no longer be necessary.
;; (when buffer-file-name
;; (setq-local buffer-save-without-query t))
;; (add-hook 'before-save-hook 'lsp-format-buffer nil t))
;; TOML config files
(use-package toml-mode)
;; Zig
(use-package zig-mode
:config
(add-to-list 'lsp-language-id-configuration '(zig-mode . "zig"))
(lsp-register-client
(make-lsp-client
:new-connection (lsp-stdio-connection "/usr/bin/zls")
:major-modes '(zig-mode)
:server-id 'zls))
:hook
(zig-mode . (lambda ()
(setq-local fill-column 100)
(setq-local tab-width 4))))
;;; End init.el

View file

@ -1,26 +0,0 @@
# -*- mode: snippet -*-
# key : math doc
# group: latex-mode
# name : math doc
# --
\documentclass[12pt,letterpaper]{article}
\usepackage[utf8]{inputenc}
\usepackage{setspace}
\usepackage{parskip}
\usepackage[margin=1in]{geometry}
\usepackage{amssymb}
\usepackage{amsmath}
\linespread{1.25}
\begin{document}
\large
$1\\\\
$2\\\\
$3\\\\
$4\\\\
\normalsize
\end{document}

View file

@ -1,674 +0,0 @@
GNU GENERAL PUBLIC LICENSE
Version 3, 29 June 2007
Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
Preamble
The GNU General Public License is a free, copyleft license for
software and other kinds of works.
The licenses for most software and other practical works are designed
to take away your freedom to share and change the works. By contrast,
the GNU General Public License is intended to guarantee your freedom to
share and change all versions of a program--to make sure it remains free
software for all its users. We, the Free Software Foundation, use the
GNU General Public License for most of our software; it applies also to
any other work released this way by its authors. You can apply it to
your programs, too.
When we speak of free software, we are referring to freedom, not
price. Our General Public Licenses are designed to make sure that you
have the freedom to distribute copies of free software (and charge for
them if you wish), that you receive source code or can get it if you
want it, that you can change the software or use pieces of it in new
free programs, and that you know you can do these things.
To protect your rights, we need to prevent others from denying you
these rights or asking you to surrender the rights. Therefore, you have
certain responsibilities if you distribute copies of the software, or if
you modify it: responsibilities to respect the freedom of others.
For example, if you distribute copies of such a program, whether
gratis or for a fee, you must pass on to the recipients the same
freedoms that you received. You must make sure that they, too, receive
or can get the source code. And you must show them these terms so they
know their rights.
Developers that use the GNU GPL protect your rights with two steps:
(1) assert copyright on the software, and (2) offer you this License
giving you legal permission to copy, distribute and/or modify it.
For the developers' and authors' protection, the GPL clearly explains
that there is no warranty for this free software. For both users' and
authors' sake, the GPL requires that modified versions be marked as
changed, so that their problems will not be attributed erroneously to
authors of previous versions.
Some devices are designed to deny users access to install or run
modified versions of the software inside them, although the manufacturer
can do so. This is fundamentally incompatible with the aim of
protecting users' freedom to change the software. The systematic
pattern of such abuse occurs in the area of products for individuals to
use, which is precisely where it is most unacceptable. Therefore, we
have designed this version of the GPL to prohibit the practice for those
products. If such problems arise substantially in other domains, we
stand ready to extend this provision to those domains in future versions
of the GPL, as needed to protect the freedom of users.
Finally, every program is threatened constantly by software patents.
States should not allow patents to restrict development and use of
software on general-purpose computers, but in those that do, we wish to
avoid the special danger that patents applied to a free program could
make it effectively proprietary. To prevent this, the GPL assures that
patents cannot be used to render the program non-free.
The precise terms and conditions for copying, distribution and
modification follow.
TERMS AND CONDITIONS
0. Definitions.
"This License" refers to version 3 of the GNU General Public License.
"Copyright" also means copyright-like laws that apply to other kinds of
works, such as semiconductor masks.
"The Program" refers to any copyrightable work licensed under this
License. Each licensee is addressed as "you". "Licensees" and
"recipients" may be individuals or organizations.
To "modify" a work means to copy from or adapt all or part of the work
in a fashion requiring copyright permission, other than the making of an
exact copy. The resulting work is called a "modified version" of the
earlier work or a work "based on" the earlier work.
A "covered work" means either the unmodified Program or a work based
on the Program.
To "propagate" a work means to do anything with it that, without
permission, would make you directly or secondarily liable for
infringement under applicable copyright law, except executing it on a
computer or modifying a private copy. Propagation includes copying,
distribution (with or without modification), making available to the
public, and in some countries other activities as well.
To "convey" a work means any kind of propagation that enables other
parties to make or receive copies. Mere interaction with a user through
a computer network, with no transfer of a copy, is not conveying.
An interactive user interface displays "Appropriate Legal Notices"
to the extent that it includes a convenient and prominently visible
feature that (1) displays an appropriate copyright notice, and (2)
tells the user that there is no warranty for the work (except to the
extent that warranties are provided), that licensees may convey the
work under this License, and how to view a copy of this License. If
the interface presents a list of user commands or options, such as a
menu, a prominent item in the list meets this criterion.
1. Source Code.
The "source code" for a work means the preferred form of the work
for making modifications to it. "Object code" means any non-source
form of a work.
A "Standard Interface" means an interface that either is an official
standard defined by a recognized standards body, or, in the case of
interfaces specified for a particular programming language, one that
is widely used among developers working in that language.
The "System Libraries" of an executable work include anything, other
than the work as a whole, that (a) is included in the normal form of
packaging a Major Component, but which is not part of that Major
Component, and (b) serves only to enable use of the work with that
Major Component, or to implement a Standard Interface for which an
implementation is available to the public in source code form. A
"Major Component", in this context, means a major essential component
(kernel, window system, and so on) of the specific operating system
(if any) on which the executable work runs, or a compiler used to
produce the work, or an object code interpreter used to run it.
The "Corresponding Source" for a work in object code form means all
the source code needed to generate, install, and (for an executable
work) run the object code and to modify the work, including scripts to
control those activities. However, it does not include the work's
System Libraries, or general-purpose tools or generally available free
programs which are used unmodified in performing those activities but
which are not part of the work. For example, Corresponding Source
includes interface definition files associated with source files for
the work, and the source code for shared libraries and dynamically
linked subprograms that the work is specifically designed to require,
such as by intimate data communication or control flow between those
subprograms and other parts of the work.
The Corresponding Source need not include anything that users
can regenerate automatically from other parts of the Corresponding
Source.
The Corresponding Source for a work in source code form is that
same work.
2. Basic Permissions.
All rights granted under this License are granted for the term of
copyright on the Program, and are irrevocable provided the stated
conditions are met. This License explicitly affirms your unlimited
permission to run the unmodified Program. The output from running a
covered work is covered by this License only if the output, given its
content, constitutes a covered work. This License acknowledges your
rights of fair use or other equivalent, as provided by copyright law.
You may make, run and propagate covered works that you do not
convey, without conditions so long as your license otherwise remains
in force. You may convey covered works to others for the sole purpose
of having them make modifications exclusively for you, or provide you
with facilities for running those works, provided that you comply with
the terms of this License in conveying all material for which you do
not control copyright. Those thus making or running the covered works
for you must do so exclusively on your behalf, under your direction
and control, on terms that prohibit them from making any copies of
your copyrighted material outside their relationship with you.
Conveying under any other circumstances is permitted solely under
the conditions stated below. Sublicensing is not allowed; section 10
makes it unnecessary.
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
No covered work shall be deemed part of an effective technological
measure under any applicable law fulfilling obligations under article
11 of the WIPO copyright treaty adopted on 20 December 1996, or
similar laws prohibiting or restricting circumvention of such
measures.
When you convey a covered work, you waive any legal power to forbid
circumvention of technological measures to the extent such circumvention
is effected by exercising rights under this License with respect to
the covered work, and you disclaim any intention to limit operation or
modification of the work as a means of enforcing, against the work's
users, your or third parties' legal rights to forbid circumvention of
technological measures.
4. Conveying Verbatim Copies.
You may convey verbatim copies of the Program's source code as you
receive it, in any medium, provided that you conspicuously and
appropriately publish on each copy an appropriate copyright notice;
keep intact all notices stating that this License and any
non-permissive terms added in accord with section 7 apply to the code;
keep intact all notices of the absence of any warranty; and give all
recipients a copy of this License along with the Program.
You may charge any price or no price for each copy that you convey,
and you may offer support or warranty protection for a fee.
5. Conveying Modified Source Versions.
You may convey a work based on the Program, or the modifications to
produce it from the Program, in the form of source code under the
terms of section 4, provided that you also meet all of these conditions:
a) The work must carry prominent notices stating that you modified
it, and giving a relevant date.
b) The work must carry prominent notices stating that it is
released under this License and any conditions added under section
7. This requirement modifies the requirement in section 4 to
"keep intact all notices".
c) You must license the entire work, as a whole, under this
License to anyone who comes into possession of a copy. This
License will therefore apply, along with any applicable section 7
additional terms, to the whole of the work, and all its parts,
regardless of how they are packaged. This License gives no
permission to license the work in any other way, but it does not
invalidate such permission if you have separately received it.
d) If the work has interactive user interfaces, each must display
Appropriate Legal Notices; however, if the Program has interactive
interfaces that do not display Appropriate Legal Notices, your
work need not make them do so.
A compilation of a covered work with other separate and independent
works, which are not by their nature extensions of the covered work,
and which are not combined with it such as to form a larger program,
in or on a volume of a storage or distribution medium, is called an
"aggregate" if the compilation and its resulting copyright are not
used to limit the access or legal rights of the compilation's users
beyond what the individual works permit. Inclusion of a covered work
in an aggregate does not cause this License to apply to the other
parts of the aggregate.
6. Conveying Non-Source Forms.
You may convey a covered work in object code form under the terms
of sections 4 and 5, provided that you also convey the
machine-readable Corresponding Source under the terms of this License,
in one of these ways:
a) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by the
Corresponding Source fixed on a durable physical medium
customarily used for software interchange.
b) Convey the object code in, or embodied in, a physical product
(including a physical distribution medium), accompanied by a
written offer, valid for at least three years and valid for as
long as you offer spare parts or customer support for that product
model, to give anyone who possesses the object code either (1) a
copy of the Corresponding Source for all the software in the
product that is covered by this License, on a durable physical
medium customarily used for software interchange, for a price no
more than your reasonable cost of physically performing this
conveying of source, or (2) access to copy the
Corresponding Source from a network server at no charge.
c) Convey individual copies of the object code with a copy of the
written offer to provide the Corresponding Source. This
alternative is allowed only occasionally and noncommercially, and
only if you received the object code with such an offer, in accord
with subsection 6b.
d) Convey the object code by offering access from a designated
place (gratis or for a charge), and offer equivalent access to the
Corresponding Source in the same way through the same place at no
further charge. You need not require recipients to copy the
Corresponding Source along with the object code. If the place to
copy the object code is a network server, the Corresponding Source
may be on a different server (operated by you or a third party)
that supports equivalent copying facilities, provided you maintain
clear directions next to the object code saying where to find the
Corresponding Source. Regardless of what server hosts the
Corresponding Source, you remain obligated to ensure that it is
available for as long as needed to satisfy these requirements.
e) Convey the object code using peer-to-peer transmission, provided
you inform other peers where the object code and Corresponding
Source of the work are being offered to the general public at no
charge under subsection 6d.
A separable portion of the object code, whose source code is excluded
from the Corresponding Source as a System Library, need not be
included in conveying the object code work.
A "User Product" is either (1) a "consumer product", which means any
tangible personal property which is normally used for personal, family,
or household purposes, or (2) anything designed or sold for incorporation
into a dwelling. In determining whether a product is a consumer product,
doubtful cases shall be resolved in favor of coverage. For a particular
product received by a particular user, "normally used" refers to a
typical or common use of that class of product, regardless of the status
of the particular user or of the way in which the particular user
actually uses, or expects or is expected to use, the product. A product
is a consumer product regardless of whether the product has substantial
commercial, industrial or non-consumer uses, unless such uses represent
the only significant mode of use of the product.
"Installation Information" for a User Product means any methods,
procedures, authorization keys, or other information required to install
and execute modified versions of a covered work in that User Product from
a modified version of its Corresponding Source. The information must
suffice to ensure that the continued functioning of the modified object
code is in no case prevented or interfered with solely because
modification has been made.
If you convey an object code work under this section in, or with, or
specifically for use in, a User Product, and the conveying occurs as
part of a transaction in which the right of possession and use of the
User Product is transferred to the recipient in perpetuity or for a
fixed term (regardless of how the transaction is characterized), the
Corresponding Source conveyed under this section must be accompanied
by the Installation Information. But this requirement does not apply
if neither you nor any third party retains the ability to install
modified object code on the User Product (for example, the work has
been installed in ROM).
The requirement to provide Installation Information does not include a
requirement to continue to provide support service, warranty, or updates
for a work that has been modified or installed by the recipient, or for
the User Product in which it has been modified or installed. Access to a
network may be denied when the modification itself materially and
adversely affects the operation of the network or violates the rules and
protocols for communication across the network.
Corresponding Source conveyed, and Installation Information provided,
in accord with this section must be in a format that is publicly
documented (and with an implementation available to the public in
source code form), and must require no special password or key for
unpacking, reading or copying.
7. Additional Terms.
"Additional permissions" are terms that supplement the terms of this
License by making exceptions from one or more of its conditions.
Additional permissions that are applicable to the entire Program shall
be treated as though they were included in this License, to the extent
that they are valid under applicable law. If additional permissions
apply only to part of the Program, that part may be used separately
under those permissions, but the entire Program remains governed by
this License without regard to the additional permissions.
When you convey a copy of a covered work, you may at your option
remove any additional permissions from that copy, or from any part of
it. (Additional permissions may be written to require their own
removal in certain cases when you modify the work.) You may place
additional permissions on material, added by you to a covered work,
for which you have or can give appropriate copyright permission.
Notwithstanding any other provision of this License, for material you
add to a covered work, you may (if authorized by the copyright holders of
that material) supplement the terms of this License with terms:
a) Disclaiming warranty or limiting liability differently from the
terms of sections 15 and 16 of this License; or
b) Requiring preservation of specified reasonable legal notices or
author attributions in that material or in the Appropriate Legal
Notices displayed by works containing it; or
c) Prohibiting misrepresentation of the origin of that material, or
requiring that modified versions of such material be marked in
reasonable ways as different from the original version; or
d) Limiting the use for publicity purposes of names of licensors or
authors of the material; or
e) Declining to grant rights under trademark law for use of some
trade names, trademarks, or service marks; or
f) Requiring indemnification of licensors and authors of that
material by anyone who conveys the material (or modified versions of
it) with contractual assumptions of liability to the recipient, for
any liability that these contractual assumptions directly impose on
those licensors and authors.
All other non-permissive additional terms are considered "further
restrictions" within the meaning of section 10. If the Program as you
received it, or any part of it, contains a notice stating that it is
governed by this License along with a term that is a further
restriction, you may remove that term. If a license document contains
a further restriction but permits relicensing or conveying under this
License, you may add to a covered work material governed by the terms
of that license document, provided that the further restriction does
not survive such relicensing or conveying.
If you add terms to a covered work in accord with this section, you
must place, in the relevant source files, a statement of the
additional terms that apply to those files, or a notice indicating
where to find the applicable terms.
Additional terms, permissive or non-permissive, may be stated in the
form of a separately written license, or stated as exceptions;
the above requirements apply either way.
8. Termination.
You may not propagate or modify a covered work except as expressly
provided under this License. Any attempt otherwise to propagate or
modify it is void, and will automatically terminate your rights under
this License (including any patent licenses granted under the third
paragraph of section 11).
However, if you cease all violation of this License, then your
license from a particular copyright holder is reinstated (a)
provisionally, unless and until the copyright holder explicitly and
finally terminates your license, and (b) permanently, if the copyright
holder fails to notify you of the violation by some reasonable means
prior to 60 days after the cessation.
Moreover, your license from a particular copyright holder is
reinstated permanently if the copyright holder notifies you of the
violation by some reasonable means, this is the first time you have
received notice of violation of this License (for any work) from that
copyright holder, and you cure the violation prior to 30 days after
your receipt of the notice.
Termination of your rights under this section does not terminate the
licenses of parties who have received copies or rights from you under
this License. If your rights have been terminated and not permanently
reinstated, you do not qualify to receive new licenses for the same
material under section 10.
9. Acceptance Not Required for Having Copies.
You are not required to accept this License in order to receive or
run a copy of the Program. Ancillary propagation of a covered work
occurring solely as a consequence of using peer-to-peer transmission
to receive a copy likewise does not require acceptance. However,
nothing other than this License grants you permission to propagate or
modify any covered work. These actions infringe copyright if you do
not accept this License. Therefore, by modifying or propagating a
covered work, you indicate your acceptance of this License to do so.
10. Automatic Licensing of Downstream Recipients.
Each time you convey a covered work, the recipient automatically
receives a license from the original licensors, to run, modify and
propagate that work, subject to this License. You are not responsible
for enforcing compliance by third parties with this License.
An "entity transaction" is a transaction transferring control of an
organization, or substantially all assets of one, or subdividing an
organization, or merging organizations. If propagation of a covered
work results from an entity transaction, each party to that
transaction who receives a copy of the work also receives whatever
licenses to the work the party's predecessor in interest had or could
give under the previous paragraph, plus a right to possession of the
Corresponding Source of the work from the predecessor in interest, if
the predecessor has it or can get it with reasonable efforts.
You may not impose any further restrictions on the exercise of the
rights granted or affirmed under this License. For example, you may
not impose a license fee, royalty, or other charge for exercise of
rights granted under this License, and you may not initiate litigation
(including a cross-claim or counterclaim in a lawsuit) alleging that
any patent claim is infringed by making, using, selling, offering for
sale, or importing the Program or any portion of it.
11. Patents.
A "contributor" is a copyright holder who authorizes use under this
License of the Program or a work on which the Program is based. The
work thus licensed is called the contributor's "contributor version".
A contributor's "essential patent claims" are all patent claims
owned or controlled by the contributor, whether already acquired or
hereafter acquired, that would be infringed by some manner, permitted
by this License, of making, using, or selling its contributor version,
but do not include claims that would be infringed only as a
consequence of further modification of the contributor version. For
purposes of this definition, "control" includes the right to grant
patent sublicenses in a manner consistent with the requirements of
this License.
Each contributor grants you a non-exclusive, worldwide, royalty-free
patent license under the contributor's essential patent claims, to
make, use, sell, offer for sale, import and otherwise run, modify and
propagate the contents of its contributor version.
In the following three paragraphs, a "patent license" is any express
agreement or commitment, however denominated, not to enforce a patent
(such as an express permission to practice a patent or covenant not to
sue for patent infringement). To "grant" such a patent license to a
party means to make such an agreement or commitment not to enforce a
patent against the party.
If you convey a covered work, knowingly relying on a patent license,
and the Corresponding Source of the work is not available for anyone
to copy, free of charge and under the terms of this License, through a
publicly available network server or other readily accessible means,
then you must either (1) cause the Corresponding Source to be so
available, or (2) arrange to deprive yourself of the benefit of the
patent license for this particular work, or (3) arrange, in a manner
consistent with the requirements of this License, to extend the patent
license to downstream recipients. "Knowingly relying" means you have
actual knowledge that, but for the patent license, your conveying the
covered work in a country, or your recipient's use of the covered work
in a country, would infringe one or more identifiable patents in that
country that you have reason to believe are valid.
If, pursuant to or in connection with a single transaction or
arrangement, you convey, or propagate by procuring conveyance of, a
covered work, and grant a patent license to some of the parties
receiving the covered work authorizing them to use, propagate, modify
or convey a specific copy of the covered work, then the patent license
you grant is automatically extended to all recipients of the covered
work and works based on it.
A patent license is "discriminatory" if it does not include within
the scope of its coverage, prohibits the exercise of, or is
conditioned on the non-exercise of one or more of the rights that are
specifically granted under this License. You may not convey a covered
work if you are a party to an arrangement with a third party that is
in the business of distributing software, under which you make payment
to the third party based on the extent of your activity of conveying
the work, and under which the third party grants, to any of the
parties who would receive the covered work from you, a discriminatory
patent license (a) in connection with copies of the covered work
conveyed by you (or copies made from those copies), or (b) primarily
for and in connection with specific products or compilations that
contain the covered work, unless you entered into that arrangement,
or that patent license was granted, prior to 28 March 2007.
Nothing in this License shall be construed as excluding or limiting
any implied license or other defenses to infringement that may
otherwise be available to you under applicable patent law.
12. No Surrender of Others' Freedom.
If conditions are imposed on you (whether by court order, agreement or
otherwise) that contradict the conditions of this License, they do not
excuse you from the conditions of this License. If you cannot convey a
covered work so as to satisfy simultaneously your obligations under this
License and any other pertinent obligations, then as a consequence you may
not convey it at all. For example, if you agree to terms that obligate you
to collect a royalty for further conveying from those to whom you convey
the Program, the only way you could satisfy both those terms and this
License would be to refrain entirely from conveying the Program.
13. Use with the GNU Affero General Public License.
Notwithstanding any other provision of this License, you have
permission to link or combine any covered work with a work licensed
under version 3 of the GNU Affero General Public License into a single
combined work, and to convey the resulting work. The terms of this
License will continue to apply to the part which is the covered work,
but the special requirements of the GNU Affero General Public License,
section 13, concerning interaction through a network will apply to the
combination as such.
14. Revised Versions of this License.
The Free Software Foundation may publish revised and/or new versions of
the GNU General Public License from time to time. Such new versions will
be similar in spirit to the present version, but may differ in detail to
address new problems or concerns.
Each version is given a distinguishing version number. If the
Program specifies that a certain numbered version of the GNU General
Public License "or any later version" applies to it, you have the
option of following the terms and conditions either of that numbered
version or of any later version published by the Free Software
Foundation. If the Program does not specify a version number of the
GNU General Public License, you may choose any version ever published
by the Free Software Foundation.
If the Program specifies that a proxy can decide which future
versions of the GNU General Public License can be used, that proxy's
public statement of acceptance of a version permanently authorizes you
to choose that version for the Program.
Later license versions may give you additional or different
permissions. However, no additional obligations are imposed on any
author or copyright holder as a result of your choosing to follow a
later version.
15. Disclaimer of Warranty.
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
16. Limitation of Liability.
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES.
17. Interpretation of Sections 15 and 16.
If the disclaimer of warranty and limitation of liability provided
above cannot be given local legal effect according to their terms,
reviewing courts shall apply local law that most closely approximates
an absolute waiver of all civil liability in connection with the
Program, unless a warranty or assumption of liability accompanies a
copy of the Program in return for a fee.
END OF TERMS AND CONDITIONS
How to Apply These Terms to Your New Programs
If you develop a new program, and you want it to be of the greatest
possible use to the public, the best way to achieve this is to make it
free software which everyone can redistribute and change under these terms.
To do so, attach the following notices to the program. It is safest
to attach them to the start of each source file to most effectively
state the exclusion of warranty; and each file should have at least
the "copyright" line and a pointer to where the full notice is found.
<one line to give the program's name and a brief idea of what it does.>
Copyright (C) <year> <name of author>
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.
Also add information on how to contact you by electronic and paper mail.
If the program does terminal interaction, make it output a short
notice like this when it starts in an interactive mode:
<program> Copyright (C) <year> <name of author>
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `show c' for details.
The hypothetical commands `show w' and `show c' should show the appropriate
parts of the General Public License. Of course, your program's commands
might be different; for a GUI interface, you would use an "about box".
You should also get your employer (if you work as a programmer) or school,
if any, to sign a "copyright disclaimer" for the program, if necessary.
For more information on this, and how to apply and follow the GNU GPL, see
<https://www.gnu.org/licenses/>.
The GNU General Public License does not permit incorporating your program
into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.

View file

@ -1,74 +0,0 @@
# Everforest Emacs Theme
An Emacs port of the [Everforest](https://github.com/sainnhe/everforest) Vim
theme, a low-contrast green-coloured theme. This is a current work in progress,
so expect issues and unorthodox coloring occasionally. The port is quite
opinionated from the original everforest theme, but I try to keep as true to the
original theme as possible, but making changes where needed for both functional
and cosmetic reasons.
- [sourcehut mirror](https://git.sr.ht/~theorytoe/everforest-theme)
![Dark | Light](./dark_light.png)
## Installation
This theme is not on MELPA (yet), so a manual install is required
for stock emacs.
### straight.el
```elisp
(straight-use-package
'(everforest) :type git :repo "https://git.sr.ht/~theorytoe/everforest-theme")
(load-theme 'everforest-hard-dark t)
;; (load-theme 'everforest-hard-light t)
```
### Doom Emacs (package!)
```elisp
(package! everforest
:recipe (:repo "https://git.sr.ht/~theorytoe/everforest-theme"))
(use-package! 'everforest')
(load-theme 'everforest-hard-dark t)
;; (load-theme 'everforest-hard-light t)
```
### Manual
Clone the Repo
```bash
git clone https://git.sr.ht/~theorytoe/everforest-theme ~/.emacs.d/everforest-theme
```
Add the theme to your custom-theme alist and load it
```elisp
(add-to-list 'custom-theme-load-path "~/.emacs.d/everforest")
(load-theme 'everforest-hard-dark t)
```
### Usage
Load the theme (disable any existing theme):
```
M-x load-theme RET everforest-hard-dark RET
```
To load the theme on emacs startup:
```elisp
(load-theme 'everforest-hard-dark t)
```
# Roadmap
Currently, both the dark and light (high-contrast/hard) schemes
have been ported. Support for both soft and medium will eventually
arrive once most of the internal code has been cleaned up.

Binary file not shown.

Before

Width:  |  Height:  |  Size: 282 KiB

View file

@ -1 +0,0 @@
ref: refs/heads/master

View file

@ -1,11 +0,0 @@
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
[remote "origin"]
url = https://git.sr.ht/~theorytoe/everforest-theme
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master

View file

@ -1 +0,0 @@
Unnamed repository; edit this file 'description' to name the repository.

View file

@ -1,15 +0,0 @@
#!/bin/sh
#
# An example hook script to check the commit log message taken by
# applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit. The hook is
# allowed to edit the commit message file.
#
# To enable this hook, rename this file to "applypatch-msg".
. git-sh-setup
commitmsg="$(git rev-parse --git-path hooks/commit-msg)"
test -x "$commitmsg" && exec "$commitmsg" ${1+"$@"}
:

View file

@ -1,24 +0,0 @@
#!/bin/sh
#
# An example hook script to check the commit log message.
# Called by "git commit" with one argument, the name of the file
# that has the commit message. The hook should exit with non-zero
# status after issuing an appropriate message if it wants to stop the
# commit. The hook is allowed to edit the commit message file.
#
# To enable this hook, rename this file to "commit-msg".
# Uncomment the below to add a Signed-off-by line to the message.
# Doing this in a hook is a bad idea in general, but the prepare-commit-msg
# hook is more suited to it.
#
# SOB=$(git var GIT_AUTHOR_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# grep -qs "^$SOB" "$1" || echo "$SOB" >> "$1"
# This example catches duplicate Signed-off-by lines.
test "" = "$(grep '^Signed-off-by: ' "$1" |
sort | uniq -c | sed -e '/^[ ]*1[ ]/d')" || {
echo >&2 Duplicate Signed-off-by lines.
exit 1
}

View file

@ -1,174 +0,0 @@
#!/usr/bin/perl
use strict;
use warnings;
use IPC::Open2;
# An example hook script to integrate Watchman
# (https://facebook.github.io/watchman/) with git to speed up detecting
# new and modified files.
#
# The hook is passed a version (currently 2) and last update token
# formatted as a string and outputs to stdout a new update token and
# all files that have been modified since the update token. Paths must
# be relative to the root of the working tree and separated by a single NUL.
#
# To enable this hook, rename this file to "query-watchman" and set
# 'git config core.fsmonitor .git/hooks/query-watchman'
#
my ($version, $last_update_token) = @ARGV;
# Uncomment for debugging
# print STDERR "$0 $version $last_update_token\n";
# Check the hook interface version
if ($version ne 2) {
die "Unsupported query-fsmonitor hook version '$version'.\n" .
"Falling back to scanning...\n";
}
my $git_work_tree = get_working_dir();
my $retry = 1;
my $json_pkg;
eval {
require JSON::XS;
$json_pkg = "JSON::XS";
1;
} or do {
require JSON::PP;
$json_pkg = "JSON::PP";
};
launch_watchman();
sub launch_watchman {
my $o = watchman_query();
if (is_work_tree_watched($o)) {
output_result($o->{clock}, @{$o->{files}});
}
}
sub output_result {
my ($clockid, @files) = @_;
# Uncomment for debugging watchman output
# open (my $fh, ">", ".git/watchman-output.out");
# binmode $fh, ":utf8";
# print $fh "$clockid\n@files\n";
# close $fh;
binmode STDOUT, ":utf8";
print $clockid;
print "\0";
local $, = "\0";
print @files;
}
sub watchman_clock {
my $response = qx/watchman clock "$git_work_tree"/;
die "Failed to get clock id on '$git_work_tree'.\n" .
"Falling back to scanning...\n" if $? != 0;
return $json_pkg->new->utf8->decode($response);
}
sub watchman_query {
my $pid = open2(\*CHLD_OUT, \*CHLD_IN, 'watchman -j --no-pretty')
or die "open2() failed: $!\n" .
"Falling back to scanning...\n";
# In the query expression below we're asking for names of files that
# changed since $last_update_token but not from the .git folder.
#
# To accomplish this, we're using the "since" generator to use the
# recency index to select candidate nodes and "fields" to limit the
# output to file names only. Then we're using the "expression" term to
# further constrain the results.
my $last_update_line = "";
if (substr($last_update_token, 0, 1) eq "c") {
$last_update_token = "\"$last_update_token\"";
$last_update_line = qq[\n"since": $last_update_token,];
}
my $query = <<" END";
["query", "$git_work_tree", {$last_update_line
"fields": ["name"],
"expression": ["not", ["dirname", ".git"]]
}]
END
# Uncomment for debugging the watchman query
# open (my $fh, ">", ".git/watchman-query.json");
# print $fh $query;
# close $fh;
print CHLD_IN $query;
close CHLD_IN;
my $response = do {local $/; <CHLD_OUT>};
# Uncomment for debugging the watch response
# open ($fh, ">", ".git/watchman-response.json");
# print $fh $response;
# close $fh;
die "Watchman: command returned no output.\n" .
"Falling back to scanning...\n" if $response eq "";
die "Watchman: command returned invalid output: $response\n" .
"Falling back to scanning...\n" unless $response =~ /^\{/;
return $json_pkg->new->utf8->decode($response);
}
sub is_work_tree_watched {
my ($output) = @_;
my $error = $output->{error};
if ($retry > 0 and $error and $error =~ m/unable to resolve root .* directory (.*) is not watched/) {
$retry--;
my $response = qx/watchman watch "$git_work_tree"/;
die "Failed to make watchman watch '$git_work_tree'.\n" .
"Falling back to scanning...\n" if $? != 0;
$output = $json_pkg->new->utf8->decode($response);
$error = $output->{error};
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
# Uncomment for debugging watchman output
# open (my $fh, ">", ".git/watchman-output.out");
# close $fh;
# Watchman will always return all files on the first query so
# return the fast "everything is dirty" flag to git and do the
# Watchman query just to get it over with now so we won't pay
# the cost in git to look up each individual file.
my $o = watchman_clock();
$error = $output->{error};
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
output_result($o->{clock}, ("/"));
$last_update_token = $o->{clock};
eval { launch_watchman() };
return 0;
}
die "Watchman: $error.\n" .
"Falling back to scanning...\n" if $error;
return 1;
}
sub get_working_dir {
my $working_dir;
if ($^O =~ 'msys' || $^O =~ 'cygwin') {
$working_dir = Win32::GetCwd();
$working_dir =~ tr/\\/\//;
} else {
require Cwd;
$working_dir = Cwd::cwd();
}
return $working_dir;
}

View file

@ -1,8 +0,0 @@
#!/bin/sh
#
# An example hook script to prepare a packed repository for use over
# dumb transports.
#
# To enable this hook, rename this file to "post-update".
exec git update-server-info

View file

@ -1,14 +0,0 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed
# by applypatch from an e-mail message.
#
# The hook should exit with non-zero status after issuing an
# appropriate message if it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-applypatch".
. git-sh-setup
precommit="$(git rev-parse --git-path hooks/pre-commit)"
test -x "$precommit" && exec "$precommit" ${1+"$@"}
:

View file

@ -1,49 +0,0 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git commit" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message if
# it wants to stop the commit.
#
# To enable this hook, rename this file to "pre-commit".
if git rev-parse --verify HEAD >/dev/null 2>&1
then
against=HEAD
else
# Initial commit: diff against an empty tree object
against=$(git hash-object -t tree /dev/null)
fi
# If you want to allow non-ASCII filenames set this variable to true.
allownonascii=$(git config --type=bool hooks.allownonascii)
# Redirect output to stderr.
exec 1>&2
# Cross platform projects tend to avoid non-ASCII filenames; prevent
# them from being added to the repository. We exploit the fact that the
# printable range starts at the space character and ends with tilde.
if [ "$allownonascii" != "true" ] &&
# Note that the use of brackets around a tr range is ok here, (it's
# even required, for portability to Solaris 10's /usr/bin/tr), since
# the square bracket bytes happen to fall in the designated range.
test $(git diff --cached --name-only --diff-filter=A -z $against |
LC_ALL=C tr -d '[ -~]\0' | wc -c) != 0
then
cat <<\EOF
Error: Attempt to add a non-ASCII file name.
This can cause problems if you want to work with people on other platforms.
To be portable it is advisable to rename the file.
If you know what you are doing you can disable this check using:
git config hooks.allownonascii true
EOF
exit 1
fi
# If there are whitespace errors, print the offending file names and fail.
exec git diff-index --check --cached $against --

View file

@ -1,13 +0,0 @@
#!/bin/sh
#
# An example hook script to verify what is about to be committed.
# Called by "git merge" with no arguments. The hook should
# exit with non-zero status after issuing an appropriate message to
# stderr if it wants to stop the merge commit.
#
# To enable this hook, rename this file to "pre-merge-commit".
. git-sh-setup
test -x "$GIT_DIR/hooks/pre-commit" &&
exec "$GIT_DIR/hooks/pre-commit"
:

View file

@ -1,53 +0,0 @@
#!/bin/sh
# An example hook script to verify what is about to be pushed. Called by "git
# push" after it has checked the remote status, but before anything has been
# pushed. If this script exits with a non-zero status nothing will be pushed.
#
# This hook is called with the following parameters:
#
# $1 -- Name of the remote to which the push is being done
# $2 -- URL to which the push is being done
#
# If pushing without using a named remote those arguments will be equal.
#
# Information about the commits which are being pushed is supplied as lines to
# the standard input in the form:
#
# <local ref> <local oid> <remote ref> <remote oid>
#
# This sample shows how to prevent push of commits where the log message starts
# with "WIP" (work in progress).
remote="$1"
url="$2"
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
while read local_ref local_oid remote_ref remote_oid
do
if test "$local_oid" = "$zero"
then
# Handle delete
:
else
if test "$remote_oid" = "$zero"
then
# New branch, examine all commits
range="$local_oid"
else
# Update to existing branch, examine new commits
range="$remote_oid..$local_oid"
fi
# Check for WIP commit
commit=$(git rev-list -n 1 --grep '^WIP' "$range")
if test -n "$commit"
then
echo >&2 "Found WIP commit in $local_ref, not pushing"
exit 1
fi
fi
done
exit 0

View file

@ -1,169 +0,0 @@
#!/bin/sh
#
# Copyright (c) 2006, 2008 Junio C Hamano
#
# The "pre-rebase" hook is run just before "git rebase" starts doing
# its job, and can prevent the command from running by exiting with
# non-zero status.
#
# The hook is called with the following parameters:
#
# $1 -- the upstream the series was forked from.
# $2 -- the branch being rebased (or empty when rebasing the current branch).
#
# This sample shows how to prevent topic branches that are already
# merged to 'next' branch from getting rebased, because allowing it
# would result in rebasing already published history.
publish=next
basebranch="$1"
if test "$#" = 2
then
topic="refs/heads/$2"
else
topic=`git symbolic-ref HEAD` ||
exit 0 ;# we do not interrupt rebasing detached HEAD
fi
case "$topic" in
refs/heads/??/*)
;;
*)
exit 0 ;# we do not interrupt others.
;;
esac
# Now we are dealing with a topic branch being rebased
# on top of master. Is it OK to rebase it?
# Does the topic really exist?
git show-ref -q "$topic" || {
echo >&2 "No such branch $topic"
exit 1
}
# Is topic fully merged to master?
not_in_master=`git rev-list --pretty=oneline ^master "$topic"`
if test -z "$not_in_master"
then
echo >&2 "$topic is fully merged to master; better remove it."
exit 1 ;# we could allow it, but there is no point.
fi
# Is topic ever merged to next? If so you should not be rebasing it.
only_next_1=`git rev-list ^master "^$topic" ${publish} | sort`
only_next_2=`git rev-list ^master ${publish} | sort`
if test "$only_next_1" = "$only_next_2"
then
not_in_topic=`git rev-list "^$topic" master`
if test -z "$not_in_topic"
then
echo >&2 "$topic is already up to date with master"
exit 1 ;# we could allow it, but there is no point.
else
exit 0
fi
else
not_in_next=`git rev-list --pretty=oneline ^${publish} "$topic"`
/usr/bin/perl -e '
my $topic = $ARGV[0];
my $msg = "* $topic has commits already merged to public branch:\n";
my (%not_in_next) = map {
/^([0-9a-f]+) /;
($1 => 1);
} split(/\n/, $ARGV[1]);
for my $elem (map {
/^([0-9a-f]+) (.*)$/;
[$1 => $2];
} split(/\n/, $ARGV[2])) {
if (!exists $not_in_next{$elem->[0]}) {
if ($msg) {
print STDERR $msg;
undef $msg;
}
print STDERR " $elem->[1]\n";
}
}
' "$topic" "$not_in_next" "$not_in_master"
exit 1
fi
<<\DOC_END
This sample hook safeguards topic branches that have been
published from being rewound.
The workflow assumed here is:
* Once a topic branch forks from "master", "master" is never
merged into it again (either directly or indirectly).
* Once a topic branch is fully cooked and merged into "master",
it is deleted. If you need to build on top of it to correct
earlier mistakes, a new topic branch is created by forking at
the tip of the "master". This is not strictly necessary, but
it makes it easier to keep your history simple.
* Whenever you need to test or publish your changes to topic
branches, merge them into "next" branch.
The script, being an example, hardcodes the publish branch name
to be "next", but it is trivial to make it configurable via
$GIT_DIR/config mechanism.
With this workflow, you would want to know:
(1) ... if a topic branch has ever been merged to "next". Young
topic branches can have stupid mistakes you would rather
clean up before publishing, and things that have not been
merged into other branches can be easily rebased without
affecting other people. But once it is published, you would
not want to rewind it.
(2) ... if a topic branch has been fully merged to "master".
Then you can delete it. More importantly, you should not
build on top of it -- other people may already want to
change things related to the topic as patches against your
"master", so if you need further changes, it is better to
fork the topic (perhaps with the same name) afresh from the
tip of "master".
Let's look at this example:
o---o---o---o---o---o---o---o---o---o "next"
/ / / /
/ a---a---b A / /
/ / / /
/ / c---c---c---c B /
/ / / \ /
/ / / b---b C \ /
/ / / / \ /
---o---o---o---o---o---o---o---o---o---o---o "master"
A, B and C are topic branches.
* A has one fix since it was merged up to "next".
* B has finished. It has been fully merged up to "master" and "next",
and is ready to be deleted.
* C has not merged to "next" at all.
We would want to allow C to be rebased, refuse A, and encourage
B to be deleted.
To compute (1):
git rev-list ^master ^topic next
git rev-list ^master next
if these match, topic has not merged in next at all.
To compute (2):
git rev-list master..topic
if this is empty, it is fully merged to "master".
DOC_END

View file

@ -1,24 +0,0 @@
#!/bin/sh
#
# An example hook script to make use of push options.
# The example simply echoes all push options that start with 'echoback='
# and rejects all pushes when the "reject" push option is used.
#
# To enable this hook, rename this file to "pre-receive".
if test -n "$GIT_PUSH_OPTION_COUNT"
then
i=0
while test "$i" -lt "$GIT_PUSH_OPTION_COUNT"
do
eval "value=\$GIT_PUSH_OPTION_$i"
case "$value" in
echoback=*)
echo "echo from the pre-receive-hook: ${value#*=}" >&2
;;
reject)
exit 1
esac
i=$((i + 1))
done
fi

View file

@ -1,42 +0,0 @@
#!/bin/sh
#
# An example hook script to prepare the commit log message.
# Called by "git commit" with the name of the file that has the
# commit message, followed by the description of the commit
# message's source. The hook's purpose is to edit the commit
# message file. If the hook fails with a non-zero status,
# the commit is aborted.
#
# To enable this hook, rename this file to "prepare-commit-msg".
# This hook includes three examples. The first one removes the
# "# Please enter the commit message..." help message.
#
# The second includes the output of "git diff --name-status -r"
# into the message, just before the "git status" output. It is
# commented because it doesn't cope with --amend or with squashed
# commits.
#
# The third example adds a Signed-off-by line to the message, that can
# still be edited. This is rarely a good idea.
COMMIT_MSG_FILE=$1
COMMIT_SOURCE=$2
SHA1=$3
/usr/bin/perl -i.bak -ne 'print unless(m/^. Please enter the commit message/..m/^#$/)' "$COMMIT_MSG_FILE"
# case "$COMMIT_SOURCE,$SHA1" in
# ,|template,)
# /usr/bin/perl -i.bak -pe '
# print "\n" . `git diff --cached --name-status -r`
# if /^#/ && $first++ == 0' "$COMMIT_MSG_FILE" ;;
# *) ;;
# esac
# SOB=$(git var GIT_COMMITTER_IDENT | sed -n 's/^\(.*>\).*$/Signed-off-by: \1/p')
# git interpret-trailers --in-place --trailer "$SOB" "$COMMIT_MSG_FILE"
# if test -z "$COMMIT_SOURCE"
# then
# /usr/bin/perl -i.bak -pe 'print "\n" if !$first_line++' "$COMMIT_MSG_FILE"
# fi

View file

@ -1,78 +0,0 @@
#!/bin/sh
# An example hook script to update a checked-out tree on a git push.
#
# This hook is invoked by git-receive-pack(1) when it reacts to git
# push and updates reference(s) in its repository, and when the push
# tries to update the branch that is currently checked out and the
# receive.denyCurrentBranch configuration variable is set to
# updateInstead.
#
# By default, such a push is refused if the working tree and the index
# of the remote repository has any difference from the currently
# checked out commit; when both the working tree and the index match
# the current commit, they are updated to match the newly pushed tip
# of the branch. This hook is to be used to override the default
# behaviour; however the code below reimplements the default behaviour
# as a starting point for convenient modification.
#
# The hook receives the commit with which the tip of the current
# branch is going to be updated:
commit=$1
# It can exit with a non-zero status to refuse the push (when it does
# so, it must not modify the index or the working tree).
die () {
echo >&2 "$*"
exit 1
}
# Or it can make any necessary changes to the working tree and to the
# index to bring them to the desired state when the tip of the current
# branch is updated to the new commit, and exit with a zero status.
#
# For example, the hook can simply run git read-tree -u -m HEAD "$1"
# in order to emulate git fetch that is run in the reverse direction
# with git push, as the two-tree form of git read-tree -u -m is
# essentially the same as git switch or git checkout that switches
# branches while keeping the local changes in the working tree that do
# not interfere with the difference between the branches.
# The below is a more-or-less exact translation to shell of the C code
# for the default behaviour for git's push-to-checkout hook defined in
# the push_to_deploy() function in builtin/receive-pack.c.
#
# Note that the hook will be executed from the repository directory,
# not from the working tree, so if you want to perform operations on
# the working tree, you will have to adapt your code accordingly, e.g.
# by adding "cd .." or using relative paths.
if ! git update-index -q --ignore-submodules --refresh
then
die "Up-to-date check failed"
fi
if ! git diff-files --quiet --ignore-submodules --
then
die "Working directory has unstaged changes"
fi
# This is a rough translation of:
#
# head_has_history() ? "HEAD" : EMPTY_TREE_SHA1_HEX
if git cat-file -e HEAD 2>/dev/null
then
head=HEAD
else
head=$(git hash-object -t tree --stdin </dev/null)
fi
if ! git diff-index --quiet --cached --ignore-submodules $head --
then
die "Working directory has staged changes"
fi
if ! git read-tree -u -m "$commit"
then
die "Could not update working tree to new HEAD"
fi

View file

@ -1,128 +0,0 @@
#!/bin/sh
#
# An example hook script to block unannotated tags from entering.
# Called by "git receive-pack" with arguments: refname sha1-old sha1-new
#
# To enable this hook, rename this file to "update".
#
# Config
# ------
# hooks.allowunannotated
# This boolean sets whether unannotated tags will be allowed into the
# repository. By default they won't be.
# hooks.allowdeletetag
# This boolean sets whether deleting tags will be allowed in the
# repository. By default they won't be.
# hooks.allowmodifytag
# This boolean sets whether a tag may be modified after creation. By default
# it won't be.
# hooks.allowdeletebranch
# This boolean sets whether deleting branches will be allowed in the
# repository. By default they won't be.
# hooks.denycreatebranch
# This boolean sets whether remotely creating branches will be denied
# in the repository. By default this is allowed.
#
# --- Command line
refname="$1"
oldrev="$2"
newrev="$3"
# --- Safety check
if [ -z "$GIT_DIR" ]; then
echo "Don't run this script from the command line." >&2
echo " (if you want, you could supply GIT_DIR then run" >&2
echo " $0 <ref> <oldrev> <newrev>)" >&2
exit 1
fi
if [ -z "$refname" -o -z "$oldrev" -o -z "$newrev" ]; then
echo "usage: $0 <ref> <oldrev> <newrev>" >&2
exit 1
fi
# --- Config
allowunannotated=$(git config --type=bool hooks.allowunannotated)
allowdeletebranch=$(git config --type=bool hooks.allowdeletebranch)
denycreatebranch=$(git config --type=bool hooks.denycreatebranch)
allowdeletetag=$(git config --type=bool hooks.allowdeletetag)
allowmodifytag=$(git config --type=bool hooks.allowmodifytag)
# check for no description
projectdesc=$(sed -e '1q' "$GIT_DIR/description")
case "$projectdesc" in
"Unnamed repository"* | "")
echo "*** Project description file hasn't been set" >&2
exit 1
;;
esac
# --- Check types
# if $newrev is 0000...0000, it's a commit to delete a ref.
zero=$(git hash-object --stdin </dev/null | tr '[0-9a-f]' '0')
if [ "$newrev" = "$zero" ]; then
newrev_type=delete
else
newrev_type=$(git cat-file -t $newrev)
fi
case "$refname","$newrev_type" in
refs/tags/*,commit)
# un-annotated tag
short_refname=${refname##refs/tags/}
if [ "$allowunannotated" != "true" ]; then
echo "*** The un-annotated tag, $short_refname, is not allowed in this repository" >&2
echo "*** Use 'git tag [ -a | -s ]' for tags you want to propagate." >&2
exit 1
fi
;;
refs/tags/*,delete)
# delete tag
if [ "$allowdeletetag" != "true" ]; then
echo "*** Deleting a tag is not allowed in this repository" >&2
exit 1
fi
;;
refs/tags/*,tag)
# annotated tag
if [ "$allowmodifytag" != "true" ] && git rev-parse $refname > /dev/null 2>&1
then
echo "*** Tag '$refname' already exists." >&2
echo "*** Modifying a tag is not allowed in this repository." >&2
exit 1
fi
;;
refs/heads/*,commit)
# branch
if [ "$oldrev" = "$zero" -a "$denycreatebranch" = "true" ]; then
echo "*** Creating a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/heads/*,delete)
# delete branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a branch is not allowed in this repository" >&2
exit 1
fi
;;
refs/remotes/*,commit)
# tracking branch
;;
refs/remotes/*,delete)
# delete tracking branch
if [ "$allowdeletebranch" != "true" ]; then
echo "*** Deleting a tracking branch is not allowed in this repository" >&2
exit 1
fi
;;
*)
# Anything else (is there anything else?)
echo "*** Update hook: unknown type of update to ref $refname of type $newrev_type" >&2
exit 1
;;
esac
# --- Finished
exit 0

View file

@ -1,6 +0,0 @@
# git ls-files --others --exclude-from=.git/info/exclude
# Lines that start with '#' are comments.
# For a project mostly in C, the following would be a good set of
# exclude patterns (uncomment them if you want to use them):
# *.[oa]
# *~

View file

@ -1 +0,0 @@
0000000000000000000000000000000000000000 703b16b742b753f6ad077b5c7f51947d1926c530 Andrew Scott <git@acscott.dev> 1668497473 -0500 clone: from https://git.sr.ht/~theorytoe/everforest-theme

View file

@ -1 +0,0 @@
0000000000000000000000000000000000000000 703b16b742b753f6ad077b5c7f51947d1926c530 Andrew Scott <git@acscott.dev> 1668497473 -0500 clone: from https://git.sr.ht/~theorytoe/everforest-theme

View file

@ -1 +0,0 @@
0000000000000000000000000000000000000000 703b16b742b753f6ad077b5c7f51947d1926c530 Andrew Scott <git@acscott.dev> 1668497473 -0500 clone: from https://git.sr.ht/~theorytoe/everforest-theme

View file

@ -1,2 +0,0 @@
# pack-refs with: peeled fully-peeled sorted
703b16b742b753f6ad077b5c7f51947d1926c530 refs/remotes/origin/master

View file

@ -1 +0,0 @@
703b16b742b753f6ad077b5c7f51947d1926c530

View file

@ -1 +0,0 @@
ref: refs/remotes/origin/master

View file

@ -1,805 +0,0 @@
;;; everforest-hard-dark-theme.el --- Everforest Hard Dark Theme -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Evan Sarris
;; Author: Theory_of_Everything <evan@theoryware.net>
;; URL: https://git.sr.ht/~theorytoe/everforest-theme
;; Version: 0.1
;; Package-Requires: ((emacs "24"))
;; This file is not part of GNU Emacs.
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License v3.0 for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; Everforest hard dark
;;; Code:
(deftheme everforest-hard-dark
"Everforest Hard Dark - sainnhe/everforest hard dark port to emacs")
(defvar everforest-hard-dark-colors-alist
(let ((colors `(("everforest-hard-dark-accent" . "#a7c080")
("everforest-hard-dark-fg" . "#d3c6aa")
("everforest-hard-dark-bg" . "#2b3339")
("everforest-hard-dark-bg-1" . "#323c41")
("everforest-hard-dark-bg-hl" . "#3a454a")
("everforest-hard-dark-gutter" . "#445055")
("everforest-hard-dark-mono-1" . "#abb2bf")
("everforest-hard-dark-mono-2" . "#503946")
("everforest-hard-dark-mono-3" . "#859289")
("everforest-hard-dark-cyan" . "#83c092")
("everforest-hard-dark-blue" . "#7fbbb3")
("everforest-hard-dark-purple" . "#d699b6")
("everforest-hard-dark-green" . "#a7c080")
("everforest-hard-dark-red" . "#e67e80")
("everforest-hard-dark-orange" . "#e69875")
("everforest-hard-dark-yellow" . "#ddbc7f")
("everforest-hard-dark-gray" . "#323c41")
("everforest-hard-dark-silver" . "#9da9a0")
("everforest-hard-dark-black" . "#2b3339")
("everforest-hard-dark-border" . "#445055")
("everforest-hard-dark-visual" . "#323c41"))))
colors)
"List of Everforest Hard Dark Colors.")
(defmacro everforest-hard-dark-with-color-variables (&rest body)
"Bind the colors list around BODY."
(declare (indent 0))
`(let ((class '((class color) (min-colors 89)))
,@ (mapcar (lambda (cons)
(list (intern (car cons)) (cdr cons)))
everforest-hard-dark-colors-alist))
,@body))
(everforest-hard-dark-with-color-variables
(custom-theme-set-faces
'everforest-hard-dark
`(default ((t (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-bg))))
`(success ((t (:foreground ,everforest-hard-dark-green))))
`(warning ((t (:foreground ,everforest-hard-dark-yellow))))
`(error ((t (:foreground ,everforest-hard-dark-red :weight bold))))
`(link ((t (:foreground ,everforest-hard-dark-blue :underline t :weight bold))))
`(link-visited ((t (:foreground ,everforest-hard-dark-blue :underline t :weight normal))))
`(cursor ((t (:background ,everforest-hard-dark-fg))))
`(fringe ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-silver))))
`(region ((t (:background ,everforest-hard-dark-gray :distant-foreground ,everforest-hard-dark-mono-2))))
`(highlight ((t (:background ,everforest-hard-dark-gray :distant-foreground ,everforest-hard-dark-mono-2))))
`(hl-line ((t (:background ,everforest-hard-dark-visual :distant-foreground nil))))
`(header-line ((t (:background ,everforest-hard-dark-black))))
`(vertical-border ((t (:background ,everforest-hard-dark-border :foreground ,everforest-hard-dark-border))))
`(secondary-selection ((t (:background ,everforest-hard-dark-bg-1))))
`(query-replace ((t (:inherit (isearch)))))
`(minibuffer-prompt ((t (:foreground ,everforest-hard-dark-blue))))
`(tooltip ((t (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-bg-1 :inherit variable-pitch))))
`(font-lock-builtin-face ((t (:foreground ,everforest-hard-dark-cyan))))
`(font-lock-comment-face ((t (:foreground ,everforest-hard-dark-mono-3 :slant italic))))
`(font-lock-comment-delimiter-face ((default (:inherit (font-lock-comment-face)))))
`(font-lock-doc-face ((t (:inherit (font-lock-string-face)))))
`(font-lock-function-name-face ((t (:foreground ,everforest-hard-dark-green))))
`(font-lock-keyword-face ((t (:foreground ,everforest-hard-dark-red :weight normal))))
`(font-lock-preprocessor-face ((t (:foreground ,everforest-hard-dark-red))))
`(font-lock-string-face ((t (:foreground ,everforest-hard-dark-green))))
`(font-lock-type-face ((t (:foreground ,everforest-hard-dark-green))))
`(font-lock-constant-face ((t (:foreground ,everforest-hard-dark-cyan))))
`(font-lock-variable-name-face ((t (:foreground ,everforest-hard-dark-blue))))
`(font-lock-warning-face ((t (:foreground ,everforest-hard-dark-mono-3 :bold t))))
`(font-lock-negation-char-face ((t (:foreground ,everforest-hard-dark-cyan :bold t))))
`(highlight-numbers-number ((t (:foreground ,everforest-hard-dark-purple))))
;; eob
`(vi-tilde-fringe-face ((t (:foreground ,everforest-hard-dark-silver))))
`(solaire-fringe-face ((t (:foreground ,everforest-hard-dark-silver))))
;; mode-line
`(mode-line ((t (:background ,everforest-hard-dark-visual :foreground ,everforest-hard-dark-silver))))
`(mode-line-buffer-id ((t (:weight bold))))
`(mode-line-emphasis ((t (:weight bold))))
`(mode-line-inactive ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-silver))))
;; window-divider
`(window-divider ((t (:foreground ,everforest-hard-dark-border))))
`(window-divider-first-pixel ((t (:foreground ,everforest-hard-dark-border))))
`(window-divider-last-pixel ((t (:foreground ,everforest-hard-dark-border))))
;; custom
`(custom-state ((t (:foreground ,everforest-hard-dark-green))))
;; Package/Plugin Customizations
;; ido
`(ido-first-match ((t (:foreground ,everforest-hard-dark-purple :weight bold))))
`(ido-only-match ((t (:foreground ,everforest-hard-dark-red :weight bold))))
`(ido-subdir ((t (:foreground ,everforest-hard-dark-blue))))
`(ido-virtual ((t (:foreground ,everforest-hard-dark-mono-3))))
;; ace-jump
`(ace-jump-face-background ((t (:foreground ,everforest-hard-dark-mono-3 :background ,everforest-hard-dark-bg-1 :inverse-video nil))))
`(ace-jump-face-foreground ((t (:foreground ,everforest-hard-dark-red :background ,everforest-hard-dark-bg-1 :inverse-video nil))))
;; ace-window
`(aw-background-face ((t (:inherit font-lock-comment-face))))
`(aw-leading-char-face ((t (:foreground ,everforest-hard-dark-red :weight bold))))
;; centaur-tabs
`(centaur-tabs-default ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-black))))
`(centaur-tabs-selected ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-fg :weight bold))))
`(centaur-tabs-unselected ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-fg :weight light))))
`(centaur-tabs-selected-modified ((t (:background ,everforest-hard-dark-bg
:foreground ,everforest-hard-dark-blue :weight bold))))
`(centaur-tabs-unselected-modified ((t (:background ,everforest-hard-dark-black :weight light
:foreground ,everforest-hard-dark-blue))))
`(centaur-tabs-active-bar-face ((t (:background ,everforest-hard-dark-accent))))
`(centaur-tabs-modified-marker-selected ((t (:inherit 'centaur-tabs-selected :foreground,everforest-hard-dark-accent))))
`(centaur-tabs-modified-marker-unselected ((t (:inherit 'centaur-tabs-unselected :foreground,everforest-hard-dark-accent))))
;; company-mode
`(company-tooltip ((t (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-gray))))
`(company-tooltip-annotation ((t (:foreground ,everforest-hard-dark-mono-2 :background ,everforest-hard-dark-gray))))
`(company-tooltip-annotation-selection ((t (:foreground ,everforest-hard-dark-mono-2 :background ,everforest-hard-dark-mono-3))))
`(company-tooltip-selection ((t (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-mono-3))))
`(company-tooltip-mouse ((t (:background ,everforest-hard-dark-gray))))
`(company-tooltip-common ((t (:foreground ,everforest-hard-dark-yellow :background ,everforest-hard-dark-gray))))
`(company-tooltip-common-selection ((t (:foreground ,everforest-hard-dark-yellow :background ,everforest-hard-dark-mono-3))))
`(company-preview ((t (:background ,everforest-hard-dark-bg))))
`(company-preview-common ((t (:foreground ,everforest-hard-dark-yellow :background ,everforest-hard-dark-bg))))
`(company-scrollbar-fg ((t (:background ,everforest-hard-dark-mono-1))))
`(company-scrollbar-bg ((t (:background ,everforest-hard-dark-gray))))
`(company-template-field ((t (:inherit highlight))))
;; doom-modeline
`(doom-modeline-bar ((t (:background ,everforest-hard-dark-accent))))
;; flyspell
`(flyspell-duplicate ((t (:underline (:color ,everforest-hard-dark-cyan :style wave)))))
`(flyspell-incorrect ((t (:underline (:color ,everforest-hard-dark-red :style wave)))))
;; flymake
`(flymake-error ((t (:underline (:color ,everforest-hard-dark-red :style wave)))))
`(flymake-note ((t (:underline (:color ,everforest-hard-dark-green :style wave)))))
`(flymake-warning ((t (:underline (:color ,everforest-hard-dark-orange :style wave)))))
;; flycheck
`(flycheck-error ((t (:underline (:color ,everforest-hard-dark-red :style wave)))))
`(flycheck-info ((t (:underline (:color ,everforest-hard-dark-green :style wave)))))
`(flycheck-warning ((t (:underline (:color ,everforest-hard-dark-orange :style wave)))))
;; compilation
`(compilation-face ((t (:foreground ,everforest-hard-dark-fg))))
`(compilation-line-number ((t (:foreground ,everforest-hard-dark-mono-2))))
`(compilation-column-number ((t (:foreground ,everforest-hard-dark-mono-2))))
`(compilation-mode-line-exit ((t (:inherit compilation-info :weight bold))))
`(compilation-mode-line-fail ((t (:inherit compilation-error :weight bold))))
;; isearch
`(isearch ((t (:foreground ,everforest-hard-dark-bg :background ,everforest-hard-dark-purple))))
`(isearch-fail ((t (:foreground ,everforest-hard-dark-red :background nil))))
`(lazy-highlight ((t (:foreground ,everforest-hard-dark-purple :background ,everforest-hard-dark-bg-1 :underline ,everforest-hard-dark-purple))))
;; diff-hl (https://github.com/dgutov/diff-hl)
'(diff-hl-change ((t (:foreground "#E9C062" :background "#8b733a"))))
'(diff-hl-delete ((t (:foreground "#CC6666" :background "#7a3d3d"))))
'(diff-hl-insert ((t (:foreground "#A8FF60" :background "#547f30"))))
;; dired-mode
'(dired-directory ((t (:inherit (font-lock-keyword-face)))))
'(dired-flagged ((t (:inherit (diff-hl-delete)))))
'(dired-symlink ((t (:foreground "#FD5FF1"))))
`(diredfl-file-name ((t (:foreground ,everforest-hard-dark-fg))))
`(diredfl-file-suffix ((t (:foreground ,everforest-hard-dark-fg))))
`(diredfl-number ((t (:foreground ,everforest-hard-dark-red))))
`(diredfl-date-time ((t (:foreground ,everforest-hard-dark-blue))))
`(diredfl-no-priv ((t (:foreground ,everforest-hard-dark-yellow))))
`(diredfl-dir-priv ((t (:foreground ,everforest-hard-dark-yellow))))
`(diredfl-read-priv ((t (:foreground ,everforest-hard-dark-yellow))))
`(diredfl-write-priv ((t (:foreground ,everforest-hard-dark-yellow))))
`(diredfl-exec-priv ((t (:foreground ,everforest-hard-dark-yellow))))
`(diredfl-link-priv ((t (:foreground ,everforest-hard-dark-yellow))))
`(diredfl-dir-heading ((t (:foreground ,everforest-hard-dark-green :weight bold))))
;; dired-async
`(dired-async-failures ((t (:inherit error))))
`(dired-async-message ((t (:inherit success))))
`(dired-async-mode-message ((t (:foreground ,everforest-hard-dark-orange))))
;; helm
`(helm-header ((t (:foreground ,everforest-hard-dark-mono-2
:background ,everforest-hard-dark-bg
:underline nil
:box (:line-width 6 :color ,everforest-hard-dark-bg)))))
`(helm-source-header ((t (:foreground ,everforest-hard-dark-yellow
:background ,everforest-hard-dark-bg
:underline nil
:weight bold
:box (:line-width 6 :color ,everforest-hard-dark-bg)))))
`(helm-selection ((t (:background ,everforest-hard-dark-gray))))
`(helm-selection-line ((t (:background ,everforest-hard-dark-gray))))
`(helm-visible-mark ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-yellow))))
`(helm-candidate-number ((t (:foreground ,everforest-hard-dark-green :background ,everforest-hard-dark-bg-1))))
`(helm-separator ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-red))))
`(helm-M-x-key ((t (:foreground ,everforest-hard-dark-orange))))
`(helm-bookmark-addressbook ((t (:foreground ,everforest-hard-dark-orange))))
`(helm-bookmark-directory ((t (:foreground nil :background nil :inherit helm-ff-directory))))
`(helm-bookmark-file ((t (:foreground nil :background nil :inherit helm-ff-file))))
`(helm-bookmark-gnus ((t (:foreground ,everforest-hard-dark-purple))))
`(helm-bookmark-info ((t (:foreground ,everforest-hard-dark-green))))
`(helm-bookmark-man ((t (:foreground ,everforest-hard-dark-yellow))))
`(helm-bookmark-w3m ((t (:foreground ,everforest-hard-dark-purple))))
`(helm-match ((t (:foreground ,everforest-hard-dark-yellow))))
`(helm-ff-directory ((t (:foreground ,everforest-hard-dark-cyan :background ,everforest-hard-dark-bg :weight bold))))
`(helm-ff-file ((t (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-bg :weight normal))))
`(helm-ff-executable ((t (:foreground ,everforest-hard-dark-green :background ,everforest-hard-dark-bg :weight normal))))
`(helm-ff-invalid-symlink ((t (:foreground ,everforest-hard-dark-red :background ,everforest-hard-dark-bg :weight bold))))
`(helm-ff-symlink ((t (:foreground ,everforest-hard-dark-yellow :background ,everforest-hard-dark-bg :weight bold))))
`(helm-ff-prefix ((t (:foreground ,everforest-hard-dark-bg :background ,everforest-hard-dark-yellow :weight normal))))
`(helm-buffer-not-saved ((t (:foreground ,everforest-hard-dark-red))))
`(helm-buffer-process ((t (:foreground ,everforest-hard-dark-mono-2))))
`(helm-buffer-saved-out ((t (:foreground ,everforest-hard-dark-fg))))
`(helm-buffer-size ((t (:foreground ,everforest-hard-dark-mono-2))))
`(helm-buffer-directory ((t (:foreground ,everforest-hard-dark-purple))))
`(helm-grep-cmd-line ((t (:foreground ,everforest-hard-dark-cyan))))
`(helm-grep-file ((t (:foreground ,everforest-hard-dark-fg))))
`(helm-grep-finish ((t (:foreground ,everforest-hard-dark-green))))
`(helm-grep-lineno ((t (:foreground ,everforest-hard-dark-mono-2))))
`(helm-grep-finish ((t (:foreground ,everforest-hard-dark-red))))
`(helm-grep-match ((t (:foreground nil :background nil :inherit helm-match))))
`(helm-swoop-target-line-block-face ((t (:background ,everforest-hard-dark-mono-3 :foreground "#222222"))))
`(helm-swoop-target-line-face ((t (:background ,everforest-hard-dark-mono-3 :foreground "#222222"))))
`(helm-swoop-target-word-face ((t (:background ,everforest-hard-dark-purple :foreground "#ffffff"))))
`(helm-locate-finish ((t (:foreground ,everforest-hard-dark-green))))
`(info-menu-star ((t (:foreground ,everforest-hard-dark-red))))
;; ivy
`(ivy-confirm-face ((t (:inherit minibuffer-prompt :foreground ,everforest-hard-dark-green))))
`(ivy-current-match ((t (:background ,everforest-hard-dark-gray :weight normal))))
`(ivy-highlight-face ((t (:inherit font-lock-builtin-face))))
`(ivy-match-required-face ((t (:inherit minibuffer-prompt :foreground ,everforest-hard-dark-red))))
`(ivy-minibuffer-match-face-1 ((t (:background ,everforest-hard-dark-bg-hl))))
`(ivy-minibuffer-match-face-2 ((t (:inherit ivy-minibuffer-match-face-1 :background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-purple :weight semi-bold))))
`(ivy-minibuffer-match-face-3 ((t (:inherit ivy-minibuffer-match-face-2 :background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-green :weight semi-bold))))
`(ivy-minibuffer-match-face-4 ((t (:inherit ivy-minibuffer-match-face-2 :background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-yellow :weight semi-bold))))
`(ivy-minibuffer-match-highlight ((t (:inherit ivy-current-match))))
`(ivy-modified-buffer ((t (:inherit default :foreground ,everforest-hard-dark-orange))))
`(ivy-virtual ((t (:inherit font-lock-builtin-face :slant italic))))
;; counsel
`(counsel-key-binding ((t (:foreground ,everforest-hard-dark-yellow :weight bold))))
;; swiper
`(swiper-match-face-1 ((t (:inherit ivy-minibuffer-match-face-1))))
`(swiper-match-face-2 ((t (:inherit ivy-minibuffer-match-face-2))))
`(swiper-match-face-3 ((t (:inherit ivy-minibuffer-match-face-3))))
`(swiper-match-face-4 ((t (:inherit ivy-minibuffer-match-face-4))))
;; git-commit
`(git-commit-comment-action ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(git-commit-comment-branch ((t (:foreground ,everforest-hard-dark-blue :weight bold))))
`(git-commit-comment-heading ((t (:foreground ,everforest-hard-dark-yellow :weight bold))))
;; git-gutter
`(git-gutter:added ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(git-gutter:deleted ((t (:foreground ,everforest-hard-dark-red :weight bold))))
`(git-gutter:modified ((t (:foreground ,everforest-hard-dark-orange :weight bold))))
;; eshell
`(eshell-ls-archive ((t (:foreground ,everforest-hard-dark-purple :weight bold))))
`(eshell-ls-backup ((t (:foreground ,everforest-hard-dark-yellow))))
`(eshell-ls-clutter ((t (:foreground ,everforest-hard-dark-red :weight bold))))
`(eshell-ls-directory ((t (:foreground ,everforest-hard-dark-blue :weight bold))))
`(eshell-ls-executable ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(eshell-ls-missing ((t (:foreground ,everforest-hard-dark-red :weight bold))))
`(eshell-ls-product ((t (:foreground ,everforest-hard-dark-yellow))))
`(eshell-ls-special ((t (:foreground "#FD5FF1" :weight bold))))
`(eshell-ls-symlink ((t (:foreground ,everforest-hard-dark-cyan :weight bold))))
`(eshell-ls-unreadable ((t (:foreground ,everforest-hard-dark-mono-1))))
`(eshell-prompt ((t (:inherit minibuffer-prompt))))
;; man
`(Man-overstrike ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(Man-underline ((t (:inherit font-lock-keyword-face :slant italic :weight bold))))
;; woman
`(woman-bold ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(woman-italic ((t (:inherit font-lock-keyword-face :slant italic :weight bold))))
;; dictionary
`(dictionary-button-face ((t (:inherit widget-button))))
`(dictionary-reference-face ((t (:inherit font-lock-type-face :weight bold))))
`(dictionary-word-entry-face ((t (:inherit font-lock-keyword-face :slant italic :weight bold))))
;; erc
`(erc-error-face ((t (:inherit error))))
`(erc-input-face ((t (:inherit shadow))))
`(erc-my-nick-face ((t (:foreground ,everforest-hard-dark-accent))))
`(erc-notice-face ((t (:inherit font-lock-comment-face))))
`(erc-timestamp-face ((t (:foreground ,everforest-hard-dark-green :weight bold))))
;; jabber
`(jabber-roster-user-online ((t (:foreground ,everforest-hard-dark-green))))
`(jabber-roster-user-away ((t (:foreground ,everforest-hard-dark-red))))
`(jabber-roster-user-xa ((t (:foreground ,everforest-hard-dark-red))))
`(jabber-roster-user-dnd ((t (:foreground ,everforest-hard-dark-purple))))
`(jabber-roster-user-chatty ((t (:foreground ,everforest-hard-dark-yellow))))
`(jabber-roster-user-error ((t (:foreground ,everforest-hard-dark-red :bold t))))
`(jabber-roster-user-offline ((t (:foreground ,everforest-hard-dark-mono-3))))
`(jabber-chat-prompt-local ((t (:foreground ,everforest-hard-dark-blue))))
`(jabber-chat-prompt-foreign ((t (:foreground ,everforest-hard-dark-yellow))))
`(jabber-chat-prompt-system ((t (:foreground ,everforest-hard-dark-mono-3))))
`(jabber-chat-error ((t (:inherit jabber-roster-user-error))))
`(jabber-rare-time-face ((t (:foreground ,everforest-hard-dark-cyan))))
`(jabber-activity-face ((t (:inherit jabber-chat-prompt-foreign))))
`(jabber-activity-personal-face ((t (:inherit jabber-chat-prompt-local))))
;; eww
`(eww-form-checkbox ((t (:inherit eww-form-submit))))
`(eww-form-file ((t (:inherit eww-form-submit))))
`(eww-form-select ((t (:inherit eww-form-submit))))
`(eww-form-submit ((t (:background ,everforest-hard-dark-gray :foreground ,everforest-hard-dark-fg :box (:line-width 2 :color ,everforest-hard-dark-border :style released-button)))))
`(eww-form-text ((t (:inherit widget-field :box (:line-width 1 :color ,everforest-hard-dark-border)))))
`(eww-form-textarea ((t (:inherit eww-form-text))))
`(eww-invalid-certificate ((t (:foreground ,everforest-hard-dark-red))))
`(eww-valid-certificate ((t (:foreground ,everforest-hard-dark-green))))
;; ediff
`(ediff-fine-diff-Ancestor ((t (:background "#885555"))))
`(ediff-fine-diff-A ((t (:background "#885555"))))
`(ediff-fine-diff-B ((t (:background "#558855"))))
`(ediff-fine-diff-C ((t (:background "#555588"))))
`(ediff-current-diff-Ancestor ((t (:background "#663333"))))
`(ediff-current-diff-A ((t (:background "#663333"))))
`(ediff-current-diff-B ((t (:background "#336633"))))
`(ediff-current-diff-C ((t (:background "#333366"))))
`(ediff-even-diff-Ancestor ((t (:background "#181a1f"))))
`(ediff-even-diff-A ((t (:background "#181a1f"))))
`(ediff-even-diff-B ((t (:background "#181a1f"))))
`(ediff-even-diff-C ((t (:background "#181a1f"))))
`(ediff-odd-diff-Ancestor ((t (:background "#181a1f"))))
`(ediff-odd-diff-A ((t (:background "#181a1f"))))
`(ediff-odd-diff-B ((t (:background "#181a1f"))))
`(ediff-odd-diff-C ((t (:background "#181a1f"))))
;; magit
`(magit-section-highlight ((t (:background ,everforest-hard-dark-bg-hl))))
`(magit-section-heading ((t (:foreground ,everforest-hard-dark-yellow :weight bold))))
`(magit-section-heading-selection ((t (:foreground ,everforest-hard-dark-fg :weight bold))))
`(magit-diff-file-heading ((t (:weight bold))))
`(magit-diff-file-heading-highlight ((t (:background ,everforest-hard-dark-gray :weight bold))))
`(magit-diff-file-heading-selection ((t (:foreground ,everforest-hard-dark-yellow :background ,everforest-hard-dark-bg-hl :weight bold))))
`(magit-diff-hunk-heading ((t (:foreground ,everforest-hard-dark-mono-2 :background ,everforest-hard-dark-gray))))
`(magit-diff-hunk-heading-highlight ((t (:foreground ,everforest-hard-dark-mono-1 :background ,everforest-hard-dark-mono-3))))
`(magit-diff-hunk-heading-selection ((t (:foreground ,everforest-hard-dark-purple :background ,everforest-hard-dark-mono-3))))
`(magit-diff-context ((t (:foreground ,everforest-hard-dark-fg))))
`(magit-diff-context-highlight ((t (:background ,everforest-hard-dark-bg-1 :foreground ,everforest-hard-dark-fg))))
`(magit-diffstat-added ((t (:foreground ,everforest-hard-dark-green))))
`(magit-diffstat-removed ((t (:foreground ,everforest-hard-dark-red))))
`(magit-process-ok ((t (:foreground ,everforest-hard-dark-green))))
`(magit-process-ng ((t (:foreground ,everforest-hard-dark-red))))
`(magit-log-author ((t (:foreground ,everforest-hard-dark-yellow))))
`(magit-log-date ((t (:foreground ,everforest-hard-dark-mono-2))))
`(magit-log-graph ((t (:foreground ,everforest-hard-dark-silver))))
`(magit-sequence-pick ((t (:foreground ,everforest-hard-dark-yellow))))
`(magit-sequence-stop ((t (:foreground ,everforest-hard-dark-green))))
`(magit-sequence-part ((t (:foreground ,everforest-hard-dark-orange))))
`(magit-sequence-head ((t (:foreground ,everforest-hard-dark-blue))))
`(magit-sequence-drop ((t (:foreground ,everforest-hard-dark-red))))
`(magit-sequence-done ((t (:foreground ,everforest-hard-dark-mono-2))))
`(magit-sequence-onto ((t (:foreground ,everforest-hard-dark-mono-2))))
`(magit-bisect-good ((t (:foreground ,everforest-hard-dark-green))))
`(magit-bisect-skip ((t (:foreground ,everforest-hard-dark-orange))))
`(magit-bisect-bad ((t (:foreground ,everforest-hard-dark-red))))
`(magit-blame-heading ((t (:background ,everforest-hard-dark-bg-1 :foreground ,everforest-hard-dark-mono-2))))
`(magit-blame-hash ((t (:background ,everforest-hard-dark-bg-1 :foreground ,everforest-hard-dark-purple))))
`(magit-blame-name ((t (:background ,everforest-hard-dark-bg-1 :foreground ,everforest-hard-dark-yellow))))
`(magit-blame-date ((t (:background ,everforest-hard-dark-bg-1 :foreground ,everforest-hard-dark-mono-3))))
`(magit-blame-summary ((t (:background ,everforest-hard-dark-bg-1 :foreground ,everforest-hard-dark-mono-2))))
`(magit-dimmed ((t (:foreground ,everforest-hard-dark-mono-2))))
`(magit-hash ((t (:foreground ,everforest-hard-dark-purple))))
`(magit-tag ((t (:foreground ,everforest-hard-dark-orange :weight bold))))
`(magit-branch-remote ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(magit-branch-local ((t (:foreground ,everforest-hard-dark-blue :weight bold))))
`(magit-branch-current ((t (:foreground ,everforest-hard-dark-blue :weight bold :box t))))
`(magit-head ((t (:foreground ,everforest-hard-dark-blue :weight bold))))
`(magit-refname ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-fg :weight bold))))
`(magit-refname-stash ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-fg :weight bold))))
`(magit-refname-wip ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-fg :weight bold))))
`(magit-signature-good ((t (:foreground ,everforest-hard-dark-green))))
`(magit-signature-bad ((t (:foreground ,everforest-hard-dark-red))))
`(magit-signature-untrusted ((t (:foreground ,everforest-hard-dark-orange))))
`(magit-cherry-unmatched ((t (:foreground ,everforest-hard-dark-cyan))))
`(magit-cherry-equivalent ((t (:foreground ,everforest-hard-dark-purple))))
`(magit-reflog-commit ((t (:foreground ,everforest-hard-dark-green))))
`(magit-reflog-amend ((t (:foreground ,everforest-hard-dark-purple))))
`(magit-reflog-merge ((t (:foreground ,everforest-hard-dark-green))))
`(magit-reflog-checkout ((t (:foreground ,everforest-hard-dark-blue))))
`(magit-reflog-reset ((t (:foreground ,everforest-hard-dark-red))))
`(magit-reflog-rebase ((t (:foreground ,everforest-hard-dark-purple))))
`(magit-reflog-cherry-pick ((t (:foreground ,everforest-hard-dark-green))))
`(magit-reflog-remote ((t (:foreground ,everforest-hard-dark-cyan))))
`(magit-reflog-other ((t (:foreground ,everforest-hard-dark-cyan))))
;; message
`(message-cited-text ((t (:foreground ,everforest-hard-dark-green))))
`(message-header-cc ((t (:foreground ,everforest-hard-dark-orange :weight bold))))
`(message-header-name ((t (:foreground ,everforest-hard-dark-purple))))
`(message-header-newsgroups ((t (:foreground ,everforest-hard-dark-yellow :weight bold :slant italic))))
`(message-header-other ((t (:foreground ,everforest-hard-dark-red))))
`(message-header-subject ((t (:foreground ,everforest-hard-dark-blue))))
`(message-header-to ((t (:foreground ,everforest-hard-dark-yellow :weight bold))))
`(message-header-xheader ((t (:foreground ,everforest-hard-dark-silver))))
`(message-mml ((t (:foreground ,everforest-hard-dark-purple))))
`(message-separator ((t (:foreground ,everforest-hard-dark-mono-3 :slant italic))))
;; epa
`(epa-field-body ((t (:foreground ,everforest-hard-dark-blue :slant italic))))
`(epa-field-name ((t (:foreground ,everforest-hard-dark-cyan :weight bold))))
;; notmuch
`(notmuch-crypto-decryption ((t (:foreground ,everforest-hard-dark-purple :background ,everforest-hard-dark-black))))
`(notmuch-crypto-signature-bad ((t (:foreground ,everforest-hard-dark-red :background ,everforest-hard-dark-black))))
`(notmuch-crypto-signature-good ((t (:foreground ,everforest-hard-dark-green :background ,everforest-hard-dark-black))))
`(notmuch-crypto-signature-good-key ((t (:foreground ,everforest-hard-dark-green :background ,everforest-hard-dark-black))))
`(notmuch-crypto-signature-unknown ((t (:foreground ,everforest-hard-dark-orange :background ,everforest-hard-dark-black))))
`(notmuch-hello-logo-background ((t (:inherit default))))
`(notmuch-message-summary-face ((t (:background ,everforest-hard-dark-black))))
`(notmuch-search-count ((t (:inherit default :foreground ,everforest-hard-dark-silver))))
`(notmuch-search-date ((t (:inherit default :foreground ,everforest-hard-dark-purple))))
`(notmuch-search-matching-authors ((t (:inherit default :foreground ,everforest-hard-dark-yellow))))
`(notmuch-search-non-matching-authors ((t (:inherit font-lock-comment-face :slant italic))))
`(notmuch-tag-added ((t (:underline t))))
`(notmuch-tag-deleted ((t (:strike-through ,everforest-hard-dark-red))))
`(notmuch-tag-face ((t (:foreground ,everforest-hard-dark-green))))
`(notmuch-tag-unread ((t (:foreground ,everforest-hard-dark-red))))
`(notmuch-tree-match-author-face ((t (:inherit notmuch-search-matching-authors))))
`(notmuch-tree-match-date-face ((t (:inherit notmuch-search-date))))
`(notmuch-tree-match-face ((t (:weight semi-bold))))
`(notmuch-tree-match-tag-face ((t (:inherit notmuch-tag-face))))
`(notmuch-tree-no-match-face ((t (:slant italic :weight light :inherit font-lock-comment-face))))
;; mu4e
`(mu4e-header-key-face ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(mu4e-header-title-face ((t (:foreground ,everforest-hard-dark-blue))))
`(mu4e-title-face ((t (:foreground ,everforest-hard-dark-green :weight bold))))
;; calendar
`(cfw:face-title ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(cfw:face-select ((t (:foreground ,everforest-hard-dark-bg :background ,everforest-hard-dark-fg))))
`(cfw:face-header ((t (:foreground ,everforest-hard-dark-fg :weight bold))))
`(cfw:face-sunday ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(cfw:face-holiday ((t (:foreground ,everforest-hard-dark-blue :weight bold))))
`(cfw:face-toolbar ((t (:background ,everforest-hard-dark-bg))))
`(cfw:face-toolbar-button-on ((t (:foreground ,everforest-hard-dark-fg :weight bold))))
`(cfw:face-toolbar-button-off ((t (:foreground ,everforest-hard-dark-silver :weight bold))))
`(cfw:face-day-title ((t (:background ,everforest-hard-dark-bg))))
`(cfw:face-today-title ((t (:foreground ,everforest-hard-dark-bg :background ,everforest-hard-dark-green))))
;; elfeed
`(elfeed-log-debug-level-face ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-green))))
`(elfeed-log-error-level-face ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-red))))
`(elfeed-log-info-level-face ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-blue))))
`(elfeed-log-warn-level-face ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-orange))))
`(elfeed-search-date-face ((t (:foreground ,everforest-hard-dark-purple))))
`(elfeed-search-feed-face ((t (:foreground ,everforest-hard-dark-yellow))))
`(elfeed-search-tag-face ((t (:foreground ,everforest-hard-dark-green))))
`(elfeed-search-title-face ((t (:foreground ,everforest-hard-dark-silver))))
`(elfeed-search-unread-title-face ((t (:foreground ,everforest-hard-dark-mono-1 :weight bold))))
`(elfeed-search-unread-count-face ((t (:foreground ,everforest-hard-dark-silver))))
;; perspective
`(persp-selected-face ((t (:foreground ,everforest-hard-dark-blue))))
;; powerline
`(powerline-active1 ((,class (:background ,everforest-hard-dark-bg-hl :foreground ,everforest-hard-dark-purple))))
`(powerline-active2 ((,class (:background ,everforest-hard-dark-bg-hl :foreground ,everforest-hard-dark-purple))))
`(powerline-inactive1 ((,class (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-fg))))
`(powerline-inactive2 ((,class (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-fg))))
;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((t (:foreground ,everforest-hard-dark-green))))
`(rainbow-delimiters-depth-2-face ((t (:foreground ,everforest-hard-dark-red))))
`(rainbow-delimiters-depth-3-face ((t (:foreground ,everforest-hard-dark-blue))))
`(rainbow-delimiters-depth-4-face ((t (:foreground ,everforest-hard-dark-cyan))))
`(rainbow-delimiters-depth-5-face ((t (:foreground ,everforest-hard-dark-purple))))
`(rainbow-delimiters-depth-6-face ((t (:foreground ,everforest-hard-dark-yellow))))
`(rainbow-delimiters-depth-7-face ((t (:foreground ,everforest-hard-dark-orange))))
`(rainbow-delimiters-depth-8-face ((t (:foreground ,everforest-hard-dark-green))))
`(rainbow-delimiters-depth-9-face ((t (:foreground ,everforest-hard-dark-orange))))
`(rainbow-delimiters-depth-10-face ((t (:foreground ,everforest-hard-dark-cyan))))
`(rainbow-delimiters-depth-11-face ((t (:foreground ,everforest-hard-dark-purple))))
`(rainbow-delimiters-depth-12-face ((t (:foreground ,everforest-hard-dark-yellow))))
`(rainbow-delimiters-unmatched-face ((t (:foreground ,everforest-hard-dark-red :weight bold))))
;; rbenv
`(rbenv-active-ruby-face ((t (:foreground ,everforest-hard-dark-green))))
;; elixir
`(elixir-atom-face ((t (:foreground ,everforest-hard-dark-cyan))))
`(elixir-attribute-face ((t (:foreground ,everforest-hard-dark-red))))
;; show-paren
`(show-paren-match ((,class (:foreground ,everforest-hard-dark-purple :inherit bold :underline t))))
`(show-paren-mismatch ((,class (:foreground ,everforest-hard-dark-red :inherit bold :underline t))))
;; cider
`(cider-fringe-good-face ((t (:foreground ,everforest-hard-dark-green))))
;; sly
`(sly-error-face ((t (:underline (:color ,everforest-hard-dark-red :style wave)))))
`(sly-mrepl-note-face ((t (:inherit font-lock-comment-face))))
`(sly-mrepl-output-face ((t (:inherit font-lock-string-face))))
`(sly-mrepl-prompt-face ((t (:inherit comint-highlight-prompt))))
`(sly-note-face ((t (:underline (:color ,everforest-hard-dark-green :style wave)))))
`(sly-style-warning-face ((t (:underline (:color ,everforest-hard-dark-yellow :style wave)))))
`(sly-warning-face ((t (:underline (:color ,everforest-hard-dark-orange :style wave)))))
;; smartparens
`(sp-show-pair-mismatch-face ((t (:foreground ,everforest-hard-dark-red :background ,everforest-hard-dark-gray :weight bold))))
`(sp-show-pair-match-face ((t (:foreground ,everforest-hard-dark-blue :weight bold :underline t))))
;; lispy
`(lispy-face-hint ((t (:background ,everforest-hard-dark-border :foreground ,everforest-hard-dark-yellow))))
;; lispyville
`(lispyville-special-face ((t (:foreground ,everforest-hard-dark-red))))
;; spaceline
`(spaceline-flycheck-error ((,class (:foreground ,everforest-hard-dark-red))))
`(spaceline-flycheck-info ((,class (:foreground ,everforest-hard-dark-green))))
`(spaceline-flycheck-warning ((,class (:foreground ,everforest-hard-dark-orange))))
`(spaceline-python-venv ((,class (:foreground ,everforest-hard-dark-purple))))
;; solaire mode
`(solaire-default-face ((,class (:inherit default :background ,everforest-hard-dark-black))))
`(solaire-minibuffer-face ((,class (:inherit default :background ,everforest-hard-dark-black))))
;; web-mode
`(web-mode-doctype-face ((t (:inherit font-lock-comment-face))))
`(web-mode-error-face ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-red))))
`(web-mode-html-attr-equal-face ((t (:inherit default))))
`(web-mode-html-attr-name-face ((t (:foreground ,everforest-hard-dark-orange))))
`(web-mode-html-tag-bracket-face ((t (:inherit default))))
`(web-mode-html-tag-face ((t (:foreground ,everforest-hard-dark-red))))
`(web-mode-symbol-face ((t (:foreground ,everforest-hard-dark-orange))))
;; nxml
`(nxml-attribute-local-name ((t (:foreground ,everforest-hard-dark-orange))))
`(nxml-element-local-name ((t (:foreground ,everforest-hard-dark-red))))
`(nxml-markup-declaration-delimiter ((t (:inherit (font-lock-comment-face nxml-delimiter)))))
`(nxml-processing-instruction-delimiter ((t (:inherit nxml-markup-declaration-delimiter))))
;; flx-ido
`(flx-highlight-face ((t (:inherit (link) :weight bold))))
;; rpm-spec-mode
`(rpm-spec-tag-face ((t (:foreground ,everforest-hard-dark-blue))))
`(rpm-spec-obsolete-tag-face ((t (:foreground "#FFFFFF" :background ,everforest-hard-dark-red))))
`(rpm-spec-macro-face ((t (:foreground ,everforest-hard-dark-yellow))))
`(rpm-spec-var-face ((t (:foreground ,everforest-hard-dark-red))))
`(rpm-spec-doc-face ((t (:foreground ,everforest-hard-dark-purple))))
`(rpm-spec-dir-face ((t (:foreground ,everforest-hard-dark-cyan))))
`(rpm-spec-package-face ((t (:foreground ,everforest-hard-dark-red))))
`(rpm-spec-ghost-face ((t (:foreground ,everforest-hard-dark-red))))
`(rpm-spec-section-face ((t (:foreground ,everforest-hard-dark-yellow))))
;; guix
`(guix-true ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(guix-build-log-phase-end ((t (:inherit success))))
`(guix-build-log-phase-start ((t (:inherit success :weight bold))))
;; gomoku
`(gomoku-O ((t (:foreground ,everforest-hard-dark-red :weight bold))))
`(gomoku-X ((t (:foreground ,everforest-hard-dark-green :weight bold))))
;; tabbar
`(tabbar-default ((,class (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-black))))
`(tabbar-highlight ((,class (:underline t))))
`(tabbar-button ((,class (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-bg))))
`(tabbar-button-highlight ((,class (:inherit 'tabbar-button :inverse-video t))))
`(tabbar-modified ((,class (:inherit tabbar-button :foreground ,everforest-hard-dark-purple :weight light :slant italic))))
`(tabbar-unselected ((,class (:inherit tabbar-default :foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-black :slant italic :underline nil :box (:line-width 1 :color ,everforest-hard-dark-bg)))))
`(tabbar-unselected-modified ((,class (:inherit tabbar-modified :background ,everforest-hard-dark-black :underline nil :box (:line-width 1 :color ,everforest-hard-dark-bg)))))
`(tabbar-selected ((,class (:inherit tabbar-default :foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-bg :weight bold :underline nil :box (:line-width 1 :color ,everforest-hard-dark-bg)))))
`(tabbar-selected-modified ((,class (:inherit tabbar-selected :foreground ,everforest-hard-dark-purple :underline nil :box (:line-width 1 :color ,everforest-hard-dark-bg)))))
;; linum
`(linum ((t (:foreground ,everforest-hard-dark-gutter :background ,everforest-hard-dark-bg))))
;; hlinum
`(linum-highlight-face ((t (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-bg))))
;; native line numbers (emacs version >=26)
`(line-number ((t (:foreground ,everforest-hard-dark-gutter :background ,everforest-hard-dark-bg))))
`(line-number-current-line ((t (:foreground ,everforest-hard-dark-fg :background ,everforest-hard-dark-bg))))
;; regexp-builder
`(reb-match-0 ((t (:background ,everforest-hard-dark-gray))))
`(reb-match-1 ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-purple :weight semi-bold))))
`(reb-match-2 ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-green :weight semi-bold))))
`(reb-match-3 ((t (:background ,everforest-hard-dark-black :foreground ,everforest-hard-dark-yellow :weight semi-bold))))
;; desktop-entry
`(desktop-entry-deprecated-keyword-face ((t (:inherit font-lock-warning-face))))
`(desktop-entry-group-header-face ((t (:inherit font-lock-type-face))))
`(desktop-entry-locale-face ((t (:inherit font-lock-string-face))))
`(desktop-entry-unknown-keyword-face ((t (:underline (:color ,everforest-hard-dark-red :style wave) :inherit font-lock-keyword-face))))
`(desktop-entry-value-face ((t (:inherit default))))
;; calendar
`(diary ((t (:inherit warning))))
`(holiday ((t (:foreground ,everforest-hard-dark-green))))
;; gud
`(breakpoint-disabled ((t (:foreground ,everforest-hard-dark-orange))))
`(breakpoint-enabled ((t (:foreground ,everforest-hard-dark-red :weight bold))))
;; realgud
`(realgud-overlay-arrow1 ((t (:foreground ,everforest-hard-dark-green))))
`(realgud-overlay-arrow3 ((t (:foreground ,everforest-hard-dark-orange)) `(realgud-overlay-arrow2 ((t (:foreground ,everforest-hard-dark-yellow))))
))
'(realgud-bp-enabled-face ((t (:inherit (error)))))
`(realgud-bp-disabled-face ((t (:inherit (secondary-selection)))))
`(realgud-bp-line-enabled-face ((t (:box (:color ,everforest-hard-dark-red)))))
`(realgud-bp-line-disabled-face ((t (:box (:color ,everforest-hard-dark-gray)))))
`(realgud-line-number ((t (:foreground ,everforest-hard-dark-mono-2))))
`(realgud-backtrace-number ((t (:inherit (secondary-selection)))))
;; rmsbolt
`(rmsbolt-current-line-face ((t (:inherit hl-line :weight bold))))
;; ruler-mode
`(ruler-mode-column-number ((t (:inherit ruler-mode-default))))
`(ruler-mode-comment-column ((t (:foreground ,everforest-hard-dark-red))))
`(ruler-mode-current-column ((t (:foreground ,everforest-hard-dark-accent :inherit ruler-mode-default))))
`(ruler-mode-default ((t (:inherit mode-line))))
`(ruler-mode-fill-column ((t (:foreground ,everforest-hard-dark-orange :inherit ruler-mode-default))))
`(ruler-mode-fringes ((t (:foreground ,everforest-hard-dark-green :inherit ruler-mode-default))))
`(ruler-mode-goal-column ((t (:foreground ,everforest-hard-dark-cyan :inherit ruler-mode-default))))
`(ruler-mode-margins ((t (:inherit ruler-mode-default))))
`(ruler-mode-tab-stop ((t (:foreground ,everforest-hard-dark-mono-3 :inherit ruler-mode-default))))
;; undo-tree
`(undo-tree-visualizer-current-face ((t (:foreground ,everforest-hard-dark-red))))
`(undo-tree-visualizer-register-face ((t (:foreground ,everforest-hard-dark-orange))))
`(undo-tree-visualizer-unmodified-face ((t (:foreground ,everforest-hard-dark-cyan))))
;; tab-bar-mode
`(tab-bar-tab-inactive ((t (:background ,everforest-hard-dark-bg-hl :foreground ,everforest-hard-dark-fg))))
`(tab-bar-tab ((t (:background ,everforest-hard-dark-bg :foreground ,everforest-hard-dark-purple))))
`(tab-bar ((t (:background ,everforest-hard-dark-bg-hl))))
;; all-the-icons
`(all-the-icons-purple ((t (:foreground ,everforest-hard-dark-purple))))
`(all-the-icons-yellow ((t (:foreground ,everforest-hard-dark-yellow))))
;; dashboard
`(dashboard-heading ((t (:foreground ,everforest-hard-dark-green))))
`(dashboard-items-face ((t (:bold ,everforest-hard-dark-green))))
;; Language Customizations ----------------------------------------------------------------------
;; these laguage customizations are seperate from certain larger lagu
;; markdown
`(markdown-header-face-1 ((t (:foreground ,everforest-hard-dark-red :weight bold))))
`(markdown-header-face-2 ((t (:foreground ,everforest-hard-dark-orange :weight bold))))
`(markdown-link-face ((t (:foreground ,everforest-hard-dark-purple ))))
`(markdown-url-face ((t (:foreground ,everforest-hard-dark-blue :underline t))))
`(markdown-plain-url-face ((t (:foreground ,everforest-hard-dark-blue))))
`(markdown-header-delimiter-face ((t (:foreground ,everforest-hard-dark-silver))))
`(markdown-language-keyword-face ((t (:foreground ,everforest-hard-dark-green))))
`(markdown-markup-face ((t (:foreground ,everforest-hard-dark-silver))))
`(markdown-pre-face ((t (:foreground ,everforest-hard-dark-green))))
`(markdown-metadata-key-face ((t (:foreground ,everforest-hard-dark-green))))
;; org-mode
`(org-date ((t (:foreground ,everforest-hard-dark-cyan))))
`(org-document-info ((t (:foreground ,everforest-hard-dark-mono-3))))
`(org-document-info-keyword ((t (:inherit org-meta-line :underline t))))
`(org-document-title ((t (:weight bold))))
`(org-footnote ((t (:foreground ,everforest-hard-dark-cyan))))
`(org-sexp-date ((t (:foreground ,everforest-hard-dark-cyan))))
`(org-table ((t (:foreground ,everforest-hard-dark-blue))))
`(org-drawer ((t (:foreground ,everforest-hard-dark-blue))))
`(org-headline-done ((t (:foreground ,everforest-hard-dark-purple))))
;; `(org-block ((t (:background ,everforest-hard-dark-bg-hl :foreground ,everforest-hard-dark-silver :extend t))))
;; `(org-block-begin-line ((t (:background ,everforest-hard-dark-bg-hl :foreground ,everforest-hard-dark-silver :extend t))))
;; `(org-block-end-line ((t (:background ,everforest-hard-dark-bg-hl :foreground ,everforest-hard-dark-silver :extend t))))
`(org-level-1 ((t (:foreground ,everforest-hard-dark-green))))
`(org-level-2 ((t (:foreground ,everforest-hard-dark-red))))
`(org-level-3 ((t (:foreground ,everforest-hard-dark-purple))))
`(org-level-4 ((t (:foreground ,everforest-hard-dark-orange))))
`(org-level-6 ((t (:foreground ,everforest-hard-dark-blue))))
`(org-level-7 ((t (:foreground ,everforest-hard-dark-silver))))
`(org-level-8 ((t (:foreground ,everforest-hard-dark-cyan))))
`(org-cite ((t (:foreground ,everforest-hard-dark-blue :weight bold))))
`(org-cite-key ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(org-hide ((t (:foreground ,everforest-hard-dark-bg))))
;; latex-mode
`(font-latex-sectioning-0-face ((t (:foreground ,everforest-hard-dark-blue :height 1.0))))
`(font-latex-sectioning-1-face ((t (:foreground ,everforest-hard-dark-blue :height 1.0))))
`(font-latex-sectioning-2-face ((t (:foreground ,everforest-hard-dark-blue :height 1.0))))
`(font-latex-sectioning-3-face ((t (:foreground ,everforest-hard-dark-blue :height 1.0))))
`(font-latex-sectioning-4-face ((t (:foreground ,everforest-hard-dark-blue :height 1.0))))
`(font-latex-sectioning-5-face ((t (:foreground ,everforest-hard-dark-blue :height 1.0))))
`(font-latex-bold-face ((t (:foreground ,everforest-hard-dark-green :weight bold))))
`(font-latex-italic-face ((t (:foreground ,everforest-hard-dark-green :slant italic))))
`(font-latex-warning-face ((t (:foreground ,everforest-hard-dark-red))))
`(font-latex-doctex-preprocessor-face ((t (:foreground ,everforest-hard-dark-cyan))))
`(font-latex-script-char-face ((t (:foreground ,everforest-hard-dark-gray))))
;; sh-mode
`(sh-heredoc ((t (:inherit font-lock-string-face :slant italic))))
;; js2-mode
`(js2-error ((t (:underline (:color ,everforest-hard-dark-red :style wave)))))
`(js2-external-variable ((t (:foreground ,everforest-hard-dark-cyan))))
`(js2-warning ((t (:underline (:color ,everforest-hard-dark-orange :style wave)))))
`(js2-function-call ((t (:inherit (font-lock-function-name-face)))))
`(js2-function-param ((t (:foreground ,everforest-hard-dark-mono-1))))
`(js2-jsdoc-tag ((t (:foreground ,everforest-hard-dark-purple))))
`(js2-jsdoc-type ((t (:foreground ,everforest-hard-dark-yellow))))
`(js2-jsdoc-value ((t (:foreground ,everforest-hard-dark-red))))
`(js2-object-property ((t (:foreground ,everforest-hard-dark-red))))
;; whitespace-mode
`(whitespace-big-indent ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-empty ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-hspace ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-indentation ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-line ((t (:background ,everforest-hard-dark-bg)))) ;; longer than 80
`(whitespace-newline ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-space ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-space-after-tab ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-space-before-tab ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-tab ((t (:foreground ,everforest-hard-dark-border))))
`(whitespace-trailing ((t (:foreground ,everforest-hard-dark-silver))))
))
(everforest-hard-dark-with-color-variables
(custom-theme-set-variables
'everforest-hard-dark
;; fill-column-indicator
`(fci-rule-color ,everforest-hard-dark-gray)
;; tetris
;; | Tetromino | Color |
;; | O | `everforest-hard-dark-yellow' |
;; | J | `everforest-hard-dark-blue' |
;; | L | `everforest-hard-dark-orange' |
;; | Z | `everforest-hard-dark-red' |
;; | S | `everforest-hard-dark-green' |
;; | T | `everforest-hard-dark-purple' |
;; | I | `everforest-hard-dark-cyan' |
'(tetris-x-colors
[[229 192 123] [97 175 239] [209 154 102] [224 108 117] [152 195 121] [198 120 221] [86 182 194]])
;; ansi-color
`(ansi-color-names-vector
[,everforest-hard-dark-black ,everforest-hard-dark-red ,everforest-hard-dark-green ,everforest-hard-dark-yellow
,everforest-hard-dark-blue ,everforest-hard-dark-purple ,everforest-hard-dark-cyan ,everforest-hard-dark-fg])))
;;;###autoload
(and load-file-name
(boundp 'custom-theme-load-path)
(add-to-list 'custom-theme-load-path
(file-name-as-directory
(file-name-directory load-file-name))))
;; Automatically add this theme to the load path
(provide-theme 'everforest-hard-dark)
;; Local Variables:
;; no-byte-compile: t
;; End:
;;; everforest-hard-dark-theme.el ends here

View file

@ -1,796 +0,0 @@
;;; everforest-hard-light-theme.el --- Everforest Hard light Theme -*- lexical-binding: t; -*-
;; Copyright (C) 2022 Evan Sarris
;; Author: Theory_of_Everything <evan@theoryware.net>
;; URL: https://git.sr.ht/~theorytoe/everforest-theme
;; Version: 0.1
;; Package-Requires: ((emacs "24"))
;; This file is not part of GNU Emacs.
;; This file is free software; you can redistribute it and/or modify
;; it under the terms of the GNU General Public License as published by
;; the Free Software Foundation; either version 3, or (at your option)
;; any later version.
;; This file is distributed in the hope that it will be useful,
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
;; GNU General Public License v3.0 for more details.
;; You should have received a copy of the GNU General Public License
;; along with this program. If not, see <http://www.gnu.org/licenses/>.
;;; Commentary:
;; Everforest hard light
;;; Code:
(deftheme everforest-hard-light
"Everforest Hard light - sainnhe/everforest hard light port to emacs")
(defvar everforest-hard-light-colors-alist
(let ((colors `(("everforest-hard-light-accent" . "#8da101")
("everforest-hard-light-fg" . "#5c6a72")
("everforest-hard-light-bg" . "#fff9e8")
("everforest-hard-light-bg-1" . "#f7f4e0")
("everforest-hard-light-bg-hl" . "#f0eed9")
("everforest-hard-light-gutter" . "#e9e8d2")
("everforest-hard-light-mono-1" . "#a6b0a0")
("everforest-hard-light-mono-2" . "#939f91")
("everforest-hard-light-mono-3" . "#829181")
("everforest-hard-light-cyan" . "#35a77c")
("everforest-hard-light-blue" . "#3a94c5")
("everforest-hard-light-purple" . "#df69ba")
("everforest-hard-light-green" . "#8da101")
("everforest-hard-light-red" . "#f85552")
("everforest-hard-light-orange" . "#f57d26")
("everforest-hard-light-yellow" . "#dfa000")
("everforest-hard-light-gray" . "#a6b0a0")
("everforest-hard-light-silver" . "#9da9a0")
("everforest-hard-light-black" . "#fff9e8")
("everforest-hard-light-border" . "#5c6a72")
("everforest-hard-light-visual" . "#edf0cd"))))
colors)
"List of Everforest Hard Light Colors.")
(defmacro everforest-hard-light-with-color-variables (&rest body)
"Bind the colors list around BODY."
(declare (indent 0))
`(let ((class '((class color) (min-colors 89)))
,@ (mapcar (lambda (cons)
(list (intern (car cons)) (cdr cons)))
everforest-hard-light-colors-alist))
,@body))
(everforest-hard-light-with-color-variables
(custom-theme-set-faces
'everforest-hard-light
`(default ((t (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-bg))))
`(success ((t (:foreground ,everforest-hard-light-green))))
`(warning ((t (:foreground ,everforest-hard-light-yellow))))
`(error ((t (:foreground ,everforest-hard-light-red :weight bold))))
`(link ((t (:foreground ,everforest-hard-light-blue :underline t :weight bold))))
`(link-visited ((t (:foreground ,everforest-hard-light-blue :underline t :weight normal))))
`(cursor ((t (:background ,everforest-hard-light-fg))))
`(fringe ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-silver))))
`(region ((t (:background ,everforest-hard-light-gray :distant-foreground ,everforest-hard-light-mono-2))))
`(highlight ((t (:background ,everforest-hard-light-gray :distant-foreground ,everforest-hard-light-mono-2))))
`(hl-line ((t (:background ,everforest-hard-light-visual :distant-foreground nil))))
`(header-line ((t (:background ,everforest-hard-light-black))))
`(vertical-border ((t (:background ,everforest-hard-light-border :foreground ,everforest-hard-light-border))))
`(secondary-selection ((t (:background ,everforest-hard-light-bg-1))))
`(query-replace ((t (:inherit (isearch)))))
`(minibuffer-prompt ((t (:foreground ,everforest-hard-light-blue))))
`(tooltip ((t (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-bg-1 :inherit variable-pitch))))
`(font-lock-builtin-face ((t (:foreground ,everforest-hard-light-cyan))))
`(font-lock-comment-face ((t (:foreground ,everforest-hard-light-mono-3 :slant italic))))
`(font-lock-comment-delimiter-face ((default (:inherit (font-lock-comment-face)))))
`(font-lock-doc-face ((t (:inherit (font-lock-string-face)))))
`(font-lock-function-name-face ((t (:foreground ,everforest-hard-light-green))))
`(font-lock-keyword-face ((t (:foreground ,everforest-hard-light-red :weight normal))))
`(font-lock-preprocessor-face ((t (:foreground ,everforest-hard-light-red))))
`(font-lock-string-face ((t (:foreground ,everforest-hard-light-green))))
`(font-lock-type-face ((t (:foreground ,everforest-hard-light-green))))
`(font-lock-constant-face ((t (:foreground ,everforest-hard-light-cyan))))
`(font-lock-variable-name-face ((t (:foreground ,everforest-hard-light-blue))))
`(font-lock-warning-face ((t (:foreground ,everforest-hard-light-mono-3 :bold t))))
`(font-lock-negation-char-face ((t (:foreground ,everforest-hard-light-cyan :bold t))))
`(highlight-numbers-number ((t (:foreground ,everforest-hard-light-purple))))
;; eob
`(vi-tilde-fringe-face ((t (:foreground ,everforest-hard-light-silver))))
`(solaire-fringe-face ((t (:foreground ,everforest-hard-light-silver))))
;; mode-line
`(mode-line ((t (:background ,everforest-hard-light-visual :foreground ,everforest-hard-light-silver))))
`(mode-line-buffer-id ((t (:weight bold))))
`(mode-line-emphasis ((t (:weight bold))))
`(mode-line-inactive ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-silver))))
;; window-divider
`(window-divider ((t (:foreground ,everforest-hard-light-border))))
`(window-divider-first-pixel ((t (:foreground ,everforest-hard-light-border))))
`(window-divider-last-pixel ((t (:foreground ,everforest-hard-light-border))))
;; custom
`(custom-state ((t (:foreground ,everforest-hard-light-green))))
;; Package/Plugin Customizations
;; ido
`(ido-first-match ((t (:foreground ,everforest-hard-light-purple :weight bold))))
`(ido-only-match ((t (:foreground ,everforest-hard-light-red :weight bold))))
`(ido-subdir ((t (:foreground ,everforest-hard-light-blue))))
`(ido-virtual ((t (:foreground ,everforest-hard-light-mono-3))))
;; ace-jump
`(ace-jump-face-background ((t (:foreground ,everforest-hard-light-mono-3 :background ,everforest-hard-light-bg-1 :inverse-video nil))))
`(ace-jump-face-foreground ((t (:foreground ,everforest-hard-light-red :background ,everforest-hard-light-bg-1 :inverse-video nil))))
;; ace-window
`(aw-background-face ((t (:inherit font-lock-comment-face))))
`(aw-leading-char-face ((t (:foreground ,everforest-hard-light-red :weight bold))))
;; centaur-tabs
`(centaur-tabs-default ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-black))))
`(centaur-tabs-selected ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-fg :weight bold))))
`(centaur-tabs-unselected ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-fg :weight light))))
`(centaur-tabs-selected-modified ((t (:background ,everforest-hard-light-bg
:foreground ,everforest-hard-light-blue :weight bold))))
`(centaur-tabs-unselected-modified ((t (:background ,everforest-hard-light-black :weight light
:foreground ,everforest-hard-light-blue))))
`(centaur-tabs-active-bar-face ((t (:background ,everforest-hard-light-accent))))
`(centaur-tabs-modified-marker-selected ((t (:inherit 'centaur-tabs-selected :foreground,everforest-hard-light-accent))))
`(centaur-tabs-modified-marker-unselected ((t (:inherit 'centaur-tabs-unselected :foreground,everforest-hard-light-accent))))
;; company-mode
`(company-tooltip ((t (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-gray))))
`(company-tooltip-annotation ((t (:foreground ,everforest-hard-light-mono-2 :background ,everforest-hard-light-gray))))
`(company-tooltip-annotation-selection ((t (:foreground ,everforest-hard-light-mono-2 :background ,everforest-hard-light-mono-3))))
`(company-tooltip-selection ((t (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-mono-3))))
`(company-tooltip-mouse ((t (:background ,everforest-hard-light-gray))))
`(company-tooltip-common ((t (:foreground ,everforest-hard-light-yellow :background ,everforest-hard-light-gray))))
`(company-tooltip-common-selection ((t (:foreground ,everforest-hard-light-yellow :background ,everforest-hard-light-mono-3))))
`(company-preview ((t (:background ,everforest-hard-light-bg))))
`(company-preview-common ((t (:foreground ,everforest-hard-light-yellow :background ,everforest-hard-light-bg))))
`(company-scrollbar-fg ((t (:background ,everforest-hard-light-mono-1))))
`(company-scrollbar-bg ((t (:background ,everforest-hard-light-gray))))
`(company-template-field ((t (:inherit highlight))))
;; doom-modeline
`(doom-modeline-bar ((t (:background ,everforest-hard-light-visual))))
;; flyspell
`(flyspell-duplicate ((t (:underline (:color ,everforest-hard-light-cyan :style wave)))))
`(flyspell-incorrect ((t (:underline (:color ,everforest-hard-light-red :style wave)))))
;; flymake
`(flymake-error ((t (:underline (:color ,everforest-hard-light-red :style wave)))))
`(flymake-note ((t (:underline (:color ,everforest-hard-light-green :style wave)))))
`(flymake-warning ((t (:underline (:color ,everforest-hard-light-orange :style wave)))))
;; flycheck
`(flycheck-error ((t (:underline (:color ,everforest-hard-light-red :style wave)))))
`(flycheck-info ((t (:underline (:color ,everforest-hard-light-green :style wave)))))
`(flycheck-warning ((t (:underline (:color ,everforest-hard-light-orange :style wave)))))
;; compilation
`(compilation-face ((t (:foreground ,everforest-hard-light-fg))))
`(compilation-line-number ((t (:foreground ,everforest-hard-light-mono-2))))
`(compilation-column-number ((t (:foreground ,everforest-hard-light-mono-2))))
`(compilation-mode-line-exit ((t (:inherit compilation-info :weight bold))))
`(compilation-mode-line-fail ((t (:inherit compilation-error :weight bold))))
;; isearch
`(isearch ((t (:foreground ,everforest-hard-light-bg :background ,everforest-hard-light-purple))))
`(isearch-fail ((t (:foreground ,everforest-hard-light-red :background nil))))
`(lazy-highlight ((t (:foreground ,everforest-hard-light-purple :background ,everforest-hard-light-bg-1 :underline ,everforest-hard-light-purple))))
;; diff-hl (https://github.com/dgutov/diff-hl)
'(diff-hl-change ((t (:foreground "#E9C062" :background "#8b733a"))))
'(diff-hl-delete ((t (:foreground "#CC6666" :background "#7a3d3d"))))
'(diff-hl-insert ((t (:foreground "#A8FF60" :background "#547f30"))))
;; dired-mode
'(dired-directory ((t (:inherit (font-lock-keyword-face)))))
'(dired-flagged ((t (:inherit (diff-hl-delete)))))
'(dired-symlink ((t (:foreground "#FD5FF1"))))
`(diredfl-file-name ((t (:foreground ,everforest-hard-light-fg))))
`(diredfl-file-suffix ((t (:foreground ,everforest-hard-light-fg))))
`(diredfl-number ((t (:foreground ,everforest-hard-light-red))))
`(diredfl-date-time ((t (:foreground ,everforest-hard-light-blue))))
`(diredfl-no-priv ((t (:foreground ,everforest-hard-light-yellow))))
`(diredfl-dir-priv ((t (:foreground ,everforest-hard-light-yellow))))
`(diredfl-read-priv ((t (:foreground ,everforest-hard-light-yellow))))
`(diredfl-write-priv ((t (:foreground ,everforest-hard-light-yellow))))
`(diredfl-exec-priv ((t (:foreground ,everforest-hard-light-yellow))))
`(diredfl-link-priv ((t (:foreground ,everforest-hard-light-yellow))))
`(diredfl-dir-heading ((t (:foreground ,everforest-hard-light-green :weight bold))))
;; dired-async
`(dired-async-failures ((t (:inherit error))))
`(dired-async-message ((t (:inherit success))))
`(dired-async-mode-message ((t (:foreground ,everforest-hard-light-orange))))
;; helm
`(helm-header ((t (:foreground ,everforest-hard-light-mono-2
:background ,everforest-hard-light-bg
:underline nil
:box (:line-width 6 :color ,everforest-hard-light-bg)))))
`(helm-source-header ((t (:foreground ,everforest-hard-light-yellow
:background ,everforest-hard-light-bg
:underline nil
:weight bold
:box (:line-width 6 :color ,everforest-hard-light-bg)))))
`(helm-selection ((t (:background ,everforest-hard-light-gray))))
`(helm-selection-line ((t (:background ,everforest-hard-light-gray))))
`(helm-visible-mark ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-yellow))))
`(helm-candidate-number ((t (:foreground ,everforest-hard-light-green :background ,everforest-hard-light-bg-1))))
`(helm-separator ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-red))))
`(helm-M-x-key ((t (:foreground ,everforest-hard-light-orange))))
`(helm-bookmark-addressbook ((t (:foreground ,everforest-hard-light-orange))))
`(helm-bookmark-directory ((t (:foreground nil :background nil :inherit helm-ff-directory))))
`(helm-bookmark-file ((t (:foreground nil :background nil :inherit helm-ff-file))))
`(helm-bookmark-gnus ((t (:foreground ,everforest-hard-light-purple))))
`(helm-bookmark-info ((t (:foreground ,everforest-hard-light-green))))
`(helm-bookmark-man ((t (:foreground ,everforest-hard-light-yellow))))
`(helm-bookmark-w3m ((t (:foreground ,everforest-hard-light-purple))))
`(helm-match ((t (:foreground ,everforest-hard-light-yellow))))
`(helm-ff-directory ((t (:foreground ,everforest-hard-light-cyan :background ,everforest-hard-light-bg :weight bold))))
`(helm-ff-file ((t (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-bg :weight normal))))
`(helm-ff-executable ((t (:foreground ,everforest-hard-light-green :background ,everforest-hard-light-bg :weight normal))))
`(helm-ff-invalid-symlink ((t (:foreground ,everforest-hard-light-red :background ,everforest-hard-light-bg :weight bold))))
`(helm-ff-symlink ((t (:foreground ,everforest-hard-light-yellow :background ,everforest-hard-light-bg :weight bold))))
`(helm-ff-prefix ((t (:foreground ,everforest-hard-light-bg :background ,everforest-hard-light-yellow :weight normal))))
`(helm-buffer-not-saved ((t (:foreground ,everforest-hard-light-red))))
`(helm-buffer-process ((t (:foreground ,everforest-hard-light-mono-2))))
`(helm-buffer-saved-out ((t (:foreground ,everforest-hard-light-fg))))
`(helm-buffer-size ((t (:foreground ,everforest-hard-light-mono-2))))
`(helm-buffer-directory ((t (:foreground ,everforest-hard-light-purple))))
`(helm-grep-cmd-line ((t (:foreground ,everforest-hard-light-cyan))))
`(helm-grep-file ((t (:foreground ,everforest-hard-light-fg))))
`(helm-grep-finish ((t (:foreground ,everforest-hard-light-green))))
`(helm-grep-lineno ((t (:foreground ,everforest-hard-light-mono-2))))
`(helm-grep-finish ((t (:foreground ,everforest-hard-light-red))))
`(helm-grep-match ((t (:foreground nil :background nil :inherit helm-match))))
`(helm-swoop-target-line-block-face ((t (:background ,everforest-hard-light-mono-3 :foreground "#222222"))))
`(helm-swoop-target-line-face ((t (:background ,everforest-hard-light-mono-3 :foreground "#222222"))))
`(helm-swoop-target-word-face ((t (:background ,everforest-hard-light-purple :foreground "#ffffff"))))
`(helm-locate-finish ((t (:foreground ,everforest-hard-light-green))))
`(info-menu-star ((t (:foreground ,everforest-hard-light-red))))
;; ivy
`(ivy-confirm-face ((t (:inherit minibuffer-prompt :foreground ,everforest-hard-light-green))))
`(ivy-current-match ((t (:background ,everforest-hard-light-gray :weight normal))))
`(ivy-highlight-face ((t (:inherit font-lock-builtin-face))))
`(ivy-match-required-face ((t (:inherit minibuffer-prompt :foreground ,everforest-hard-light-red))))
`(ivy-minibuffer-match-face-1 ((t (:background ,everforest-hard-light-bg-hl))))
`(ivy-minibuffer-match-face-2 ((t (:inherit ivy-minibuffer-match-face-1 :background ,everforest-hard-light-black :foreground ,everforest-hard-light-purple :weight semi-bold))))
`(ivy-minibuffer-match-face-3 ((t (:inherit ivy-minibuffer-match-face-2 :background ,everforest-hard-light-black :foreground ,everforest-hard-light-green :weight semi-bold))))
`(ivy-minibuffer-match-face-4 ((t (:inherit ivy-minibuffer-match-face-2 :background ,everforest-hard-light-black :foreground ,everforest-hard-light-yellow :weight semi-bold))))
`(ivy-minibuffer-match-highlight ((t (:inherit ivy-current-match))))
`(ivy-modified-buffer ((t (:inherit default :foreground ,everforest-hard-light-orange))))
`(ivy-virtual ((t (:inherit font-lock-builtin-face :slant italic))))
;; counsel
`(counsel-key-binding ((t (:foreground ,everforest-hard-light-yellow :weight bold))))
;; swiper
`(swiper-match-face-1 ((t (:inherit ivy-minibuffer-match-face-1))))
`(swiper-match-face-2 ((t (:inherit ivy-minibuffer-match-face-2))))
`(swiper-match-face-3 ((t (:inherit ivy-minibuffer-match-face-3))))
`(swiper-match-face-4 ((t (:inherit ivy-minibuffer-match-face-4))))
;; git-commit
`(git-commit-comment-action ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(git-commit-comment-branch ((t (:foreground ,everforest-hard-light-blue :weight bold))))
`(git-commit-comment-heading ((t (:foreground ,everforest-hard-light-yellow :weight bold))))
;; git-gutter
`(git-gutter:added ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(git-gutter:deleted ((t (:foreground ,everforest-hard-light-red :weight bold))))
`(git-gutter:modified ((t (:foreground ,everforest-hard-light-orange :weight bold))))
;; eshell
`(eshell-ls-archive ((t (:foreground ,everforest-hard-light-purple :weight bold))))
`(eshell-ls-backup ((t (:foreground ,everforest-hard-light-yellow))))
`(eshell-ls-clutter ((t (:foreground ,everforest-hard-light-red :weight bold))))
`(eshell-ls-directory ((t (:foreground ,everforest-hard-light-blue :weight bold))))
`(eshell-ls-executable ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(eshell-ls-missing ((t (:foreground ,everforest-hard-light-red :weight bold))))
`(eshell-ls-product ((t (:foreground ,everforest-hard-light-yellow))))
`(eshell-ls-special ((t (:foreground "#FD5FF1" :weight bold))))
`(eshell-ls-symlink ((t (:foreground ,everforest-hard-light-cyan :weight bold))))
`(eshell-ls-unreadable ((t (:foreground ,everforest-hard-light-mono-1))))
`(eshell-prompt ((t (:inherit minibuffer-prompt))))
;; man
`(Man-overstrike ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(Man-underline ((t (:inherit font-lock-keyword-face :slant italic :weight bold))))
;; woman
`(woman-bold ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(woman-italic ((t (:inherit font-lock-keyword-face :slant italic :weight bold))))
;; dictionary
`(dictionary-button-face ((t (:inherit widget-button))))
`(dictionary-reference-face ((t (:inherit font-lock-type-face :weight bold))))
`(dictionary-word-entry-face ((t (:inherit font-lock-keyword-face :slant italic :weight bold))))
;; erc
`(erc-error-face ((t (:inherit error))))
`(erc-input-face ((t (:inherit shadow))))
`(erc-my-nick-face ((t (:foreground ,everforest-hard-light-accent))))
`(erc-notice-face ((t (:inherit font-lock-comment-face))))
`(erc-timestamp-face ((t (:foreground ,everforest-hard-light-green :weight bold))))
;; jabber
`(jabber-roster-user-online ((t (:foreground ,everforest-hard-light-green))))
`(jabber-roster-user-away ((t (:foreground ,everforest-hard-light-red))))
`(jabber-roster-user-xa ((t (:foreground ,everforest-hard-light-red))))
`(jabber-roster-user-dnd ((t (:foreground ,everforest-hard-light-purple))))
`(jabber-roster-user-chatty ((t (:foreground ,everforest-hard-light-yellow))))
`(jabber-roster-user-error ((t (:foreground ,everforest-hard-light-red :bold t))))
`(jabber-roster-user-offline ((t (:foreground ,everforest-hard-light-mono-3))))
`(jabber-chat-prompt-local ((t (:foreground ,everforest-hard-light-blue))))
`(jabber-chat-prompt-foreign ((t (:foreground ,everforest-hard-light-yellow))))
`(jabber-chat-prompt-system ((t (:foreground ,everforest-hard-light-mono-3))))
`(jabber-chat-error ((t (:inherit jabber-roster-user-error))))
`(jabber-rare-time-face ((t (:foreground ,everforest-hard-light-cyan))))
`(jabber-activity-face ((t (:inherit jabber-chat-prompt-foreign))))
`(jabber-activity-personal-face ((t (:inherit jabber-chat-prompt-local))))
;; eww
`(eww-form-checkbox ((t (:inherit eww-form-submit))))
`(eww-form-file ((t (:inherit eww-form-submit))))
`(eww-form-select ((t (:inherit eww-form-submit))))
`(eww-form-submit ((t (:background ,everforest-hard-light-gray :foreground ,everforest-hard-light-fg :box (:line-width 2 :color ,everforest-hard-light-border :style released-button)))))
`(eww-form-text ((t (:inherit widget-field :box (:line-width 1 :color ,everforest-hard-light-border)))))
`(eww-form-textarea ((t (:inherit eww-form-text))))
`(eww-invalid-certificate ((t (:foreground ,everforest-hard-light-red))))
`(eww-valid-certificate ((t (:foreground ,everforest-hard-light-green))))
;; ediff
`(ediff-fine-diff-Ancestor ((t (:background "#885555"))))
`(ediff-fine-diff-A ((t (:background "#885555"))))
`(ediff-fine-diff-B ((t (:background "#558855"))))
`(ediff-fine-diff-C ((t (:background "#555588"))))
`(ediff-current-diff-Ancestor ((t (:background "#663333"))))
`(ediff-current-diff-A ((t (:background "#663333"))))
`(ediff-current-diff-B ((t (:background "#336633"))))
`(ediff-current-diff-C ((t (:background "#333366"))))
`(ediff-even-diff-Ancestor ((t (:background "#181a1f"))))
`(ediff-even-diff-A ((t (:background "#181a1f"))))
`(ediff-even-diff-B ((t (:background "#181a1f"))))
`(ediff-even-diff-C ((t (:background "#181a1f"))))
`(ediff-odd-diff-Ancestor ((t (:background "#181a1f"))))
`(ediff-odd-diff-A ((t (:background "#181a1f"))))
`(ediff-odd-diff-B ((t (:background "#181a1f"))))
`(ediff-odd-diff-C ((t (:background "#181a1f"))))
;; magit
`(magit-section-highlight ((t (:background ,everforest-hard-light-bg-hl))))
`(magit-section-heading ((t (:foreground ,everforest-hard-light-yellow :weight bold))))
`(magit-section-heading-selection ((t (:foreground ,everforest-hard-light-fg :weight bold))))
`(magit-diff-file-heading ((t (:weight bold))))
`(magit-diff-file-heading-highlight ((t (:background ,everforest-hard-light-gray :weight bold))))
`(magit-diff-file-heading-selection ((t (:foreground ,everforest-hard-light-yellow :background ,everforest-hard-light-bg-hl :weight bold))))
`(magit-diff-hunk-heading ((t (:foreground ,everforest-hard-light-mono-2 :background ,everforest-hard-light-gray))))
`(magit-diff-hunk-heading-highlight ((t (:foreground ,everforest-hard-light-mono-1 :background ,everforest-hard-light-mono-3))))
`(magit-diff-hunk-heading-selection ((t (:foreground ,everforest-hard-light-purple :background ,everforest-hard-light-mono-3))))
`(magit-diff-context ((t (:foreground ,everforest-hard-light-fg))))
`(magit-diff-context-highlight ((t (:background ,everforest-hard-light-bg-1 :foreground ,everforest-hard-light-fg))))
`(magit-diffstat-added ((t (:foreground ,everforest-hard-light-green))))
`(magit-diffstat-removed ((t (:foreground ,everforest-hard-light-red))))
`(magit-process-ok ((t (:foreground ,everforest-hard-light-green))))
`(magit-process-ng ((t (:foreground ,everforest-hard-light-red))))
`(magit-log-author ((t (:foreground ,everforest-hard-light-yellow))))
`(magit-log-date ((t (:foreground ,everforest-hard-light-mono-2))))
`(magit-log-graph ((t (:foreground ,everforest-hard-light-silver))))
`(magit-sequence-pick ((t (:foreground ,everforest-hard-light-yellow))))
`(magit-sequence-stop ((t (:foreground ,everforest-hard-light-green))))
`(magit-sequence-part ((t (:foreground ,everforest-hard-light-orange))))
`(magit-sequence-head ((t (:foreground ,everforest-hard-light-blue))))
`(magit-sequence-drop ((t (:foreground ,everforest-hard-light-red))))
`(magit-sequence-done ((t (:foreground ,everforest-hard-light-mono-2))))
`(magit-sequence-onto ((t (:foreground ,everforest-hard-light-mono-2))))
`(magit-bisect-good ((t (:foreground ,everforest-hard-light-green))))
`(magit-bisect-skip ((t (:foreground ,everforest-hard-light-orange))))
`(magit-bisect-bad ((t (:foreground ,everforest-hard-light-red))))
`(magit-blame-heading ((t (:background ,everforest-hard-light-bg-1 :foreground ,everforest-hard-light-mono-2))))
`(magit-blame-hash ((t (:background ,everforest-hard-light-bg-1 :foreground ,everforest-hard-light-purple))))
`(magit-blame-name ((t (:background ,everforest-hard-light-bg-1 :foreground ,everforest-hard-light-yellow))))
`(magit-blame-date ((t (:background ,everforest-hard-light-bg-1 :foreground ,everforest-hard-light-mono-3))))
`(magit-blame-summary ((t (:background ,everforest-hard-light-bg-1 :foreground ,everforest-hard-light-mono-2))))
`(magit-dimmed ((t (:foreground ,everforest-hard-light-mono-2))))
`(magit-hash ((t (:foreground ,everforest-hard-light-purple))))
`(magit-tag ((t (:foreground ,everforest-hard-light-orange :weight bold))))
`(magit-branch-remote ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(magit-branch-local ((t (:foreground ,everforest-hard-light-blue :weight bold))))
`(magit-branch-current ((t (:foreground ,everforest-hard-light-blue :weight bold :box t))))
`(magit-head ((t (:foreground ,everforest-hard-light-blue :weight bold))))
`(magit-refname ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-fg :weight bold))))
`(magit-refname-stash ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-fg :weight bold))))
`(magit-refname-wip ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-fg :weight bold))))
`(magit-signature-good ((t (:foreground ,everforest-hard-light-green))))
`(magit-signature-bad ((t (:foreground ,everforest-hard-light-red))))
`(magit-signature-untrusted ((t (:foreground ,everforest-hard-light-orange))))
`(magit-cherry-unmatched ((t (:foreground ,everforest-hard-light-cyan))))
`(magit-cherry-equivalent ((t (:foreground ,everforest-hard-light-purple))))
`(magit-reflog-commit ((t (:foreground ,everforest-hard-light-green))))
`(magit-reflog-amend ((t (:foreground ,everforest-hard-light-purple))))
`(magit-reflog-merge ((t (:foreground ,everforest-hard-light-green))))
`(magit-reflog-checkout ((t (:foreground ,everforest-hard-light-blue))))
`(magit-reflog-reset ((t (:foreground ,everforest-hard-light-red))))
`(magit-reflog-rebase ((t (:foreground ,everforest-hard-light-purple))))
`(magit-reflog-cherry-pick ((t (:foreground ,everforest-hard-light-green))))
`(magit-reflog-remote ((t (:foreground ,everforest-hard-light-cyan))))
`(magit-reflog-other ((t (:foreground ,everforest-hard-light-cyan))))
`(magit-diff-revision-summary ((t (:foreground ,everforest-hard-light-fg))))
`(magit-diff-conflict-heading ((t (:foreground ,everforest-hard-light-fg))))
`(magit-diff-hunk-heading ((t (:foreground ,everforest-hard-light-fg))))
;; message
`(message-cited-text ((t (:foreground ,everforest-hard-light-green))))
`(message-header-cc ((t (:foreground ,everforest-hard-light-orange :weight bold))))
`(message-header-name ((t (:foreground ,everforest-hard-light-purple))))
`(message-header-newsgroups ((t (:foreground ,everforest-hard-light-yellow :weight bold :slant italic))))
`(message-header-other ((t (:foreground ,everforest-hard-light-red))))
`(message-header-subject ((t (:foreground ,everforest-hard-light-blue))))
`(message-header-to ((t (:foreground ,everforest-hard-light-yellow :weight bold))))
`(message-header-xheader ((t (:foreground ,everforest-hard-light-silver))))
`(message-mml ((t (:foreground ,everforest-hard-light-purple))))
`(message-separator ((t (:foreground ,everforest-hard-light-mono-3 :slant italic))))
;; epa
`(epa-field-body ((t (:foreground ,everforest-hard-light-blue :slant italic))))
`(epa-field-name ((t (:foreground ,everforest-hard-light-cyan :weight bold))))
;; notmuch
`(notmuch-crypto-decryption ((t (:foreground ,everforest-hard-light-purple :background ,everforest-hard-light-black))))
`(notmuch-crypto-signature-bad ((t (:foreground ,everforest-hard-light-red :background ,everforest-hard-light-black))))
`(notmuch-crypto-signature-good ((t (:foreground ,everforest-hard-light-green :background ,everforest-hard-light-black))))
`(notmuch-crypto-signature-good-key ((t (:foreground ,everforest-hard-light-green :background ,everforest-hard-light-black))))
`(notmuch-crypto-signature-unknown ((t (:foreground ,everforest-hard-light-orange :background ,everforest-hard-light-black))))
`(notmuch-hello-logo-background ((t (:inherit default))))
`(notmuch-message-summary-face ((t (:background ,everforest-hard-light-black))))
`(notmuch-search-count ((t (:inherit default :foreground ,everforest-hard-light-silver))))
`(notmuch-search-date ((t (:inherit default :foreground ,everforest-hard-light-purple))))
`(notmuch-search-matching-authors ((t (:inherit default :foreground ,everforest-hard-light-yellow))))
`(notmuch-search-non-matching-authors ((t (:inherit font-lock-comment-face :slant italic))))
`(notmuch-tag-added ((t (:underline t))))
`(notmuch-tag-deleted ((t (:strike-through ,everforest-hard-light-red))))
`(notmuch-tag-face ((t (:foreground ,everforest-hard-light-green))))
`(notmuch-tag-unread ((t (:foreground ,everforest-hard-light-red))))
`(notmuch-tree-match-author-face ((t (:inherit notmuch-search-matching-authors))))
`(notmuch-tree-match-date-face ((t (:inherit notmuch-search-date))))
`(notmuch-tree-match-face ((t (:weight semi-bold))))
`(notmuch-tree-match-tag-face ((t (:inherit notmuch-tag-face))))
`(notmuch-tree-no-match-face ((t (:slant italic :weight light :inherit font-lock-comment-face))))
;; mu4e
`(mu4e-header-key-face ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(mu4e-header-title-face ((t (:foreground ,everforest-hard-light-blue))))
`(mu4e-title-face ((t (:foreground ,everforest-hard-light-green :weight bold))))
;; calendar
`(cfw:face-title ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(cfw:face-select ((t (:foreground ,everforest-hard-light-bg :background ,everforest-hard-light-fg))))
`(cfw:face-header ((t (:foreground ,everforest-hard-light-fg :weight bold))))
`(cfw:face-sunday ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(cfw:face-holiday ((t (:foreground ,everforest-hard-light-blue :weight bold))))
`(cfw:face-toolbar ((t (:background ,everforest-hard-light-bg))))
`(cfw:face-toolbar-button-on ((t (:foreground ,everforest-hard-light-fg :weight bold))))
`(cfw:face-toolbar-button-off ((t (:foreground ,everforest-hard-light-silver :weight bold))))
`(cfw:face-day-title ((t (:background ,everforest-hard-light-bg))))
`(cfw:face-today-title ((t (:foreground ,everforest-hard-light-bg :background ,everforest-hard-light-green))))
;; elfeed
`(elfeed-log-debug-level-face ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-green))))
`(elfeed-log-error-level-face ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-red))))
`(elfeed-log-info-level-face ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-blue))))
`(elfeed-log-warn-level-face ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-orange))))
`(elfeed-search-date-face ((t (:foreground ,everforest-hard-light-purple))))
`(elfeed-search-feed-face ((t (:foreground ,everforest-hard-light-yellow))))
`(elfeed-search-tag-face ((t (:foreground ,everforest-hard-light-green))))
`(elfeed-search-title-face ((t (:foreground ,everforest-hard-light-mono-1))))
`(elfeed-search-unread-count-face ((t (:foreground ,everforest-hard-light-silver))))
;; perspective
`(persp-selected-face ((t (:foreground ,everforest-hard-light-blue))))
;; powerline
`(powerline-active1 ((,class (:background ,everforest-hard-light-bg-hl :foreground ,everforest-hard-light-purple))))
`(powerline-active2 ((,class (:background ,everforest-hard-light-bg-hl :foreground ,everforest-hard-light-purple))))
`(powerline-inactive1 ((,class (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-fg))))
`(powerline-inactive2 ((,class (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-fg))))
;; rainbow-delimiters
`(rainbow-delimiters-depth-1-face ((t (:foreground ,everforest-hard-light-green))))
`(rainbow-delimiters-depth-2-face ((t (:foreground ,everforest-hard-light-red))))
`(rainbow-delimiters-depth-3-face ((t (:foreground ,everforest-hard-light-blue))))
`(rainbow-delimiters-depth-4-face ((t (:foreground ,everforest-hard-light-cyan))))
`(rainbow-delimiters-depth-5-face ((t (:foreground ,everforest-hard-light-purple))))
`(rainbow-delimiters-depth-6-face ((t (:foreground ,everforest-hard-light-yellow))))
`(rainbow-delimiters-depth-7-face ((t (:foreground ,everforest-hard-light-orange))))
`(rainbow-delimiters-depth-8-face ((t (:foreground ,everforest-hard-light-green))))
`(rainbow-delimiters-depth-9-face ((t (:foreground ,everforest-hard-light-orange))))
`(rainbow-delimiters-depth-10-face ((t (:foreground ,everforest-hard-light-cyan))))
`(rainbow-delimiters-depth-11-face ((t (:foreground ,everforest-hard-light-purple))))
`(rainbow-delimiters-depth-12-face ((t (:foreground ,everforest-hard-light-yellow))))
`(rainbow-delimiters-unmatched-face ((t (:foreground ,everforest-hard-light-red :weight bold))))
;; rbenv
`(rbenv-active-ruby-face ((t (:foreground ,everforest-hard-light-green))))
;; elixir
`(elixir-atom-face ((t (:foreground ,everforest-hard-light-cyan))))
`(elixir-attribute-face ((t (:foreground ,everforest-hard-light-red))))
;; show-paren
`(show-paren-match ((,class (:foreground ,everforest-hard-light-purple :inherit bold :underline t))))
`(show-paren-mismatch ((,class (:foreground ,everforest-hard-light-red :inherit bold :underline t))))
;; cider
`(cider-fringe-good-face ((t (:foreground ,everforest-hard-light-green))))
;; sly
`(sly-error-face ((t (:underline (:color ,everforest-hard-light-red :style wave)))))
`(sly-mrepl-note-face ((t (:inherit font-lock-comment-face))))
`(sly-mrepl-output-face ((t (:inherit font-lock-string-face))))
`(sly-mrepl-prompt-face ((t (:inherit comint-highlight-prompt))))
`(sly-note-face ((t (:underline (:color ,everforest-hard-light-green :style wave)))))
`(sly-style-warning-face ((t (:underline (:color ,everforest-hard-light-yellow :style wave)))))
`(sly-warning-face ((t (:underline (:color ,everforest-hard-light-orange :style wave)))))
;; smartparens
`(sp-show-pair-mismatch-face ((t (:foreground ,everforest-hard-light-red :background ,everforest-hard-light-gray :weight bold))))
`(sp-show-pair-match-face ((t (:foreground ,everforest-hard-light-blue :weight bold :underline t))))
;; lispy
`(lispy-face-hint ((t (:background ,everforest-hard-light-border :foreground ,everforest-hard-light-yellow))))
;; lispyville
`(lispyville-special-face ((t (:foreground ,everforest-hard-light-red))))
;; spaceline
`(spaceline-flycheck-error ((,class (:foreground ,everforest-hard-light-red))))
`(spaceline-flycheck-info ((,class (:foreground ,everforest-hard-light-green))))
`(spaceline-flycheck-warning ((,class (:foreground ,everforest-hard-light-orange))))
`(spaceline-python-venv ((,class (:foreground ,everforest-hard-light-purple))))
;; solaire mode
`(solaire-default-face ((,class (:inherit default :background ,everforest-hard-light-black))))
`(solaire-minibuffer-face ((,class (:inherit default :background ,everforest-hard-light-black))))
;; web-mode
`(web-mode-doctype-face ((t (:inherit font-lock-comment-face))))
`(web-mode-error-face ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-red))))
`(web-mode-html-attr-equal-face ((t (:inherit default))))
`(web-mode-html-attr-name-face ((t (:foreground ,everforest-hard-light-orange))))
`(web-mode-html-tag-bracket-face ((t (:inherit default))))
`(web-mode-html-tag-face ((t (:foreground ,everforest-hard-light-red))))
`(web-mode-symbol-face ((t (:foreground ,everforest-hard-light-orange))))
;; nxml
`(nxml-attribute-local-name ((t (:foreground ,everforest-hard-light-orange))))
`(nxml-element-local-name ((t (:foreground ,everforest-hard-light-red))))
`(nxml-markup-declaration-delimiter ((t (:inherit (font-lock-comment-face nxml-delimiter)))))
`(nxml-processing-instruction-delimiter ((t (:inherit nxml-markup-declaration-delimiter))))
;; flx-ido
`(flx-highlight-face ((t (:inherit (link) :weight bold))))
;; rpm-spec-mode
`(rpm-spec-tag-face ((t (:foreground ,everforest-hard-light-blue))))
`(rpm-spec-obsolete-tag-face ((t (:foreground "#FFFFFF" :background ,everforest-hard-light-red))))
`(rpm-spec-macro-face ((t (:foreground ,everforest-hard-light-yellow))))
`(rpm-spec-var-face ((t (:foreground ,everforest-hard-light-red))))
`(rpm-spec-doc-face ((t (:foreground ,everforest-hard-light-purple))))
`(rpm-spec-dir-face ((t (:foreground ,everforest-hard-light-cyan))))
`(rpm-spec-package-face ((t (:foreground ,everforest-hard-light-red))))
`(rpm-spec-ghost-face ((t (:foreground ,everforest-hard-light-red))))
`(rpm-spec-section-face ((t (:foreground ,everforest-hard-light-yellow))))
;; guix
`(guix-true ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(guix-build-log-phase-end ((t (:inherit success))))
`(guix-build-log-phase-start ((t (:inherit success :weight bold))))
;; gomoku
`(gomoku-O ((t (:foreground ,everforest-hard-light-red :weight bold))))
`(gomoku-X ((t (:foreground ,everforest-hard-light-green :weight bold))))
;; tabbar
`(tabbar-default ((,class (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-black))))
`(tabbar-highlight ((,class (:underline t))))
`(tabbar-button ((,class (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-bg))))
`(tabbar-button-highlight ((,class (:inherit 'tabbar-button :inverse-video t))))
`(tabbar-modified ((,class (:inherit tabbar-button :foreground ,everforest-hard-light-purple :weight light :slant italic))))
`(tabbar-unselected ((,class (:inherit tabbar-default :foreground ,everforest-hard-light-fg :background ,everforest-hard-light-black :slant italic :underline nil :box (:line-width 1 :color ,everforest-hard-light-bg)))))
`(tabbar-unselected-modified ((,class (:inherit tabbar-modified :background ,everforest-hard-light-black :underline nil :box (:line-width 1 :color ,everforest-hard-light-bg)))))
`(tabbar-selected ((,class (:inherit tabbar-default :foreground ,everforest-hard-light-fg :background ,everforest-hard-light-bg :weight bold :underline nil :box (:line-width 1 :color ,everforest-hard-light-bg)))))
`(tabbar-selected-modified ((,class (:inherit tabbar-selected :foreground ,everforest-hard-light-purple :underline nil :box (:line-width 1 :color ,everforest-hard-light-bg)))))
;; linum
`(linum ((t (:foreground ,everforest-hard-light-gutter :background ,everforest-hard-light-bg))))
;; hlinum
`(linum-highlight-face ((t (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-bg))))
;; native line numbers (emacs version >=26)
`(line-number ((t (:foreground ,everforest-hard-light-gutter :background ,everforest-hard-light-bg))))
`(line-number-current-line ((t (:foreground ,everforest-hard-light-fg :background ,everforest-hard-light-bg))))
;; regexp-builder
`(reb-match-0 ((t (:background ,everforest-hard-light-gray))))
`(reb-match-1 ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-purple :weight semi-bold))))
`(reb-match-2 ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-green :weight semi-bold))))
`(reb-match-3 ((t (:background ,everforest-hard-light-black :foreground ,everforest-hard-light-yellow :weight semi-bold))))
;; desktop-entry
`(desktop-entry-deprecated-keyword-face ((t (:inherit font-lock-warning-face))))
`(desktop-entry-group-header-face ((t (:inherit font-lock-type-face))))
`(desktop-entry-locale-face ((t (:inherit font-lock-string-face))))
`(desktop-entry-unknown-keyword-face ((t (:underline (:color ,everforest-hard-light-red :style wave) :inherit font-lock-keyword-face))))
`(desktop-entry-value-face ((t (:inherit default))))
;; calendar
`(diary ((t (:inherit warning))))
`(holiday ((t (:foreground ,everforest-hard-light-green))))
;; gud
`(breakpoint-disabled ((t (:foreground ,everforest-hard-light-orange))))
`(breakpoint-enabled ((t (:foreground ,everforest-hard-light-red :weight bold))))
;; realgud
`(realgud-overlay-arrow1 ((t (:foreground ,everforest-hard-light-green))))
`(realgud-overlay-arrow3 ((t (:foreground ,everforest-hard-light-orange)) `(realgud-overlay-arrow2 ((t (:foreground ,everforest-hard-light-yellow))))
))
'(realgud-bp-enabled-face ((t (:inherit (error)))))
`(realgud-bp-disabled-face ((t (:inherit (secondary-selection)))))
`(realgud-bp-line-enabled-face ((t (:box (:color ,everforest-hard-light-red)))))
`(realgud-bp-line-disabled-face ((t (:box (:color ,everforest-hard-light-gray)))))
`(realgud-line-number ((t (:foreground ,everforest-hard-light-mono-2))))
`(realgud-backtrace-number ((t (:inherit (secondary-selection)))))
;; rmsbolt
`(rmsbolt-current-line-face ((t (:inherit hl-line :weight bold))))
;; ruler-mode
`(ruler-mode-column-number ((t (:inherit ruler-mode-default))))
`(ruler-mode-comment-column ((t (:foreground ,everforest-hard-light-red))))
`(ruler-mode-current-column ((t (:foreground ,everforest-hard-light-accent :inherit ruler-mode-default))))
`(ruler-mode-default ((t (:inherit mode-line))))
`(ruler-mode-fill-column ((t (:foreground ,everforest-hard-light-orange :inherit ruler-mode-default))))
`(ruler-mode-fringes ((t (:foreground ,everforest-hard-light-green :inherit ruler-mode-default))))
`(ruler-mode-goal-column ((t (:foreground ,everforest-hard-light-cyan :inherit ruler-mode-default))))
`(ruler-mode-margins ((t (:inherit ruler-mode-default))))
`(ruler-mode-tab-stop ((t (:foreground ,everforest-hard-light-mono-3 :inherit ruler-mode-default))))
;; undo-tree
`(undo-tree-visualizer-current-face ((t (:foreground ,everforest-hard-light-red))))
`(undo-tree-visualizer-register-face ((t (:foreground ,everforest-hard-light-orange))))
`(undo-tree-visualizer-unmodified-face ((t (:foreground ,everforest-hard-light-cyan))))
;; tab-bar-mode
`(tab-bar-tab-inactive ((t (:background ,everforest-hard-light-bg-hl :foreground ,everforest-hard-light-fg))))
`(tab-bar-tab ((t (:background ,everforest-hard-light-bg :foreground ,everforest-hard-light-purple))))
`(tab-bar ((t (:background ,everforest-hard-light-bg-hl))))
;; all-the-icons
`(all-the-icons-purple ((t (:foreground ,everforest-hard-light-purple))))
`(all-the-icons-yellow ((t (:foreground ,everforest-hard-light-yellow))))
;; dashboard
`(dashboard-heading ((t (:foreground ,everforest-hard-light-green))))
`(dashboard-items-face ((t (:bold ,everforest-hard-light-green))))
;; Language Customizations ----------------------------------------------------------------------
;; these laguage customizations are seperate from certain larger lagu
;; markdown
`(markdown-header-face-1 ((t (:foreground ,everforest-hard-light-red :weight bold))))
`(markdown-header-face-2 ((t (:foreground ,everforest-hard-light-orange :weight bold))))
`(markdown-link-face ((t (:foreground ,everforest-hard-light-purple ))))
`(markdown-url-face ((t (:foreground ,everforest-hard-light-blue :underline t))))
`(markdown-plain-url-face ((t (:foreground ,everforest-hard-light-blue))))
`(markdown-header-delimiter-face ((t (:foreground ,everforest-hard-light-silver))))
`(markdown-language-keyword-face ((t (:foreground ,everforest-hard-light-green))))
`(markdown-markup-face ((t (:foreground ,everforest-hard-light-silver))))
`(markdown-pre-face ((t (:foreground ,everforest-hard-light-green))))
`(markdown-metadata-key-face ((t (:foreground ,everforest-hard-light-green))))
;; org-mode
`(org-date ((t (:foreground ,everforest-hard-light-cyan))))
`(org-document-info ((t (:foreground ,everforest-hard-light-mono-3))))
`(org-document-info-keyword ((t (:inherit org-meta-line :underline t))))
`(org-document-title ((t (:weight bold))))
`(org-footnote ((t (:foreground ,everforest-hard-light-cyan))))
`(org-sexp-date ((t (:foreground ,everforest-hard-light-cyan))))
`(org-table ((t (:foreground ,everforest-hard-light-blue))))
`(org-drawer ((t (:foreground ,everforest-hard-light-blue))))
`(org-headline-done ((t (:foreground ,everforest-hard-light-purple))))
;; `(org-block ((t (:background ,everforest-hard-light-bg-hl :foreground ,everforest-hard-light-silver :extend t))))
;; `(org-block-begin-line ((t (:background ,everforest-hard-light-bg-hl :foreground ,everforest-hard-light-silver :extend t))))
;; `(org-block-end-line ((t (:background ,everforest-hard-light-bg-hl :foreground ,everforest-hard-light-silver :extend t))))
`(org-level-1 ((t (:foreground ,everforest-hard-light-green))))
`(org-level-2 ((t (:foreground ,everforest-hard-light-red))))
`(org-level-3 ((t (:foreground ,everforest-hard-light-purple))))
`(org-level-4 ((t (:foreground ,everforest-hard-light-orange))))
`(org-level-6 ((t (:foreground ,everforest-hard-light-blue))))
`(org-level-7 ((t (:foreground ,everforest-hard-light-silver))))
`(org-level-8 ((t (:foreground ,everforest-hard-light-cyan))))
`(org-cite ((t (:foreground ,everforest-hard-light-blue :weight bold))))
`(org-cite-key ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(org-hide ((t (:foreground ,everforest-hard-light-bg))))
;; latex-mode
`(font-latex-sectioning-0-face ((t (:foreground ,everforest-hard-light-blue :height 1.0))))
`(font-latex-sectioning-1-face ((t (:foreground ,everforest-hard-light-blue :height 1.0))))
`(font-latex-sectioning-2-face ((t (:foreground ,everforest-hard-light-blue :height 1.0))))
`(font-latex-sectioning-3-face ((t (:foreground ,everforest-hard-light-blue :height 1.0))))
`(font-latex-sectioning-4-face ((t (:foreground ,everforest-hard-light-blue :height 1.0))))
`(font-latex-sectioning-5-face ((t (:foreground ,everforest-hard-light-blue :height 1.0))))
`(font-latex-bold-face ((t (:foreground ,everforest-hard-light-green :weight bold))))
`(font-latex-italic-face ((t (:foreground ,everforest-hard-light-green :slant italic))))
`(font-latex-warning-face ((t (:foreground ,everforest-hard-light-red))))
`(font-latex-doctex-preprocessor-face ((t (:foreground ,everforest-hard-light-cyan))))
`(font-latex-script-char-face ((t (:foreground ,everforest-hard-light-gray))))
;; sh-mode
`(sh-heredoc ((t (:inherit font-lock-string-face :slant italic))))
;; js2-mode
`(js2-error ((t (:underline (:color ,everforest-hard-light-red :style wave)))))
`(js2-external-variable ((t (:foreground ,everforest-hard-light-cyan))))
`(js2-warning ((t (:underline (:color ,everforest-hard-light-orange :style wave)))))
`(js2-function-call ((t (:inherit (font-lock-function-name-face)))))
`(js2-function-param ((t (:foreground ,everforest-hard-light-mono-1))))
`(js2-jsdoc-tag ((t (:foreground ,everforest-hard-light-purple))))
`(js2-jsdoc-type ((t (:foreground ,everforest-hard-light-yellow))))
`(js2-jsdoc-value ((t (:foreground ,everforest-hard-light-red))))
`(js2-object-property ((t (:foreground ,everforest-hard-light-red))))
))
(everforest-hard-light-with-color-variables
(custom-theme-set-variables
'everforest-hard-light
;; fill-column-indicator
`(fci-rule-color ,everforest-hard-light-gray)
;; tetris
;; | Tetromino | Color |
;; | O | `everforest-hard-light-yellow' |
;; | J | `everforest-hard-light-blue' |
;; | L | `everforest-hard-light-orange' |
;; | Z | `everforest-hard-light-red' |
;; | S | `everforest-hard-light-green' |
;; | T | `everforest-hard-light-purple' |
;; | I | `everforest-hard-light-cyan' |
'(tetris-x-colors
[[229 192 123] [97 175 239] [209 154 102] [224 108 117] [152 195 121] [198 120 221] [86 182 194]])
;; ansi-color
`(ansi-color-names-vector
[,everforest-hard-light-black ,everforest-hard-light-red ,everforest-hard-light-green ,everforest-hard-light-yellow
,everforest-hard-light-blue ,everforest-hard-light-purple ,everforest-hard-light-cyan ,everforest-hard-light-fg])
))
;;;###autoload
(and load-file-name
(boundp 'custom-theme-load-path)
(add-to-list 'custom-theme-load-path
(file-name-as-directory
(file-name-directory load-file-name))))
;; Automatically add this theme to the load path
(provide-theme 'everforest-hard-light)
;; Local Variables:
;; no-byte-compile: t
;; End:
;;; everforest-hard-light-theme.el ends here

View file

@ -1,32 +0,0 @@
;;; everforest.el --- Everforest Theme pack -*- lexical-binding: t; -*-
;;
;; Copyright (C) 2022 Evan Sarris
;;
;;; Author: Theory_of_Everything <evan@theoryware.net>
;;; Version: 0.1
;;; Homepage: https://git.sr.ht/~theorytoe/everforest-theme
;;; Package-Requires: ((emacs "24"))
;;
;; This file is not part of GNU Emacs.
;;
;;; Commentary:
;; An Emacs port of the Everforest Vim theme, a low-contrast green-coloured
;; theme. This is a current work in progress, so expect issues and unorthodox
;; coloring occasionally. The port is quite opinionated from the original
;; everforest theme, but I try to keep as true to the original theme as
;; possible, but making changes where needed for both functional and cosmetic
;; reasons.
;;; Code:
;;; TODO: Define more general macro here for better
;;; definition/modification of themes
;;;###autoload
;; (and load-file-name
;; (add-to-list 'custom-theme-load-path
;; (file-name-as-directory
;; (file-name-directory load-file-name))))
;; (provide 'everforest-theme)
;;; everforest.el ends here