More obvous unsaved indicator in tab?


#1

For me, a tiny dot is not enough for me to notice if a file is unsaved.
I’d rather not auto-save when out of focus. I tried to edit the styles.less with this:
&.modified { background:: red !important; }
But no effect.

Where can I edit the theme to make the tabs look more different when it is unsaved please?


#2

Your problem is most likely just the double colon.

.modified {
  background: red !important;
}

That works for me and you probably don’t even need the !important tag. You were correct to put it in your stylesheet.


#3

See what I get for going into work too early?
Thanks :slight_smile: