u
[emacs-helper.git] / eh-theme.el
blobece2f918873226e1524938d2fb93018fcb6884f5
1 ;;; eh-theme.el --- Tumashu's emacs configuation -*- lexical-binding: t; -*-
3 ;; * Header
4 ;; Copyright (c) 2011-2019, Feng Shu
6 ;; Author: Feng Shu <tumashu@163.com>
7 ;; URL: https://github.com/tumashu/emacs-helper
8 ;; Version: 0.0.1
10 ;; This file is not part of GNU Emacs.
12 ;;; License:
14 ;; This program is free software; you can redistribute it and/or
15 ;; modify it under the terms of the GNU General Public License
16 ;; as published by the Free Software Foundation; either version 3
17 ;; of the License, or (at your option) any later version.
19 ;; This program is distributed in the hope that it will be useful,
20 ;; but WITHOUT ANY WARRANTY; without even the implied warranty of
21 ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22 ;; GNU General Public License for more details.
24 ;; You should have received a copy of the GNU General Public License
25 ;; along with GNU Emacs; see the file COPYING. If not, write to the
26 ;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
27 ;; Boston, MA 02110-1301, USA.
29 ;;; Commentary:
31 ;; * 简介 :README:
32 ;; 这个文件是tumashu个人专用的emacs配置文件,emacs中文用户可以参考。
34 ;;; Code:
36 ;; * 代码 :code:
38 ;; ** modus
39 (require 'modus-themes)
41 (setq modus-themes-italic-constructs t)
42 (setq modus-themes-bold-constructs t)
43 (setq modus-themes-headings '((t . (1.0))))
45 (setq modus-themes-common-palette-overrides
46 '((fg-heading-1 blue-warmer)
47 (fg-heading-2 yellow-cooler)
48 (fg-heading-3 cyan-cooler)
49 (border-mode-line-active unspecified)
50 (border-mode-line-inactive unspecified)))
52 (load-theme 'modus-vivendi :no-confim)
54 ;; Tab-line
55 (dolist (face '(tab-line
56 tab-line-tab
57 tab-line-highlight
58 tab-line-tab-special
59 tab-line-tab-inactive
60 tab-line-tab-modified
61 tab-line-close-highlight
62 tab-line-tab-inactive-alternate))
63 (custom-set-faces
64 `(,face ((t :weight bold :box nil :height 1.0)))))
66 ;; * Footer
67 (provide 'eh-theme)
69 ;; Local Variables:
70 ;; coding: utf-8-unix
71 ;; End:
73 ;;; eh-theme.el ends here