Skip to content

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.

Recording pill: no white glow around the mark and wave, and no white chip behind violet names, in light mode; a test keeps the pill's mark and wave flat

Eric Brownrouta232e9069a38
diff --git a/app/src/renderer/src/styles.css b/app/src/renderer/src/styles.css
index 89e36b2f..99bf7905 100644
--- a/app/src/renderer/src/styles.css
+++ b/app/src/renderer/src/styles.css
@@ -776,12 +776,8 @@ html:not(.widget) button:focus-visible, html:not(.widget) input:focus-visible {
/* Name ink comes from the same folder token in both transcript surfaces. */
:is(.line-who,.widget-preview-speaker)[data-folder-color] { color:var(--folder-ink); }
-/* Keep violet names readable on the charcoal recorder and over highlighted transcript rows. */
-:is(.line-who,.widget-preview-speaker)[data-folder-color=violet] { background:var(--bg);border-radius:4px; }
-@media (prefers-color-scheme:light) {
- .widget-details > :is(span:first-child,svg) { filter:drop-shadow(0 0 1px var(--pill-ink)); }
- .widget-pill:focus-visible { outline-color:var(--pill-ink); }
-}
+/* Keep violet names readable over highlighted transcript rows. The recorder's names use the pill's light purple. */
+.line-who[data-folder-color=violet] { background:var(--bg);border-radius:4px; }
/* Calendar linking lives in the date popover; attendee editing stays in People. */
.note-date-anchor { min-width:0;max-width:min(100%, 17rem); }
diff --git a/app/test/flatButtons.test.ts b/app/test/flatButtons.test.ts
index ac6d91e4..a2e9e6db 100644
--- a/app/test/flatButtons.test.ts
+++ b/app/test/flatButtons.test.ts
@@ -10,6 +10,8 @@ it('keeps a flat face on bordered controls, including selected, paused and proce
'.workspace-button', '.note-recording-group', '.note-record-action',
'.note-resume-action', '.citation-tabs button', '.modal-button', '.ob-button',
'.settings-select', '.settings-toggle', '.settings-spoken-choice',
+ // the recording pill's mark and wave: no glow in either theme
+ '.widget-details',
]
const rules = [...styles.matchAll(/([^{}]+)\{([^{}]*)\}/g)]
for (const control of controls) {
diff --git a/app/test/speakerColors.test.ts b/app/test/speakerColors.test.ts
index 50d35455..1e2359b5 100644
--- a/app/test/speakerColors.test.ts
+++ b/app/test/speakerColors.test.ts
@@ -28,7 +28,9 @@ it('uses the seven folder inks on the note and always-dark preview', async () =>
const theme = readFileSync(new URL('../src/renderer/src/styles.css', import.meta.url), 'utf8')
const accents = [...theme.matchAll(/--accent: (#[\dA-F]{6});/g)].map(match => match[1])
expect(accents).toEqual(['#6F00FF', '#B780FF'])
- expect(theme).toContain(':is(.line-who,.widget-preview-speaker)[data-folder-color=violet] { background:var(--bg)')
+ expect(theme).toContain('.line-who[data-folder-color=violet] { background:var(--bg)')
+ // The charcoal recorder's names sit straight on the pill, never on a white chip.
+ expect(theme).not.toMatch(/widget-preview-speaker[^{]*\{[^}]*background/)
const violetBackgrounds = [...theme.matchAll(/--bg: (#[\dA-F]{6});/g)].map(match => match[1])
expect(violetBackgrounds).toEqual(['#FFFFFF', '#18191D', '#FFFFFF', '#1B1B1D'])
const palettes = accents.map((accent, i) => [accent, ...inks.map(m => m[i + 2])])