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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: reflux-0.1.4.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.4.tar.gz
Algorithm Hash digest
SHA256 fdd8163845726b701d487873f16350e59cbe68fef62d6254f6d4cd9e0f3a5dc0
MD5 c5bc72ffd5b04ded3d9150552ffaa798
BLAKE2b-256 a9f8cbe3dfec1dd7c83903ea104232d5f3bceacf81194b63ab6e9ebfd63d2750

See more details on using hashes here.

File details

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

File metadata

  • Download URL: reflux-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 b9a6233b83fa5235ad1eb6e83bd3f637a8db782f9249b0e4455caeceef9db380
MD5 43ae75dcb4ca1ccd08a8236458be63b6
BLAKE2b-256 90721eaeb03b60a7accb8a4c025a2ed83cbc0fb3fc4292e516b3cf7ee04f1373

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