From cba00eed5ca9c4ca780a327564f82994f8fbecbe Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 18 Jan 2023 18:51:38 -0800 Subject: 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 --- emacs/custom/my-ui.el | 19 ------------------- emacs/init.el | 3 +++ 2 files changed, 3 insertions(+), 19 deletions(-) (limited to 'emacs') 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)) -- cgit 1.4.1