Great idea!

On Mar 19, 11:18 am, Huey <[email protected]> wrote:
> On Mar 19, 4:42 am, Tarjei Huse <[email protected]> wrote:
>
>
>
> > Hi, What I do is a combo. Each theme contains a url with the different
> > variables that are used in the theme.
>
> > So, I style the different parts of the page using markup like:
>
> > <div class="ui-widget">
> > <div class="ui-widget-header">Header</div>
> > <div class="ui-widget-content"><p>...</p></div>
>
> Yes, I'm doing this too.  It works well for a lot of things, but
> sometimes I want to keep the same color scheme but not in a widget
> style (if that makes sense).
>
> > On top of this i use the themereader[1] class to extract the template
> > variables and add them into a separate template.css file. Like this:
>
> >         $tr = new themereader(dirname(__FILE__) .
> > "/css/jquery-ui-1.7.custom.css");
> >         //print_r($tr->getVars()); <-- gives you the vars of the template
> >         $tr->setTemplate($this->base . "css/template.css");
> >         $outFile = '/var/www/vhosts/www.mysite.com/css/generated.css';
> >         $tr->writeCssFile($outFile);
>
> > 1.http://www.kraken.no/files/themereader.phps
>
> > I call the above in the buildscript I use when I publish my site.
>
> That is a great idea.  I can create my own classes for things I feel I
> need a custom look for (where widge or state don't seem a fit) and
> then populate them using the theme as a base to draw from.
>
> > Hope this helps someone :)
>
> It does :)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to