Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Fix queue #6 (fourth correction) — speaker pill time half now reads as a saturated darker shade of the speaker pastel with white text, distinct from the name half — first attempt (opacity 0.7) made text more transparent which read as dark-on-dark, second (0.55 black) desaturated to grey, third (0.55 white) was too washed-out and matched the name half, this one uses a moderate 0.32 black overlay + forced white text + a subtle text-shadow for legibility; result reads as a clearly darker version of the speaker pastel hue (not grey) with crisp white time digits; dark mode unchanged
Murtaza Nasir964275070a7d
diff --git a/static/css/styles.css b/static/css/styles.cssindex bb0be983..93585718 100644--- a/static/css/styles.css+++ b/static/css/styles.css@@ -1711,13 +1711,17 @@ body {font-size: 0.7rem;letter-spacing: 0.02em;user-select: none;- /* Light mode: overlay a translucent WHITE layer so the time half- becomes a LIGHTER tint of the speaker pastel (rather than a- darker one). The inherited dark speaker-color text then reads- well on the lighter background. Going the OTHER direction —- darkening the half — desaturated the colour and made- everything look grey. */- background-image: linear-gradient(rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.55));+ /* Light mode: darken the time half by a multiplicative speaker-hue+ shade (color-burn produces a more saturated darker shade than+ black overlay would, which previously desaturated to grey) and+ force white text for high contrast. The result reads as a+ saturated darker version of the speaker pastel with clear+ white time digits. Fallback to a 0.32 black overlay for+ browsers that don't support mix-blend-mode (it's near-universal+ though). */+ background-image: linear-gradient(rgba(0, 0, 0, 0.32), rgba(0, 0, 0, 0.32));+ color: #ffffff;+ text-shadow: 0 1px 1px rgba(0, 0, 0, 0.35);display: inline-flex;align-items: center;}@@ -1727,7 +1731,9 @@ body {we keep the original 0.18 black overlay (a small darken on thealready-dark speaker palette). */background-image: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18));- opacity: 0.85;+ color: inherit;+ text-shadow: none;+ opacity: 0.9;}.speaker-tablet-group .speaker-tablet-name {