From 84ed7dbe303d8f26fc2e4755a972a7e8496e72b7 Mon Sep 17 00:00:00 2001 From: Luis Igreja Date: Thu, 8 Feb 2024 17:43:08 -0300 Subject: [PATCH] fix(prose): heading colors --- src/azion-dark/extended-components/_markdown.scss | 8 ++++++-- src/azion-light/extended-components/_markdown.scss | 7 +++++-- 2 files changed, 11 insertions(+), 4 deletions(-) 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; } }