[dokuwiki] Re: Error in css.php and js.php
- From: Anika Henke <a.c.henke@xxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Sun, 25 Jun 2006 21:45:37 +0200
Martin Tschofen wrote:
A standard set of css variables may make sense as long as they are
few more variables, but makes changing a look much easier.
Thus we would need variables that are common in most templates and
should be documented as required for templates and available for
plugin developers:
__body_text_color__
__body_bg_color__
__link_color__
__link_color_visited__
__link_color_hover__
__link_color_active__
__header_bg_color__
__header_text_color__
__footer_text_color__
...
I think those examples are way too many. Maybe a compromise between a
very small subset (I suggested 4) and a full set of all possible
variants would do:
-----------------------------------------------------------------
text, text_hi, background, background_hi, neutral, neutral_hi
extern, existing, missing
-----------------------------------------------------------------
Whereas neutral and neutral_hi would be neutral colours between the four
other dominating colours. (Neutral in the default template: #66666 and
#f5f5f5).
I can't see why more are needed for plugin developers.
Its just a matter of defining what variables are critical.
For templates this is the minimal subset, these are the critical ones.
They are the only ones that make sense in *every* template. Template
developers would add more different ones by themselves if they want to
(but should always keep these 9).
The default template itself would add at least 5 more.
Can we agree on these nine?
Hmm ... and, maybe, "border" (= 10)!?
If we do it, we should keep the old variables in the style.ini as well.
At least until the next release.
Any more thoughts, ideas, comments?
Anika
--
DokuWiki mailing list - more info at
http://wiki.splitbrain.org/wiki:mailinglist
- Follow-Ups:
- [dokuwiki] Re: Error in css.php and js.php
- From: Michael Klier
- References:
- [dokuwiki] Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith
- [dokuwiki] Re: Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith
- [dokuwiki] Re: Error in css.php and js.php
- From: Andreas Gohr
- [dokuwiki] Re: Error in css.php and js.php
- From: Michael Klier
- [dokuwiki] Re: Error in css.php and js.php
- From: Anika Henke
- [dokuwiki] Re: Error in css.php and js.php
- From: Michael Klier
- [dokuwiki] Re: Error in css.php and js.php
- From: Anika Henke
- [dokuwiki] Re: Error in css.php and js.php
- From: Andreas Gohr
- [dokuwiki] Re: Error in css.php and js.php
- From: Martin Tschofen
Other related posts:
- » [dokuwiki] Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
- » [dokuwiki] Re: Error in css.php and js.php
Thus we would need variables that are common in most templates and should be documented as required for templates and available for plugin developers: __body_text_color__ __body_bg_color__ __link_color__ __link_color_visited__ __link_color_hover__ __link_color_active__ __header_bg_color__ __header_text_color__ __footer_text_color__ ...
Anika -- DokuWiki mailing list - more info at http://wiki.splitbrain.org/wiki:mailinglist
- [dokuwiki] Re: Error in css.php and js.php
- From: Michael Klier
- [dokuwiki] Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith
- [dokuwiki] Re: Error in css.php and js.php
- From: vlq
- [dokuwiki] Re: Error in css.php and js.php
- From: Chris Smith
- [dokuwiki] Re: Error in css.php and js.php
- From: Andreas Gohr
- [dokuwiki] Re: Error in css.php and js.php
- From: Michael Klier
- [dokuwiki] Re: Error in css.php and js.php
- From: Anika Henke
- [dokuwiki] Re: Error in css.php and js.php
- From: Michael Klier
- [dokuwiki] Re: Error in css.php and js.php
- From: Anika Henke
- [dokuwiki] Re: Error in css.php and js.php
- From: Andreas Gohr
- [dokuwiki] Re: Error in css.php and js.php
- From: Martin Tschofen