Open 3noix opened 2 months ago
I had a problem with the VSCode API: I only wanted to add a horizontal line above my comment, without applying a background or a foreground change, and I had a foreground in the todo-tree.highlights.defaultHighlight
... and in this case it is impossible to reference the color of comments of the theme:
editor.tokenColorCustomizations.comments
:
editor.foreground
:
null
:
And this is some weird behavior that 2 different invalid values (as said by the warning) have different results.
This PR resolves #582 by adding support of:
I treated the border color similarly to foreground and background colors:
Default values:
Here is the result of a test:![test](https://github.com/Gruntfuggly/todo-tree/assets/36484780/93ae6d6f-83a5-41f7-b7e3-a06791713d91)
With these settings in![settings1](https://github.com/Gruntfuggly/todo-tree/assets/36484780/e1eb8ae9-af9d-4426-be59-2ad3a2adda49)
todo-tree.highlights.customHighlight
and no foreground and background set intodo-tree.highlights.defaultHighlight
: