Hi!
According to the API docs, it should be possible to use text-decoration: underline
in theme classes for the editor:
Each syntax highlighting selector supports the following CSS attributes:
background-color
color
font-style: support for italic / oblique
font-weight
text-decoration: support for underline and strike-through
(OT: Shouldn’t this be line-through instead of strike-through there?)
However, when I try to do something like the following using nova 7.5 on an otherwise editable CSS class, nothing happens:
comment, declaration {
color: hsl(0, 0%, 50%);
font-style: italic;
text-decoration: underline;
}
I can change the color or the font-style alright, but text-decoration is ignored. I’ve tried using different front in the editor prefs as well, Menlo, Hack, even Courier, doesn’t work for neither of them.
(I like to style method definition names underlined to give it the appearance of a “title” or sorts. Helps a lot when scrolling through source files.)
Am I doing something wrong or could this be a bug?
Cheers!