diff options
| author | Jesus <heckyel@hyperbola.info> | 2024-05-20 03:40:50 +0800 |
|---|---|---|
| committer | Jesus <heckyel@hyperbola.info> | 2024-05-20 03:40:50 +0800 |
| commit | 456d727429e849c168a9dea6ae0977a6ce0e63f5 (patch) | |
| tree | a4d35cfec26817d14ce2b81137c085698595097d /modules | |
| parent | 5eda7990e28cc070c061c2734b803612a20921b8 (diff) | |
| download | emacs-personal-456d727429e849c168a9dea6ae0977a6ce0e63f5.tar.lz emacs-personal-456d727429e849c168a9dea6ae0977a6ce0e63f5.tar.xz emacs-personal-456d727429e849c168a9dea6ae0977a6ce0e63f5.zip | |
Fix vscode-dark-plus-theme look
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/init-vscode-theme.el | 18 |
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)) |
