Skip to main content

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!

Installation

Manager Command
pip pip install reflux
poetry python -m poetry add reflux
Repl.it Search reflux in the package tab and add it.

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")

Run on Repl.it

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!

image image2

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

reflux-0.1.7.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

reflux-0.1.7-py3-none-any.whl (5.8 kB view details)

Uploaded Python 3

File details

Details for the file reflux-0.1.7.tar.gz.

File metadata

  • Download URL: reflux-0.1.7.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for reflux-0.1.7.tar.gz
Algorithm Hash digest
SHA256 bc2e0d1566e0ab140cb6cf2a71aa279747fe964cf807ea8837486a5f8cdb3e56
MD5 9c2ad85d4e1521b2297e3e0d6b8cbea4
BLAKE2b-256 eed3cb47ebf6d302223ec7d96bf538aa956ae7381759b13f416a87f887cdaf88

See more details on using hashes here.

File details

Details for the file reflux-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: reflux-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/52.0.0 requests-toolbelt/0.8.0 tqdm/4.56.0 CPython/3.8.7

File hashes

Hashes for reflux-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 e997f6be9d263477897bd153ae15b45fd43ba0ac049dc31188b78f4e7e45f23c
MD5 19cfb4267236cb6d5617f2c573d6b34f
BLAKE2b-256 9abf5ddcb221189f8926f3d0fa505a82a78ed1ad72ec3a3645d86db10fdea263

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page