Thibaut Soulcié wrote:

about that, to me colors are colors, so can i do something like that :
<palette name="Nuxeo default colors" src="themes/palettes/nxcolors.aco" category="color,border-color," />
? what should i use ? color, border-... or mayve color|border... ?

just 'color', since the 'color' category includes 'color', 'border-color', 'background-color', ... see https://svn.nuxeo.org/nuxeo/org.nuxeo.theme/trunk/jsf/resources/nxthemes/jsf/styles/css.properties

the properties that apply to 'color' are marked as =<color>


<font preset="preset name (palette name)" />
ok



when the server starts the log file will read
that i can't get!


that was an example (unless you have org.nuxeo.theme.demo installed you won't get access to the palettes installed in it :-) ) see http://svn.nuxeo.org/nuxeo/org.nuxeo.theme/trunk/demo/resources/nxthemes/demo/palettes http://svn.nuxeo.org/nuxeo/org.nuxeo.theme/trunk/demo/OSGI-INF/nxthemes-demo-contrib.xml

i can't get it, even if i put preset palettes in theme-contrib.xml, is what i meant.
Here is what is my theme-contrib :

   <!-- Styles presets -->

<extension target="org.nuxeo.theme.services.ThemeService" point="presets">

<palette name="Nuxeo default fonts" src="themes/palettes/nxfonts.properties" category="font" /> <palette name="Nuxeo default font colors" src="themes/palettes/nxfontcolors.properties" category="color" /> <palette name="Nuxeo default border colors" src="themes/palettes/nxbordercolors.properties" category="border-color" /> <palette name="Nuxeo default backgrounds" src="themes/palettes/nxbackgrounds.properties" category="background" /> <palette name="Nuxeo default colors" src="themes/palettes/nxcolors.aco" category="color" />

  </extension>

...

yet i won't work.

In the log i don't have any "palette" or "font", i just have that line with "presets"


I think you need to make sure that the palettes are really getting packaged inside the jar.

can you do a svn check-in?

/JM
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to