From 1a8d916faefb765521b4e01602446dee237436a3 Mon Sep 17 00:00:00 2001 From: Thomas von Dein Date: Thu, 20 Apr 2023 18:38:36 +0200 Subject: [PATCH] customized mode-line colors --- conf-lisp/display.el | 10 +++++++++- init.el | 2 ++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/conf-lisp/display.el b/conf-lisp/display.el index c401183..c887c99 100644 --- a/conf-lisp/display.el +++ b/conf-lisp/display.el @@ -11,7 +11,15 @@ (use-package solarized-theme :ensure t :config - (load-theme 'solarized-dark t)) + (load-theme 'solarized-dark-high-contrast t)) ;;; ** increase default font size on startup (set-face-attribute 'default nil :height 133) + +;; customize mode-line colors to have a little more contrast to the content +;; for reference, I used thes color codes as a base: +;; https://gist.github.com/ninrod/b0f86d77ebadaccf7d9d4431dd8e2983 +;; and tweaked them in gimp a little +(set-face-background 'mode-line "#02161B") ;; base02 darkened +(set-face-foreground 'mode-line-inactive "#4d4d4d") ;; just grey +(set-face-background 'mode-line-inactive "#02161B") diff --git a/init.el b/init.el index 86433a9..f52913c 100644 --- a/init.el +++ b/init.el @@ -161,6 +161,8 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. + '(custom-safe-themes + '("7f1d414afda803f3244c6fb4c2c64bea44dac040ed3731ec9d75275b9e831fe5" default)) '(package-selected-packages '(tramp dictcc beacon which-key goto-last-change browse-kill-ring fringe-current-line swiper smex undo-tree fic-mode cmake-mode yaml-mode windresize web-mode use-package tablist solarized-theme smartparens rust-mode projectile persistent-scratch org-bullets markdown-mode magit iedit ibuffer-vc ibuffer-tramp hydra htmlize highlight-indentation go-mode eyebrowse elmacro dumb-jump dired-ranger dired-k dired-filter default-text-scale change-inner buffer-move)) '(safe-local-variable-values '((ruby-indent-level 4)))