The themes documentation page doesn’t mention these labels, and I wasn’t able to pinpoint how to target these elements in the theme file.
I want to change the background color, and ideally, the inner padding too.
Is it even possible?
Thanks!
The themes documentation page doesn’t mention these labels, and I wasn’t able to pinpoint how to target these elements in the theme file.
I want to change the background color, and ideally, the inner padding too.
Is it even possible?
Thanks!
Hi, did you try
sublime.log_control_tree(True)
https://www.sublimetext.com/docs/api_reference.html#module-sublime
In the ST console?
Control whether control tree logging is enabled. When enabled clicking with ctrl+alt will log the control tree under the mouse to the console.
Those seem to be phantoms (html_control
) and thus would need to be targetted by CSS in color schema. I don’t remember the class names, however.
I tried that but I didn’t know that html_control
was a phantom!
Is there a way to find out which class to target?
Also I did a quick test by targeting everything using “*” like this:
"phantom_css": "* { color: red; background-color: red; padding: 0px; border-radius: 0px }",
And it only changed the text color, not the background, border-radius or padding:
Maybe the box properties are controlled somewhere else?
Thanks!
I needed to target body
instead of *
:
"phantom_css": "body { color: red; background-color: red; padding: 0px; border-radius: 0px }",
But without the classname it’s not really usefull, it would be great to have a list of the internal phantom class used in ST.