Tron Legacy 2021

I updated the Sublime Text Tron Color Scheme today after a few weeks of reworking it for the recent release of Sublime Text 4.

The 2.0.0 release converts the older .tmTheme format into the Sublime specific theme format. Overall the new Sublime theme format (.sublime-color-scheme) is a big improvement, largely due to its simple JSON structure and its variables support.

JSON is, despite the common arguments against it, super readable and easily read and written by humans. The variable support makes the process of making a theme a whole lot more automatic, since you no longer have to find and replace colors all over the place.

The biggest problem I ran into was poor in-line color highlighting when working with colors, so I ended up using a VSCode plugin called Color Highlight in a separate window. Sublime has a great plugin also called Color Highlight that usually works well, but not in this case. The Sublime Color Highlight variant actually does temporary modifications to color schemes, which seriously gets in the way when working on color scheme files.

The rewrite is based it off of the new Mariana Theme that ships with ST4, so the theme should have support for most of the latest features in ST4 though there are surely features that even Mariana missed. Let me know if you know of any.

Here a few other points of consideration made during the rewrite:

Tron Legacy 4 JS Syntax Example
JS Syntax example
Tron Legacy 4 Markdown Syntax Example
Markdown Syntax example
Tron Legacy 4 Python Syntax Example
Python Syntax example
Tron Legacy 4 C Syntax Example
C Syntax example
Tron Legacy 4 diff Syntax Example
diff Syntax example

Here a few more relevant links and please let me know what you think if you try it out.


Sublime Tron Legacy color scheme fully updated for @sublimehq Text 4. Full syntax support, lots of other small improvements. Also it supports 'glow' text✌️

— πŸŒŒπŸŒ΅πŸ›ΈBretπŸœπŸ‘¨β€πŸ‘©β€πŸ‘§πŸš™ (@bcomnes) August 5, 2021