Skip to content

Commit ce8fb50

Browse files
committed
fix: ensure links maintain green color within bold text
1 parent aef4d8f commit ce8fb50

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

packages/ui-components/styles/markdown.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -77,14 +77,17 @@ main {
7777

7878
/* link that isn't inside a heading */
7979
a:not(h1 > a):not(h2 > a):not(h3 > a):not(h4 > a):not(h5 > a):not(h6 > a),
80-
.anchor {
80+
.anchor,
81+
a strong,
82+
strong a,
83+
p a {
8184
@apply max-xs:font-semibold
82-
text-green-600
83-
dark:text-green-400;
85+
!text-green-600
86+
dark:!text-green-400;
8487

8588
&:hover {
86-
@apply text-green-900
87-
dark:text-green-300;
89+
@apply !text-green-900
90+
dark:!text-green-300;
8891
}
8992

9093
&[role='button'] {

0 commit comments

Comments
 (0)