aboutsummaryrefslogtreecommitdiffstats
path: root/modules/init-vscode-theme.el
diff options
context:
space:
mode:
authorAstounds <kirito@disroot.org>2026-02-28 00:39:33 -0500
committerAstounds <kirito@disroot.org>2026-02-28 00:39:33 -0500
commit47333c1f4f6fd88c4f737d60bf0d796c357861a2 (patch)
tree5cb37c3ae69f7fc252e2db078f654d94c9f4bff8 /modules/init-vscode-theme.el
parent1aedc8d100b656b26f8bd83a98e947b009a1b977 (diff)
downloademacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.tar.lz
emacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.tar.xz
emacs-personal-47333c1f4f6fd88c4f737d60bf0d796c357861a2.zip
perf: optimize startup time and fix theme colorsHEADmaster
Performance improvements (2.4s → 0.97s, 60% faster): - Enable use-package-always-defer for lazy loading - Add native compilation support (Emacs 28+) - Defer company, ivy, projectile with :defer - Move settings from :config to :init where possible - Remove redundant package-refresh-contents
Diffstat (limited to 'modules/init-vscode-theme.el')
-rw-r--r--modules/init-vscode-theme.el38
1 files changed, 2 insertions, 36 deletions
diff --git a/modules/init-vscode-theme.el b/modules/init-vscode-theme.el
index 359d4bb..36ce1be 100644
--- a/modules/init-vscode-theme.el
+++ b/modules/init-vscode-theme.el
@@ -5,44 +5,10 @@
;;; Code:
(use-package vscode-dark-plus-theme
- :pin "MELPA"
:ensure t
+ :demand t
:config
- (load-theme 'vscode-dark-plus t)
-
- (defun current-dark-color ()
- "Simple current-dark-color for theme."
- (set-cursor-color "#2979FF")
- (set-background-color "#1C1E1F")
-
- ;; highlight
- (set-face-foreground 'highlight "#F4F4F4")
- (set-face-background 'highlight "#004575")
-
- ;; Modeline
- (set-face-foreground 'mode-line "#FFFFFF")
- (set-face-foreground 'mode-line-inactive "#f4f4f4")
- (set-face-foreground 'mode-line-highlight "#f4f4f4")
-
- (set-face-background 'mode-line "#6a157e")
- (set-face-background 'mode-line-inactive "#7B1FA2")
-
- (set-face-background 'fringe nil)
-
- ;; Define a face for the current line number
- (defface my-line-number-current-line
- '((t :background "#007ACC" :foreground "#FFFFFF"))
- "Face for the currently active line number"
- :group 'display-line-numbers)
-
- ;; Set the face for the current line number
- (set-face-attribute 'line-number-current-line nil
- :background "#007ACC"
- :foreground "#FFFFFF")
- )
-
- ;; Invoke color
- (current-dark-color))
+ (load-theme 'vscode-dark-plus t))
(provide 'init-vscode-theme)