How to upgrade a custom jQuery UI theme?

不想你离开。 提交于 2019-11-29 02:10:49

问题


I created 2 custom themes with themeroller for JQuery UI 1.7 with themeroller. Now that I update to jQuery UI 1.8.5, I want to make sure that also my themes are updated. How can I automatically re-generate/update my custom themes with themeroller?


回答1:


The jQuery UI theme css file includes an edit link in its comments. This link opens Themeroller with the settings of your custom theme.

  /*
* jQuery UI CSS Framework
* Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about)
* Dual licensed under the MIT (MIT-LICENSE.txt) and GPL (GPL-LICENSE.txt) licenses.
* To view and modify this theme, visit http://jqueryui.com/themeroller/?ffDefault=Segoe%20UI,%20Arial,%[...]*/



回答2:


To add to fbuchinger's answer, this didn't work for me at first - one of the colours came through invalid, so the page did not display the theme properly and I was unable to download it.

If you have the same problem, check there is nothing highlighted red (error), correct as required and it should be OK.

And yes I know this would be better as a comment, but I don't have the required 50 reputation to comment.



来源:https://stackoverflow.com/questions/3802447/how-to-upgrade-a-custom-jquery-ui-theme

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!