Skip to content

invalid scope invisible in light theme #30

@texastoland

Description

@texastoland

From inspector:

language	        yaml-tmlanguage
standard token type	Other
foreground	        #F8F8F0
background	        #FF3399
contrast ratio	    3.18
textmate scopes	    invalid.illegal.unrecognized.yaml-tmlanguage
                    meta.repository-block.yaml-tmlanguage
                    source.yaml-tmlanguage
foreground	        invalid
                    { "foreground": "#F8F8F0", "background": "#FF3399", "fontStyle": "" }

From theme:

{
"name": "Invalid",
"scope": "invalid",
"settings": {
"background": "#FF3399",
"fontStyle": "",
"foreground": "#F8F8F0"
}
},

But VS Code ignores scope backgrounds so it looks like:
https://polypane.app/color-contrast/#fg=#F8F8F0&bg=#f8f8ff&level=aa&format=hex

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions