l4ci/Br4ckets-Theme

Would it be possible to have formatting for git-diff files?

lmartins opened this issue · 5 comments

I love this color scheme, my only gripe with is the lack of support for git-diff files, which I use extensively in Sublime.

With Br4ckets the show like this:
image

While other good themes (and I include this theme in that group) have support for those files:
image

As you can see in the screen shot above, the added and removed lines are properly color differentiated.

Would it be possible to add this to Br4ckets-Theme ?

Thanks

l4ci commented

Hey, sorry for the late reply - will put that on my todo list!

Great, thanks.

Could be done really fast.

Just add this with your own colors:

        <!-- DIFF -->
        <dict>
            <key>name</key>
            <string>DIFF foreground</string>
            <key>scope</key>
            <string>source.diff</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#75715e</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>DIFF Header</string>
            <key>scope</key>
            <string>meta.diff, meta.diff.header</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#66d9ef</string>
                <key>background</key>
                <string>#314f5e</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>DIFF Deleted</string>
            <key>scope</key>
            <string>markup.deleted</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#314f5e</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>DIFF Inserted</string>
            <key>scope</key>
            <string>markup.inserted</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#6fc7f6</string>
            </dict>
        </dict>
l4ci commented

Added basic support for git-diff files.

Thanks :-)