[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/modus-vivendi-theme cf0a1f2 17/73: Add support for Emac
From: |
Stefan Monnier |
Subject: |
[elpa] externals/modus-vivendi-theme cf0a1f2 17/73: Add support for Emacs 27 line number ticks |
Date: |
Wed, 26 Aug 2020 09:20:54 -0400 (EDT) |
branch: externals/modus-vivendi-theme
commit cf0a1f2d037ad8d93bc6596173f7a9fdedbf3a1f
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Add support for Emacs 27 line number ticks
Enable those with something like:
(setq display-line-numbers-major-tick 20)
(setq display-line-numbers-minor-tick 5)
---
modus-operandi-theme.el | 6 ++++++
modus-vivendi-theme.el | 6 ++++++
2 files changed, 12 insertions(+)
diff --git a/modus-operandi-theme.el b/modus-operandi-theme.el
index c6d2b83..a56ef48 100644
--- a/modus-operandi-theme.el
+++ b/modus-operandi-theme.el
@@ -3896,6 +3896,12 @@ Also bind `class' to ((class color) (min-colors 89))."
(when (>= emacs-major-version 27)
(custom-theme-set-faces
'modus-operandi
+;;;;; line numbers (`display-line-numbers-mode' and global variant)
+ ;; NOTE that this is specifically for the faces that were
+ ;; introduced in Emacs 27, as the other faces are already
+ ;; supported.
+ `(line-number-major-tick ((,class (:background ,yellow-nuanced-bg
:foreground ,yellow-nuanced))))
+ `(line-number-minor-tick ((,class (:background ,cyan-nuanced-bg
:foreground ,cyan-nuanced))))
;;;;; tab-bar-mode
`(tab-bar ((,class :background ,bg-tab-bar :foreground ,fg-main)))
`(tab-bar-tab ((,class :inherit bold :box (:line-width 2 :color
,bg-tab-active)
diff --git a/modus-vivendi-theme.el b/modus-vivendi-theme.el
index e963f18..60757cb 100644
--- a/modus-vivendi-theme.el
+++ b/modus-vivendi-theme.el
@@ -3896,6 +3896,12 @@ Also bind `class' to ((class color) (min-colors 89))."
(when (>= emacs-major-version 27)
(custom-theme-set-faces
'modus-vivendi
+;;;;; line numbers (`display-line-numbers-mode' and global variant)
+ ;; NOTE that this is specifically for the faces that were
+ ;; introduced in Emacs 27, as the other faces are already
+ ;; supported.
+ `(line-number-major-tick ((,class (:background ,yellow-nuanced-bg
:foreground ,yellow-nuanced))))
+ `(line-number-minor-tick ((,class (:background ,cyan-nuanced-bg
:foreground ,cyan-nuanced))))
;;;;; tab-bar-mode
`(tab-bar ((,class :background ,bg-tab-bar :foreground ,fg-main)))
`(tab-bar-tab ((,class :inherit bold :box (:line-width 2 :color
,bg-tab-active)
- [elpa] externals/modus-vivendi-theme 8c67612 23/73: Review built-in VC log faces, (continued)
- [elpa] externals/modus-vivendi-theme 8c67612 23/73: Review built-in VC log faces, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme eff5a4a 24/73: Tweak git commit buffer faces (Magit commit edit), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 7debb3e 26/73: Minor doc update on "git" being "git-commit", Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme dbfffe9 27/73: Add explicit support for git-rebase (Magit), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 03a1e5d 20/73: Update sample package declaration, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 35391ae 21/73: Add support for built-in 'file-name-shadow' face, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 042bac1 22/73: Add support for PKGBUILD-MODE, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme dc8c584 07/73: Further tweaks to Magit Blame (extend a5e1325ca), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 1bd6fd6 12/73: Use accented background for notmuch message folds, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 0e9be20 13/73: Add support for org-table-sticky-header, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme cf0a1f2 17/73: Add support for Emacs 27 line number ticks,
Stefan Monnier <=
- [elpa] externals/modus-vivendi-theme 05844a1 18/73: Let 'hl-todo' keywords use optional slant, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme ac475d8 28/73: Add support for SEMANTIC, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme e92f6bd 31/73: Internal: indentation changes in the README, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 7ec9258 33/73: Internal: minor doc correction, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 0ff98fd 34/73: New CUSTOM OPTION for completion UIs (major entry), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 781189c 38/73: Review powerline faces, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme ed2b435 39/73: Review generic completion faces, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 66470fe 41/73: Review mu4e-draft-face, Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme ae0e8c2 45/73: Refine powerline faces (extend commit 781189c59), Stefan Monnier, 2020/08/26
- [elpa] externals/modus-vivendi-theme 26a2118 47/73: Add support for 'doom-modeline-debug-visual' face, Stefan Monnier, 2020/08/26