/vscode-dark-plus-emacs-theme

An accurate port of the default Visual Studio Code Dark+ theme for Emacs

Primary LanguageEmacs LispGNU General Public License v3.0GPL-3.0

πŸ–₯ Visual Studio Code Dark+ for Emacs πŸ–₯


Maintenance Version GPL License


βœ” A complete port of the default Visual Studio Code Dark+ theme for Emacs


alt text


More Screenshots

Introduction πŸ‘‹

This theme aims to be as identical as possible to the default Dark+ color scheme used by Visual Studio Code. To see the original Visual Studio Code by Microsoft in action, consider this YouTube video.

If you find any inconsistency between Visual Studio Code's Dark+ and my port, please file an issue and I'll try my best to fix it.

Installation 🀘

Installation Method 1: MELPA (Recommended)

vscode-dark-plus-theme is now on MELPA as a package (as of 8. June. 2020)! An example use-package declaration:

(use-package vscode-dark-plus-theme
  :ensure t
  :config
  (load-theme 'vscode-dark-plus t))

Installation Method 2: manual install

Download vscode-dark-plus-theme.el and put it under ~/.emacs.d/themes/ (or ~/.config/emacs/themes/), then add these lines to your init.el:

(add-to-list 'custom-theme-load-path "~/.emacs.d/themes/")
; or
(add-to-list 'custom-theme-load-path "~/.config/emacs/themes/")

(load-theme 'vscode-dark-plus t)

Options 🧐

You can set a few options to customize some of the faces.

;; Remove the border around the TODO word on org-mode files
(setq vscode-dark-plus-box-org-todo nil)

;; Do not set different heights for some org faces
(setq vscode-dark-plus-scale-org-faces nil)

;; Avoid inverting hl-todo face
(setq vscode-dark-plus-invert-hl-todo nil)

;; Configure current line highlighting style (works best with Emacs 28 or newer)
(setq vscode-dark-plus-render-line-highlight 'line)

Support for Solaire-Mode πŸ™ƒ

The following snippet turns on solaire-mode support.

(use-package solaire-mode
  :ensure t
  :config
  (solaire-global-mode +1))

(use-package vscode-dark-plus-theme
  :ensure t
  :config
  (load-theme 'vscode-dark-plus t))

More Screenshots πŸ€

alt text


alt text


alt text



CopyrightΒ© 2020-2023 Ian Y.E. Pan

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.