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!

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!

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.1.tar.gz (3.4 kB view details)

Uploaded Source

Built Distribution

reflux-0.1.1-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reflux-0.1.1.tar.gz
  • Upload date:
  • Size: 3.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for reflux-0.1.1.tar.gz
Algorithm Hash digest
SHA256 0ead5852fdedb755e8df22d182ae92f5c8f81b62b98c889cdbf99a480cb426a1
MD5 4b273da7410fa57b27399628754a70c8
BLAKE2b-256 dfaf49a9cae8cdb3a4a376ab09c236da3bf1ba6e4a383b8d7ec8e6b9b009285b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reflux-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 4.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/51.1.0 requests-toolbelt/0.8.0 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for reflux-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 927639d660c1482bbd91473aec1d50cdff9fa4a853c1c7b87ed5128bee18f5c1
MD5 5872910c605c10594ce0d43fa0d2692d
BLAKE2b-256 2dceaf7ed74537ec2918e39e83bfe4bb65f02c4c44a4331f28b0be3288a4a5ec

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