Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
Recording pill: the mark, meter and speaker names stay light purple in light mode, where they had turned the deep purple of the light theme on the charcoal recorder
Eric Brownroutdc9753328579
diff --git a/app/e2e/speakerColors.spec.ts b/app/e2e/speakerColors.spec.tsindex e113c266..cdc8598a 100644--- a/app/e2e/speakerColors.spec.ts+++ b/app/e2e/speakerColors.spec.ts@@ -44,11 +44,11 @@ for (const theme of ['light', 'dark'] as const) test(`speaker colours agree acrofor (let i = 0; i < names.length; i++) await expect(previewNames.filter({ hasText: names[i] })).toHaveAttribute('data-color', String(i))await expect(previewNames.filter({ hasText: 'You' }).first()).not.toHaveAttribute('data-color')await preview.getByTestId('widget-preview-text').evaluate(el => { el.scrollTop = el.scrollHeight })- // Violet follows the app appearance on both surfaces, including the charcoal recorder.+ // Violet follows the app appearance in the note; the charcoal recorder keeps the light brand purple.const noteColour = await noteNames.filter({ hasText: names[0] }).last().evaluate(el => getComputedStyle(el).color)const previewColour = await previewNames.filter({ hasText: names[0] }).evaluate(el => getComputedStyle(el).color)expect(noteColour).toBe(theme === 'dark' ? 'rgb(183, 128, 255)' : 'rgb(111, 0, 255)')- expect(previewColour).toBe(noteColour)+ expect(previewColour).toBe('rgb(183, 128, 255)')await preview.reload()await preview.getByTestId('widget').hover()await expect(preview.locator('.widget-preview-speaker').filter({ hasText: names[0] })).toHaveAttribute('data-color', '0')diff --git a/app/e2e/widget.spec.ts b/app/e2e/widget.spec.tsindex 650032ad..fd83e1df 100644--- a/app/e2e/widget.spec.ts+++ b/app/e2e/widget.spec.ts@@ -66,7 +66,8 @@ test('the widget is a compact horizontal recorder with one live wave and no exteawait expect(w.getByTestId('logo')).toBeVisible()for (const colorScheme of ['light', 'dark'] as const) {await w.emulateMedia({ colorScheme })- const accent = colorScheme === 'dark' ? 'rgb(183, 128, 255)' : 'rgb(111, 0, 255)'+ // The charcoal recorder keeps the light brand purple in both appearances.+ const accent = 'rgb(183, 128, 255)'await expect(w.getByTestId('logo').locator('path')).toHaveCSS('fill', accent)await expect(w.getByTestId('widget-wave')).toHaveCSS('color', accent)}diff --git a/app/src/renderer/src/components/RecordingPill.tsx b/app/src/renderer/src/components/RecordingPill.tsxindex b8678091..645779c8 100644--- a/app/src/renderer/src/components/RecordingPill.tsx+++ b/app/src/renderer/src/components/RecordingPill.tsx@@ -15,7 +15,7 @@ function StillMeter() {export function RecordingPill({ time, warning, illustration, className = '', children, ...props }: Props) {return <div {...props} data-illustration={illustration || undefined} className={`widget-pill ${className}`}><div className="widget-details" aria-hidden="true">- <span className="text-[var(--pill-accent)]">{warning ? <TriangleAlert data-testid="widget-warning" size={18} /> : <Logo size={18} />}</span>+ <span className="text-[var(--pill-accent)]">{warning ? <TriangleAlert data-testid="widget-warning" size={18} /> : <Logo size={18} className="text-[var(--pill-accent)]" />}</span>{illustration ? <StillMeter /> : <LevelBars testId="widget-wave" height={16} className="text-[var(--pill-accent)]" />}<span data-testid="widget-time" className="widget-time">{time}</span></div>diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.cssindex 785014b8..89e36b2f 100644--- a/app/src/renderer/src/styles.css+++ b/app/src/renderer/src/styles.css@@ -32,7 +32,8 @@--primary: #6F00FF;--primary-hover: color-mix(in srgb, var(--primary) 92%, black);--focus: var(--accent);- --pill-accent: var(--accent);+ /* The recording pill is dark in both themes, so its accent stays the light brand purple. */+ --pill-accent: #B780FF;--primary-ink: #FFFFFF;--accent-soft: color-mix(in srgb, var(--accent) 10%, var(--bg));--status-live: #416D48;diff --git a/app/src/renderer/src/workspace.css b/app/src/renderer/src/workspace.cssindex 4a480b50..b9eb509c 100644--- a/app/src/renderer/src/workspace.css+++ b/app/src/renderer/src/workspace.css@@ -382,6 +382,7 @@/* Folder glyphs and speaker names share these theme-aware inks. */[data-folder-color] { color-scheme:light dark;--folder-ink:var(--written);--folder-tint:var(--control); }.widget [data-folder-color] { color-scheme:dark; }+.widget [data-folder-color=violet] { --folder-ink:var(--pill-accent); }[data-folder-color=violet] { --folder-ink:var(--accent); }[data-folder-color=blue] { --folder-ink:light-dark(#2868BA,#87B5F4); }[data-folder-color=teal] { --folder-ink:light-dark(#157D80,#72CECE); }diff --git a/app/test/flatButtons.test.ts b/app/test/flatButtons.test.tsindex 7b97da83..ac6d91e4 100644--- a/app/test/flatButtons.test.ts+++ b/app/test/flatButtons.test.ts@@ -26,6 +26,8 @@ it('uses one saturated fill and white ink for controls while standalone accentsexpect(values('--primary')).toEqual(['#6F00FF'])expect(values('--primary-ink')).toEqual(['#FFFFFF'])expect(values('--accent')).toEqual(['#6F00FF', '#B780FF'])+ // The recording pill is dark in both themes, so its accent never follows the light theme's deep purple.+ expect(values('--pill-accent')).toEqual(['#B780FF'])})it('retains the recording primary gradient, pressed depth and divider', () => {