[horde] H5 theme development

Michael M Slusarz slusarz at horde.org
Sun Mar 17 01:48:28 UTC 2013

Quoting Mauser Info <andreas at mauser.info>:

> Am 11.03.2013 15:43, schrieb Jan Schneider:
>> Zitat von Andreas Mauser <andreas at mauser.info>:
>>> Hi,
>>> I'm continuing the topic regarding H5 theme support and want to make
>>> my own theme.
>>> Copying default theme to new named folder (e.g. 'black' for a black
>> Don't do that. Only create icons and CSS rules that you actually want
>> to change.
> Can you tell me more about how you mean that please?
> I do not know how to change to a new theme other than creating a copy of
> the default theme.

You should not touch the default theme.  EVERYTHING in the default  
theme needs to be loaded.  So you need to instead create EMPTY CSS  
files in your new theme and only change what is needed.  You can't  
copy the details from the default theme since these details may change  
in the future (and control things like element positioning).

> And in what regard is the horde/theme/default theme responsible of
> controlling the other theme folders?

They don't control anything.  But the default theme is ALWAYS loaded.   
The new theme's CSS is loaded after the default theme so anything in  
there will override the default theme (that's why they are called  
CASCADING style sheets).

> Is there any relation or need for these folders to be changed seperately?

I don't know what you are asking.

When creating a theme: 1) don't touch default directories, and 2)  
don't copy anything from default directories.


Michael Slusarz [slusarz at horde.org]

More information about the horde mailing list