* PATCH: include line-number and tab-line in misterioso theme
@ 2020-12-06 17:08 Pedro Andres Aranda Gutierrez
0 siblings, 0 replies; only message in thread
From: Pedro Andres Aranda Gutierrez @ 2020-12-06 17:08 UTC (permalink / raw)
To: emacs-devel
[-- Attachment #1.1: Type: text/plain, Size: 441 bytes --]
Hi,
I was wondering why "built-in" themes don't include support for the faces
defined in line-number and tab-line, two cool features in newer emacs
versions.
I propose to derive them from the fringe and to make the tab line slighty
bigger than it is by default, which really makes it look unattractive ;-)
Attached is a patch
Best, /PA
--
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da um gestellt zu werden
Georg Kreisler
[-- Attachment #1.2: Type: text/html, Size: 742 bytes --]
[-- Attachment #2: misterioso-27.diff --]
[-- Type: text/x-patch, Size: 1288 bytes --]
diff --git a/etc/themes/misterioso-theme.el b/etc/themes/misterioso-theme.el
index b51c9b8..e2bd173 100644
--- a/etc/themes/misterioso-theme.el
+++ b/etc/themes/misterioso-theme.el
@@ -101,7 +101,17 @@ misterioso
`(message-header-subject ((,class (:foreground "#dbdb95"))))
`(message-header-to ((,class (:foreground "#00ede1"))))
`(message-cited-text ((,class (:foreground "#74af68"))))
- `(message-separator ((,class (:foreground "#23d7d7"))))))
+ `(message-separator ((,class (:foreground "#23d7d7"))))
+ ;; emacs >= 26.1
+ `(line-number ((,class (:inherit fringe))))
+ `(line-number-current-line ((,class (:inherit line-number :foreground "#e1e1e0" :weight bold))))
+ ;; emacs >= 27.1 -- tab-line
+ `(tab-line ((,class (:inherit fringe :box (:line-width 3 :color "#2e3748"))))) ; inherit from the fringe
+ `(tab-line-tab ((,class (:inherit tab-line))))
+ `(tab-line-tab-inactive ((,class (:inherit tab-line-tab :foreground "#74af68")))); make text visible
+ `(tab-line-tab-current ((,class (:background "#237f76" :foreground "#white" :box (:line-width 3 :color "#237f76")))))
+ `(tab-line-highlight ((,class (:background "#338f86" :foreground "#e1e1e0" :box (:line-width 3 :color "#338f86")))))
+ ))
(custom-theme-set-variables
'misterioso
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2020-12-06 17:08 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-12-06 17:08 PATCH: include line-number and tab-line in misterioso theme Pedro Andres Aranda Gutierrez
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).