Is there a package that provides a better form of inline color coding rather than just the standard yellow for CSS?
HTML Syntax with inline CSS color coding
Standard yellow?! Try different themes, and there are other themes available, particularly via PackageControl.
You could also create/modify a theme file to add new rules. Or, of course, use a stylesheet
I don’t have the option of using a style sheet. I am writing partial pages that get added into a preexisting document. All of the CSS I use is to override the current style sheets.
Was just a thought. I’m new to sublime and thought I would try it out. If it can’t change, it can’t change.
If you haven’t already, explore Preferences, Color Schemes - some of them may target the inline-styles.
If you mean as in an html tag, as in <div style="color:#f00">
I have never seen a color scheme that colors this.
Someone would have to add to the html language file the ability to detect these, and it’s not trivial.
Inline CSS highlighting is important for all who code email templates. Three and half years have passed since last comment on this thread and nobody haven’t looked into this. I wish inline CSS in HTML was styled properly.
Sorry, I was talking about Nunjucks-HTML flavour. I forked the Nunjucks syntax https://github.com/mogga/sublime-nunjucks and will try to edit it to be as capable as native HTML.
syntax definitions for HTML templating languages should really include the default HTML syntax definition, so that they get the standard behavior with no extra effort or maintenance required…