Hi Udara,

Good point. Is there anyway we can look for the path
"portal\store\carbon.super\fs\theme\<custom-theme-name>\css\gadget.css"
dynamically? Does shindig has any feature to achieve this?

Cheers!

On Fri, Jul 15, 2016 at 1:54 PM, Udara Rathnayake <uda...@wso2.com> wrote:

> Hi Jerad,
>
> One more thing, considering gadget generation as a one-time thing, how we
> are going to support dashboard view theme update functionality. As I
> remember we have a functionality to do this right now. So in that case
> gadgets need to aware of the current theme and update dynamically.
>
> On Fri, Jul 15, 2016 at 1:12 PM, Jerad Rutnam <je...@wso2.com> wrote:
>
>> Hi Udara,
>>
>> Not the entire DS theme. But a theme for gadgets that will have a
>> consistent UI to match the default DS theme. So users can generate gadgets
>> without worrying about the look and feel of it.
>>
>> Because currently users have to style the gadget from the scratch once
>> they generate it using the Gadget Generate Wizard.
>>
>> Cheers!
>> Jerad
>>
>> On Fri, Jul 15, 2016 at 12:07 PM, Udara Rathnayake <uda...@wso2.com>
>> wrote:
>>
>>> are we going to inherit DS theme across gadgets?
>>>
>>>
>>> On Fri, Jul 15, 2016 at 11:14 AM, Jerad Rutnam <je...@wso2.com> wrote:
>>>
>>>> Hi Sinthuja,
>>>>
>>>>
>>>> Just summarizing the offline discussion we had yesterday,
>>>>
>>>> So the basic idea is that, since we ship a default theme with the
>>>> Dashboard Server. We should also add a default theme for precooked gadgets,
>>>> that we ship with the Dashboard Server.
>>>>
>>>> And also this should apply to the gadgets that are generated by the
>>>> Gadget Create Wizard. Then generated gadgets will have a default theme and
>>>> gadget generator(user) does not has to worry about the styling of it,
>>>> unless he/she wants a fully customized UI. We can have a configuration to
>>>> disable this theme if anyone wants.
>>>>
>>>> If the default theme is enabled on gadgets, it should apply the default
>>>> stylesheet for the gadgets along with the chart template core styles.
>>>>
>>>> Also there should be a gadget extension stylesheet available for the
>>>> theme developers. So he/she can overwrite the default gadget styling +
>>>> theme styling (e.g. "gadget.css", just like we have for dashboard and
>>>> portal).
>>>>
>>>>
>>>> Let me know the thought.
>>>>
>>>>
>>>> Cheers!
>>>> --
>>>> *Jerad Rutnam*
>>>> *Software Engineer*
>>>>
>>>> WSO2 Inc.
>>>> lean | enterprise | middleware
>>>> M : +94 77 959 1609 | E : je...@wso2.com | W : www.wso2.com
>>>>
>>>
>>>
>>>
>>> --
>>> Regards,
>>> UdaraR
>>>
>>
>
>
> --
> Regards,
> UdaraR
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to