Matugen/Discord: make clock easier to read

This commit is contained in:
Ly-sec
2025-11-03 18:42:27 +01:00
parent 3c69d5b4da
commit 81fbba4a01
4 changed files with 18 additions and 264 deletions
+18
View File
@@ -102,4 +102,22 @@
--purple-3: {{colors.on_secondary.default.hex}};
--purple-4: {{colors.on_secondary_container.default.hex}};
--purple-5: {{colors.secondary.default.hex}};
}
/* Improve timestamp/clock readability */
/* Target timestamps with various selector patterns to work across Discord versions */
[class*="timestamp"] time,
[class*="timestamp"] time[id*="message-timestamp"],
[id*="message-timestamp"] time,
span[class*="timestamp"] time {
color: var(--text-3) !important; /* Use normal text color for better contrast */
opacity: 0.85 !important; /* Slightly muted but still readable */
}
/* Hover state for timestamps - make them fully visible */
[class*="timestamp"]:hover time,
[id*="message-timestamp"]:hover time,
span[class*="timestamp"]:hover time {
color: var(--text-2) !important; /* Use heading color on hover */
opacity: 1 !important;
}