branch: externals/lin
commit a4367d4c8b3ec53e28d1dfcce3635eb592a7b3f1
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Define a pair of orange faces
---
 lin.el | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/lin.el b/lin.el
index 71ec1e22ee..d7a1a06fd1 100644
--- a/lin.el
+++ b/lin.el
@@ -307,6 +307,27 @@ Line numbers come from the `display-line-numbers-mode'."
   :package-version '(lin . "0.2.0")
   :group 'lin-faces)
 
+(defface lin-orange
+  '((default :foreground unspecified :underline nil :extend t)
+    (((class color) (min-colors 88) (background light))
+     :background "#ffd596")
+    (((class color) (min-colors 88) (background dark))
+     :background "#5a3000")
+    (t :background "yellow"))
+  "Alternative orange face for `lin-face'."
+  :package-version '(lin . "1.2.0")
+  :group 'lin-faces)
+
+(defface lin-orange-override-fg
+  '((default :inherit lin-orange)
+    (((background light))
+     :foreground "black")
+    (((background dark))
+     :foreground "white"))
+  "Like `lin-orange' but also sets a foreground."
+  :package-version '(lin . "1.2.0")
+  :group 'lin-faces)
+
 ;; TODO 2022-03-18: Can we find all system styles?  Then we can rename
 ;; this to `lin-system'.
 (defface lin-mac

Reply via email to