I've changed the code a little bit, and I have no idea if it will work without changes by someone who actually speaks Python. I've removed the reference to light/dark from the render script, and replace it with a style argument. The style also sets the background color, so I've removed that argument. It all depends on whether the new colors.py is valid, and if style_keys = styles[args.style] is a thing that works in Python, but I think the gist is clear.
Primarily, I've added a syntax_alt color, and manually changed some of the tokens in the specimen. If anything, it should at least give a visually more interesting/diverse render.
I've changed the code a little bit, and I have no idea if it will work without changes by someone who actually speaks Python. I've removed the reference to light/dark from the render script, and replace it with a style argument. The style also sets the background color, so I've removed that argument. It all depends on whether the new
colors.py
is valid, and ifstyle_keys = styles[args.style]
is a thing that works in Python, but I think the gist is clear.Primarily, I've added a syntax_alt color, and manually changed some of the tokens in the specimen. If anything, it should at least give a visually more interesting/diverse render.