blob: f0ea4a6ae8b7fd443ae1c52559a14c36e743e779 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
;;; wiki-faces.el -- faces for wiki-mode -*- lexical-binding: t -*-
;; Copyright (C) 2023 Free Software Foundation.
;; Author: Yuchen Pei <id@ypei.org>
;; Package-Requires: ((emacs "28.2"))
;; This file is part of wiki.el.
;; wiki.el is free software: you can redistribute it and/or modify it under
;; the terms of the GNU Affero General Public License as published by
;; the Free Software Foundation, either version 3 of the License, or
;; (at your option) any later version.
;; wiki.el 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 Affero General
;; Public License for more details.
;; You should have received a copy of the GNU Affero General Public
;; License along with wiki.el. If not, see <https://www.gnu.org/licenses/>.
;;; Commentary:
;; faces for wiki-mode.
;;; Code:
(defgroup wiki-faces nil
"Faces in wiki mode."
:tag "Wiki Faces"
:group 'wiki-appearance)
(defface wiki-level-1 '((t :inherit outline-1))
"Face used for level 1 headlines."
:group 'wiki-faces)
(defvar wiki-level-1 'wiki-level-1
"Face used for level 1 headlines.")
(defface wiki-level-2 '((t :inherit outline-2))
"Face used for level 2 headlines."
:group 'wiki-faces)
(defvar wiki-level-2 'wiki-level-2
"Face used for level 2 headlines.")
(defface wiki-level-3 '((t :inherit outline-3))
"Face used for level 3 headlines."
:group 'wiki-faces)
(defvar wiki-level-3 'wiki-level-3
"Face used for level 3 headlines.")
(defface wiki-level-4 '((t :inherit outline-4))
"Face used for level 4 headlines."
:group 'wiki-faces)
(defvar wiki-level-4 'wiki-level-4
"Face used for level 4 headlines.")
(defface wiki-level-5 '((t :inherit outline-5))
"Face used for level 5 headlines."
:group 'wiki-faces)
(defvar wiki-level-5 'wiki-level-5
"Face used for level 5 headlines.")
(defface wiki-level-6 '((t :inherit outline-6))
"Face used for level 6 headlines."
:group 'wiki-faces)
(defvar wiki-level-6 'wiki-level-6
"Face used for level 6 headlines.")
(defface wiki-hr-face '((t :inherit font-lock-builtin-face))
"Wiki hrule face")
(defvar wiki-hr-face 'wiki-hr-face
"Wiki hrule face")
(defface wiki-bold-italic '((t :inherit bold-italic))
"Wiki bold-italic face")
(defvar wiki-bold-italic 'wiki-bold-italic
"Wiki bold-italic face")
(defface wiki-bold '((t :inherit bold))
"Wiki bold face")
(defvar wiki-bold 'wiki-bold
"Wiki bold face")
(defface wiki-italic '((t :inherit italic))
"Wiki italic face")
(defvar wiki-italic 'wiki-italic "Wiki italic face")
(defface wiki-pre-face '((t :inherit org-code)) "Wiki pre face")
(defvar wiki-pre-face 'wiki-pre-face "Wiki pre face")
(defface wiki-link '((t :inherit org-link)) "Wiki link face")
(defvar wiki-link 'wiki-link "Wiki link face")
(defface wiki-comment '((t :inherit font-lock-comment-face)) "Wiki comment face")
(defvar wiki-comment 'wiki-comment "Wiki comment face")
(defface wiki-special-keyword '((t :inherit org-special-keyword))
"Wiki special keyword face")
(defvar wiki-special-keyword 'wiki-special-keyword
"Wiki special keyword face")
(provide 'wiki-faces)
;;; wiki-faces.el ends here
|