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

Uploaded Source

Built Distribution

reflux-0.1.5-py3-none-any.whl (5.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: reflux-0.1.5.tar.gz
  • Upload date:
  • Size: 4.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.5.tar.gz
Algorithm Hash digest
SHA256 dc2076482dce9b3879642bf0309ba0f65ec9e8c41c7ba7ff12c481f75a269ac9
MD5 d26e6ce058632a2ba474b352cfb29b4d
BLAKE2b-256 774ce3ad5809d40dfade024168cb04ae4b4cd1e43b9995d5989cc8306d188bc4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reflux-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d20eb1fcca7c5feedcf9db0c11739da9dbecaf297196c0bc122167d17d732271
MD5 9de5b245f03d1dd09dea4d284603ef05
BLAKE2b-256 b4551ce8fa31b37606024170d17a91e32cf13b1d63d68ccbec6ddd241fb4667c

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