From 6a4b945fdd0446b28c73f248f67d1aaa19b7b1e9 Mon Sep 17 00:00:00 2001 From: ejunga Date: Wed, 28 Jan 2026 15:55:29 -0500 Subject: [PATCH] Fix descriptions in dark mode --- tdx-enhanced.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tdx-enhanced.js b/tdx-enhanced.js index 7ec0cc6..4127a5f 100644 --- a/tdx-enhanced.js +++ b/tdx-enhanced.js @@ -1,7 +1,7 @@ // ==UserScript== // @name tdx-enhanced // @namespace purdue-it -// @version 2025-12-04-00 +// @version 2026-01-28-00 // @description enhanced tdx coloring & formatting. follows system color scheme. // @author Purdue STEM IT - it@purdue.edu // @match https://service.purdue.edu/TDWorkManagement* @@ -4052,6 +4052,10 @@ div.profile-image.red-bg, div.profile-image.green-bg, div.profile-image.red-bg, filter: brightness(0) invert(var(--filter-invert)) sepia(var(--filter-sepia)) saturate(var(--filter-saturate)) hue-rotate(var(--filter-hue-rotate)) brightness(var(--filter-brightness)) contrast(var(--filter-contrast)); } +#divDescription .wrap-text [style*="color"]:not([style*="color"] [style*="color"]), .feed-item-text [style*="color"]:not([style*="color"] [style*="color"]), #divCustomLoginPrompt [style*="color"]:not([style*="color"] [style*="color"]) { + filter: none !important; +} + /* Same but with !important */ .tdx-icon__encircled--active .tdx-icon, .tdx-icon--filter-purple,