Fix vscode-dark-plus-theme look

This commit is contained in:
Jesus 2024-05-20 03:40:50 +08:00
parent 5eda7990e2
commit 456d727429
Signed by: heckyel
GPG Key ID: 531E723EED721D7C

View File

@ -15,8 +15,6 @@
(set-cursor-color "#2979FF") (set-cursor-color "#2979FF")
(set-background-color "#1C1E1F") (set-background-color "#1C1E1F")
(set-face-foreground 'font-lock-string-face "#FFFFFF")
;; highlight ;; highlight
(set-face-foreground 'highlight "#F4F4F4") (set-face-foreground 'highlight "#F4F4F4")
(set-face-background 'highlight "#004575") (set-face-background 'highlight "#004575")
@ -31,11 +29,17 @@
(set-face-background 'fringe nil) (set-face-background 'fringe nil)
;; Fix linum current-line highlight ;; Define a face for the current line number
(defface my-linum-hl (defface my-line-number-current-line
'((t :background "#007acc" :foreground "#FFFFFF")) '((t :background "#007ACC" :foreground "#FFFFFF"))
"Face for the currently active Line number" "Face for the currently active line number"
:group 'linum)) :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 ;; Invoke color
(current-dark-color)) (current-dark-color))