Skip to content

Commit 5a34113

Browse files
committed
Release 2.2.1 version
2 parents 42947a5 + c664594 commit 5a34113

File tree

3 files changed

+46
-2
lines changed

3 files changed

+46
-2
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
11
# Python Docs - Dark Theme: Changelog
22

33

4+
## 2.2.1 - 2022.04.13
5+
### Fixed
6+
- Text color for `div.body` element
7+
- Code highlighting is now more readable
8+
- Less contrast fg color for elements: `.nn`, `.nc`, `.vm`, `.nd`, `.gp`, `.gr`, `.gt`, `.go`, `.n`
9+
- Swaped colors for python interpreter input/output simulation
10+
11+
### Changed
12+
- Modified description text in main `.user.css`
13+
14+
415
## **2.2.0** - 2022.02.27
516
### Added
617
- Support for new elements of python documentation pages

images/preview.png

-9.24 KB
Loading

python_docs_dark.user.css

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
@homepageURL https://github.com/maximilionus/python_docs_dark
55
@updateURL https://github.com/maximilionus/python_docs_dark/raw/master/python_docs_dark.user.css
66
@license MIT
7-
@version 2.2.0
8-
@description Dark theme for docs.python.org
7+
@version 2.2.1
8+
@description Dark theme for python documentation pages
99
@author maximilionus <[email protected]>
1010
==/UserStyle== */
1111
@-moz-document domain("docs.python.org"), domain("packaging.python.org") {
@@ -112,6 +112,7 @@
112112
}
113113

114114
div.body {
115+
color: var(--text-light);
115116
background-color: inherit;
116117
}
117118

@@ -206,13 +207,33 @@
206207
}
207208

208209
.highlight .go {
210+
color: var(--text-normal);
211+
}
212+
213+
.highlight .n {
209214
color: var(--text-light);
210215
}
211216

212217
.highlight .nf {
213218
color: #e83b7c;
214219
}
215220

221+
.highlight .nn {
222+
color: #8f8fff;
223+
}
224+
225+
.highlight .nc {
226+
color: #c28eff;
227+
}
228+
229+
.highlight .vm {
230+
color: #ffa4f3;
231+
}
232+
233+
.highlight .nd {
234+
color: #ffc4c4;
235+
}
236+
216237
.highlight .k {
217238
color: #34b75a;
218239
}
@@ -297,6 +318,18 @@
297318
color: #8787da;
298319
}
299320

321+
.highlight .gr {
322+
color: #ff6b97;
323+
}
324+
325+
.highlight .gt {
326+
color: #7a7cff;
327+
}
328+
329+
.highlight .gp {
330+
color: #8ac98a;
331+
}
332+
300333
.highlight .na {
301334
color: #508fce;
302335
}

0 commit comments

Comments
 (0)