diff lisp/faces.el @ 68341:acccd9689759

(link, link-visited): New faces based on default values of `info-xref' and `info-xref-visited'.
author Juri Linkov <juri@jurta.org>
date Mon, 23 Jan 2006 01:16:57 +0000
parents 7943b5aaa49d
children 3bd95f4f2941 9b150bc96d33 5b7d410e31f9
line wrap: on
line diff
--- a/lisp/faces.el	Mon Jan 23 01:09:26 2006 +0000
+++ b/lisp/faces.el	Mon Jan 23 01:16:57 2006 +0000
@@ -1917,6 +1917,28 @@
   :group 'basic-faces
   :version "22.1")
 
+(defface link
+  '((((class color) (min-colors 88) (background light))
+     :foreground "blue1" :underline t)
+    (((class color) (background light))
+     :foreground "blue" :underline t)
+    (((class color) (min-colors 88) (background dark))
+     :foreground "cyan1" :underline t)
+    (((class color) (background dark))
+     :foreground "cyan" :underline t)
+    (t :inherit underline))
+  "Basic face for unvisited links."
+  :group 'basic-faces
+  :version "22.1")
+
+(defface link-visited
+  '((default :inherit link)
+    (((class color) (background light)) :foreground "magenta4")
+    (((class color) (background dark)) :foreground "violet"))
+  "Basic face for visited links."
+  :group 'basic-faces
+  :version "22.1")
+
 (defface highlight
   '((((class color) (min-colors 88) (background light))
      :background "darkseagreen2")