Attribute default: The default color that will be proposed in the palette.
Attribute css-class : The CSS class used to render the color in the palette tool. It is therefore used with a xsl file that generates a CSS with the list of palette colors. (Often to be ignored on the graphics integration side).
Beacon color: You need to add a color tag for each color you want in the palette.
Attribute id: This is the color's unique identifier. It's what's stored most of the time, and provides the information associated with the color.
main tag : The hexadecimal code of the main color
text tag : Hexadecimal code for text color
Color palette overload
By default, Ametys offers a palette of colors. But they're all overloadable.
Overload per project
Find the name of the XML file associated with the palette you wish to override(filename.xml)
Redefine this file XML in {AmetysHome}/WEB-INF/param/fileName.xml
Overloading by graphic chart (not all palettes can be overloaded by graphic chart)
Find the name of the XML file associated with the palette you wish to override(filename.xml)
Redefine this file XML in {skin }/conf/file-name .xml
Different uses for pallets
For tags, it is possible to retrieve color from tags via a helper XSL tagColor.
Labels for CMS
Name of file to override: tag-colors.xml
Overload on skin side: no
Project category
Name of file to override: project-category-colors.xml
Overload on skin side: no
Site configuration
Name of file to be overwritten: site-colors.xml
Overload on skin side: no
Link directory
Name of file to override: linkdirectory-colors.xml