Use solarized themes

This commit is contained in:
Marcel Fries
2025-02-27 10:44:28 +01:00
parent c36a410beb
commit d2e21a207f

18
init.el
View File

@@ -29,23 +29,13 @@
(straight-use-package 'bind-key) (straight-use-package 'bind-key)
;; Themeing ;; Themeing
(use-package solarized-theme
;; use modus themes
(use-package modus-themes
:straight t :straight t
:config :config
;; Add all your customizations prior to loading the themes
(setq modus-themes-italic-constructs t
modus-themes-bold-constructs nil)
;; Maybe define some palette overrides, such as by using our presets
(setq modus-themes-common-palette-overrides
modus-themes-preset-overrides-intense)
;; Load the theme of your choice. ;; Load the theme of your choice.
(if (file-exists-p "~/.emacs.d/dark-mode") (if (file-exists-p "~/.emacs.d/dark-mode")
(load-theme 'modus-vivendi t) (load-theme 'solarized-dark t)
(load-theme 'modus-operandi t)) (load-theme 'solarized-light t))
(define-key global-map (kbd "<f5>") (define-key global-map (kbd "<f5>")
(lambda () (lambda ()
@@ -55,7 +45,7 @@
(delete-file dark-mode-file) (delete-file dark-mode-file)
(with-temp-buffer (with-temp-buffer
(write-file dark-mode-file))) (write-file dark-mode-file)))
(modus-themes-toggle))))) (solarized-toggle-theme)))))
;; Default frame size ;; Default frame size
(setq default-frame-alist (setq default-frame-alist