summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-01-18 18:51:38 -0800
committerFranck Cuny <franck@fcuny.net>2023-01-18 18:51:38 -0800
commitcba00eed5ca9c4ca780a327564f82994f8fbecbe (patch)
tree8ddacb1e22cf6f8fba519abafe8793c1e533cc2e
parentfeat(elfeed): more feeds (diff)
downloademacs.d-cba00eed5ca9c4ca780a327564f82994f8fbecbe.tar.gz
ref(ui): use the default color scheme
The theme for modus evolves constantly and is hard to keep up with (it's
not the first time I have issues with it).

The default color scheme is "good enough", and I revert it to use a dark background.

Change-Id: I0e0c984fb5fb3933cdcfdbda12e61ae391e0272f
-rw-r--r--emacs/custom/my-ui.el19
-rw-r--r--emacs/init.el3
2 files changed, 3 insertions, 19 deletions
diff --git a/emacs/custom/my-ui.el b/emacs/custom/my-ui.el
index 2acf1f7..ad9db49 100644
--- a/emacs/custom/my-ui.el
+++ b/emacs/custom/my-ui.el
@@ -27,25 +27,6 @@
   ;; rendered correctly 😇 😀 and 🤢
   (set-fontset-font t 'symbol "Noto Color Emoji" nil 'append))
 
-;; Load a custom theme
-(eval-and-compile
-  (require 'modus-themes nil t)
-  (setq modus-themes-syntax '(faint)
-        modus-themes-links '(bold)
-        modus-themes-fringes '(intense)
-        modus-themes-markup '(bold intense background)
-        modus-themes-italic-constructs t
-        modus-themes-lang-checkers '(background)
-        modus-themes-org-blocks 'gray-background
-        modus-themes-variable-pitch-ui nil
-        modus-themes-headings '((1 . (background 1))
-                                (2 . (rainbow semibold 1))
-                                (t . (bold)))
-        modus-themes-completions '((matches   . (extrabold intense))
-                                   (selection . (semibold  intense))
-                                   (popup     . (extrabold intense))))
-  (load-theme 'modus-operandi t))
-
 (customize-set-variable 'display-time-24hr-format t)
 (customize-set-variable 'display-time-day-and-date t)
 (customize-set-variable 'display-time-format "%a %e %b, %H:%M")
diff --git a/emacs/init.el b/emacs/init.el
index a5d46dc..b1a6de6 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -3,6 +3,9 @@
 
 ;;; Code:
 
+;;; default colors, but inverted. Doing this early to avoid flickering.
+(invert-face 'default)
+
 ;; store all the customizations into that file. if the file does not
 ;; exists, we create an empty file, and then we load it.
 (setq custom-file (expand-file-name "var/custom.el" user-emacs-directory))