Better Vue support in Themes
Hi everyone!
For all Nova Theme’s curators out there I recently refined the selectors of Vue syntax. I would love if you can consider implementing them in your themes! Its pretty easy and can provide a more pleasent experience for a lot of folks.
Example
This is an example of what can be done. You can customize vue directives, special tags, brackets and modifiers.
Implementation
This example lists all the available selectors
/* Vue */
vue.html.tag.open,
vue.html.tag.close {
color: #59be84;
}
vue.html.tag.name {
color: #59be84;
font-weight: bold;
}
vue.html.tag.attribute.shorthand-key {
color: #59be84;
}
vue.html.tag.attribute.name,
vue.html.embedded.interpolation.bracket {
color: #65c032;
font-weight: bold;
}
vue.html.tag.attribute.argument {
color: #59be84;
font-weight: bold;
}
vue.html.tag.attribute.modifier {
color: #59be84;
}
Notify the users
If you decide to offer this feature I suggest that you add your theme to this list on GitHub. Just open a pull request.
For Panic
@panic_staff Is it possible somehow to let the users conditionally activate a feature like this with a setting? I’m not sure if using a script for switching extension internals xml files can be consider a safe option… Not to mention the fact of having to mantain more than one file version.