Hi Jerad, 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,
We do write a lot of custom gadgets in analytics. Is there a way to incorporate the solution above to those as well? So that devs writing custom gadgets don't have to worry about their theme not syncing with other gadgets (generated/precooked). Regards, Sachith On Fri, Jul 15, 2016 at 12:44 AM, Jerad Rutnam <[email protected]> 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 : [email protected] | W : www.wso2.com > -- Sachith Withana Software Engineer; WSO2 Inc.; http://wso2.com E-mail: sachith AT wso2.com M: +94715518127 Linked-In: <http://goog_416592669>https://lk.linkedin.com/in/sachithwithana
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
