Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Soften the speaker pill outline — light mode blends currentColor with 20% white (lightens the saturated dark hue), dark mode blends with 20% black (darkens the light pastel) — uses color-mix in both modes so the outline is a softened version of the speaker identity colour instead of the fully saturated edge
Murtaza Nasird2327132c3b0
diff --git a/static/css/styles.css b/static/css/styles.cssindex 3218a386..bcfff29b 100644--- a/static/css/styles.css+++ b/static/css/styles.css@@ -1697,19 +1697,21 @@ body {margin: 0 0.5rem 0.5rem 0;border-radius: 0.375rem;overflow: hidden;- /* Hairline outline in the speaker's own identity colour. Uses- currentColor so it picks up whatever the speaker-color-N- class set as `color` — the saturated dark hue in light mode- (e.g. #0D47A1 for blue) and the light pastel hue in dark mode- (e.g. #A5C9EA for blue), matching what the speaker name- reads as on each surface. */- border: 1px solid currentColor;+ /* Hairline outline in a softened version of the speaker's identity+ colour. Uses color-mix to blend the inherited currentColor with+ white so the dark saturated hue (light mode) reads as a little+ softer; .dark mode below mixes with black instead to darken the+ light pastel a notch. */+ border: 1px solid color-mix(in srgb, currentColor 80%, #ffffff 20%);box-shadow: 0 1px 2px rgba(0,0,0,0.1);font-size: 0.75rem;font-weight: 600;line-height: 1.4;white-space: nowrap;}+.dark .speaker-tablet-group {+ border-color: color-mix(in srgb, currentColor 80%, #000000 20%);+}.speaker-tablet-group .speaker-tablet-time {padding: 0.25rem 0.55rem;@@ -1972,11 +1974,16 @@ body {font-weight: 600;margin-bottom: 0.5rem;margin-right: 0.5rem;- /* Hairline outline in the speaker's identity colour — see- .speaker-tablet-group for the rationale. */- border: 1px solid currentColor;+ /* Hairline outline in a softened speaker-identity colour — see+ .speaker-tablet-group for the rationale; light mode lightens+ the inherited currentColor toward white, dark mode darkens it+ toward black. */+ border: 1px solid color-mix(in srgb, currentColor 80%, #ffffff 20%);box-shadow: 0 1px 2px rgba(0,0,0,0.1);}+.dark .speaker-tablet {+ border-color: color-mix(in srgb, currentColor 80%, #000000 20%);+}.speaker-text {color: var(--text-secondary);