7.0

Table Of Contents
5.2.9 generateSkinMainColorHighLight
The generateSkinMainColorHighLight function retrieves the skins main color set in the Edit Web Design page.
The parameter of this functions lets you change the tint of the color. Fractional values are used, where 0.0 will
be black, 1.0 the original color and higher values will result in a lighter tint of the main color.
Below an example on how this color can be set using this function. In this case the background color of the
user info bar will have a darker tint when the user places the cursor over these items (hover).
#userinfo li a:hover{
background-color: <? generateSkinMainColorHighLight(0.6); ?>;
line-height: 2em;
}
Special variables - Variables for style files
Objectif Lune Inc. © 2010 41