Skip to content

Commit 27624ce

Browse files
authored
fix: highlight color on dark mode (#1458)
1 parent dab01b2 commit 27624ce

File tree

3 files changed

+6
-1
lines changed

3 files changed

+6
-1
lines changed

sphinx_scylladb_theme/static/css/main.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/css/base/_reset.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,10 @@ cite {
160160
}
161161

162162
.dark {
163+
.highlight .hll {
164+
background-color: var(--gray-950);
165+
color: var(--white);
166+
}
163167

164168
.highlight .c { color: #6272a4;} /* Comment */
165169
.highlight .err { color: #f8f8f2;} /* Error */

src/css/components/_content-navigation.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
font-size: 0px;
3737
padding: 8px 8px;
3838
cursor: pointer;
39+
flex-shrink: 0;
3940

4041
i {
4142
font-size: 26px;

0 commit comments

Comments
 (0)