SublimeText / Spacegray

A Hyperminimal UI Theme for Sublime Text
https://sublimetext.github.io/Spacegray/
MIT License
7.19k stars 431 forks source link

Color bug in Sublime Build 3101 #180

Closed GeorgeGkas-zz closed 8 years ago

GeorgeGkas-zz commented 8 years ago

I just downloaded the new sublime version on Ubuntu 14.04. When I went to check my js files all the color of the vars, attributes, funtions, actions, etc, was a mess. I post the screen-shots bellow:

selection_009

selection_010

selection_011

I can't understand what went bad. First I was thinking that something happened to my eyes and have forgot the colors. But then I realized that the color scheme have really changed.

Guys I know that you will look for it.

I programming 3 years now in sublime, mainly on web projects. I spend many hours a day, as many of us, in front of code. I want something that will relax my eye, so when I go in bed to be not as tired.

The hole color scheme is just a science. Please guys there isn't any other theme out there that has helped me so long.

Regards, George

whatnickcodes commented 8 years ago

Same thing is happening here. Was just about to post

kkga commented 8 years ago

Hey guys, I'm not actively maintaining this repo for quite a while already. For the latest syntax themes you should go to their respective base16 repo: https://github.com/chriskempson/base16

GeorgeGkas-zz commented 8 years ago

@kkga okay this is bad. I remade the color scheme using aziz tmTheme. We get the following results (check in the end of the message).

If you check the file in the online editor here you'll see that the code is showing just fine.

I start to think that the problem is in the Sublime Build rather than the XML file.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<!-- Generated by: TmTheme-Editor                 -->
<!-- ============================================ -->
<!-- app:  http://tmtheme-editor.herokuapp.com    -->
<!-- code: https://github.com/aziz/tmTheme-Editor -->
<plist version="1.0">
<dict>
    <key>name</key>
    <string>Base16_ReOcean_Light</string>
    <key>settings</key>
    <array>
        <dict>
            <key>settings</key>
            <dict>
                <key>background</key>
                <string>#EFF1F5</string>
                <key>caret</key>
                <string>#4F5B66</string>
                <key>foreground</key>
                <string>#4F5B66</string>
                <key>invisibles</key>
                <string>#DFE1E8</string>
                <key>lineHighlight</key>
                <string>#DFE1E8</string>
                <key>selection</key>
                <string>#DFE1E8</string>
                <key>shadow</key>
                <string>#DFE1E8</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Text</string>
            <key>scope</key>
            <string>variable.parameter.function</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#4F5B66</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Comments</string>
            <key>scope</key>
            <string>comment, punctuation.definition.comment</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#A7ADBA</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Punctuation</string>
            <key>scope</key>
            <string>punctuation.definition.string, punctuation.definition.variable, punctuation.definition.string, punctuation.definition.parameters, punctuation.definition.string, punctuation.definition.array</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#4F5B66</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Delimiters</string>
            <key>scope</key>
            <string>  </string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#4F5B66</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Operators</string>
            <key>scope</key>
            <string>keyword.operator</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#4f5b66</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Keywords</string>
            <key>scope</key>
            <string>keyword</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#BA8BAF</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Variables</string>
            <key>scope</key>
            <string>variable</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#AB4642</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Functions</string>
            <key>scope</key>
            <string>entity.name.function, meta.require, support.function.any-method</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#7CAFC2</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Classes</string>
            <key>scope</key>
            <string>support.class, entity.name.class, entity.name.type.class</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#D08770</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Classes</string>
            <key>scope</key>
            <string>meta.class</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#BA8BAF</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Methods</string>
            <key>scope</key>
            <string>keyword.other.special-method</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#8FA1B3</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Storage</string>
            <key>scope</key>
            <string>storage</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#B48EAD</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Support</string>
            <key>scope</key>
            <string>support.function</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#96B5B4</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Strings, Inherited Class</string>
            <key>scope</key>
            <string>string, constant.other.symbol, entity.other.inherited-class</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#A1B56C</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Integers</string>
            <key>scope</key>
            <string>constant.numeric</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#D08770</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Floats</string>
            <key>scope</key>
            <string>none</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#D08770</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Boolean</string>
            <key>scope</key>
            <string>none</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#DC9656</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Tags</string>
            <key>scope</key>
            <string>entity.name.tag</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#BF616A</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Attributes</string>
            <key>scope</key>
            <string>entity.other.attribute-name</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#D08770</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Attribute IDs</string>
            <key>scope</key>
            <string>entity.other.attribute-name.id, punctuation.definition.entity</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#8FA1B3</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Selector</string>
            <key>scope</key>
            <string>meta.selector</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#B48EAD</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Values</string>
            <key>scope</key>
            <string>none</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#D08770</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Headings</string>
            <key>scope</key>
            <string>markup.heading punctuation.definition.heading, entity.name.section</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#8FA1B3</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Units</string>
            <key>scope</key>
            <string>keyword.other.unit</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#D08770</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Bold</string>
            <key>scope</key>
            <string>markup.bold, punctuation.definition.bold</string>
            <key>settings</key>
            <dict>
                <key>fontStyle</key>
                <string> bold</string>
                <key>foreground</key>
                <string>#CF534C</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Italic</string>
            <key>scope</key>
            <string>markup.italic, punctuation.definition.italic</string>
            <key>settings</key>
            <dict>
                <key>fontStyle</key>
                <string> italic</string>
                <key>foreground</key>
                <string>#B48EAD</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Code</string>
            <key>scope</key>
            <string>markup.raw.inline</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#A3BE8C</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Link Text</string>
            <key>scope</key>
            <string>string.other.link</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#BF616A</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Link Url</string>
            <key>scope</key>
            <string>meta.link</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#7CAFC2</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Lists</string>
            <key>scope</key>
            <string>markup.list</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#BF616A</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Quotes</string>
            <key>scope</key>
            <string>markup.quote</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#A1B56C</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Separator</string>
            <key>scope</key>
            <string>meta.separator</string>
            <key>settings</key>
            <dict>
                <key>background</key>
                <string>#DFE1E8</string>
                <key>foreground</key>
                <string>#4F5B66</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Inserted</string>
            <key>scope</key>
            <string>markup.inserted, markup.inserted.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#A3BE8C</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Deleted</string>
            <key>scope</key>
            <string>markup.deleted, markup.deleted.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#BF616A</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Changed</string>
            <key>scope</key>
            <string>markup.changed, markup.changed.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#B48EAD</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Ignored</string>
            <key>scope</key>
            <string>markup.ignored, markup.ignored.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#C0C5CE</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Untracked</string>
            <key>scope</key>
            <string>markup.untracked, markup.untracked.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#C0C5CE</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Colors</string>
            <key>scope</key>
            <string>constant.other.color</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#96B5B4</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Regular Expressions</string>
            <key>scope</key>
            <string>string.regexp</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#96B5B4</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Escape Characters</string>
            <key>scope</key>
            <string>constant.character.escape</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#96b5b4</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Embedded</string>
            <key>scope</key>
            <string>punctuation.section.embedded, variable.interpolation</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#AB7967</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Invalid</string>
            <key>scope</key>
            <string>invalid.illegal</string>
            <key>settings</key>
            <dict>
                <key>background</key>
                <string>#BF616A</string>
                <key>foreground</key>
                <string>#eff1f5</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>GitGutter deleted</string>
            <key>scope</key>
            <string>markup.deleted.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#F92672</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>GitGutter inserted</string>
            <key>scope</key>
            <string>markup.inserted.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#A6E22E</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>GitGutter changed</string>
            <key>scope</key>
            <string>markup.changed.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#967EFB</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>GitGutter ignored</string>
            <key>scope</key>
            <string>markup.ignored.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#565656</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>GitGutter untracked</string>
            <key>scope</key>
            <string>markup.untracked.git_gutter</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#565656</string>
            </dict>
        </dict>
        <dict>
            <key>name</key>
            <string>Built-in constant</string>
            <key>scope</key>
            <string>constant.language</string>
            <key>settings</key>
            <dict>
                <key>foreground</key>
                <string>#BF6F39</string>
            </dict>
        </dict>
    </array>
    <key>uuid</key>
    <string>D8D5E82E-3D5B-46B5-B38E-8C841C21347D</string>
    <key>colorSpaceName</key>
    <string>sRGB</string>
    <key>semanticClass</key>
    <string>theme.light.monokai</string>
    <key>author</key>
    <string>GeorgeGkas</string>
    <key>comment</key>
    <string>After a color bug in Sublime Build 3101, I remake the base16_ocean_light Spacegray Light theme</string>
</dict>
</plist>
GeorgeGkas-zz commented 8 years ago

Update:

THIS IS A BUG OF VERSION 3103. I SWITCH BACK TO PREVIOUS VERSION 3083 AND EVERYTHING WORKS FINE NOW

gwenzek commented 8 years ago

Actually it's not really a bug, it's a breaking change. Build 3103 shipped a new version of the javascript syntax which renames several scopes. The theme which were using those renamed scope has to be adapted, because it doesn't look like those change are going to be canceled...

whatnickcodes commented 8 years ago

@kkga Don't think that link you shared has Space Gray Eighties

kkga commented 8 years ago

Don't think that link you shared has Space Gray Eighties

It does have. Check the base16-builder repo on how to build the syntax themes https://github.com/chriskempson/base16-builder

I didn't create or modify the syntax themes myself, if the latest version from base16-builder is not working properly, you should file an issue in their original repository.