[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master f209650e41: Better gomoku X colour with bright background
From: |
Mattias Engdegård |
Subject: |
master f209650e41: Better gomoku X colour with bright background |
Date: |
Tue, 12 Jul 2022 05:50:59 -0400 (EDT) |
branch: master
commit f209650e41d59356a90b5a602abc60c6783bc7b1
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
Better gomoku X colour with bright background
* lisp/play/gomoku.el (gomoku-X): Use blue rather than green for
crosses on bright background for better legibility.
(Red for naughts could be adjusted but seems just about bearable.)
---
lisp/play/gomoku.el | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/lisp/play/gomoku.el b/lisp/play/gomoku.el
index f8822c30db..fee242be98 100644
--- a/lisp/play/gomoku.el
+++ b/lisp/play/gomoku.el
@@ -161,11 +161,12 @@ SHOULD be at least 2 (MUST BE at least 1).")
"For making font-lock use the winner's face for the line.")
(defface gomoku-O
- '((((class color)) (:foreground "red" :weight bold)))
+ '((((class color)) :foreground "red" :weight bold))
"Face to use for Emacs's O.")
(defface gomoku-X
- '((((class color)) (:foreground "green" :weight bold)))
+ '((((background light)) :foreground "blue" :weight bold)
+ (((class color)) :foreground "green" :weight bold))
"Face to use for your X.")
(defvar gomoku-font-lock-keywords
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master f209650e41: Better gomoku X colour with bright background,
Mattias Engdegård <=