fix(markdown): restore accentBright link colour

This commit is contained in:
Mohamed Boudra
2026-10-16 07:18:32 +02:00
parent 57b8a69a42
commit c0c187ed29
2 changed files with 4 additions and 4 deletions
@@ -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);
},
);
@@ -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 },
},
},