Change theaming

This commit is contained in:
tar 2023-08-01 19:40:22 +02:00
parent 9aa893f17a
commit 5fc5e30044
1 changed files with 34 additions and 47 deletions

81
init.el
View File

@ -10,7 +10,8 @@
:ensure t :ensure t
:config (which-key-mode)) :config (which-key-mode))
(set-face-attribute 'default nil :font "JetBrains Mono" :height 130) ;; (set-face-attribute 'default nil :font "JetBrains Mono" :height 130)
(set-face-attribute 'default nil :font "VictorMono Nerd Font Mono" :height 110)
(set-default-coding-systems 'utf-8) (set-default-coding-systems 'utf-8)
@ -24,6 +25,8 @@
(setq-default indent-tabs-mode nil) (setq-default indent-tabs-mode nil)
(tool-bar-mode -1)
;;(setq ido-everywhere t) ;;(setq ido-everywhere t)
;;(setq ido-enable-flex-matching t) ;;(setq ido-enable-flex-matching t)
@ -173,48 +176,6 @@ Exempt major modes are defined in `display-line-numbers-exempt-modes'."
(global-display-line-numbers-mode) (global-display-line-numbers-mode)
;; theming starts here:
(use-package modus-themes
:ensure t)
(load-theme 'modus-operandi-tinted t)
;;(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
;;(use-package doom-themes
;; :ensure t
;; :config
;; (load-theme 'doom-monokai-pro t))
;; (use-package zenburn-theme
;; :ensure t)
;; (load-theme 'zenburn t)
;; (use-package birds-of-paradise-plus-theme
;; :ensure t)
;; (load-theme 'birds-of-paradise-plus t)
;; (use-package spacemacs-theme
;; :defer t
;; :init (load-theme 'spacemacs-light t))
;; (use-package poet-theme
;; :ensure t)
;; (load-theme 'poet t)
;; ;;(set-face-attribute 'default nil :family "DejaVu Sans Mono" :height 130)
;; (set-face-attribute 'fixed-pitch nil :family "DejaVu Sans Mono")
;; (set-face-attribute 'variable-pitch nil :family "IBM Plex Serif")
;; (add-to-list
;; 'default-frame-alist'(ns-transparent-titlebar . t))
;; (add-to-list
;; 'default-frame-alist'(ns-appearance . light))
;; (add-hook 'text-mode-hook
;; (lambda ()
;; (variable-pitch-mode 1)))
(use-package magit (use-package magit
:ensure t) :ensure t)
@ -222,13 +183,39 @@ Exempt major modes are defined in `display-line-numbers-exempt-modes'."
:ensure t :ensure t
:hook (after-init . doom-modeline-mode)) :hook (after-init . doom-modeline-mode))
(use-package all-the-icons ;; M-x nerd-icons-install-fonts
:if (display-graphic-p)) (use-package nerd-icons
:ensure t)
;; prettier setup goes here
(use-package prettier-js (use-package prettier-js
:ensure t) :ensure t)
;; theming starts here:
(use-package ef-themes
:ensure t)
(setq ef-themes-to-toggle '(ef-day ef-autumn))
(setq ef-themes-headings ; read the manual's entry or the doc string
'((0 . (variable-pitch light 1.9))
(1 . (variable-pitch light 1.8))
(2 . (variable-pitch regular 1.7))
(3 . (variable-pitch regular 1.6))
(4 . (variable-pitch regular 1.5))
(5 . (variable-pitch 1.4)) ; absence of weight means `bold'
(6 . (variable-pitch 1.3))
(7 . (variable-pitch 1.2))
(t . (variable-pitch 1.1))))
(setq ef-themes-mixed-fonts t
ef-themes-variable-pitch-ui t)
(mapc #'disable-theme custom-enabled-themes)
;; (ef-themes-select 'ef-autumn)
(load-theme 'modus-operandi-tinted t)
;;________________________________________________________ ;;________________________________________________________
(use-package orderless (use-package orderless
@ -276,7 +263,7 @@ Exempt major modes are defined in `display-line-numbers-exempt-modes'."
;; Your init file should contain only one such instance. ;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right. ;; If there is more than one, they won't work right.
'(package-selected-packages '(package-selected-packages
'(tide which-key use-package pyenv-mode flycheck exec-path-from-shell elpy doom-themes doom-modeline all-the-icons))) '(ef-themes tide which-key use-package pyenv-mode flycheck exec-path-from-shell elpy doom-themes doom-modeline all-the-icons)))
(custom-set-faces (custom-set-faces
;; custom-set-faces was added by Custom. ;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful. ;; If you edit it by hand, you could mess it up, so be careful.