Skip to content

Commit 746893f

Browse files
committed
fix: correct the css selectors
1 parent 03a8ec5 commit 746893f

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

css/tailwind.css

+12-12
Original file line numberDiff line numberDiff line change
@@ -96,24 +96,24 @@
9696
& h3 {
9797
font-weight: 600;
9898
}
99-
& :where(code):not(.code-highlight) {
99+
& :where(code):not(pre code) {
100100
color: var(--color-indigo-500);
101101
}
102+
}
102103

103-
&:where(.dark, .dark *) {
104-
& a {
105-
color: var(--color-primary-500);
106-
&:hover {
107-
color: var(--color-primary-400);
108-
}
109-
& code {
110-
color: var(--color-primary-400);
111-
}
104+
.prose-invert {
105+
& a {
106+
color: var(--color-primary-500);
107+
&:hover {
108+
color: var(--color-primary-400);
112109
}
113-
& :where(h1, h2, h3, h4, h5, h6) {
114-
color: var(--color-gray-100);
110+
& code {
111+
color: var(--color-primary-400);
115112
}
116113
}
114+
& :where(h1, h2, h3, h4, h5, h6) {
115+
color: var(--color-gray-100);
116+
}
117117
}
118118
}
119119

0 commit comments

Comments
 (0)