Vanilla open source was terminated 1 January 2025 by Higher Logic. See this announcement for more information.
Theming Vanilla2 with @import
I'm working on a theme for Vanilla2, and wanting to keep the css always up to date with release, I was considering using @import, rather than copying code over. Is there a reason why it's recommended in the code to copy css over and then make changes at the bottom, vs. just something like:
It seems that the recommendation in http://vanillaforums.org/page/ThemeQuickStart would lead to themes being distributed that use out of date css that has since changed upstream. Any thoughts? It seems to work for me so far.
ps. Is there a way to keep @profile style links from appearing in code brackets? That would be nice.
@import url(../../../applications/vanilla/design/vanilla.css);
/* User css follows */
body {
font: 15px Georgia,serif;
}
/* etc etc */
It seems that the recommendation in http://vanillaforums.org/page/ThemeQuickStart would lead to themes being distributed that use out of date css that has since changed upstream. Any thoughts? It seems to work for me so far.
ps. Is there a way to keep @profile style links from appearing in code brackets? That would be nice.
0
Comments
For sure, there's drawback too.