On Sun, 12 Mar 2006 17:42:43 +0000 Chris Smith <chris@xxxxxxxxxxxxx> wrote: > Anika Henke wrote: > > > > You are absolutely right about this! But I can tell you what Andi > > will answer (because I asked him the same thing right after the css > > > > dispatcher was out): "That's what templates are for ..." :-( > > > > So, I for one, did the only reasonable thing to *my* template: I > > used variables such as __text_1__, __text_headline__, > > __link_normal__, __link_existent__, __background_3__, __border_2__ > > and such. > > > Also see my other note. I think you are trying to duplicate CSS > functionality with styles.ini. I would argue that isn't its purpose. > > Its purpose is to simplify and standardise styles across the plethora > of Dokuwiki stylesheets and to avoid repititive use of "magic colour > codes" and any other common values. That is to allow all elements > which share a colour or value to use one name for that colour/value. > > The final control of an individual element's presentation should > remain in CSS. Making styles.ini too large would make the process of > template building more complex not less. As you have to first deduce > what style rules control what element, then locate the styles.ini > value(s) for that style element, then locate all the other style > rules which use the same styles.ini value, all before you decide > whether you: (a) need to define the value in the stylesheet > (b) changes the value in styles.ini > (c) make a new value for styles.ini - and then decide which rules get > the original name and which will get the new name ..... Exactly what I think - we shouldn't overdo this. However I agree with Mathias and Anika that my choosing of pattern names wasn't very good and some more general names would have been better. Andi -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist