Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Fix low-contrast TXT/MD download toggle in dark mode by using the saturated button color pair instead of the light accent color
Murtaza Nasir8ab7331679d8
diff --git a/templates/components/detail/desktop-transcription-panel.html b/templates/components/detail/desktop-transcription-panel.htmlindex 53263480..c6167f9b 100644--- a/templates/components/detail/desktop-transcription-panel.html+++ b/templates/components/detail/desktop-transcription-panel.html@@ -59,9 +59,9 @@<span class="text-xs text-[var(--text-muted)]" v-text="t('transcriptTemplates.format')"></span><div class="inline-flex rounded-md overflow-hidden border border-[var(--border-primary)]"><button @click.stop="transcriptDownloadFormat = 'txt'"- :class="['px-2.5 py-1 text-xs transition-colors', transcriptDownloadFormat === 'txt' ? 'bg-[var(--text-accent)] text-white' : 'hover:bg-[var(--bg-tertiary)]']">TXT</button>+ :class="['px-2.5 py-1 text-xs transition-colors', transcriptDownloadFormat === 'txt' ? 'bg-[var(--bg-button)] text-[var(--text-button)]' : 'text-[var(--text-secondary)] hover:bg-[var(--bg-tertiary)]']">TXT</button><button @click.stop="transcriptDownloadFormat = 'md'"- :class="['px-2.5 py-1 text-xs transition-colors border-l border-[var(--border-primary)]', transcriptDownloadFormat === 'md' ? 'bg-[var(--text-accent)] text-white' : 'hover:bg-[var(--bg-tertiary)]']">MD</button>+ :class="['px-2.5 py-1 text-xs transition-colors border-l border-[var(--border-primary)]', transcriptDownloadFormat === 'md' ? 'bg-[var(--bg-button)] text-[var(--text-button)]' : 'text-[var(--text-secondary)] hover:bg-[var(--bg-tertiary)]']">MD</button></div></div><button @click="downloadWithDefaultTemplate(); showDownloadMenu = false"