Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Keep audio only toggle: persist the sky-blue colour identity in the OFF state too so the visual link to the sky-blue video file rows is visible BEFORE the user has clicked the toggle — previous wiring only painted the toggle sky-blue when ON, so a first-time user with a video in the queue saw a neutral gray toggle and had no colour-driven cue that it related to the blue file rows above; now (a) the icon badge keeps a soft sky-tint background (bg-sky-500/10) and a sky-coloured icon (text-sky-600 / dark:text-sky-400) in the off state instead of the bg-secondary + text-muted gray it had, so the icon itself reads as 'video-related' even when inactive; (b) the whole row carries a left-border accent in sky-400/60 (sky-500/50 in dark mode) that's always visible, intensifies to solid sky-500 when the toggle is on or the row is hovered; the on state still uses the saturated sky-blue gradient + sky-700 text so 'active' is visually unmistakable — but the colour identity isn't conditional on activation anymore
Murtaza Nasir057d5ca39eda
diff --git a/templates/components/upload-view.html b/templates/components/upload-view.htmlindex f9fac8f2..c017271b 100644--- a/templates/components/upload-view.html+++ b/templates/components/upload-view.html@@ -151,19 +151,27 @@reading the label. --><div v-if="videoRetentionEnabled && uploadQueue.some(item => item.file && /\.(mp4|mov|mkv|avi|webm|m4v|wmv|flv|ts|mts)$/i.test(item.file.name))"class="mt-3">+ <!-- Off-state keeps a soft sky tint on the icon+ badge so the colour link to the sky-blue+ video-file rows is visible BEFORE the user+ clicks the toggle; the toggle just intensifies+ the same hue when activated rather than+ introducing a new colour. Left-border accent+ on the outer button does the same job for the+ row as a whole. --><button @click="keepAudioOnly = !keepAudioOnly":class="[- 'w-full flex items-center justify-between px-3 py-2.5 rounded-lg border transition-all duration-200',+ 'w-full flex items-center justify-between px-3 py-2.5 rounded-lg border transition-all duration-200 border-l-4',keepAudioOnly- ? 'bg-gradient-to-r from-sky-500/10 to-blue-500/10 border-sky-400/50 dark:border-sky-500/50'- : 'bg-[var(--bg-tertiary)] border-[var(--border-secondary)] hover:border-[var(--border-focus)]'+ ? 'bg-gradient-to-r from-sky-500/10 to-blue-500/10 border-sky-400/50 dark:border-sky-500/50 border-l-sky-500'+ : 'bg-[var(--bg-tertiary)] border-[var(--border-secondary)] border-l-sky-400/60 dark:border-l-sky-500/50 hover:border-[var(--border-focus)] hover:border-l-sky-500']"><div class="flex items-center gap-3"><div :class="['w-8 h-8 rounded-full flex items-center justify-center transition-all',keepAudioOnly? 'bg-gradient-to-br from-sky-500 to-blue-600 text-white'- : 'bg-[var(--bg-secondary)] text-[var(--text-muted)]'+ : 'bg-sky-500/10 text-sky-600 dark:text-sky-400']"><i class="fas fa-video-slash text-sm"></i></div>