aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--modules/init-vscode-theme.el18
1 files changed, 11 insertions, 7 deletions
diff --git a/modules/init-vscode-theme.el b/modules/init-vscode-theme.el
index 022d583..359d4bb 100644
--- a/modules/init-vscode-theme.el
+++ b/modules/init-vscode-theme.el
@@ -15,8 +15,6 @@
(set-cursor-color "#2979FF")
(set-background-color "#1C1E1F")
- (set-face-foreground 'font-lock-string-face "#FFFFFF")
-
;; highlight
(set-face-foreground 'highlight "#F4F4F4")
(set-face-background 'highlight "#004575")
@@ -31,11 +29,17 @@
(set-face-background 'fringe nil)
- ;; Fix linum current-line highlight
- (defface my-linum-hl
- '((t :background "#007acc" :foreground "#FFFFFF"))
- "Face for the currently active Line number"
- :group 'linum))
+ ;; 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))