Skip to content

Commit

Permalink
Fix descriptions in dark mode
Browse files Browse the repository at this point in the history
  • Loading branch information
ejunga committed Jan 28, 2026
1 parent 8fa4dc1 commit 6a4b945
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tdx-enhanced.js
Original file line number Diff line number Diff line change
@@ -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*
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 6a4b945

Please sign in to comment.