Skip to content

Commit

Permalink
Release 2.2.1 version
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilionus committed Apr 13, 2022
2 parents 42947a5 + c664594 commit 5a34113
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 2 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
# Python Docs - Dark Theme: Changelog


## 2.2.1 - 2022.04.13
### Fixed
- Text color for `div.body` element
- Code highlighting is now more readable
- Less contrast fg color for elements: `.nn`, `.nc`, `.vm`, `.nd`, `.gp`, `.gr`, `.gt`, `.go`, `.n`
- Swaped colors for python interpreter input/output simulation

### Changed
- Modified description text in main `.user.css`


## **2.2.0** - 2022.02.27
### Added
- Support for new elements of python documentation pages
Expand Down
Binary file modified images/preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
37 changes: 35 additions & 2 deletions python_docs_dark.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
@homepageURL https://github.com/maximilionus/python_docs_dark
@updateURL https://github.com/maximilionus/python_docs_dark/raw/master/python_docs_dark.user.css
@license MIT
@version 2.2.0
@description Dark theme for docs.python.org
@version 2.2.1
@description Dark theme for python documentation pages
@author maximilionus <[email protected]>
==/UserStyle== */
@-moz-document domain("docs.python.org"), domain("packaging.python.org") {
Expand Down Expand Up @@ -112,6 +112,7 @@
}

div.body {
color: var(--text-light);
background-color: inherit;
}

Expand Down Expand Up @@ -206,13 +207,33 @@
}

.highlight .go {
color: var(--text-normal);
}

.highlight .n {
color: var(--text-light);
}

.highlight .nf {
color: #e83b7c;
}

.highlight .nn {
color: #8f8fff;
}

.highlight .nc {
color: #c28eff;
}

.highlight .vm {
color: #ffa4f3;
}

.highlight .nd {
color: #ffc4c4;
}

.highlight .k {
color: #34b75a;
}
Expand Down Expand Up @@ -297,6 +318,18 @@
color: #8787da;
}

.highlight .gr {
color: #ff6b97;
}

.highlight .gt {
color: #7a7cff;
}

.highlight .gp {
color: #8ac98a;
}

.highlight .na {
color: #508fce;
}
Expand Down

0 comments on commit 5a34113

Please sign in to comment.