Skip to content

Commit da6d2d0

Browse files
committed
Fix darkmode
1 parent 74fb2e9 commit da6d2d0

2 files changed

Lines changed: 50 additions & 0 deletions

File tree

search-server/typesense-scraper/typesense-scraper-config.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
"url": "https://reference.servicestack.net/"
77
}
88
],
9+
"stop_urls": [
10+
"https://reference.servicestack.net/api/ServiceStack.Blazor/",
11+
"https://reference.servicestack.net/api/ServiceStack.Blazor.Components/",
12+
"https://reference.servicestack.net/api/ServiceStack.Blazor.Components.Tailwind/"
13+
],
914
"selectors": {
1015
"default": {
1116
"lvl0": ".menu__link menu__link--active",

src/css/custom.css

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,14 @@
2424
font-size: 1.5em;
2525
}
2626

27+
.symbol-property {
28+
color: gray;
29+
}
30+
31+
.symbol-method {
32+
color:darkviolet;
33+
}
34+
2735
.docusaurus-highlight-code-line {
2836
background-color: rgba(0, 0, 0, 0.1);
2937
display: block;
@@ -35,6 +43,43 @@ html[data-theme='dark'] .docusaurus-highlight-code-line {
3543
background-color: rgba(0, 0, 0, 0.3);
3644
}
3745

46+
html[data-theme='dark'] h1 {
47+
color: white;
48+
}
49+
50+
html[data-theme='dark'] h2 {
51+
color: white;
52+
}
53+
html[data-theme='dark'] h3 {
54+
color: white;
55+
}
56+
html[data-theme='dark'] h4 {
57+
color: white;
58+
}
59+
html[data-theme='dark'] h5 {
60+
color: white;
61+
}
62+
html[data-theme='dark'] h6 {
63+
color: white;
64+
}
65+
66+
html[data-theme='dark'] p {
67+
color: white;
68+
}
69+
70+
71+
html[data-theme='dark'] th {
72+
color: white;
73+
}
74+
75+
html[data-theme='dark'] td {
76+
color: white;
77+
}
78+
79+
html[data-theme='dark'] ul>li {
80+
color: white;
81+
}
82+
3883
.markdown h1:first-child {
3984
font-size: 2.9rem
4085
}

0 commit comments

Comments
 (0)