From f209650e41d59356a90b5a602abc60c6783bc7b1 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Tue, 12 Jul 2022 11:08:05 +0200 Subject: [PATCH] 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 f8822c30db1..fee242be981 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 -- 2.39.5