mirror of
https://github.com/getpaseo/paseo.git
synced 2026-10-23 17:52:49 +00:00
fix(markdown): restore accentBright link colour
This commit is contained in:
@@ -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 },
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user