aboutsummaryrefslogtreecommitdiff
path: root/emacs.tera
diff options
context:
space:
mode:
Diffstat (limited to 'emacs.tera')
-rw-r--r--emacs.tera29
1 files changed, 1 insertions, 28 deletions
diff --git a/emacs.tera b/emacs.tera
index 770db72..acf25a8 100644
--- a/emacs.tera
+++ b/emacs.tera
@@ -7,22 +7,6 @@ whiskers:
---
{%- set is_dark = flavor.dark | default(value=true) -%}
{%- set c = flavor.colors -%}
-{#-
- Derivation formulas below mirror modus-themes' own warmer/cooler/faint/
- intense/subtle/nuanced conventions (reverse-engineered from fortune-gold-
- theme.el's actual hue/sat/light values), just expressed as `add`/`sub`/
- `mod`/`mix` pipelines instead of a Python HSL helper. See evergarden-
- common.el's commentary for why intense/subtle/nuanced/faint need different
- targets depending on `is_dark`.
-
- add(hue=.., saturation=.., lightness=..): ADDS a delta (saturation/
- lightness deltas must be non-negative -- use `sub` for the other
- direction, since those two attributes are unsigned).
- mod(hue=.., saturation=.., lightness=..): SETS an absolute value.
- mix(color=.., amount=..): linear-interpolates toward `color` by `amount`.
- All three return a Color; chain `| hex` at the end to get a bare hex
- string (no leading '#', added manually below to match Lisp string syntax).
--#}
{#- ============================== Red family ============================== #}
{%- set red_warmer = c.red | add(hue=0) | sub(hue=9) | add(saturation=2) | sub(lightness=1) -%}
@@ -163,21 +147,10 @@ whiskers:
;; Keywords: faces, theme
;;; Commentary:
-;;
-;; The {{flavor.name}} flavor of evergarden -- generated by whiskers from
-;; the shared color table, same as lua/evergarden/palettes/{{flavor.identifier}}.lua.
-;; All the actual face wiring lives in evergarden-common.el; this file only
-;; supplies {{flavor.name}}'s own colors. DO NOT EDIT BY HAND -- edit the
-;; .tera template and re-run whiskers instead.
+;; {{flavor.name}} evergarden
;;; Code:
-;; Not `(file-name-directory (or load-file-name buffer-file-name))' --
-;; both can be nil depending on how the loader gets here (byte-compile
-;; caches, `eval-buffer', some straight.el paths), which signals
-;; `(wrong-type-argument stringp nil)'. `custom-theme-load-path' is
-;; reliably populated by the time any theme file loads (it's how this
-;; file was found in the first place), so search that instead.
(unless (featurep 'evergarden-common)
(let ((common (locate-file "evergarden-common"
(append (seq-filter #'stringp custom-theme-load-path)