Revert "feat(config): Switch to dark theme and enable"

This reverts commit 59e3b5c935.
This commit is contained in:
Zelong Kuang
2025-12-06 01:32:13 +11:00
parent d1720baf4b
commit 645fa7122a
3 changed files with 32 additions and 24 deletions

View File

@@ -16,7 +16,7 @@
(add-to-list 'default-frame-alist '(width . 100))))
(setq catppuccin-flavor 'catppuccin)
(setq doom-theme 'modus-vivendi-tritanopia)
(setq doom-theme 'modus-operandi)
(setq display-line-numbers-type 'relative)
(setq org-directory "~/org/")
@@ -157,4 +157,4 @@
#'my/org-latex-preview-uncenter)))
)
(add-to-list 'org-modules 'org-habit)
;; (add-to-list 'org-modules 'org-habit)

View File

@@ -25,7 +25,7 @@
(add-to-list 'default-frame-alist '(width . 100))))
(setq catppuccin-flavor 'catppuccin)
(setq doom-theme 'modus-vivendi-tritanopia)
(setq doom-theme 'modus-operandi)
(setq display-line-numbers-type 'relative)
(setq org-directory "~/org/")
#+end_src
@@ -195,12 +195,12 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
*** Org
#+begin_src emacs-lisp :tangle packages.el
(package! org :recipe
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
:files
(:defaults "etc")
:build t :pre-build
(with-temp-file "org-version.el"
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git"
:remote "mirror" :fork
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git"
:branch "dev" :remote "tecosaur")
:files (:defaults "etc") :build t :pre-build
(with-temp-file "lisp/org-version.el"
(require 'lisp-mnt)
(let
((version
@@ -210,14 +210,18 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
(git-version
(string-trim
(with-temp-buffer
(call-process "git" nil t nil "rev-parse" "--short" "HEAD")
(call-process "git" nil t nil "rev-parse"
"--short" "HEAD")
(buffer-string)))))
(insert
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
(format
"(defun org-release () \"The release version of Org.\" %S)\n"
version)
(format
"(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n"
git-version)
"(provide 'org-version)\n"))))
:pin nil)
(unpin! org)
#+end_src
**** Latex live-preview (fast)
@@ -302,5 +306,5 @@ Thisenables the feature of auto-expanding snippets when matching the pattern
#+end_src
**** org habit
#+begin_src emacs-lisp
(add-to-list 'org-modules 'org-habit)
;; (add-to-list 'org-modules 'org-habit)
#+end_src

View File

@@ -14,12 +14,12 @@
:recipe (:host github :repo "havarddj/typst-preview.el"))
(package! org :recipe
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git" :remote "mirror" :fork
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git" :branch "dev" :remote "tecosaur")
:files
(:defaults "etc")
:build t :pre-build
(with-temp-file "org-version.el"
(:host nil :repo "https://code.tecosaur.net/mirrors/org-mode.git"
:remote "mirror" :fork
(:host nil :repo "https://code.tecosaur.net/tec/org-mode.git"
:branch "dev" :remote "tecosaur")
:files (:defaults "etc") :build t :pre-build
(with-temp-file "lisp/org-version.el"
(require 'lisp-mnt)
(let
((version
@@ -29,12 +29,16 @@
(git-version
(string-trim
(with-temp-buffer
(call-process "git" nil t nil "rev-parse" "--short" "HEAD")
(call-process "git" nil t nil "rev-parse"
"--short" "HEAD")
(buffer-string)))))
(insert
(format "(defun org-release () \"The release version of Org.\" %S)\n" version)
(format "(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n" git-version)
(format
"(defun org-release () \"The release version of Org.\" %S)\n"
version)
(format
"(defun org-git-version () \"The truncate git commit hash of Org mode.\" %S)\n"
git-version)
"(provide 'org-version)\n"))))
:pin nil)
(unpin! org)