I wouldn’t recommend reverting any default package with older ones as various 3rd-party packages depend on them (extend
them). Using out-dated default packages not complying with ST build number are a likely cause for those 3rd-party packages to break.
A question of taste, whether built-ins are to be tinted differently. Python syntax extended patterns to add those from typing
module to the list of built-ins, for those who would like to tint them with dedicated colors. Those can be addressed by…
{
"rules":
[
{
"scope": "support.class",
"foreground": "..."
},
]
}
The following rules may be a starting point to tweak type annotation tinting via UI: Customize Color Scheme
.
{
"rules":
[
// Python type annotations
{
"name": "Annotation Background",
"scope": "meta.type",
"background": "color(var(textcolor) blend(var(background) 4%))",
},
{
"name": "Python Type Annotations: Types",
"scope": "meta.type & (meta.generic-name, support.class, support.type, storage)",
"foreground": "color(var(grey) blend(var(blue) 70%))",
},
{
"name": "Python Type Annotations: Constants",
"scope": "meta.type & (constant.language, constant.other, string)",
"foreground": "color(var(grey) blend(var(orange) 70%))",
},
]
}