feat: emacs - remove theme - catppuccin-emacs, doom-one is more comfort

This commit is contained in:
Ryan Yin
2024-01-04 14:58:22 +08:00
parent 76883edf0b
commit 8af056a3ea
3 changed files with 4 additions and 31 deletions

View File

@@ -32,19 +32,9 @@
;; There are two ways to load a theme. Both assume the theme is installed and
;; available. You can either set `doom-theme' or manually load a theme with the
;; `load-theme' function. This is the default:
;; (setq doom-theme 'doom-one)
;; https://github.com/catppuccin/emacs/
(setq doom-theme 'catppuccin)
(setq catppuccin-flavor 'mocha) ;; 'frappe, 'latte, 'macchiato, or 'mocha
;; make emacs transparent(do not works on terminal)
;; (set-frame-parameter nil 'alpha-background 70)
;; (add-to-list 'default-frame-alist '(alpha-background . 70))
;;(set-frame-parameter (selected-frame) 'alpha '(<active> . <inactive>))
;;(set-frame-parameter (selected-frame) 'alpha <both>)
;; (set-frame-parameter (selected-frame) 'alpha '(85 . 50))
;; (add-to-list 'default-frame-alist '(alpha . (85 . 50)))
;; other doom's official themes:
;; https://github.com/doomemacs/themes
(setq doom-theme 'doom-one)
;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'.
@@ -130,10 +120,3 @@
:demand t
:custom
(lsp-nix-nil-formatter ["alejandra"]))
;; fix yaml highlighting for catppuccin theme
;; https://github.com/catppuccin/emacs/issues/55
(add-hook 'yaml-mode-hook
(lambda ()
(face-remap-add-relative 'font-lock-variable-name-face
(list :foreground (catppuccin-get-color 'blue)))))

View File

@@ -34,13 +34,9 @@
;;doom-quit ; DOOM quit-message prompts when you quit Emacs
(emoji +unicode) ; 🙂
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
;;hydra
indent-guides ; highlighted indent columns
;;ligatures ; ligatures and symbols to make your code pretty again
;;minimap ; show a map of the code on the side
ligatures ; ligatures and symbols to make your code pretty again
modeline ; snazzy, Atom-inspired modeline, plus API
;;nav-flash ; blink cursor line after big motions
;; neotree ; a project drawer, like NERDTree for vim
ophints ; highlight the region an operation acts on
(popup +defaults) ; tame sudden yet inevitable temporary windows
tabs ; a tab bar for Emacs
@@ -57,7 +53,6 @@
file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding
(format +onsave) ; automated prettiness
;;god ; run Emacs commands without modifier keys
;;lispy ; vim for lisp, for people who don't like vim
;;multiple-cursors ; editing in many places at once
;;objed ; text object editing for the innocent
@@ -94,7 +89,6 @@
editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs
(eval +overlay) ; run code, run (also, repls)
;;gist ; interacting with github gists
lookup ; navigate your code and its documentation
lsp ; M-x vscode
magit ; a git porcelain for Emacs
@@ -102,8 +96,6 @@
;;pass ; password manager for nerds
pdf ; pdf enhancements
;;prodigy ; FIXME managing external services & code builders
;;rgb ; creating color strings
;;taskrunner ; taskrunner for all your projects
(terraform +lsp) ; infrastructure as code
;;tmux ; an API for interacting with tmux
tree-sitter ; syntax and parsing, sitting in a tree...

View File

@@ -14,8 +14,6 @@
(package! wakatime-mode
:recipe (:host github :repo "wakatime/wakatime-mode" :files ("*.el" "dist")))
(package! catppuccin-theme)
;; To install SOME-PACKAGE from MELPA, ELPA or emacsmirror:
;; (package! some-package)