Hi Steve,

This documentation page is actually documenting two approaches with different 
purposes, now I realize section titles aren't quite clear and this may cause 
confusion, sorry about that!

1. The first approach is simply about adding custom styles to your magnolia 
app, and should fit your case just fine. The important part in the doc is the 
configuration snippet and the following paragraph:
[quote]The system will look for a Vaadin theme stylesheet that should be in 
src/main/resources/VAADIN/themes/orange/styles.css (or .scss). The style sheet 
should use the same pattern as Vaadin theme. You can also use SASS. Magnolia 
will inject this stylesheet into the document's head when the app is started, 
using Vaadin's CSSInject addon. It will also add a CSS class name to the app 
container div element, such as app-orange.[/quote]

2. The second approach on the other hand is more about customizing the Magnolia 
admincentral, and is done at webapp level, hence the magnolia.properties. 
Indeed here the property defaults to 'admincentral', but one could change it to 
a new Vaadin theme that would absolutely have to include our 'admincentral' 
Sass mixin, and add some customization there. This option is also documented as 
a workaround for certain use cases where approach 1 is not enough (basically 
custom styles when the app is not started), but is not perfect either. In 
particular it does not fit cases where you want to make an app or module 
shippable, because users would have to edit their magnolia.properties manually 
anyway.

As a quick status, we are more looking into reducing the limitations of option 
#1, but as far as I see you should be pretty much covered with it as is.

Cheers,

Mika

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=4d78fdd4-ad02-4b55-b1f2-ef947a888fcb


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

Reply via email to