Skip to content

Commit 3bdb368

Browse files
committed
Fixed code highlighting for most of the elements
1 parent 91e1a82 commit 3bdb368

File tree

2 files changed

+30
-0
lines changed

2 files changed

+30
-0
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@
44
## 2.2.1 - dev
55
### Fixed
66
- Text color for `div.body` element
7+
- Code highlighting is now more readable
8+
- Changed colors for elements: `.nn`, `.nc`, `.vm`, `.nd`, `.gp`, `.gr`, `.gt`
79

810

911
## **2.2.0** - 2022.02.27

python_docs_dark.user.css

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,22 @@
214214
color: #e83b7c;
215215
}
216216

217+
.highlight .nn {
218+
color: #8f8fff;
219+
}
220+
221+
.highlight .nc {
222+
color: #c28eff;
223+
}
224+
225+
.highlight .vm {
226+
color: #ffa4f3;
227+
}
228+
229+
.highlight .nd {
230+
color: #ffc4c4;
231+
}
232+
217233
.highlight .k {
218234
color: #34b75a;
219235
}
@@ -298,6 +314,18 @@
298314
color: #8787da;
299315
}
300316

317+
.highlight .gr {
318+
color: #ff6b97;
319+
}
320+
321+
.highlight .gt {
322+
color: #7a7cff;
323+
}
324+
325+
.highlight .gp {
326+
color: #9ca5f5;
327+
}
328+
301329
.highlight .na {
302330
color: #508fce;
303331
}

0 commit comments

Comments
 (0)