From deda730412d406465554cf69282616341027dac1 Mon Sep 17 00:00:00 2001 From: Miguel Campos Date: Mon, 5 Aug 2024 21:52:26 -0600 Subject: [PATCH] fix(google): resolve highlight contrast issue in featured snippets (#1163) * Fix google featured snippets contrast issue * bump version --- styles/google/catppuccin.user.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/styles/google/catppuccin.user.css b/styles/google/catppuccin.user.css index 9bf1bf62..ebed96ea 100644 --- a/styles/google/catppuccin.user.css +++ b/styles/google/catppuccin.user.css @@ -2,7 +2,7 @@ @name Google Catppuccin @namespace github.com/catppuccin/userstyles/styles/google @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/google -@version 0.2.4 +@version 0.2.5 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/google/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Agoogle @description Soothing pastel theme for Google @@ -474,6 +474,14 @@ /* End of AI search */ + /* Featured snippets */ + @media (prefers-reduced-motion: no-preference) { + .c2xzTb .ILfuVd b { + background: linear-gradient(90deg, fade(@accent-color, 30%) 50%, #0000 50%) no-repeat 75% 0; + background-size: 200% 100%; + } + } + .pHiOh, a.pHiOh { color: @subtext1 !important;