Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Fix queue #6 — speaker pill time text now reads lighter than the speaker name, no more dark-on-dark in light mode — each speaker-color- class sets a saturated dark text colour (e.g. color-1 = #0D47A1 deep blue) which on top of the speaker-tablet-time's existing rgba(0,0,0,0.18) overlay produced near-black-on-near-dark in light mode; now the time portion gets opacity: 0.7 in light mode and opacity: 0.85 in dark mode so it sits a perceptual notch lighter than the speaker name across all 16 speaker palettes and both themes, without per-colour overrides

Murtaza Nasir89b665d0e569
diff --git a/static/css/styles.css b/static/css/styles.css
index 95415b7f..7d9c461e 100644
--- a/static/css/styles.css
+++ b/static/css/styles.css
@@ -1717,6 +1717,17 @@ body {
background-image: linear-gradient(rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.18));
display: inline-flex;
align-items: center;
+ /* The inherited speaker-color foreground (e.g. #0D47A1 deep blue
+ for color-1) is saturated and dark — on top of the 0.18 black
+ overlay above this reads as 'dark on dark' in light mode.
+ Drop the opacity so the time row sits a perceptual notch
+ lighter than the speaker name, in both themes. */
+ opacity: 0.7;
+}
+.dark .speaker-tablet-group .speaker-tablet-time {
+ /* In dark mode the speaker-color foreground is already a light
+ pastel; we don't need to lighten it further. */
+ opacity: 0.85;
}
.speaker-tablet-group .speaker-tablet-name {