Skip to content

Commit

Permalink
Disable accent color in titlebar for improved aesthetics
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-cheff committed Dec 23, 2024
1 parent 4470dc1 commit e003fa2
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/widget/windows/nsLookAndFeel-cpp.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/widget/windows/nsLookAndFeel.cpp b/widget/windows/nsLookAndFeel.cpp
index 58c5fc3b55da47109e16cc3d6f44b0950b2965e7..ae1713898d0b8298480bdaf8a9ef7629423c3dee 100644
--- a/widget/windows/nsLookAndFeel.cpp
+++ b/widget/windows/nsLookAndFeel.cpp
@@ -849,6 +849,7 @@ auto nsLookAndFeel::ComputeTitlebarColors() -> TitlebarColors {
// turned on.
result.mUseAccent =
dwmKey.GetValueAsDword(u"ColorPrevalence"_ns).valueOr(0) == 1;
+ result.mUseAccent = false; // Zen: Disable accent color in titlebar because it's ugly
if (!result.mUseAccent) {
return result;
}

0 comments on commit e003fa2

Please sign in to comment.