Skip to content

Commit 139eb9f

Browse files
committed
[fix] fundocs prism theme
- strings in lightblue (similar to the old clouds theme) - apply hacky inline-ish css rules only to function signatures
1 parent 85ae6ac commit 139eb9f

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

src/main/xar-resources/resources/css/prism-fundocs.css

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,8 @@ pre[class*="language-"] {
1313
direction: ltr;
1414
text-align: left;
1515

16-
/* white-space: pre;
17-
word-spacing: normal; */
18-
19-
white-space: pre-line;
20-
word-wrap: break-word;
16+
white-space: pre;
17+
word-spacing: normal;
2118

2219
word-break: normal;
2320
font-size: 0.9em;
@@ -33,6 +30,12 @@ pre[class*="language-"] {
3330
hyphens: none;
3431
}
3532

33+
.signature code[class*="language-"],
34+
pre[class*="language-"].signature {
35+
white-space: pre-line;
36+
word-wrap: break-word;
37+
}
38+
3639
pre > code[class*="language-"] {
3740
font-size: 1.25em;
3841
line-height: 1.5em;
@@ -83,7 +86,7 @@ pre[class*="language-"] {
8386
}
8487

8588
.token.string {
86-
color: #a31515;
89+
color: #4193b9;
8790
}
8891

8992
.token.builtin {

0 commit comments

Comments
 (0)