mirror of
https://github.com/emacs-vs/vs-light-theme.git
synced 2025-12-15 14:51:03 -08:00
129 lines
6.4 KiB
EmacsLisp
129 lines
6.4 KiB
EmacsLisp
;;; vs-light-theme.el --- Visual Studio IDE light theme
|
|
|
|
;; Copyright (C) 2019-2022 , Jen-Chieh Shen
|
|
|
|
;; Author: Jen-Chieh Shen
|
|
;; URL: https://github.com/emacs-vs/vs-light-theme
|
|
;; Version: 1.0
|
|
;; Package-Requires: ((emacs "24.1"))
|
|
|
|
;; This file is NOT part of GNU Emacs.
|
|
|
|
;; 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/>.
|
|
|
|
;;; Commentary:
|
|
;;
|
|
;; Visual Studio IDE light theme.
|
|
;;
|
|
|
|
;;; Code:
|
|
|
|
(deftheme vs-light
|
|
"Visual Studio IDE light theme.")
|
|
|
|
(custom-theme-set-faces
|
|
'vs-light
|
|
`(default ((t (:background "#ffffff" :foreground "#000000"))))
|
|
`(font-lock-builtin-face ((t (:foreground "#0C6EEF"))))
|
|
`(font-lock-comment-face ((t (:foreground "olive drab"))))
|
|
`(font-lock-negation-char-face ((t (:foreground "#2B91AF"))))
|
|
`(font-lock-reference-face ((t (:foreground "#2B91AF"))))
|
|
`(font-lock-constant-face ((t (:foreground "#2B91AF"))))
|
|
`(font-lock-doc-face ((t (:foreground "olive drab"))))
|
|
`(font-lock-function-name-face ((t (:foreground "#74534B"))))
|
|
`(font-lock-keyword-face ((t (:foreground "#0000FF"))))
|
|
`(font-lock-preprocessor-face ((t (:foreground "#808080"))))
|
|
`(font-lock-string-face ((t (:foreground "#B21515"))))
|
|
`(font-lock-type-face ((t (:foreground "#2B91AF"))))
|
|
`(font-lock-variable-name-face ((t (:foreground "#000000"))))
|
|
|
|
`(line-number ((t (:background "#EEEEEE" , :foreground "#2B91AF"))))
|
|
`(cursor ((t :background "#909090")))
|
|
`(hl-line ((t :background "#E6E6E6")))
|
|
`(region ((t :background "#99C9EF")))
|
|
`(fringe ((t :background "#E6E7E8")))
|
|
|
|
`(show-paren-match ((t :background "#C6E370")))
|
|
|
|
`(tree-sitter-hl-face:tag ((t :foreground "#900022")))
|
|
`(tree-sitter-hl-face:type.builtin ((t :foreground "#0000FF")))
|
|
`(tree-sitter-hl-face:type ((t :foreground "#2B91AF")))
|
|
`(tree-sitter-hl-face:function ((t :foreground "black")))
|
|
`(tree-sitter-hl-face:function.call ((t :foreground "black")))
|
|
`(tree-sitter-hl-face:variable.parameter ((t :foreground "#808080")))
|
|
`(tree-sitter-hl-face:property ((t :foreground "#2F4F4F")))
|
|
`(tree-sitter-hl-face:property.definition ((t :foreground "#2F4F4F")))
|
|
`(tree-sitter-hl-face:punctuation ((t :foreground "#020000")))
|
|
`(tree-sitter-hl-face:operator ((t :foreground "#020000")))
|
|
`(tree-sitter-hl-face:number ((t :foreground "black")))
|
|
`(tree-sitter-hl-face:constant ((t :foreground "#6F008A")))
|
|
`(tree-sitter-hl-face:constant.builtin ((t :foreground "#0000FF")))
|
|
`(tree-sitter-hl-face:keyword ((t :foreground "#0000FF")))
|
|
`(tree-sitter-hl-face:variable ((t :foreground "#000000")))
|
|
`(tree-sitter-hl-face:variable.special ((t :foreground "#6F008A")))
|
|
|
|
`(company-tooltip-annotation ((t :foreground "#41474D")))
|
|
`(company-fuzzy-annotation-face ((t :foreground "#5E85AB")))
|
|
`(company-preview ((t :foreground "dark gray" :underline t)))
|
|
`(company-preview-common ((t (:inherit company-preview))))
|
|
`(company-tooltip ((t :background "#F5F5F5" :foreground "black")))
|
|
`(company-tooltip-selection ((t :background "#D6EBFF" :foreground "black")))
|
|
`(company-tooltip-common ((((type x)) (:inherit company-tooltip :weight bold))
|
|
(t (:background "#F5F5F5" :foreground "#0066BF"))))
|
|
`(company-tooltip-common-selection ((((type x)) (:inherit company-tooltip-selection :weight bold))
|
|
(t (:background "#D6EBFF" :foreground "#0066BF"))))
|
|
`(company-scrollbar-bg ((t :background "#F5F5F5")))
|
|
`(company-scrollbar-fg ((t :background "#C2C3C9")))
|
|
|
|
`(popup-tip-face ((t :background "#E9EAED" :foreground "#1E1E1E")))
|
|
|
|
`(ahs-plugin-default-face ((t :background "#E2E6D6" :box (:line-width -1 :style pressed-button :color "#525D68"))))
|
|
`(ahs-plugin-default-face-unfocused ((t :background "#F1F2EE" :box (:line-width -1 :style pressed-button :color "#525D68"))))
|
|
`(ahs-face ((t :background "#E2E6D6" :box (:line-width -1 :style pressed-button :color "#525D68"))))
|
|
`(ahs-definition-face ((t :background "#E2E6D6" :box (:line-width -1 :style pressed-button :color "#525D68"))))
|
|
`(ahs-face-unfocused ((t :background "#F1F2EE" :box (:line-width -1 :style pressed-button :color "#525D68"))))
|
|
`(ahs-definition-face-unfocused ((t :background "#F1F2EE" :box (:line-width -1 :style pressed-button :color "#525D68"))))
|
|
|
|
`(centaur-tabs-display-line ((t :background "#D3D3D3" :box nil :overline nil :underline nil)))
|
|
`(centaur-tabs-default ((t :background "#D3D3D3")))
|
|
`(centaur-tabs-unselected ((t :background "#E8E8E8" :foreground "grey50")))
|
|
`(centaur-tabs-selected ((t :background "#E8E8E8" :foreground "black")))
|
|
`(centaur-tabs-unselected-modified ((t :background "#E8E8E8" :foreground "grey50")))
|
|
`(centaur-tabs-selected-modified ((t :background "#E8E8E8" :foreground "black")))
|
|
`(centaur-tabs-modified-marker-unselected ((t :background "#E8E8E8" :foreground "grey50")))
|
|
`(centaur-tabs-modified-marker-selected ((t :background "#E8E8E8" :foreground "black")))
|
|
|
|
`(dashboard-banner-logo-title ((t :foreground "#616161")))
|
|
`(dashboard-heading ((t :foreground "#727272")))
|
|
`(dashboard-items-face ((t :foreground "#1475B7")))
|
|
|
|
`(yascroll:thumb-fringe ((t :background "#C2C3C9" :foreground "#C2C3C9")))
|
|
`(yascroll:thumb-text-area ((t :background "#C2C3C9" :foreground "#C2C3C9")))
|
|
)
|
|
|
|
;;;###autoload
|
|
(when load-file-name
|
|
(add-to-list 'custom-theme-load-path
|
|
(file-name-as-directory (file-name-directory load-file-name))))
|
|
|
|
;;;###autoload
|
|
(defun vs-light-theme ()
|
|
"Load Visual Studio light theme."
|
|
(interactive)
|
|
(load-theme 'vs-light t))
|
|
|
|
(provide-theme 'vs-light)
|
|
|
|
(provide 'vs-light-theme)
|
|
;;; vs-light-theme.el ends here
|