diff options
| author | Protesilaos Stavrou | 2021-03-05 18:31:08 +0000 |
|---|---|---|
| committer | Basil L. Contovounesios | 2021-03-05 21:49:16 +0000 |
| commit | adeb0efa33d09bf3b73eada9476c3e78b1b5891b (patch) | |
| tree | 7bcd8b5aba16ebe96c8c302dbcb8b03c836caa34 /etc | |
| parent | c401ae6e53d536c6e13cdf391bcc9c3abf075f61 (diff) | |
| download | emacs-scratch/update-modus-themes.tar.gz emacs-scratch/update-modus-themes.zip | |
Pull Modus themes version 1.2.3 from upstreamscratch/update-modus-themes
This syncs with the following upstream revision:
Update to version 1.2.3
0a36239 2021-03-05 19:43:30 +0200
https://gitlab.com/protesilaos/modus-themes/-/commit/0a36239baf908585cdf32c6188eb86713d9bf6c6
For discussion, see bug#45068 and the following upstream issue:
https://gitlab.com/protesilaos/modus-themes/-/issues/162
* doc/misc/modus-themes.org:
* etc/themes/modus-operandi-theme.el:
* etc/themes/modus-themes.el:
* etc/themes/modus-vivendi-theme.el: Update to version 1.2.3.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/themes/modus-operandi-theme.el | 7 | ||||
| -rw-r--r-- | etc/themes/modus-themes.el | 20 | ||||
| -rw-r--r-- | etc/themes/modus-vivendi-theme.el | 7 |
3 files changed, 23 insertions, 11 deletions
diff --git a/etc/themes/modus-operandi-theme.el b/etc/themes/modus-operandi-theme.el index ce2c75e9a89..64763a16825 100644 --- a/etc/themes/modus-operandi-theme.el +++ b/etc/themes/modus-operandi-theme.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Protesilaos Stavrou <info@protesilaos.com> | 5 | ;; Author: Protesilaos Stavrou <info@protesilaos.com> |
| 6 | ;; URL: https://gitlab.com/protesilaos/modus-themes | 6 | ;; URL: https://gitlab.com/protesilaos/modus-themes |
| 7 | ;; Version: 1.2.0 | 7 | ;; Version: 1.2.3 |
| 8 | ;; Package-Requires: ((emacs "26.1")) | 8 | ;; Package-Requires: ((emacs "26.1")) |
| 9 | ;; Keywords: faces, theme, accessibility | 9 | ;; Keywords: faces, theme, accessibility |
| 10 | 10 | ||
| @@ -50,7 +50,10 @@ | |||
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | 52 | ||
| 53 | (require-theme 'modus-themes) | 53 | (eval-and-compile |
| 54 | (unless (and (fboundp 'require-theme) | ||
| 55 | (require-theme 'modus-themes t)) | ||
| 56 | (require 'modus-themes))) | ||
| 54 | 57 | ||
| 55 | (deftheme modus-operandi | 58 | (deftheme modus-operandi |
| 56 | "Accessible and customizable light theme (WCAG AAA standard). | 59 | "Accessible and customizable light theme (WCAG AAA standard). |
diff --git a/etc/themes/modus-themes.el b/etc/themes/modus-themes.el index 79846dbf3af..c315d5971b1 100644 --- a/etc/themes/modus-themes.el +++ b/etc/themes/modus-themes.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Protesilaos Stavrou <info@protesilaos.com> | 5 | ;; Author: Protesilaos Stavrou <info@protesilaos.com> |
| 6 | ;; URL: https://gitlab.com/protesilaos/modus-themes | 6 | ;; URL: https://gitlab.com/protesilaos/modus-themes |
| 7 | ;; Version: 1.2.0 | 7 | ;; Version: 1.2.3 |
| 8 | ;; Package-Requires: ((emacs "26.1")) | 8 | ;; Package-Requires: ((emacs "26.1")) |
| 9 | ;; Keywords: faces, theme, accessibility | 9 | ;; Keywords: faces, theme, accessibility |
| 10 | 10 | ||
| @@ -3616,7 +3616,7 @@ by virtue of calling either of `modus-themes-load-operandi' and | |||
| 3616 | ;;;;; dictionary | 3616 | ;;;;; dictionary |
| 3617 | `(dictionary-button-face ((,class :inherit bold :foreground ,fg-special-cold))) | 3617 | `(dictionary-button-face ((,class :inherit bold :foreground ,fg-special-cold))) |
| 3618 | `(dictionary-reference-face ((,class :inherit button))) | 3618 | `(dictionary-reference-face ((,class :inherit button))) |
| 3619 | `(dictionary-word-definition-face ((,class))) | 3619 | `(dictionary-word-definition-face (())) |
| 3620 | `(dictionary-word-entry-face ((,class :inherit font-lock-comment-face))) | 3620 | `(dictionary-word-entry-face ((,class :inherit font-lock-comment-face))) |
| 3621 | ;;;;; diff-hl | 3621 | ;;;;; diff-hl |
| 3622 | `(diff-hl-change ((,class :inherit modus-theme-fringe-yellow))) | 3622 | `(diff-hl-change ((,class :inherit modus-theme-fringe-yellow))) |
| @@ -3918,8 +3918,8 @@ by virtue of calling either of `modus-themes-load-operandi' and | |||
| 3918 | `(epa-field-name ((,class :inherit bold :foreground ,fg-dim))) | 3918 | `(epa-field-name ((,class :inherit bold :foreground ,fg-dim))) |
| 3919 | `(epa-mark ((,class :inherit bold :foreground ,magenta))) | 3919 | `(epa-mark ((,class :inherit bold :foreground ,magenta))) |
| 3920 | `(epa-string ((,class :foreground ,blue-alt))) | 3920 | `(epa-string ((,class :foreground ,blue-alt))) |
| 3921 | `(epa-validity-disabled ((,class :inherit modus-theme-refine-red))) | 3921 | `(epa-validity-disabled ((,class :foreground ,red))) |
| 3922 | `(epa-validity-high ((,class :inherit bold :foreground ,green-alt-other))) | 3922 | `(epa-validity-high ((,class :inherit bold :foreground ,cyan))) |
| 3923 | `(epa-validity-low ((,class :inherit shadow))) | 3923 | `(epa-validity-low ((,class :inherit shadow))) |
| 3924 | `(epa-validity-medium ((,class :foreground ,green-alt))) | 3924 | `(epa-validity-medium ((,class :foreground ,green-alt))) |
| 3925 | ;;;;; equake | 3925 | ;;;;; equake |
| @@ -5378,7 +5378,7 @@ by virtue of calling either of `modus-themes-load-operandi' and | |||
| 5378 | `(org-done ((,class :foreground ,green))) | 5378 | `(org-done ((,class :foreground ,green))) |
| 5379 | `(org-drawer ((,class ,@(modus-themes--mixed-fonts) | 5379 | `(org-drawer ((,class ,@(modus-themes--mixed-fonts) |
| 5380 | :foreground ,fg-alt))) | 5380 | :foreground ,fg-alt))) |
| 5381 | `(org-ellipsis ((,class))) ; inherits from the heading's color | 5381 | `(org-ellipsis (())) ; inherits from the heading's color |
| 5382 | `(org-footnote ((,class :inherit button | 5382 | `(org-footnote ((,class :inherit button |
| 5383 | ,@(modus-themes--link-color | 5383 | ,@(modus-themes--link-color |
| 5384 | blue-alt blue-alt-faint)))) | 5384 | blue-alt blue-alt-faint)))) |
| @@ -5811,7 +5811,7 @@ by virtue of calling either of `modus-themes-load-operandi' and | |||
| 5811 | `(sh-quoted-exec ((,class :inherit modus-theme-bold :foreground ,magenta-alt))) | 5811 | `(sh-quoted-exec ((,class :inherit modus-theme-bold :foreground ,magenta-alt))) |
| 5812 | ;;;;; shortdoc | 5812 | ;;;;; shortdoc |
| 5813 | `(shortdoc-heading ((,class :inherit modus-theme-pseudo-header))) | 5813 | `(shortdoc-heading ((,class :inherit modus-theme-pseudo-header))) |
| 5814 | `(shortdoc-section ((,class))) ; remove the default's variable-pitch style | 5814 | `(shortdoc-section (())) ; remove the default's variable-pitch style |
| 5815 | ;;;;; show-paren-mode | 5815 | ;;;;; show-paren-mode |
| 5816 | `(show-paren-match ((,class ,@(modus-themes--paren bg-paren-match | 5816 | `(show-paren-match ((,class ,@(modus-themes--paren bg-paren-match |
| 5817 | bg-paren-match-intense) | 5817 | bg-paren-match-intense) |
| @@ -5875,7 +5875,7 @@ by virtue of calling either of `modus-themes-load-operandi' and | |||
| 5875 | `(smerge-lower ((,class :inherit modus-theme-diff-added))) | 5875 | `(smerge-lower ((,class :inherit modus-theme-diff-added))) |
| 5876 | `(smerge-markers ((,class :background ,bg-diff-neutral-2 :foreground ,fg-diff-neutral-2))) | 5876 | `(smerge-markers ((,class :background ,bg-diff-neutral-2 :foreground ,fg-diff-neutral-2))) |
| 5877 | `(smerge-refined-added ((,class :inherit modus-theme-diff-refine-added))) | 5877 | `(smerge-refined-added ((,class :inherit modus-theme-diff-refine-added))) |
| 5878 | `(smerge-refined-changed ((,class))) | 5878 | `(smerge-refined-changed (())) |
| 5879 | `(smerge-refined-removed ((,class :inherit modus-theme-diff-refine-removed))) | 5879 | `(smerge-refined-removed ((,class :inherit modus-theme-diff-refine-removed))) |
| 5880 | `(smerge-upper ((,class :inherit modus-theme-diff-removed))) | 5880 | `(smerge-upper ((,class :inherit modus-theme-diff-removed))) |
| 5881 | ;;;;; solaire | 5881 | ;;;;; solaire |
| @@ -6432,5 +6432,11 @@ by virtue of calling either of `modus-themes-load-operandi' and | |||
| 6432 | `(org-src-block-faces '()))) | 6432 | `(org-src-block-faces '()))) |
| 6433 | "Custom variables for `modus-themes-theme'.") | 6433 | "Custom variables for `modus-themes-theme'.") |
| 6434 | 6434 | ||
| 6435 | ;;;###autoload | ||
| 6436 | (when load-file-name | ||
| 6437 | (let ((dir (file-name-directory load-file-name))) | ||
| 6438 | (unless (equal dir (expand-file-name "themes/" data-directory)) | ||
| 6439 | (add-to-list 'custom-theme-load-path dir)))) | ||
| 6440 | |||
| 6435 | (provide 'modus-themes) | 6441 | (provide 'modus-themes) |
| 6436 | ;;; modus-themes.el ends here | 6442 | ;;; modus-themes.el ends here |
diff --git a/etc/themes/modus-vivendi-theme.el b/etc/themes/modus-vivendi-theme.el index fd7f5df24d7..814f10d105b 100644 --- a/etc/themes/modus-vivendi-theme.el +++ b/etc/themes/modus-vivendi-theme.el | |||
| @@ -4,7 +4,7 @@ | |||
| 4 | 4 | ||
| 5 | ;; Author: Protesilaos Stavrou <info@protesilaos.com> | 5 | ;; Author: Protesilaos Stavrou <info@protesilaos.com> |
| 6 | ;; URL: https://gitlab.com/protesilaos/modus-themes | 6 | ;; URL: https://gitlab.com/protesilaos/modus-themes |
| 7 | ;; Version: 1.2.0 | 7 | ;; Version: 1.2.3 |
| 8 | ;; Package-Requires: ((emacs "26.1")) | 8 | ;; Package-Requires: ((emacs "26.1")) |
| 9 | ;; Keywords: faces, theme, accessibility | 9 | ;; Keywords: faces, theme, accessibility |
| 10 | 10 | ||
| @@ -50,7 +50,10 @@ | |||
| 50 | 50 | ||
| 51 | 51 | ||
| 52 | 52 | ||
| 53 | (require-theme 'modus-themes) | 53 | (eval-and-compile |
| 54 | (unless (and (fboundp 'require-theme) | ||
| 55 | (require-theme 'modus-themes t)) | ||
| 56 | (require 'modus-themes))) | ||
| 54 | 57 | ||
| 55 | (deftheme modus-vivendi | 58 | (deftheme modus-vivendi |
| 56 | "Accessible and customizable dark theme (WCAG AAA standard). | 59 | "Accessible and customizable dark theme (WCAG AAA standard). |