changeset 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 5325b795290b
children e3989d3241d5
files lisp/faces.el
diffstat 1 files changed, 22 insertions(+), 0 deletions(-) [+]
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")