Skip to content

Commit

Permalink
Removed adaptive theme, updated README, ver bump
Browse files Browse the repository at this point in the history
  • Loading branch information
maximilionus committed Jul 16, 2022
1 parent 9fb658d commit 17d4db8
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 379 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Python Docs - Dark Theme: Changelog

## 3.0.0 - 2022.07.16
### Removed
- Adaptive userstyle removed due to becoming useless with new **Stylus** feature for color scheme detection


## 2.4.0 - 2022.05.11
### Added
Expand Down
34 changes: 18 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,34 +4,36 @@
</h1>


| Preview | Adaptive Mode |
| :-----------------------: | :------------------------------: |
| ![](./images/preview.png) | ![](./images/promo_adaptive.png) |
## ❓ About
This repository contains the dark theme userstyle for python documentation and other web pages that inherit the stylesheet from official docs.

- [Preview Image](#preview)

## ❓ About
This repository contains the userstyle dark theme for python documentation and other web pages that inherit the stylesheet from official docs.

## 📦 Installation
1. 🧩 Ensure that **Stylus** extension ([Chrome](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne), [Firefox](https://addons.mozilla.org/ru/firefox/addon/styl-us/)) is installed in your browser
2. ✔️ Select one of the theme variants below:
- [⬇️ Adaptive][gh-raw-adaptive]
- [⬇️ Default][gh-raw-default]
1. 🧩 Ensure that **Stylus** extension ([Chrome](https://chrome.google.com/webstore/detail/stylus/clngdbkpkpeebahjckkjfobafhncgmne), [Firefox](https://addons.mozilla.org/ru/firefox/addon/styl-us/)) is installed in your web browser
2. [⬇️ Add][theme-raw] the latest release of this theme to **Stylus**

> **Adaptive** theme was removed in `3.0.0` release due to becoming useless with new **Stylus** feature for color scheme detection.
But you still can download it [⬇️ by this link](https://github.com/maximilionus/python_docs_dark/raw/9fb658d6837a8fbf62e9adf6f2a288c63f69ce11/python_docs_dark_adaptive.user.css) *(version 2.4.0)*

> **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
This userstyle is configured to install all updates right from `master` branch of this repository with Stylus updater, located in *Manage → Installed Styles → Actions*

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

## ☄️ Supported Pages
List of pages that are currently supported by this userstyle

- docs.python.org
- packaging.python.org

> If you know of other domains that inherited the style from docs.python.org, you can notify me by [creating the new issue](https://github.com/maximilionus/python_docs_dark/issues/new?labels=add%20to%20supported%20pages)
> If you know any other pages that use the same style as **docs.python.org**, you can notify me by [creating the new issue by this link](https://github.com/maximilionus/python_docs_dark/issues/new?labels=add%20to%20supported%20pages)

## Preview
![](./images/preview.png)


<!-- REFERENCE LINKS -->
[gh-raw-adaptive]: https://github.com/maximilionus/python_docs_dark/raw/master/python_docs_dark_adaptive.user.css (Raw adaptive theme)
[gh-raw-default]: https://github.com/maximilionus/python_docs_dark/raw/master/python_docs_dark.user.css (Raw default theme)
[theme-raw]: https://github.com/maximilionus/python_docs_dark/raw/master/python_docs_dark.user.css (Raw default theme)
Binary file removed images/promo_adaptive.png
Binary file not shown.
2 changes: 1 addition & 1 deletion 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.4.0
@version 3.0.0
@description Dark theme for python documentation pages
@author maximilionus <[email protected]>
==/UserStyle== */
Expand Down
Loading

0 comments on commit 17d4db8

Please sign in to comment.