Closed amr8004 closed 12 months ago
Hi @amr8004! The root cause is that Modern Dark is explicitly defining "markup.bold" and "markup.heading"(corresponding to elements and phases, respectively) as following the exact same rendering style. To be precise:
{
"scope": "markup.bold",
"settings": {
"foreground": "#569CD6",
"fontStyle": "bold"
}
},
{
"scope": "markup.heading",
"settings": {
"foreground": "#569CD6",
"fontStyle": "bold"
}
}
I will see what I can do about it, but for now I suggest you try one of other dark themes.
After investigating, it seems like this behavior is not possible to adjust on the lexer (our) side, as there is no alternative combination of bold and color in the theme. However, you can quickly customize the theme yourself:
settings.json
, for instance by Ctrl
+Shift
+P
to bring up the command menu and typing settings
"editor.tokenColorCustomizations": {
"[Default Dark Modern]": {
"textMateRules": [
{
"scope": "markup.heading",
"settings": {
"foreground": "#D0B344"
}
}
]
}
},
Current (V1.3.2) README in the root directory addresses this issue through instructions similar to the above ones.
Parameter, phase name, element default coloration are defaulting to almost the same color defeating the purpose of differentiating. Consider changing phase name color in this theme