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

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

diff --git a/lin.el b/lin.el
index d7a1a06fd1..8b746ecb40 100644
--- a/lin.el
+++ b/lin.el
@@ -328,6 +328,27 @@ Line numbers come from the `display-line-numbers-mode'."
   :package-version '(lin . "1.2.0")
   :group 'lin-faces)
 
+(defface lin-slate
+  '((default :foreground unspecified :underline nil :extend t)
+    (((class color) (min-colors 88) (background light))
+     :background "#cfdfe0")
+    (((class color) (min-colors 88) (background dark))
+     :background "#2f3f45")
+    (t :background "cyan"))
+  "Alternative slate face for `lin-face'."
+  :package-version '(lin . "1.2.0")
+  :group 'lin-faces)
+
+(defface lin-slate-override-fg
+  '((default :inherit lin-slate)
+    (((background light))
+     :foreground "black")
+    (((background dark))
+     :foreground "white"))
+  "Like `lin-slate' 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