Speakr is a personal, self-hosted web application designed for transcribing audio recordings
Python
Pass A foundation: primitives.css with design tokens (spacing scale 4/8/12/16/24/32/48/64, type tokens, radii, shadows, transitions) and primitive class definitions (surface, tabs, toggle, btn, field, spinner, empty, banner, float-panel, rail, t-* type scale) plus a 57-replacement sweep of hardcoded Tailwind colour utilities (bg-red-600, text-blue-500 etc.) to their CSS-variable equivalents across admin, account, and inquire so every theme + light/dark combination renders correctly
Murtaza Nasirdd34c3bc638c
diff --git a/static/css/primitives.css b/static/css/primitives.cssnew file mode 100644index 00000000..c234c791--- /dev/null+++ b/static/css/primitives.css@@ -0,0 +1,631 @@+/* ============================================================================+ * Speakr Design System – Primitives+ * ============================================================================+ *+ * Layers a small, opinionated component vocabulary on top of styles.css.+ * Every primitive obeys these rules:+ *+ * 1. One elevated surface per region. Inside a region, structure comes+ * from hairline dividers + small uppercase section labels.+ * 2. Type and weight carry hierarchy. Background colour does not.+ * 3. Generous outer margins, restrained inner padding.+ * 4. Every colour reference is a CSS variable so light/dark + all six+ * theme variants work without per-rule branching.+ *+ * Spacing scale (use these everywhere):+ * 4 · 8 · 12 · 16 · 24 · 32 · 48 · 64 (also exposed as --sp-1..--sp-8)+ *+ * Type scale (token classes are .t-{label,meta,body,body-strong,subhead,heading,title}):+ * label 11px / 600 / uppercase / muted+ * meta 13px / 400 / muted+ * body 14px / 400+ * body-strong 14px / 600+ * subhead 16px / 600+ * heading 20px / 600+ * title 28px / 700+ * ========================================================================= */+++/* ---- Tokens (additive to styles.css color variables) -------------------- */++:root {+ /* Spacing scale */+ --sp-1: 4px;+ --sp-2: 8px;+ --sp-3: 12px;+ --sp-4: 16px;+ --sp-5: 24px;+ --sp-6: 32px;+ --sp-7: 48px;+ --sp-8: 64px;++ /* Radii */+ --radius-sm: 6px;+ --radius-md: 8px;+ --radius-lg: 12px;+ --radius-pill: 999px;++ /* Elevation (used sparingly; only on floating/dropdown surfaces) */+ --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.04);+ --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);+ --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);++ /* Type sizes */+ --fs-label: 11px;+ --fs-meta: 13px;+ --fs-body: 14px;+ --fs-subhead: 16px;+ --fs-heading: 20px;+ --fs-title: 28px;++ /* Line heights */+ --lh-tight: 1.25;+ --lh-snug: 1.4;+ --lh-base: 1.55;++ /* Track for letter-spacing on uppercase labels */+ --tracking-wide: 0.06em;++ /* Border weights */+ --border-hairline: 1px;+ --border-strong: 2px;++ /* Transition */+ --t-fast: 120ms;+ --t-base: 180ms;+}++html.dark {+ --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);+ --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.5);+ --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.65);+}+++/* ---- Type primitives ---------------------------------------------------- */++.t-label {+ font-size: var(--fs-label);+ font-weight: 600;+ text-transform: uppercase;+ letter-spacing: var(--tracking-wide);+ color: var(--text-muted);+ line-height: var(--lh-tight);+}++.t-meta {+ font-size: var(--fs-meta);+ font-weight: 400;+ color: var(--text-muted);+ line-height: var(--lh-snug);+}++.t-body {+ font-size: var(--fs-body);+ font-weight: 400;+ color: var(--text-primary);+ line-height: var(--lh-base);+}++.t-body-strong {+ font-size: var(--fs-body);+ font-weight: 600;+ color: var(--text-primary);+ line-height: var(--lh-snug);+}++.t-subhead {+ font-size: var(--fs-subhead);+ font-weight: 600;+ color: var(--text-primary);+ line-height: var(--lh-snug);+}++.t-heading {+ font-size: var(--fs-heading);+ font-weight: 600;+ color: var(--text-primary);+ line-height: var(--lh-tight);+ letter-spacing: -0.01em;+}++.t-title {+ font-size: var(--fs-title);+ font-weight: 700;+ color: var(--text-primary);+ line-height: var(--lh-tight);+ letter-spacing: -0.02em;+}+++/* ---- Surface primitives -------------------------------------------------+ *+ * Two surface variants. That's it.+ * .surface – the base canvas; no border, no shadow+ * .surface-raised – modals, dropdowns, floating panels; subtle elevation+ * --------------------------------------------------------------------- */++.surface {+ background-color: var(--bg-secondary);+ color: var(--text-primary);+}++.surface-raised {+ background-color: var(--bg-secondary);+ color: var(--text-primary);+ border: var(--border-hairline) solid var(--border-primary);+ border-radius: var(--radius-lg);+ box-shadow: var(--shadow-md);+}+++/* ---- Section divider + label -------------------------------------------+ *+ * .section-label – the muted uppercase rubric ("SUMMARY · 1.8k")+ * .section-rule – the hairline that sits below a region header+ * ------------------------------------------------------------------- */++.section-label {+ font-size: var(--fs-label);+ font-weight: 600;+ text-transform: uppercase;+ letter-spacing: var(--tracking-wide);+ color: var(--text-muted);+ display: inline-flex;+ align-items: center;+ gap: var(--sp-2);+ line-height: var(--lh-tight);+}++.section-label__count {+ font-size: var(--fs-meta);+ font-weight: 500;+ color: var(--text-light, var(--text-muted));+ text-transform: none;+ letter-spacing: 0;+}++.section-rule {+ height: var(--border-hairline);+ background: var(--border-primary);+ border: none;+ margin: 0;+}+++/* ---- Tab bar ------------------------------------------------------------+ *+ * Used by the right-rail (SUMMARY · NOTES · EVENTS) and the segmented+ * style of secondary toolbars. Active tab is type weight + accent+ * underline; never a background fill.+ *+ * <div class="tabs">+ * <button class="tab is-active">Summary <span class="tab__count">1.8k</span></button>+ * <button class="tab">Notes <span class="tab__count">142</span></button>+ * </div>+ * --------------------------------------------------------------------- */++.tabs {+ display: flex;+ align-items: stretch;+ gap: var(--sp-1);+ padding: 0;+ margin: 0;+ border-bottom: var(--border-hairline) solid var(--border-primary);+ min-height: 40px;+}++.tab {+ appearance: none;+ background: transparent;+ border: none;+ color: var(--text-muted);+ font-size: var(--fs-body);+ font-weight: 600;+ padding: var(--sp-3) var(--sp-3);+ cursor: pointer;+ display: inline-flex;+ align-items: center;+ gap: var(--sp-2);+ border-bottom: var(--border-strong) solid transparent;+ margin-bottom: calc(var(--border-hairline) * -1);+ transition: color var(--t-fast) ease, border-color var(--t-fast) ease;+ line-height: var(--lh-tight);+ white-space: nowrap;+}++.tab:hover {+ color: var(--text-secondary, var(--text-primary));+}++.tab.is-active {+ color: var(--text-primary);+ border-bottom-color: var(--text-accent);+}++.tab__count {+ font-size: var(--fs-meta);+ font-weight: 500;+ color: var(--text-light, var(--text-muted));+ background: transparent;+}++.tab.is-active .tab__count {+ color: var(--text-muted);+}++.tab__dot {+ width: 6px;+ height: 6px;+ border-radius: 999px;+ background: var(--text-accent);+ animation: pulseDot 1.4s ease-in-out infinite;+}++@keyframes pulseDot {+ 0%, 100% { opacity: 1; }+ 50% { opacity: 0.4; }+}++/* Tab bar with action toolbar on the right side */+.tabs-bar {+ display: flex;+ align-items: center;+ justify-content: space-between;+ gap: var(--sp-4);+ border-bottom: var(--border-hairline) solid var(--border-primary);+ min-height: 40px;+}++.tabs-bar > .tabs {+ border-bottom: none;+ min-height: 0;+}++.tabs-bar__actions {+ display: inline-flex;+ align-items: center;+ gap: var(--sp-1);+ padding-right: var(--sp-3);+}+++/* ---- Toggle (binary on/off pill) ---------------------------------------- */++.toggle {+ appearance: none;+ background: transparent;+ border: var(--border-hairline) solid var(--border-primary);+ color: var(--text-muted);+ font-size: var(--fs-meta);+ font-weight: 500;+ padding: var(--sp-1) var(--sp-3);+ height: 28px;+ border-radius: var(--radius-pill);+ display: inline-flex;+ align-items: center;+ gap: var(--sp-2);+ cursor: pointer;+ transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;+ line-height: 1;+ white-space: nowrap;+}++.toggle:hover {+ color: var(--text-secondary, var(--text-primary));+ background: var(--bg-tertiary);+}++.toggle.is-on {+ background: var(--text-accent);+ color: var(--bg-secondary);+ border-color: var(--text-accent);+}++.toggle.is-on:hover {+ opacity: 0.92;+}+++/* ---- Button -------------------------------------------------------------+ *+ * .btn base+ * .btn--primary filled accent+ * .btn--ghost bordered, no fill+ * .btn--danger filled danger+ * .btn--icon square 32×32 (40×40 on .btn--icon.btn--lg)+ * .btn--sm / .btn--lg size variants+ * --------------------------------------------------------------------- */++.btn {+ appearance: none;+ background: transparent;+ border: var(--border-hairline) solid transparent;+ color: var(--text-primary);+ font-size: var(--fs-body);+ font-weight: 500;+ padding: var(--sp-2) var(--sp-4);+ border-radius: var(--radius-md);+ display: inline-flex;+ align-items: center;+ justify-content: center;+ gap: var(--sp-2);+ cursor: pointer;+ transition: background var(--t-fast) ease, color var(--t-fast) ease, border-color var(--t-fast) ease;+ white-space: nowrap;+ line-height: 1.2;+ min-height: 36px;+}++.btn:disabled, .btn.is-disabled {+ opacity: 0.55;+ cursor: not-allowed;+}++.btn--primary {+ background: var(--bg-button);+ color: var(--text-button);+ border-color: var(--bg-button);+}+.btn--primary:hover:not(:disabled) {+ background: var(--bg-button-hover);+ border-color: var(--bg-button-hover);+}++.btn--ghost {+ background: transparent;+ color: var(--text-secondary, var(--text-primary));+ border-color: var(--border-primary);+}+.btn--ghost:hover:not(:disabled) {+ background: var(--bg-tertiary);+ color: var(--text-primary);+}++.btn--quiet {+ background: transparent;+ color: var(--text-muted);+ border-color: transparent;+}+.btn--quiet:hover:not(:disabled) {+ background: var(--bg-tertiary);+ color: var(--text-primary);+}++.btn--danger {+ background: var(--bg-danger);+ color: #fff;+ border-color: var(--bg-danger);+}+.btn--danger:hover:not(:disabled) {+ background: var(--bg-danger-hover);+ border-color: var(--bg-danger-hover);+}++.btn--sm {+ padding: var(--sp-1) var(--sp-3);+ font-size: var(--fs-meta);+ min-height: 28px;+}++.btn--lg {+ padding: var(--sp-3) var(--sp-5);+ font-size: var(--fs-body);+ min-height: 44px;+}++.btn--icon {+ width: 36px;+ min-height: 36px;+ padding: 0;+ color: var(--text-muted);+}+.btn--icon:hover:not(:disabled) {+ background: var(--bg-tertiary);+ color: var(--text-primary);+}+.btn--icon.btn--lg {+ width: 44px;+ min-height: 44px;+}+.btn--icon.btn--sm {+ width: 28px;+ min-height: 28px;+}+++/* ---- Field (input / textarea / select) --------------------------------- */++.field {+ appearance: none;+ width: 100%;+ background: var(--bg-input, var(--bg-secondary));+ color: var(--text-primary);+ border: var(--border-hairline) solid var(--border-secondary, var(--border-primary));+ border-radius: var(--radius-md);+ padding: var(--sp-2) var(--sp-3);+ font-size: var(--fs-body);+ font-family: inherit;+ line-height: var(--lh-snug);+ transition: border-color var(--t-fast) ease, box-shadow var(--t-fast) ease;+ min-height: 36px;+}+.field:focus, .field:focus-visible {+ outline: none;+ border-color: var(--border-focus);+ box-shadow: 0 0 0 3px var(--ring-focus);+}+.field:disabled {+ opacity: 0.55;+ cursor: not-allowed;+}+.field--sm {+ padding: var(--sp-1) var(--sp-2);+ font-size: var(--fs-meta);+ min-height: 28px;+}+++/* ---- Spinner ------------------------------------------------------------ */++.spinner {+ width: 16px;+ height: 16px;+ border: 2px solid var(--border-primary);+ border-top-color: var(--text-accent);+ border-radius: 50%;+ display: inline-block;+ animation: spinnerSpin 700ms linear infinite;+}+.spinner--sm { width: 12px; height: 12px; border-width: 2px; }+.spinner--lg { width: 24px; height: 24px; border-width: 3px; }+@keyframes spinnerSpin {+ to { transform: rotate(360deg); }+}+++/* ---- Empty state -------------------------------------------------------- */++.empty {+ display: flex;+ flex-direction: column;+ align-items: center;+ justify-content: center;+ text-align: center;+ padding: var(--sp-7) var(--sp-4);+ gap: var(--sp-3);+ color: var(--text-muted);+}+.empty__icon {+ width: 40px;+ height: 40px;+ display: inline-flex;+ align-items: center;+ justify-content: center;+ border-radius: 999px;+ background: var(--bg-tertiary);+ color: var(--text-muted);+}+.empty__title {+ font-size: var(--fs-subhead);+ font-weight: 600;+ color: var(--text-primary);+}+.empty__body {+ font-size: var(--fs-meta);+ color: var(--text-muted);+ max-width: 36ch;+ line-height: var(--lh-snug);+}+++/* ---- Toast / Banner ---------------------------------------------------- */++.banner {+ padding: var(--sp-3) var(--sp-4);+ border-radius: var(--radius-md);+ font-size: var(--fs-meta);+ display: inline-flex;+ align-items: center;+ gap: var(--sp-2);+ border: var(--border-hairline) solid var(--border-primary);+ background: var(--bg-tertiary);+ color: var(--text-primary);+}+.banner--info { background: var(--bg-info-light); border-color: var(--border-accent); color: var(--text-info-strong, var(--text-primary)); }+.banner--success { background: var(--bg-success-light); border-color: var(--border-success, var(--border-primary)); color: var(--text-primary); }+.banner--warn { background: var(--bg-warn-light); border-color: var(--border-accent); color: var(--text-primary); }+.banner--danger { background: var(--bg-danger-light); border-color: var(--border-danger); color: var(--text-danger-strong, var(--text-danger)); }+++/* ---- Floating panel (chat, dropdown body) ------------------------------ */++.float-panel {+ background: var(--bg-secondary);+ border: var(--border-hairline) solid var(--border-primary);+ border-radius: var(--radius-lg);+ box-shadow: var(--shadow-lg);+ color: var(--text-primary);+ overflow: hidden;+ backdrop-filter: blur(8px) saturate(120%);+}+.float-panel__header {+ display: flex;+ align-items: center;+ gap: var(--sp-2);+ padding: var(--sp-2) var(--sp-3);+ border-bottom: var(--border-hairline) solid var(--border-primary);+ cursor: grab;+ user-select: none;+}+.float-panel__header:active {+ cursor: grabbing;+}+.float-panel__title {+ flex: 1;+ font-size: var(--fs-label);+ font-weight: 600;+ text-transform: uppercase;+ letter-spacing: var(--tracking-wide);+ color: var(--text-muted);+}+.float-panel__body {+ padding: var(--sp-3);+ overflow: auto;+}+.float-panel__footer {+ padding: var(--sp-2) var(--sp-3);+ border-top: var(--border-hairline) solid var(--border-primary);+ background: var(--bg-tertiary);+}+++/* ---- Rail layout (right column of recording detail) -------------------- */++.rail {+ display: flex;+ flex-direction: column;+ height: 100%;+ background: var(--bg-secondary);+ border-left: var(--border-hairline) solid var(--border-primary);+}+.rail__header {+ flex: 0 0 auto;+ background: var(--bg-secondary);+ padding: 0 var(--sp-4);+}+.rail__body {+ flex: 1 1 auto;+ overflow-y: auto;+ padding: var(--sp-4) var(--sp-4) var(--sp-6);+}++/* Sections inside the rail body for stacked layouts that don't use tabs.+ Retained for spec but rail content currently uses .tabs above. */+.rail-section + .rail-section {+ margin-top: var(--sp-6);+ padding-top: var(--sp-4);+ border-top: var(--border-hairline) solid var(--border-primary);+}+++/* ---- Focus ring fallback for all interactive elements ----------------- */++button:focus-visible,+a:focus-visible,+[role="button"]:focus-visible,+input:focus-visible,+select:focus-visible,+textarea:focus-visible {+ outline: 2px solid var(--border-focus);+ outline-offset: 2px;+}++/* But override outline for elements that already provide their own ring */+.field:focus-visible,+.btn:focus-visible,+.tab:focus-visible,+.toggle:focus-visible {+ outline: none;+ box-shadow: 0 0 0 3px var(--ring-focus);+}diff --git a/templates/account.html b/templates/account.htmlindex 315687ad..44ae0339 100644--- a/templates/account.html+++ b/templates/account.html@@ -12,6 +12,7 @@<!-- All dependencies bundled locally for offline support --><link rel="stylesheet" href="{{ url_for('static', filename='vendor/css/fontawesome.min.css') }}"><link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">+ <link rel="stylesheet" href="{{ url_for('static', filename='css/primitives.css') }}"><script src="{{ url_for('static', filename='js/i18n.js') }}"></script><!-- Loading overlay to prevent FOUC -->@@ -734,7 +735,7 @@<div class="flex flex-wrap items-center gap-3 text-xs text-[var(--text-secondary)]"><span class="font-medium" data-i18n="preview.placeholderLegend">Placeholder legend:</span><span class="inline-flex items-center gap-1.5">- <span class="px-1.5 py-0.5 rounded text-[11px] font-semibold bg-blue-500/15 text-blue-300 border border-blue-500/30 font-mono">{example}</span>+ <span class="px-1.5 py-0.5 rounded text-[11px] font-semibold bg-blue-500/15 text-[var(--text-accent)] border border-blue-500/30 font-mono">{example}</span><span data-i18n="preview.systemReplaced">system-replaced (current date, transcript, tag names, etc.)</span></span><span class="inline-flex items-center gap-1.5">@@ -965,7 +966,7 @@<input type="checkbox" id="autoSpeakerLabellingToggle" class="sr-only peer" {% if auto_speaker_labelling %}checked{% endif %}><div class="w-11 h-6 bg-[var(--bg-tertiary)] peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-[var(--border-focus)] rounded-full peer peer-checked:after:translate-x-full rtl:peer-checked:after:-translate-x-full after:content-[''] after:absolute after:top-[2px] after:start-[2px] after:bg-[var(--text-muted)] after:rounded-full after:h-5 after:w-5 after:transition-all peer-checked:bg-[var(--bg-accent)] peer-checked:after:bg-white"></div></label>- <select id="autoSpeakerLabellingThreshold" class="text-sm bg-[var(--bg-secondary)] border border-[var(--border-secondary)] rounded-md px-2 py-1 text-[var(--text-primary)] focus:ring-2 focus:ring-blue-500 disabled:opacity-50 disabled:cursor-not-allowed" {% if not auto_speaker_labelling %}disabled{% endif %}>+ <select id="autoSpeakerLabellingThreshold" class="text-sm bg-[var(--bg-secondary)] border border-[var(--border-secondary)] rounded-md px-2 py-1 text-[var(--text-primary)] focus:ring-2 focus:ring-[var(--border-focus)] disabled:opacity-50 disabled:cursor-not-allowed" {% if not auto_speaker_labelling %}disabled{% endif %}><option value="high" {% if auto_speaker_labelling_threshold == 'high' %}selected{% endif %}>High</option><option value="medium" {% if auto_speaker_labelling_threshold == 'medium' %}selected{% endif %}>Medium</option><option value="low" {% if auto_speaker_labelling_threshold == 'low' %}selected{% endif %}>Low</option>@@ -978,7 +979,7 @@<div class="flex-shrink-0 flex flex-wrap justify-between items-center gap-2 py-2 sm:py-3 px-3 sm:px-4 bg-[var(--bg-tertiary)] rounded-lg border border-[var(--border-primary)] mb-3"><div class="flex items-center gap-2 sm:gap-4"><label class="flex items-center text-sm text-[var(--text-muted)] cursor-pointer hover:text-[var(--text-primary)] transition-colors">- <input type="checkbox" id="selectAllSpeakersTop" class="select-all-checkbox mr-1.5 sm:mr-2 rounded border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500">+ <input type="checkbox" id="selectAllSpeakersTop" class="select-all-checkbox mr-1.5 sm:mr-2 rounded border-[var(--border-secondary)] text-[var(--text-accent)] focus:ring-[var(--border-focus)]"><span class="hidden sm:inline">Select All</span><span class="sm:hidden">All</span></label>@@ -988,7 +989,7 @@<input type="text" id="speakerSearchInput" placeholder="Filter by name..." class="speaker-search-input px-2 py-1 text-sm rounded-md border border-[var(--border-primary)] bg-[var(--bg-primary)] text-[var(--text-primary)] placeholder-[var(--text-light)] focus:outline-none focus:border-[var(--border-accent)] focus:ring-1 focus:ring-[var(--border-accent)] w-32 sm:w-40" autocomplete="off"></div><div class="flex space-x-1 sm:space-x-2">- <button class="bulk-delete-btn px-2 sm:px-3 py-1 sm:py-1.5 text-sm bg-red-600 dark:bg-red-500 text-white rounded-md hover:bg-red-700 dark:hover:bg-red-600 disabled:opacity-50 disabled:cursor-not-allowed transition-colors" disabled title="Delete">+ <button class="bulk-delete-btn px-2 sm:px-3 py-1 sm:py-1.5 text-sm bg-[var(--bg-danger)] text-white rounded-md hover:bg-[var(--bg-danger-hover)] disabled:opacity-50 disabled:cursor-not-allowed transition-colors" disabled title="Delete"><i class="fas fa-trash"></i><span class="hidden sm:inline ml-1">Delete</span></button>@@ -1034,7 +1035,7 @@<div class="flex-shrink-0 flex flex-wrap justify-between items-center gap-2 py-2 sm:py-3 px-3 sm:px-4 bg-[var(--bg-tertiary)] rounded-lg border border-[var(--border-primary)] mt-3"><div class="flex items-center gap-2 sm:gap-4"><label class="flex items-center text-sm text-[var(--text-muted)] cursor-pointer hover:text-[var(--text-primary)] transition-colors">- <input type="checkbox" id="selectAllSpeakersBottom" class="select-all-checkbox mr-1.5 sm:mr-2 rounded border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500">+ <input type="checkbox" id="selectAllSpeakersBottom" class="select-all-checkbox mr-1.5 sm:mr-2 rounded border-[var(--border-secondary)] text-[var(--text-accent)] focus:ring-[var(--border-focus)]"><span class="hidden sm:inline">Select All</span><span class="sm:hidden">All</span></label>@@ -1043,7 +1044,7 @@</span></div><div class="flex space-x-1 sm:space-x-2">- <button class="bulk-delete-btn px-2 sm:px-3 py-1 sm:py-1.5 text-sm bg-red-600 dark:bg-red-500 text-white rounded-md hover:bg-red-700 dark:hover:bg-red-600 disabled:opacity-50 disabled:cursor-not-allowed transition-colors" disabled title="Delete">+ <button class="bulk-delete-btn px-2 sm:px-3 py-1 sm:py-1.5 text-sm bg-[var(--bg-danger)] text-white rounded-md hover:bg-[var(--bg-danger-hover)] disabled:opacity-50 disabled:cursor-not-allowed transition-colors" disabled title="Delete"><i class="fas fa-trash"></i><span class="hidden sm:inline ml-1">Delete</span></button>@@ -1742,7 +1743,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co</a><a href="https://hub.docker.com/r/learnedmachine/speakr" target="_blank" rel="noopener noreferrer"- class="flex items-center p-3 bg-blue-600 hover:bg-blue-500 text-white rounded-lg transition-all duration-200 group transform hover:scale-[1.02]">+ class="flex items-center p-3 bg-[var(--bg-button)] hover:bg-[var(--bg-button-hover)] text-[var(--text-button)] rounded-lg transition-all duration-200 group transform hover:scale-[1.02]"><i class="fab fa-docker text-xl mr-3"></i><div class="flex-1"><div class="font-medium" data-i18n="aboutPage.dockerHub">Docker Hub</div>@@ -1783,7 +1784,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4"><div class="flex items-start p-4 bg-[var(--bg-tertiary)] rounded-lg border border-[var(--border-secondary)] hover:border-[var(--border-accent)] transition-colors"><div class="p-2 bg-blue-100 dark:bg-blue-900 rounded-lg mr-3 mt-1">- <i class="fas fa-microphone text-blue-600 dark:text-blue-400"></i>+ <i class="fas fa-microphone text-[var(--text-accent)]"></i></div><div><h4 class="font-medium text-[var(--text-primary)] mb-1" data-i18n="aboutPage.audioTranscription">Audio Transcription</h4>@@ -1854,7 +1855,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<div class="grid grid-cols-2 md:grid-cols-4 gap-4"><div class="text-center p-3 bg-[var(--bg-tertiary)] rounded-lg">- <i class="fab fa-python text-3xl text-blue-500 mb-2"></i>+ <i class="fab fa-python text-3xl text-[var(--text-accent)] mb-2"></i><p class="text-sm font-medium text-[var(--text-primary)]">Python Flask</p><p class="text-xs text-[var(--text-muted)]" data-i18n="aboutPage.backend">Backend</p></div>@@ -1869,7 +1870,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<p class="text-xs text-[var(--text-muted)]" data-i18n="aboutPage.database">Database</p></div><div class="text-center p-3 bg-[var(--bg-tertiary)] rounded-lg">- <i class="fab fa-docker text-3xl text-blue-600 mb-2"></i>+ <i class="fab fa-docker text-3xl text-[var(--text-accent)] mb-2"></i><p class="text-sm font-medium text-[var(--text-primary)]">Docker</p><p class="text-xs text-[var(--text-muted)]" data-i18n="aboutPage.deployment">Deployment</p></div>@@ -2026,7 +2027,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<div class="flex items-start space-x-3 bg-red-50 dark:bg-red-900/20 p-3 rounded-lg border border-red-200 dark:border-red-800"><div class="w-6 h-6 bg-red-100 dark:bg-red-900/40 rounded-full flex items-center justify-center flex-shrink-0 mt-0.5">- <i class="fas fa-exclamation-triangle text-red-600 dark:text-red-400 text-xs"></i>+ <i class="fas fa-exclamation-triangle text-[var(--text-danger)] dark:text-red-400 text-xs"></i></div><div><p class="text-sm text-red-800 dark:text-red-200">@@ -2138,7 +2139,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<div class="p-6 flex-shrink-0 border-b border-[var(--border-primary)]"><div class="flex items-start space-x-3"><div class="w-6 h-6 bg-blue-100 rounded-full flex items-center justify-center flex-shrink-0 mt-0.5">- <i class="fas fa-info-circle text-blue-600 text-xs"></i>+ <i class="fas fa-info-circle text-[var(--text-accent)] text-xs"></i></div><div><p class="text-sm text-[var(--text-secondary)]">@@ -2246,7 +2247,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co</div><label class="relative inline-flex items-center cursor-pointer"><input type="checkbox" id="tagAutoProcess" class="sr-only peer">- <div class="w-9 h-5 bg-[var(--bg-quaternary)] peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-[var(--border-focus)] rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-gray-300 after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-[var(--bg-success)]"></div>+ <div class="w-9 h-5 bg-[var(--bg-quaternary)] peer-focus:outline-none peer-focus:ring-2 peer-focus:ring-[var(--border-focus)] rounded-full peer peer-checked:after:translate-x-full peer-checked:after:border-white after:content-[''] after:absolute after:top-[2px] after:left-[2px] after:bg-white after:border-[var(--border-secondary)] after:border after:rounded-full after:h-4 after:w-4 after:transition-all peer-checked:bg-[var(--bg-success)]"></div></label></div><div id="tagAutoProcessPath" class="hidden px-3 py-2 bg-[var(--bg-tertiary)] rounded-md -mt-2">@@ -2331,7 +2332,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<p class="text-xs text-[var(--text-light)] mt-1">Leave empty to use global retention period.</p></div><div class="flex items-start space-x-3 p-3 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-md">- <input type="checkbox" id="tagProtectFromDeletion" class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-gray-300 rounded focus:ring-[var(--border-focus)]">+ <input type="checkbox" id="tagProtectFromDeletion" class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-[var(--border-secondary)] rounded focus:ring-[var(--border-focus)]"><div class="flex-1"><label for="tagProtectFromDeletion" class="block text-sm font-medium text-[var(--text-secondary)] cursor-pointer"><i class="fas fa-shield-alt mr-1 text-yellow-600 dark:text-yellow-400"></i>@@ -2391,7 +2392,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co</h4><div class="space-y-3"><div class="flex items-start space-x-3">- <input type="checkbox" id="tagAutoShareOnApply" name="auto_share_on_apply" checked class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-gray-300 rounded focus:ring-[var(--border-focus)]">+ <input type="checkbox" id="tagAutoShareOnApply" name="auto_share_on_apply" checked class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-[var(--border-secondary)] rounded focus:ring-[var(--border-focus)]"><div class="flex-1"><label for="tagAutoShareOnApply" class="block text-sm font-medium text-[var(--text-secondary)] cursor-pointer"><i class="fas fa-share-alt mr-1"></i>Auto-share with all group members@@ -2400,7 +2401,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co</div></div><div class="flex items-start space-x-3">- <input type="checkbox" id="tagShareWithGroupLead" name="share_with_group_lead" checked class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-gray-300 rounded focus:ring-[var(--border-focus)]">+ <input type="checkbox" id="tagShareWithGroupLead" name="share_with_group_lead" checked class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-[var(--border-secondary)] rounded focus:ring-[var(--border-focus)]"><div class="flex-1"><label for="tagShareWithGroupLead" class="block text-sm font-medium text-[var(--text-secondary)] cursor-pointer"><i class="fas fa-user-shield mr-1"></i>Share with group admins only@@ -2526,7 +2527,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<p class="text-xs text-[var(--text-light)] mt-1">Leave empty to use global retention period.</p></div><div class="flex items-start space-x-3 p-3 bg-yellow-50 dark:bg-yellow-900/20 border border-yellow-200 dark:border-yellow-800 rounded-md">- <input type="checkbox" id="folderProtectFromDeletion" class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-gray-300 rounded focus:ring-[var(--border-focus)]">+ <input type="checkbox" id="folderProtectFromDeletion" class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-[var(--border-secondary)] rounded focus:ring-[var(--border-focus)]"><div class="flex-1"><label for="folderProtectFromDeletion" class="block text-sm font-medium text-[var(--text-secondary)] cursor-pointer"><i class="fas fa-shield-alt mr-1 text-yellow-600 dark:text-yellow-400"></i>@@ -2579,7 +2580,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co</h4><div class="space-y-3"><div class="flex items-start space-x-3">- <input type="checkbox" id="folderAutoShareOnApply" name="auto_share_on_apply" checked class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-gray-300 rounded focus:ring-[var(--border-focus)]">+ <input type="checkbox" id="folderAutoShareOnApply" name="auto_share_on_apply" checked class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-[var(--border-secondary)] rounded focus:ring-[var(--border-focus)]"><div class="flex-1"><label for="folderAutoShareOnApply" class="block text-sm font-medium text-[var(--text-secondary)] cursor-pointer"><i class="fas fa-share-alt mr-1"></i>Auto-share with all group members@@ -2588,7 +2589,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co</div></div><div class="flex items-start space-x-3">- <input type="checkbox" id="folderShareWithGroupLead" name="share_with_group_lead" checked class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-gray-300 rounded focus:ring-[var(--border-focus)]">+ <input type="checkbox" id="folderShareWithGroupLead" name="share_with_group_lead" checked class="mt-1 h-4 w-4 text-[var(--bg-accent)] border-[var(--border-secondary)] rounded focus:ring-[var(--border-focus)]"><div class="flex-1"><label for="folderShareWithGroupLead" class="block text-sm font-medium text-[var(--text-secondary)] cursor-pointer"><i class="fas fa-user-shield mr-1"></i>Share with group admins only@@ -2673,8 +2674,8 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<div class="space-y-4"><div class="bg-red-50 border border-red-200 rounded-lg p-3"><div class="flex">- <i class="fas fa-exclamation-triangle text-red-500 mr-2 mt-0.5"></i>- <p class="text-xs text-red-700">+ <i class="fas fa-exclamation-triangle text-[var(--text-danger)] mr-2 mt-0.5"></i>+ <p class="text-xs text-[var(--text-danger-strong)]"><strong>Important!</strong> This is the only time you'll see this token. Copy it now and store it securely.</p></div>@@ -2746,7 +2747,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</cospan.title = 'User-supplied variable. Filled at upload or reprocess.';span.textContent = '{{' + name + '}}';} else {- span.className = 'px-1.5 py-0.5 rounded text-[11px] font-semibold bg-blue-500/15 text-blue-300 border border-blue-500/30';+ span.className = 'px-1.5 py-0.5 rounded text-[11px] font-semibold bg-blue-500/15 text-[var(--text-accent)] border border-blue-500/30';span.title = 'System placeholder. Replaced by the framework before the LLM call.';span.textContent = '{' + name + '}';}@@ -3367,7 +3368,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<!-- Header with checkbox, name, and action buttons --><div class="flex items-center justify-between mb-2"><div class="flex items-center flex-1 min-w-0 gap-2">- <input type="checkbox" class="speaker-select-checkbox rounded border-gray-300 dark:border-gray-600 text-blue-600 focus:ring-blue-500 flex-shrink-0"+ <input type="checkbox" class="speaker-select-checkbox rounded border-[var(--border-secondary)] text-[var(--text-accent)] focus:ring-[var(--border-focus)] flex-shrink-0"data-speaker-id="${speaker.id}" data-speaker-name="${escapeHtml(speaker.name)}"><i class="fas fa-user text-[var(--text-accent)] text-sm flex-shrink-0"></i><h3 class="font-medium text-sm text-[var(--text-primary)] truncate">${escapeHtml(speaker.name)}</h3>@@ -3392,7 +3393,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co${hasVoiceProfile ? `<div class="flex items-center justify-between gap-2 mb-2 px-2 py-1 bg-[var(--bg-secondary)] rounded"><div class="flex items-center gap-1.5 min-w-0">- <i class="fas fa-eraser text-blue-500 text-[10px] flex-shrink-0"></i>+ <i class="fas fa-eraser text-[var(--text-accent)] text-[10px] flex-shrink-0"></i><span class="text-[10px] text-[var(--text-muted)] truncate">${speaker.embedding_count} sample${speaker.embedding_count !== 1 ? 's' : ''}</span></div>${confidenceBadge}@@ -3546,7 +3547,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</coif (snippets.length === 0) {contentEl.innerHTML = `<div class="text-xs text-[var(--text-muted)] text-center py-3 px-2">- <i class="fas fa-info-circle mb-2 text-blue-500"></i>+ <i class="fas fa-info-circle mb-2 text-[var(--text-accent)]"></i><p class="mb-1">No voice samples found</p><p class="text-[10px] leading-relaxed">Voice samples are created when you identify speakers in recordings</p></div>@@ -3593,7 +3594,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</coconsole.error('Error loading snippets:', error);loadingEl.classList.add('hidden');contentEl.classList.remove('hidden');- contentEl.innerHTML = '<p class="text-xs text-red-500 text-center py-2">Failed to load snippets</p>';+ contentEl.innerHTML = '<p class="text-xs text-[var(--text-danger)] text-center py-2">Failed to load snippets</p>';}}@@ -4088,15 +4089,15 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<p class="font-semibold">${escapeHtml(share.recording_title)}</p><p class="text-sm text-[var(--text-muted)]">${t('sharedTranscripts.sharedOn')}: ${share.created_at}</p></div>- <button data-share-id="${share.id}" class="delete-share-btn text-red-500 hover:text-red-700 p-1"><i class="fas fa-trash"></i></button>+ <button data-share-id="${share.id}" class="delete-share-btn text-[var(--text-danger)] hover:opacity-80 p-1"><i class="fas fa-trash"></i></button></div><div class="mt-4 flex items-center gap-4"><label class="flex items-center text-sm">- <input type="checkbox" data-share-id="${share.id}" data-share-prop="share_summary" class="share-checkbox h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500" ${share.share_summary ? 'checked' : ''}>+ <input type="checkbox" data-share-id="${share.id}" data-share-prop="share_summary" class="share-checkbox h-4 w-4 rounded border-[var(--border-secondary)] text-[var(--text-accent)] focus:ring-[var(--border-focus)]" ${share.share_summary ? 'checked' : ''}><span class="ml-2">${t('sharedTranscripts.shareSummary')}</span></label><label class="flex items-center text-sm">- <input type="checkbox" data-share-id="${share.id}" data-share-prop="share_notes" class="share-checkbox h-4 w-4 rounded border-gray-300 text-blue-600 focus:ring-blue-500" ${share.share_notes ? 'checked' : ''}>+ <input type="checkbox" data-share-id="${share.id}" data-share-prop="share_notes" class="share-checkbox h-4 w-4 rounded border-[var(--border-secondary)] text-[var(--text-accent)] focus:ring-[var(--border-focus)]" ${share.share_notes ? 'checked' : ''}><span class="ml-2">${t('sharedTranscripts.shareNotes')}</span></label></div>@@ -4144,7 +4145,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co});} catch (error) {- sharesContainer.innerHTML = `<p class="text-center text-red-500">${t('errors.loadingShares')}: ${error.message}</p>`;+ sharesContainer.innerHTML = `<p class="text-center text-[var(--text-danger)]">${t('errors.loadingShares')}: ${error.message}</p>`;}}@@ -4895,7 +4896,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</co<button class="edit-tag-btn p-1 text-[var(--text-muted)] hover:text-[var(--text-accent)] transition-colors rounded" data-tag-id="${tag.id}" title="Edit tag"><i class="fas fa-edit text-xs"></i></button>- <button class="delete-tag-btn p-1 text-[var(--text-muted)] hover:text-red-500 transition-colors rounded" data-tag-id="${tag.id}" title="Delete tag">+ <button class="delete-tag-btn p-1 text-[var(--text-muted)] hover:text-[var(--text-danger)] transition-colors rounded" data-tag-id="${tag.id}" title="Delete tag"><i class="fas fa-trash text-xs"></i></button>` : ''}@@ -5667,7 +5668,7 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</coeditBtn.addEventListener('click', () => openFolderModal(folder));const deleteBtn = document.createElement('button');- deleteBtn.className = 'delete-folder-btn text-[var(--text-muted)] hover:text-red-500 p-1';+ deleteBtn.className = 'delete-folder-btn text-[var(--text-muted)] hover:text-[var(--text-danger)] p-1';deleteBtn.title = 'Delete folder';const deleteIcon = document.createElement('i');deleteIcon.className = 'fas fa-trash';@@ -6336,8 +6337,8 @@ curl "https://your-speakr-instance.com/api/recordings?token=YOUR_TOKEN_HERE"</coconsole.error('Error loading tokens:', error);tokensLoading.innerHTML = `<div class="text-center py-12">- <i class="fas fa-exclamation-triangle text-4xl text-red-500 mb-4"></i>- <p class="text-red-600">Failed to load tokens: ${error.message}</p>+ <i class="fas fa-exclamation-triangle text-4xl text-[var(--text-danger)] mb-4"></i>+ <p class="text-[var(--text-danger)]">Failed to load tokens: ${error.message}</p></div>`;}diff --git a/templates/admin.html b/templates/admin.htmlindex 79325b03..787708f8 100644--- a/templates/admin.html+++ b/templates/admin.html@@ -19,6 +19,7 @@<!-- All dependencies bundled locally for offline support --><link rel="stylesheet" href="{{ url_for('static', filename='vendor/css/fontawesome.min.css') }}"><link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">+ <link rel="stylesheet" href="{{ url_for('static', filename='css/primitives.css') }}"><script src="{{ url_for('static', filename='js/i18n.js') }}"></script><style>/* Hide Vue content until compiled */@@ -866,7 +867,7 @@<div class="flex flex-wrap items-center gap-3 text-xs text-[var(--text-secondary)] -mt-2"><span class="font-medium">${ t('preview.placeholderLegend') }</span><span class="inline-flex items-center gap-1.5">- <span class="px-1.5 py-0.5 rounded text-[11px] font-semibold bg-blue-500/15 text-blue-300 border border-blue-500/30 font-mono">{example}</span>+ <span class="px-1.5 py-0.5 rounded text-[11px] font-semibold bg-blue-500/15 text-[var(--text-accent)] border border-blue-500/30 font-mono">{example}</span><span>${ t('preview.systemReplaced') }</span></span><span class="inline-flex items-center gap-1.5">@@ -1198,7 +1199,7 @@ Summarization Instructions:${ new Date(group.created_at).toLocaleDateString() }</td><td class="px-6 py-4 whitespace-nowrap text-right text-sm font-medium space-x-2">- <button @click="openManageTeamModal(group)" class="text-blue-500 hover:text-blue-700" title="Manage Members">+ <button @click="openManageTeamModal(group)" class="text-[var(--text-accent)] hover:opacity-80" title="Manage Members"><i class="fas fa-users-cog"></i></button><button @click="openManageTeamTagsModal(group)" class="text-purple-500 hover:text-purple-700" title="Manage Group Tags">@@ -1207,7 +1208,7 @@ Summarization Instructions:<button @click="openEditTeamModal(group)" class="text-[var(--text-accent)] hover:text-[var(--text-accent-hover)]" title="Edit Group"><i class="fas fa-edit"></i></button>- <button v-if="!isTeamAdminOnly" @click="confirmDeleteTeam(group)" class="text-red-500 hover:text-red-700" title="Delete Group">+ <button v-if="!isTeamAdminOnly" @click="confirmDeleteTeam(group)" class="text-[var(--text-danger)] hover:opacity-80" title="Delete Group"><i class="fas fa-trash"></i></button></td>@@ -1590,7 +1591,7 @@ Summarization Instructions:<option value="admin">Admin</option></select><button @click="removeTeamMember(member)"- class="text-red-500 hover:text-red-700" title="Remove from group">+ class="text-[var(--text-danger)] hover:opacity-80" title="Remove from group"><i class="fas fa-times"></i></button></div>@@ -1607,7 +1608,7 @@ Summarization Instructions:<div class="flex justify-between mt-6"><button @click="syncTeamShares"- class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700 flex items-center gap-2">+ class="px-4 py-2 bg-[var(--bg-button)] text-[var(--text-button)] rounded-md hover:bg-[var(--bg-button-hover)] flex items-center gap-2"><i class="fas fa-sync-alt"></i>Sync Group Shares</button>@@ -1635,7 +1636,7 @@ Summarization Instructions:</p><div class="flex justify-end space-x-3"><button @click="showSyncSharesModal = false" class="px-4 py-2 border border-[var(--border-secondary)] text-[var(--text-secondary)] rounded-md hover:bg-[var(--bg-tertiary)]">Cancel</button>- <button @click="confirmSyncShares" class="px-4 py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700">+ <button @click="confirmSyncShares" class="px-4 py-2 bg-[var(--bg-button)] text-[var(--text-button)] rounded-md hover:bg-[var(--bg-button-hover)]"><i class="fas fa-sync-alt mr-2"></i>Sync Now</button></div>@@ -1834,10 +1835,10 @@ Summarization Instructions:</div></div><div class="flex gap-2 flex-shrink-0">- <button @click="editTeamTag(tag)" class="text-blue-500 hover:text-blue-700 px-2 py-1" title="Edit Tag">+ <button @click="editTeamTag(tag)" class="text-[var(--text-accent)] hover:opacity-80 px-2 py-1" title="Edit Tag"><i class="fas fa-edit"></i></button>- <button @click="deleteTeamTag(tag)" class="text-red-500 hover:text-red-700 px-2 py-1" title="Delete Tag">+ <button @click="deleteTeamTag(tag)" class="text-[var(--text-danger)] hover:opacity-80 px-2 py-1" title="Delete Tag"><i class="fas fa-trash"></i></button></div>@@ -2154,7 +2155,7 @@ Summarization Instructions:// tag_names, transcript_text, ...). Only match identifier-shaped// names so we don't mangle JSON-looking literals..replace(/\{(\s*[A-Za-z_][A-Za-z0-9_]*\s*)\}/g,- '<span class="px-1.5 py-0.5 rounded text-[11px] font-semibold bg-blue-500/15 text-blue-300 border border-blue-500/30" title="System placeholder. Replaced by the framework before the LLM call.">{$1}</span>');+ '<span class="px-1.5 py-0.5 rounded text-[11px] font-semibold bg-blue-500/15 text-[var(--text-accent)] border border-blue-500/30" title="System placeholder. Replaced by the framework before the LLM call.">{$1}</span>');};{% endraw %}diff --git a/templates/index.html b/templates/index.htmlindex d7aee174..c8d12810 100644--- a/templates/index.html+++ b/templates/index.html@@ -15,6 +15,7 @@<script src="{{ url_for('static', filename='vendor/js/easymde.min.js') }}"></script><link rel="stylesheet" href="{{ url_for('static', filename='vendor/css/fontawesome.min.css') }}"><link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">+ <link rel="stylesheet" href="{{ url_for('static', filename='css/primitives.css') }}"><link rel="icon" href="{{ url_for('static', filename='img/favicon.ico') }}"><link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='img/icon-32x32.png') }}"><link rel="icon" type="image/png" sizes="16x16" href="{{ url_for('static', filename='img/icon-16x16.png') }}">diff --git a/templates/inquire.html b/templates/inquire.htmlindex 5fd406b6..f6931da6 100644--- a/templates/inquire.html+++ b/templates/inquire.html@@ -15,6 +15,7 @@<!-- All dependencies bundled locally for offline support --><link rel="stylesheet" href="{{ url_for('static', filename='vendor/css/fontawesome.min.css') }}"><link rel="stylesheet" href="{{ url_for('static', filename='css/styles.css') }}">+ <link rel="stylesheet" href="{{ url_for('static', filename='css/primitives.css') }}"><script src="{{ url_for('static', filename='js/i18n.js') }}"></script><link rel="icon" href="{{ url_for('static', filename='img/favicon.ico') }}"><link rel="icon" type="image/png" sizes="32x32" href="{{ url_for('static', filename='img/icon-32x32.png') }}">@@ -439,7 +440,7 @@<!-- Global Error Banner --><div v-if="globalError" class="fixed top-16 left-1/2 transform -translate-x-1/2 z-50 max-w-lg w-full mx-4">- <div class="bg-red-600 text-white px-4 py-3 rounded-lg shadow-lg flex items-center justify-between">+ <div class="bg-[var(--bg-danger)] text-white px-4 py-3 rounded-lg shadow-lg flex items-center justify-between"><div class="flex items-center"><i class="fas fa-exclamation-circle mr-3"></i><span class="text-sm font-medium">${ globalError }</span>@@ -519,7 +520,7 @@<p class="font-semibold">${share.recording_title}</p><p class="text-sm text-[var(--text-muted)]">${ t('help.sharedOn') }: ${share.created_at}</p></div>- <button @click="deleteShare(share.id)" class="text-red-500 hover:text-red-700 p-1"><i class="fas fa-trash"></i></button>+ <button @click="deleteShare(share.id)" class="text-[var(--text-danger)] hover:opacity-80 p-1"><i class="fas fa-trash"></i></button></div><div class="mt-4"><input :value="'{{ request.url_root }}share/' + share.public_id" readonly class="w-full px-3 py-2 bg-[var(--bg-input)] border border-[var(--border-secondary)] rounded-lg text-sm">