[pmwiki-users] skin .css color
H. Fox
haganfox at users.sourceforge.net
Thu Jul 26 21:14:54 CDT 2007
On 7/26/07, Matt Strauser <syntereo at gmail.com> 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
More information about the pmwiki-users
mailing list