From c9da52ad122e55cbdef0230b23b47799cc362351 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20A=2E=20Aranda=20Guti=C3=A9rrez?= Date: Sat, 25 Feb 2023 18:17:25 +0100 Subject: [PATCH 1/5] Update README.markdown --- README.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/README.markdown b/README.markdown index f2b34c4..2d8241b 100644 --- a/README.markdown +++ b/README.markdown @@ -1,3 +1,4 @@ -## Twilight for Emacs 24 +## Twilight for Emacs 29 -A port of the Twilight color theme using the new deftheme format. \ No newline at end of file +A refresh of the port of the Twilight color theme using the new deftheme format. +Initially thought for Emacs24, updated to Emacs29 From 5369165baad14acd9e7716d765fa012a3fb03d22 Mon Sep 17 00:00:00 2001 From: "Pedro A. Aranda Gutierrez" Date: Sun, 26 Feb 2023 11:46:53 +0100 Subject: [PATCH 2/5] Add fringe, mode-line and line-number --- twilight-theme.el | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/twilight-theme.el b/twilight-theme.el index 1087ab1..42cfd61 100644 --- a/twilight-theme.el +++ b/twilight-theme.el @@ -47,14 +47,18 @@ '(ido-subdir ((t (:foreground "#CF6A4C")))) '(ido-first-match ((t (:foreground "#8F9D6A")))) '(ido-only-match ((t (:foreground "#8F9D6A")))) - '(mumamo-background-chunk-submode ((t (:background "#222222")))) + '(mumamo-background-chunk-submode ((t (:background "#222222")))) '(font-lock-string-face ((t (:foreground "#8F9D6A")))) '(font-lock-type-face ((t (:foreground "#9B703F")))) '(font-lock-variable-name-face ((t (:foreground "#7587A6")))) '(font-lock-warning-face ((t (:background "#EE799F" :foreground "red")))) '(gui-element ((t (:background "#D4D0C8" :foreground "black")))) '(region ((t (:background "#27292A")))) - '(mode-line ((t (:background "grey75" :foreground "black")))) + '(fringe ((t (:background "#242424")))) + '(mode-line ((t (:background "#343434" :foreground "#f4f4f4")))) + '(mode-line-inactive ((t (:background "#44444444" :foreground "#b4b4b4")))) + '(line-number ((t (:background "#242424" :foreground "#b4b4b4")))) + '(line-number-current-line ((t (:background "#242424" :foreground "#e4e4e4" :bold t)))) '(highlight ((t (:background "#111111")))) '(highline-face ((t (:background "SeaGreen")))) '(left-margin ((t (nil)))) From d01fb6cfaae5d7ba0dc79a357f57fce17e7daf77 Mon Sep 17 00:00:00 2001 From: "Pedro A. Aranda Gutierrez" Date: Sun, 26 Feb 2023 12:11:18 +0100 Subject: [PATCH 3/5] Add tab-line support --- twilight-theme.el | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/twilight-theme.el b/twilight-theme.el index 42cfd61..26694ff 100644 --- a/twilight-theme.el +++ b/twilight-theme.el @@ -1,6 +1,7 @@ -;;; twilight-theme.el --- Twilight theme for GNU Emacs 24 (deftheme) -;; Version: 1.0.0 +;;; twilight-theme.el --- Twilight theme for GNU Emacs 29 (deftheme) +;; Version: 1.1.0 ;; Author: Nick Parker +;; Author: Nick Parker for the emacs 29+ adaptation ;; ;; Defines a colour scheme resembling that of the original TextMate Twilight colour theme. ;; To use add the following to your .emacs file (requires the color-theme package): @@ -55,10 +56,14 @@ '(gui-element ((t (:background "#D4D0C8" :foreground "black")))) '(region ((t (:background "#27292A")))) '(fringe ((t (:background "#242424")))) - '(mode-line ((t (:background "#343434" :foreground "#f4f4f4")))) - '(mode-line-inactive ((t (:background "#44444444" :foreground "#b4b4b4")))) + '(mode-line ((t (:background "#343434" :foreground "#d4d4d4")))) + '(mode-line-inactive ((t (:background "#444444" :foreground "#b4b4b4")))) '(line-number ((t (:background "#242424" :foreground "#b4b4b4")))) '(line-number-current-line ((t (:background "#242424" :foreground "#e4e4e4" :bold t)))) + '(tab-line ((t (:background "#242424")))) + '(tab-line-tab-inactive ((t (:background "#343434" :foreground "#c4c4c4")))) + '(tab-line-tab-current ((t (:background "#242424" :foreground "#d4d4d4")))) + '(tab-line-tab-modified ((t (:foreground "#d46464")))) '(highlight ((t (:background "#111111")))) '(highline-face ((t (:background "SeaGreen")))) '(left-margin ((t (nil)))) From 4a4cad4ae44be440f0cd65ad694cc91a548d45f1 Mon Sep 17 00:00:00 2001 From: "Pedro A. Aranda Gutierrez" Date: Sun, 26 Feb 2023 12:14:34 +0100 Subject: [PATCH 4/5] Make inactive tabs slightly less bright --- twilight-theme.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twilight-theme.el b/twilight-theme.el index 26694ff..fe44ca4 100644 --- a/twilight-theme.el +++ b/twilight-theme.el @@ -61,7 +61,7 @@ '(line-number ((t (:background "#242424" :foreground "#b4b4b4")))) '(line-number-current-line ((t (:background "#242424" :foreground "#e4e4e4" :bold t)))) '(tab-line ((t (:background "#242424")))) - '(tab-line-tab-inactive ((t (:background "#343434" :foreground "#c4c4c4")))) + '(tab-line-tab-inactive ((t (:background "#343434" :foreground "#b4b4b4")))) '(tab-line-tab-current ((t (:background "#242424" :foreground "#d4d4d4")))) '(tab-line-tab-modified ((t (:foreground "#d46464")))) '(highlight ((t (:background "#111111")))) From 1e67873bce8427893db15540576f0a1f0458cd17 Mon Sep 17 00:00:00 2001 From: "Pedro A. Aranda Gutierrez" Date: Sun, 26 Feb 2023 12:17:12 +0100 Subject: [PATCH 5/5] Fix authors --- twilight-theme.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twilight-theme.el b/twilight-theme.el index fe44ca4..c401a30 100644 --- a/twilight-theme.el +++ b/twilight-theme.el @@ -1,7 +1,7 @@ ;;; twilight-theme.el --- Twilight theme for GNU Emacs 29 (deftheme) ;; Version: 1.1.0 ;; Author: Nick Parker -;; Author: Nick Parker for the emacs 29+ adaptation +;; Author: Pedro A. Aranda for the emacs 29+ adaptation ;; ;; Defines a colour scheme resembling that of the original TextMate Twilight colour theme. ;; To use add the following to your .emacs file (requires the color-theme package):