If you use Obsidian with the KanBan community plug-in, you likely filter cards by a search term from time to time. Especially on huge kanban boards with a ton of cards.
Here is the problem: By default, non-matching cards are dimmed while matching cards keep their style. I find it visually too cluttered. I’d prefer to only see my matching cards.
Here is my silly reverse-engineered CSS-only solution. Definitely one of my funniest selectors. Works great.
Screenshots of a kanban board coparing the same board before adding the css code and after adding the css code. In the before state the search term #hateit is active. All matching cards light up. All no matchin cards are dimmed. After adding the CSs code the same filter only shows the matching cards. All non-matching cards are gone. Way less visual clutter.