kevinsawicki / monokai

Monokai Atom Syntax theme
241 stars 133 forks source link

Coloring symbols #9

Closed alanloffler closed 10 years ago

alanloffler commented 10 years ago

How can I change the color for html tags like < and >?

burntime commented 10 years ago

This is the output of the tag. You need to style over this classes.

<span class="text html erb">
  <span class="meta tag structure any html">
    <span class="punctuation definition tag html">&lt;</span>
    <span class="entity name tag structure any html">html</span>
    <span class="punctuation definition tag html">&gt;</span>
  </span>
</span>
kevinsawicki commented 10 years ago

Yes @burntime is right, adding a rule for:

.editor .puntuation.definition.tag.html {
  color: red;
}

should do the trick.