emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master ec4dabc238: Make default Haiku tool bar color match system prefer


From: Po Lu
Subject: master ec4dabc238: Make default Haiku tool bar color match system preferences
Date: Mon, 25 Apr 2022 08:27:33 -0400 (EDT)

branch: master
commit ec4dabc2381df6d803bb6ff4c294ef0d374857b4
Author: Po Lu <luangruo@yahoo.com>
Commit: Po Lu <luangruo@yahoo.com>

    Make default Haiku tool bar color match system preferences
    
    * lisp/faces.el (tool-bar): Use system bar color as the default
    tool-bar background color on Haiku.
---
 lisp/faces.el | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/lisp/faces.el b/lisp/faces.el
index 962501ee7c..6529374668 100644
--- a/lisp/faces.el
+++ b/lisp/faces.el
@@ -2873,7 +2873,10 @@ Note: Other faces cannot inherit from the cursor face."
   '((default
      :box (:line-width 1 :style released-button)
      :foreground "black")
-    (((type x w32 ns haiku pgtk) (class color))
+    (((type haiku))
+     :foreground "B_MENU_ITEM_TEXT_COLOR"
+     :background "B_MENU_BACKGROUND_COLOR")
+    (((type x w32 ns pgtk) (class color))
      :background "grey75")
     (((type x) (class mono))
      :background "grey"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]