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
Theme: a new moon icon for dark mode
Eric Brownroutfe4e6b0b6035
diff --git a/app/src/renderer/src/components/Icons.tsx b/app/src/renderer/src/components/Icons.tsxindex ba04ea50..18065a29 100644--- a/app/src/renderer/src/components/Icons.tsx+++ b/app/src/renderer/src/components/Icons.tsx@@ -353,10 +353,7 @@ export const Monitor = icon('Monitor', [])export const Moon = icon('Moon', [- ['path', { d: 'M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12Z', key: '0' }],- ['path', { d: 'M12 22C15.3137 22 18 17.5228 18 12C18 6.47715 15.3137 2 12 2', key: '1' }],- dot(8.5, 14.5, 1.5),- dot(11, 7, 0.25),+ ['path', { d: 'M10 3A9.1 9.1 0 1 0 21 14A8.5 8.5 0 0 1 10 3Z', key: '0' }],])export const Palette = icon('Palette', [diff --git a/app/test/iconDots.test.ts b/app/test/iconDots.test.tsindex 9cb950a2..e2747a8d 100644--- a/app/test/iconDots.test.ts+++ b/app/test/iconDots.test.ts@@ -6,7 +6,7 @@ import { CalendarDays, CircleAlert, Ellipsis, Info, List, Moon, Palette, Sun, Tait('paints every dot interior even when a display magnifies the icon', () => {const glyphs = { Ellipsis: [Ellipsis, 3], List: [List, 3], CalendarDays: [CalendarDays, 5],CircleAlert: [CircleAlert, 1], TriangleAlert: [TriangleAlert, 1], Info: [Info, 1],- Palette: [Palette, 6], Sun: [Sun, 8], Moon: [Moon, 2], Video: [Video, 1] } as const+ Palette: [Palette, 6], Sun: [Sun, 8], Video: [Video, 1] } as constfor (const [name, [Icon, count]] of Object.entries(glyphs)) {const html = renderToStaticMarkup(createElement(Icon))const discs = [...html.matchAll(/<circle\b[^>]*>/g)].map(([circle]) => circle)@@ -19,6 +19,13 @@ it('paints every dot interior even when a display magnifies the icon', () => {}})+it('draws the Dark theme moon as a single closed outline without dots', () => {+ const html = renderToStaticMarkup(createElement(Moon))+ expect(html.match(/<path\b/g)).toHaveLength(1)+ expect(html).toMatch(/<path d="[^"]+Z"/)+ expect(html).not.toContain('<circle')+})+it('keeps the three rings of the Goals target open', () => {const html = renderToStaticMarkup(createElement(Target))const paths = [...html.matchAll(/<path d="([^"]+)"/g)].map(([, d]) => d)