From 03eef119533f7ebfc7575263e439cb7e89df9d83 Mon Sep 17 00:00:00 2001 From: Vedant Madane <6527493+VedantMadane@users.noreply.github.com> Date: Tue, 10 Mar 2026 17:31:00 +0530 Subject: [PATCH] fix: improve Catppuccin Mocha owner comment contrast (fixes #6597) Owner comment highlight used secondary-card-bg-color (#1e1e2e) which had only 1.07:1 contrast with card-bg-color (#181825). Add theme-specific override using Surface1 (#45475a) for improved visibility (1.92:1) while maintaining text readability (6.30:1). Made-with: Cursor --- src/renderer/themes.css | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/renderer/themes.css b/src/renderer/themes.css index ec8b9be70384f..0d7cd4b25e793 100644 --- a/src/renderer/themes.css +++ b/src/renderer/themes.css @@ -320,6 +320,11 @@ it can be safely elided. This looks quite pleasant on this theme. */ --logo-text: url('../../_icons/textCatppuccinMochaLightSmall.svg'); } +/* Fix owner comment contrast - secondary-card-bg-color (#1e1e2e) has only 1.07:1 contrast with card-bg-color (#181825). Use Surface1 (#45475a) for improved visibility (1.92:1) while maintaining text readability (6.30:1). See #6597 */ +.catppuccinMocha .commentOwner { + background-color: #45475a; +} + .dracula { --primary-text-color: #f8f8f2; --secondary-text-color: #c6cee6;