On 7/26/07, Matt Strauser <[EMAIL PROTECTED]> wrote:
> Once a skin has been selected in config.php  {$Skin = 'triad';} is there way
> to refer to one of the skin's colors? For example if the skin has a .css
> file that defines a body background color like this:
>
>  body { background:#AECCEB; }
>
> Is there a way I can reference the body background color in the config.php
> file?

AFAIK the config.php script cannot easily get information from the
stylesheet(s).

One possible way might be to actually /set/ the color in config.php.

   $foo = '#aecceb';
   $HTMLStylesFmt['bodybg'] = " body { background:$foo; }  ";

Hagan

_______________________________________________
pmwiki-users mailing list
pmwiki-users@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users

Reply via email to