chrissimpkins / codeface

Typefaces for source code beautification
Other
6.21k stars 414 forks source link

Tweak specimen #133

Closed burodepeper closed 8 years ago

burodepeper commented 8 years ago

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.

chrissimpkins commented 8 years ago

thanks David. will have a look today

chrissimpkins commented 8 years ago

I initially went with Syntax Highlighter objects but switched back to the dictionaries like you had them. Let me see which approach will be easier.