From c0c187ed29da6534f1d06e354331a95173bfb04a Mon Sep 17 00:00:00 2001 From: Mohamed Boudra Date: Fri, 16 Oct 2026 07:18:32 +0200 Subject: [PATCH] fix(markdown): restore accentBright link colour --- packages/app/src/components/markdown/renderer.test.ts | 4 ++-- packages/app/src/components/markdown/styles.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/app/src/components/markdown/renderer.test.ts b/packages/app/src/components/markdown/renderer.test.ts index 45e6bc5e41..b32489b91f 100644 --- a/packages/app/src/components/markdown/renderer.test.ts +++ b/packages/app/src/components/markdown/renderer.test.ts @@ -193,8 +193,8 @@ it.each([ backgroundColor: theme.colors.surface2, borderColor: "transparent", }); - expect(style.link?.color).toBe(theme.colors.accent); - expect(style.linkVariants?.["^(?!https?://).+"]?.color).toBe(theme.colors.accent); + expect(style.link?.color).toBe(theme.colors.accentBright); + expect(style.linkVariants?.["^(?!https?://).+"]?.color).toBe(theme.colors.accentBright); expect(style.thematicBreak?.color).toBe(theme.colors.border); }, ); diff --git a/packages/app/src/components/markdown/styles.ts b/packages/app/src/components/markdown/styles.ts index 5a511cf8d0..070072b5e8 100644 --- a/packages/app/src/components/markdown/styles.ts +++ b/packages/app/src/components/markdown/styles.ts @@ -56,10 +56,10 @@ export function createMarkdownStyles( caution: { color: theme.colors.statusDanger, backgroundColor: theme.colors.surface2 }, }, }, - link: { color: theme.colors.accent, underline: false }, + link: { color: theme.colors.accentBright, underline: false }, linkVariants: { "^(?!https?://).+": { - color: theme.colors.accent, + color: theme.colors.accentBright, pill: { borderRadius: 4, paddingHorizontal: 3 }, }, },