Python package for creating IDE themes on Repl.it. Uses JavaScript bookmarlets!
Project description
Reflux: A Repl.it IDE Theming Tool
Reflux is a tool to create and modify the default styles that apply to your IDE on Repl.it. Using Python, you can create themes, set colors, and generate easy-to-use JavaScript Bookmarlets for use in any Repl. (Currently in Beta!) Designed so that those who are unfamiliar with Python can still create themes!
Quickstart
import reflux
t = reflux.Theme({
"name": "New Theme",
"author": "Your Username",
"description": "A simple theme to get started with!",
"default": "light"
})
t.set_color("primary-1", "whitesmoke")
t.set_colors({
"primary-2": "rbga(255, 255, 255, 0.48)",
"primary-3": "hsl(0, 100%, 50%)"
})
t.build("mytheme.min.js")
Then copy the resulting JS code into a bookmarklet in your broswer, and run it in your Repl! (Running it again, will prompt you for an option to turn it off). Try it out with the Candyland theme!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file reflux-0.1.6.tar.gz
.
File metadata
- Download URL: reflux-0.1.6.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 445c0472e6a292ca91b366b87abd8a0b202e229c67184a774aafd8900c8903b4 |
|
MD5 | 961eee352b420d9f8aee7006201c3dda |
|
BLAKE2b-256 | 5bca5e2659a4e315f34341e869dadb183206f09ee82a435af33fe6ec2f58ed4d |
File details
Details for the file reflux-0.1.6-py3-none-any.whl
.
File metadata
- Download URL: reflux-0.1.6-py3-none-any.whl
- Upload date:
- Size: 5.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4b9e9c51be1510f3a3ea0d80e2151e334af4be39a33f18296dcc9c943738cd1b |
|
MD5 | 61c79036413a3e19228df4197a64047d |
|
BLAKE2b-256 | ea58188b56485caafc8214f5aa8715aece6800e3b003242e49ae2bc45d37bd82 |