[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/standard-themes a27d434158 14/23: Revise display-line-n
|
From: |
ELPA Syncer |
|
Subject: |
[elpa] externals/standard-themes a27d434158 14/23: Revise display-line-numbers-mode faces; add semantic palette mappings |
|
Date: |
Mon, 27 Nov 2023 00:58:41 -0500 (EST) |
branch: externals/standard-themes
commit a27d434158e29bc015176641298bc5420b36ab69
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Revise display-line-numbers-mode faces; add semantic palette mappings
---
standard-dark-theme.el | 7 +++++++
standard-light-theme.el | 7 +++++++
standard-themes.el | 13 +++++++------
3 files changed, 21 insertions(+), 6 deletions(-)
diff --git a/standard-dark-theme.el b/standard-dark-theme.el
index 01e0feb395..84103b478f 100644
--- a/standard-dark-theme.el
+++ b/standard-dark-theme.el
@@ -239,6 +239,13 @@
(accent-2 green)
(accent-3 magenta-cooler)
+;;;; Line number mappings
+
+ (fg-line-number-inactive fg-dim)
+ (fg-line-number-active fg-main)
+ (bg-line-number-inactive unspecified)
+ (bg-line-number-active unspecified)
+
;;;; Link mappings
(fg-link cyan)
diff --git a/standard-light-theme.el b/standard-light-theme.el
index 1319ac3f9e..43a5bab49f 100644
--- a/standard-light-theme.el
+++ b/standard-light-theme.el
@@ -239,6 +239,13 @@
(accent-2 green)
(accent-3 magenta-cooler)
+;;;; Line number mappings
+
+ (fg-line-number-inactive fg-dim)
+ (fg-line-number-active fg-main)
+ (bg-line-number-inactive unspecified)
+ (bg-line-number-active unspecified)
+
;;;; Link mappings
(fg-link blue-warmer)
diff --git a/standard-themes.el b/standard-themes.el
index d096c24df7..c819baffe1 100644
--- a/standard-themes.el
+++ b/standard-themes.el
@@ -1402,12 +1402,13 @@ Optional prefix argument MAPPINGS has the same meaning
as for
`(keycast-command ((,c :inherit bold :foreground ,bg-accent)))
`(keycast-key ((,c :background ,bg-accent :foreground ,bg-main)))
;;;; line numbers (display-line-numbers-mode and global variant)
- ;; We need to fall back to `default' otherwise line numbers do not
- ;; scale when using `text-scale-adjust'.
- `(line-number ((,c :inherit (standard-themes-fixed-pitch shadow default))))
- `(line-number-current-line ((,c :inherit (bold line-number) :foreground
,fg-main)))
- `(line-number-major-tick ((,c :inherit (bold line-number) :foreground
,rainbow-0)))
- `(line-number-minor-tick ((,c :inherit (bold line-number))))
+ ;; Here we cannot inherit `standard-themes-fixed-pitch'. We need to
+ ;; fall back to `default' otherwise line numbers do not scale when
+ ;; using `text-scale-adjust'.
+ `(line-number ((,c :inherit ,(if standard-themes-mixed-fonts '(fixed-pitch
default) 'default) :background ,bg-line-number-inactive :foreground
,fg-line-number-inactive)))
+ `(line-number-current-line ((,c :inherit (bold line-number) :background
,bg-line-number-active :foreground ,fg-line-number-active)))
+ `(line-number-major-tick ((,c :inherit line-number :foreground ,err)))
+ `(line-number-minor-tick ((,c :inherit line-number :foreground ,fg-alt)))
;;;; magit
`(magit-bisect-bad ((,c :inherit error)))
`(magit-bisect-good ((,c :inherit success)))
- [elpa] externals/standard-themes updated (20e0c3e014 -> 5d5248429b), ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes d2a8acc691 01/23: Clarify that standard-themes-prompts is revised as part of development-version, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes aa9da088fd 10/23: Improve the outline of the palettes; rename bg-fringe to fringe, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes 37c2eb7c42 03/23: Update documentation about standard-themes faces, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes d6f0e5e6a1 06/23: Use correct colour values for border-mode-line-inactive, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes cae57d1f9c 20/23: Add support for vundo package, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes 222ff08c72 05/23: Make use of border-mode-line-inactive semantic color mapping, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes b4db11dbf0 09/23: Add standard-themes-faces for various coloured backgrounds, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes ed4814f777 11/23: Revise whitespace-mode faces to be easier to use; apply palette mappings, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes a27d434158 14/23: Revise display-line-numbers-mode faces; add semantic palette mappings,
ELPA Syncer <=
- [elpa] externals/standard-themes 0f044f21c8 21/23: Revise mail mappings to better tell apart the levels, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes 3ea3e2f681 13/23: Expand documentation about standard-themes-faces, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes 8c0cc4a25f 15/23: Add explicit support for which-key package, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes 149568f713 04/23: Make minor tweaks to the manual, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes 0bb48fe6fc 02/23: Clarify that standard-themes-headings is revised as part of development-version, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes 2cfdc0f617 07/23: Apply the fg-mode-line-inactive semantic colour mapping, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes de46dd1afd 08/23: Use correct values for fg-mode-line-inactive, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes fa93c772d9 12/23: Make minor tweaks to the palettes, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes f468e5e302 16/23: Tweak VC faces, ELPA Syncer, 2023/11/27
- [elpa] externals/standard-themes 036f977616 17/23: Make git commit summary face inherit 'success' face, ELPA Syncer, 2023/11/27