Skip to content

Commit

Permalink
Version 2.4.0 release
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilionus committed May 10, 2022
2 parents c96ab0d + 39252ca commit 1200406
Show file tree
Hide file tree
Showing 4 changed files with 71 additions and 16 deletions.
14 changes: 13 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,18 @@
# Python Docs - Dark Theme: Changelog


## 2.4.0 - 2022.05.11
### Added
- Code highlighting
- New elements with adjusted color: `.highlight` [`.sa`, `.kc`, `.si`]
- Input fields border color added to stylesheet

### Changed
- Code highlighting
- `.highlight` [`.nd`, `.m`] colors adjusted
- Adjusted colors for python interpreter input/output simulation


## 2.3.0 - 2022.05.04
### Added
- New [Adaptive theme](./python_docs_dark_adaptive.user.css) variant. Activation depends on selected web browser color scheme.
Expand All @@ -11,7 +23,7 @@
- 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
- Swapped colors for python interpreter input/output simulation

### Changed
- Modified description text in main `.user.css`
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,11 @@ This repository contains the userstyle dark theme for python documentation and o

> **Adaptive** theme activation depends on selected web browser color scheme, while **Default** one will always be active
## 🆙 Updating
This userstyle is configured to install all updates right from this repository's `master` branch with Stylus updater, located on the *Installed Styles* page of this extension

## ☄️ Supported Domains
Here's list of domains that are currenlty supported by this userstyle.
Here's list of domains that are currently supported by this userstyle.

- docs.python.org
- packaging.python.org
Expand Down
34 changes: 27 additions & 7 deletions python_docs_dark.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@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.3.0
@version 2.4.0
@description Dark theme for python documentation pages
@author maximilionus <[email protected]>
==/UserStyle== */
Expand Down Expand Up @@ -48,6 +48,10 @@
border-color: var(--background-dark);
}

.warning code {
background-color: var(--background-dark);
}

div#sidebarbutton {
color: #6d6d6d !important;
background-color: var(--background-light) !important;
Expand All @@ -64,6 +68,10 @@
border: 1px solid #272727;
}

input:focus {
outline: solid var(--text-normal) 2px;
}

form.inline-search input,
div.sphinxsidebar input {
border: 1px solid #272727;
Expand Down Expand Up @@ -231,13 +239,17 @@
}

.highlight .nd {
color: #ffc4c4;
color: #ff8c77;
}

.highlight .k {
color: #34b75a;
}

.highlight .kc {
color: #7ec27e;
}

.highlight .kt {
color: #e6572e;
}
Expand Down Expand Up @@ -274,6 +286,10 @@
color: #a6d2ff;
}

.highlight .sa {
color: #f7ef77;
}

.highlight .se {
color: #f3a68f;
}
Expand All @@ -282,10 +298,18 @@
color: #5b9de0;
}

.highlight .si {
color: #d66794;
}

.highlight .nt {
color: #e64a7d;
}

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

.highlight .mi {
color: #34c17b;
}
Expand Down Expand Up @@ -327,14 +351,10 @@
}

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

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

.warning code {
background-color: var(--background-dark);
}
}
34 changes: 27 additions & 7 deletions python_docs_dark_adaptive.user.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
@homepageURL https://github.com/maximilionus/python_docs_dark
@updateURL https://github.com/maximilionus/python_docs_dark/raw/master/python_docs_dark_adaptive.user.css
@license MIT
@version 2.3.0
@version 2.4.0
@description Dark theme for python documentation pages, activation depends on selected web browser color scheme
@author maximilionus <[email protected]>
==/UserStyle== */
Expand Down Expand Up @@ -49,6 +49,10 @@
border-color: var(--background-dark);
}

.warning code {
background-color: var(--background-dark);
}

div#sidebarbutton {
color: #6d6d6d !important;
background-color: var(--background-light) !important;
Expand All @@ -65,6 +69,10 @@
border: 1px solid #272727;
}

input:focus {
outline: solid var(--text-normal) 2px;
}

form.inline-search input,
div.sphinxsidebar input {
border: 1px solid #272727;
Expand Down Expand Up @@ -232,13 +240,17 @@
}

.highlight .nd {
color: #ffc4c4;
color: #ff8c77;
}

.highlight .k {
color: #34b75a;
}

.highlight .kc {
color: #7ec27e;
}

.highlight .kt {
color: #e6572e;
}
Expand Down Expand Up @@ -275,6 +287,10 @@
color: #a6d2ff;
}

.highlight .sa {
color: #f7ef77;
}

.highlight .se {
color: #f3a68f;
}
Expand All @@ -283,10 +299,18 @@
color: #5b9de0;
}

.highlight .si {
color: #d66794;
}

.highlight .nt {
color: #e64a7d;
}

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

.highlight .mi {
color: #34c17b;
}
Expand Down Expand Up @@ -328,15 +352,11 @@
}

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

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

.warning code {
background-color: var(--background-dark);
}
}
}

0 comments on commit 1200406

Please sign in to comment.