akamud / vscode-theme-onedark

VSCode Theme based on Atom's One Dark theme
MIT License
283 stars 198 forks source link

Python Types Colour inconsistent #145

Open ThomasLandstra opened 2 years ago

ThomasLandstra commented 2 years ago

When using Python types the colour scheme breaks. This is specifically an issue when using a return value annotation (-> str).

Sample code

def hello_world(prnt: bool = False) -> str:
    text: str = "Hello, World!"

    if prnt:
        print(text)

    return text

hello_world(True)

Filename and Language selected

Python app.py

Atom Original theme Screenshot

VSCode theme Screenshot

Versions used