diff --git a/src/azion-dark/extended-components/_markdown.scss b/src/azion-dark/extended-components/_markdown.scss index 1be2876..c3df78c 100644 --- a/src/azion-dark/extended-components/_markdown.scss +++ b/src/azion-dark/extended-components/_markdown.scss @@ -1,9 +1,13 @@ .prose { - *:not(a, a > u) { + *:not(p, a, li) { + color: var(--text-color) !important; + } + + *:is(p), *:is(li) { color: var(--text-color-secondary) !important; } - a, a > u { + *:is(a), *:is(a > u) { color: var(--text-color-link) !important; } } diff --git a/src/azion-light/extended-components/_markdown.scss b/src/azion-light/extended-components/_markdown.scss index dd09b85..6e72d30 100644 --- a/src/azion-light/extended-components/_markdown.scss +++ b/src/azion-light/extended-components/_markdown.scss @@ -1,9 +1,12 @@ .prose { - *:not(a, a > u){ + + color: var(--text-color) !important; + + *:is(p), *:is(li) { color: var(--text-color-secondary) !important; } - a, a > u { + *:is(a), *:is(a > u) { color: var(--text-color-link) !important; } }