[Ds-java-dev] [Carbon-dev] Maintaining uniform styles across a carbon deployment

Afkham Azeez azeez at wso2.com
Thu Jul 31 04:09:32 PDT 2008


Yes that is the idea. Component UI authors have to simply adhere to the 
template, and can rely on the environment to provide the proper styling. 
Also, this allows us to undeploy one style bundle and deploy a new style 
bundle, which will allow the user to change the look and feel at 
runtime, if necessary.

Azeez

Paul Fremantle wrote:
> Good plan. This is important because I'm guessing different solutions 
> may wish to re-style the system in the future.
> 
> Paul
> 
> Afkham Azeez wrote:
>> Hi Folks,
>> I noticed that UI component authors have used their own CSS files within 
>> components. The component should automatically inherit all styles from 
>> its deployment environment. Hence I've removed all of these sty sheets 
>> and have introduced a style bundle. Generally, there will be a single 
>> style bundle in an environment. All other components will get the styles 
>> from this style bundle. The DS project has its own style bundle.
>>
>> Add this
>> <link href="../styles/main.css" rel="stylesheet" type="text/css" 
>> media="all"/>
>> to the page headers to get the proper styles.
>>
>> --
>> Azeez
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> Carbon-dev at wso2.org
>> http://mailman.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
> 




More information about the Ds-java-dev mailing list