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

This reverts commit d78e61c800.
This commit is contained in:
Zelong Kuang
2025-12-06 15:31:50 +11:00
parent 7108760718
commit ee168166e8
3 changed files with 27 additions and 55 deletions

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 "lisp/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 "org-version.el"
(require 'lisp-mnt)
(let
((version
@@ -29,16 +29,12 @@
(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)