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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: reflux-0.1.2.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.2.tar.gz
Algorithm Hash digest
SHA256 4e41a62787cbc22f0f90c141aea62a2f90afc666f72e7fce6f471cd3856a0833
MD5 1c6cff0e0268fcae13cd379c717f1683
BLAKE2b-256 af51fed8ff8f7a480fa01bb0a77a1b27295782a9c6d3c4217fefbe52bc91e480

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reflux-0.1.2-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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 bcaf821a8d2ac66c00d599f7cfe937e3a82e520dd86e5b9d8bff62d68b469532
MD5 bd971a7c1609247117adeac8a4627fcb
BLAKE2b-256 b121866357b248fcfadd7737e6572b2702b4f8902d39020e37906a7d38bbdcf2

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