RE: Variables for Theme Colors
by mdillon (Priest) on Sep 18, 2000 at 05:08 UTC
|
since the body of my discussion topic was lost to a bug that
vroom says should now be fixed, i'll reproduce my original
text here:
so, here's my idea: along the lines of the other custom
markup provided on Perl Monks, like <CODE> and now <READMORE>, i propose that we be allowed the possibility of accessing the colors for the current theme as variables through some sort of extended HTML.
my initial idea was to use entities, for example
&pm.bgcolor1;, &pm.fgcolor1;,
&pm.bgcolor2;, or &pm.fgcolor2;.
this is not the optimal solution,
since the theme colors seem to be divided into primary
and secondary sets which should ideally be kept together.
but, without the site on the whole using CSS and doing
something like <TABLE CLASS="pm_secondary">,
i can't see how to do it.
the whole idea may simply be infeasible or simply too
unwieldy, so i'm interested in getting some feedback.
| [reply] [d/l] [select] |
|
The use of color in posts has been discussed before, and if I
remember correctly, the general feeling was that in general
it should be discouraged.
So although in principle I like your idea, I wonder: will the
people who -against common opinion- still use color go to
the trouble of figuring out how to use whatever new scheme
we come up with, so that it is readable by everyone? I doubt it.
I don't remember what the comments about color were when the
discussion about restricting HTML in posts occurred, but it
seems to me that a better solution may be to filter out color tags
altogether.
I haven't seen enough people using color to think that this
is a real problem yet, though.
--ZZamboni
| [reply] |
|
i think you may be right. this idea is probably more trouble
than it is worth. however, as much as i personally dislike
most uses of color in top-level and reply nodes (it doesn't
really bother me on home nodes), i don't think that getting
rid of all color is desirable yet (or necessary, as you've
observed).
one thing that quite possibly should be fixed is the
Saints in Our Book page. that page is largely unreadable
with the dark theme, since both the text color and the
background are gray (thank goodness for visual highlighting
of selections (too bad it isn't XOR'd so that i could see
my selection on a yellow page)).
| [reply] |
|
| [reply] |
|
| [reply] |
|
No, I have used font to create slightly smaller text for footnotes. I don't see how that creates a problem.
| [reply] |
|
|
how 'expensive' would it be to allow each monk to specify the option of stripping <font> tags from user input?
This is a serious question, btw; the idea is that the perlmonks code could involve a user-configurable output filter.
"He's got about as much personality as a loaf of bread" -- Wally Pleasant, She's in love with a Geek
| [reply] |
RE: Variables for Theme Colors
by footpad (Abbot) on Sep 22, 2000 at 08:13 UTC
|
Frankly, I tend to hiss when I see overuseof color. I like the idea of the self-configurable color scheme, but there's only one that prints well...and that only barely.
imho, of course.
whaddyI know? I'm a self confessed newbeeeee....
-- f | [reply] |