Hello Prot,
Lets add crontab-mode support. The foreground colors were taken from the
definitions of the modus-themes-heading-N faces with the rainbow option enabled.
Sincerely,
Tony
--- modus-themes.el | 7 +++++++ 1 file changed, 7 insertions(+)
diff --git a/modus-themes.el b/modus-themes.el
index c4edb1e..4a77e0b 100644
--- a/modus-themes.el
+++ b/modus-themes.el
@@ -4824,6 +4824,13 @@ by virtue of calling either of `modus-themes-load-operandi' and
`(cperl-nonoverridable-face ((,class :foreground unspecified)))
`(cperl-array-face ((,class :inherit font-lock-keyword-face)))
`(cperl-hash-face ((,class :inherit font-lock-variable-name-face)))
+;;;;; crontab-mode
+ `(crontab-minute ((,class :foreground ,blue-alt)))
+ `(crontab-hour ((,class :foreground ,magenta-alt-other)))
+ `(crontab-month-day ((,class :foreground ,magenta-alt)))
+ `(crontab-month ((,class :foreground ,blue)))
+ `(crontab-week-day ((,class :foreground ,cyan)))
+ `(crontab-predefined ((,class :foreground ,blue-alt)))
;;;;; css-mode
`(css-property ((,class :inherit font-lock-type-face)))
`(css-selector ((,class :inherit font-lock-keyword-face)))
--
2.37.2
> From: Antonio Ruiz <antonio.ruiz@accelya.com>
> Date: Thu, 01 Sep 2022 20:51:33 -0400
>
> Hello Prot,
Hello Tony,
> Lets add crontab-mode support. The foreground colors were taken from the
> definitions of the modus-themes-heading-N faces with the rainbow option enabled.
Just added your patch. Thank you! I also tweaked the manual to mention
support for crontab-mode.
Note that your patches thus far do not pass the ~15 line threshold. If
they ever do, you will need to assign copyright to the Free Software
Foundation. I can tell you more about it, if needed.
All the best,
Prot
--
Protesilaos Stavrou
https://protesilaos.com