accerqueira / sublime-test-runner

Sublime Text plugin for running tests.
MIT License
22 stars 0 forks source link

Updates color scheme syntax #7

Open s7726 opened 4 years ago

s7726 commented 4 years ago

Here are the rules for the json color scheme syntax

        {
            "name": "Test PASS",
            "scope": "test.status.pass",
            "foreground": "#33FF33",
        },
        {
            "name": "Test FAIL",
            "scope": "test.status.fail",
            "foreground": "#FF3333",
        },
        {
            "name": "Test SKIP",
            "scope": "test.status.skip",
            "foreground": "#999999",
        },
        {
            "name": "Test TODO",
            "scope": "test.status.todo",
            "foreground": "#FFFF33",
        },

I don't know what version of ST uses the xml syntax, but this works for ST4. Easy way to add it is with the PackageDev package, ctrl+shift+p PackageDev: Edit current color scheme