From bc73055430d293a39f7c430bed1c8a9f2957243a Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Fri, 23 Aug 2024 01:15:37 +0300 Subject: [PATCH] Default theme: zenburn -> monokai --- core/prelude-custom.el | 2 +- core/prelude-packages.el | 2 +- core/prelude-ui.el | 4 ++-- docs/configuration.md | 8 ++++---- docs/index.md | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/core/prelude-custom.el b/core/prelude-custom.el index 2de4122..c271a7e 100644 --- a/core/prelude-custom.el +++ b/core/prelude-custom.el @@ -112,7 +112,7 @@ Only modes that don't derive from `prog-mode' should be listed here." :type 'number :group 'prelude) -(defcustom prelude-theme 'zenburn +(defcustom prelude-theme 'monokai "The default color theme, change this in your /personal/preload config." :type 'symbol :group 'prelude) diff --git a/core/prelude-packages.el b/core/prelude-packages.el index ecf8b97..f498add 100644 --- a/core/prelude-packages.el +++ b/core/prelude-packages.el @@ -92,7 +92,7 @@ undo-tree volatile-highlights which-key - zenburn-theme + monokai-theme zop-to-char) "A list of packages to ensure are installed at launch.") diff --git a/core/prelude-ui.el b/core/prelude-ui.el index 2948323..ced4669 100644 --- a/core/prelude-ui.el +++ b/core/prelude-ui.el @@ -10,7 +10,7 @@ ;;; Commentary: ;; We dispense with most of the point and click UI, reduce the startup noise, -;; configure smooth scolling and a nice theme that's easy on the eyes (zenburn). +;; configure smooth scolling and a nice theme that's easy on the eyes (monokai). ;;; License: @@ -78,7 +78,7 @@ (abbreviate-file-name (buffer-file-name)) "%b")))) -;; use zenburn as the default theme +;; use monokai as the default theme (when prelude-theme (load-theme prelude-theme t)) diff --git a/docs/configuration.md b/docs/configuration.md index bbc9958..6ebaa76 100644 --- a/docs/configuration.md +++ b/docs/configuration.md @@ -33,19 +33,19 @@ Emacs provides a dozen of built-in themes you can use out-of-the-box by invoking the `M-x load-theme` command. -[Zenburn](https://github.com/bbatsov/zenburn-emacs) is the default +[Monokai](https://github.com/oneKelvinSmith/monokai-emacs) is the default color theme in Prelude, but you can change it at your discretion. Why -Zenburn? I (and lots of hackers around the world) find it pretty neat +Monokai? I (and lots of hackers around the world) find it pretty neat for some reason. Personally I find the default theme pretty tiresome for the eyes, that's why I took that "controversial" decision to replace it. You can, of course, easily go back to the default (or select another theme entirely). -To disable Zenburn just put in your personal config the following +To disable Monokai just put in your personal config the following line: ```emacs-lisp -(disable-theme 'zenburn) +(disable-theme 'monokai) ``` Or you can use another theme altogether by adding something in `personal/preload` like: diff --git a/docs/index.md b/docs/index.md index cc60a9f..1fe1acd 100644 --- a/docs/index.md +++ b/docs/index.md @@ -63,7 +63,7 @@ Here are some of the essential 3rd party packages that Prelude adds to Emacs: (auto-save buffers when moving around) * [which-key](https://github.com/justbur/emacs-which-key) (shows you possible keybindings when you type a partial keybinding) -* [zenburn-theme](https://github.com/bbatsov/zenburn-emacs) +* [monokai-theme](https://github.com/oneKelvinSmith/monokai-emacs) (Prelude's default color theme) * [undo-tree](https://elpa.gnu.org/packages/undo-tree.html) (A powerful way to navigate your editing history)