https://github.com/judah-caruso/sublime-convert
A .tmTheme to .sublime-color-scheme converter
https://github.com/judah-caruso/sublime-convert
python sublime-text textmate theme
Last synced: 4 months ago
JSON representation
A .tmTheme to .sublime-color-scheme converter
- Host: GitHub
- URL: https://github.com/judah-caruso/sublime-convert
- Owner: judah-caruso
- License: mit
- Created: 2020-05-21T10:28:32.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-05-21T19:15:08.000Z (about 6 years ago)
- Last Synced: 2025-04-07T12:48:17.473Z (about 1 year ago)
- Topics: python, sublime-text, textmate, theme
- Language: Python
- Size: 11.7 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Sublime Convert
A small utility to convert .tmTheme files into .sublime-color-scheme files.
# Usage
Tested on Python 3.6.8
```Bash
python sublime-convert.py [.tmTheme file] [output file]
```
**NOTE**: Sublime Convert only expects VALID .tmTheme files as it does NOT do much *(if any)* syntax error handling or checking. If the theme you're trying to convert already works in Sublime Text, it should convert properly so long as the file isn't missing any common pairs *(<key>/<string>, <key>/<dict>, etc.)* that Sublime Text would normally ignore.
To see an example conversion, look at `Fresh.tmTheme` and `Fresher.sublime-color-scheme`