Hello,

The current method of skin inheritance leads to some issues when a
developer wishes to create a skin family targetting desktop and PDA.

There's no way to make a large number of changes that affect both
desktop and pda in one place, and then tweak what needs to be tweaked
for desktop or PDA.  For example, I may want to change the color in
both desktop and PDA, but I might want to change the font size to 20
for the desktop and 6 for the PDA.

The reason for the problem is that each skin can only extend
Trinidad's simple skin.  There is no way to have an abstract "plus
skin" that makes the common changes, and then have a "plus-desktop
skin" and "plus-pda skin" that makes desktop/pda specific changes.

(Also note that today things are a bit odder, because there's a
simple-pda.xss that extends simple-desktop.xss.  If I specify a skin
in trinidad-skins.xml that is for use with the desktop RenderKit, its
css inherits from simple-desktop.xss.  If I instead specify its use
for the pda RenderKit, its css inherits from simple-pda.xss.  However,
this doesn't lead to a solution because my plus.css may override a
font that is specified in simple-desktop.xss or simple-pda.xss, so
that font would now be used on both desktop and pda.)

I'm hoping that the skinning experts can provide insights/solutions to
this problem.

Thanks,

Joey

Reply via email to