Skip to content

Commit 8e1c7db

Browse files
committed
Fix code highlighting for redocly
1 parent aea60c9 commit 8e1c7db

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/css/base.css

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,12 @@ code {
7272
color: var(--color-brand-gray1);
7373
}
7474

75+
/* special case inside redocly div to avoid overwriting redocly managed code colours */
76+
#redoc code {
77+
background-color: inherit;
78+
color: inherit;
79+
}
80+
7581
a code {
7682
color: var(--color-link);
7783
background-color: transparent;

0 commit comments

Comments
 (0)