branch: externals/lin
commit 22a6725371a843e6bacb787065e0c89cbb077d97
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Define a pair of purple faces
---
lin.el | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/lin.el b/lin.el
index a001d22c89..71ec1e22ee 100644
--- a/lin.el
+++ b/lin.el
@@ -265,6 +265,27 @@ Line numbers come from the `display-line-numbers-mode'."
:package-version '(lin . "0.2.0")
:group 'lin-faces)
+(defface lin-purple
+ '((default :foreground unspecified :underline nil :extend t)
+ (((class color) (min-colors 88) (background light))
+ :background "#e0ddff")
+ (((class color) (min-colors 88) (background dark))
+ :background "#452f6f")
+ (t :background "magenta"))
+ "Alternative magenta face for `lin-face'."
+ :package-version '(lin . "1.2.0")
+ :group 'lin-faces)
+
+(defface lin-purple-override-fg
+ '((default :inherit lin-purple)
+ (((background light))
+ :foreground "black")
+ (((background dark))
+ :foreground "white"))
+ "Like `lin-purple' but also sets a foreground."
+ :package-version '(lin . "1.2.0")
+ :group 'lin-faces)
+
(defface lin-cyan
'((default :foreground unspecified :underline nil :extend t)
(((class color) (min-colors 88) (background light))