How to upgrade a custom jQuery UI theme?
Asked Answered
S

2

37

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?

Sallet answered 27/9, 2010 at 9:20 Comment(0)
S
72

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,%[...]*/
Sallet answered 27/9, 2010 at 11:19 Comment(3)
Thanks a lot for posting your answer to this. I think you should accept it.Sailplane
Yes. Many many thanks. You just saved me a huge headache! =)Trying
What if I changed manually some "margin" or "padding" (Themeroller is quite limited what can be customized)?Plastered
W
3

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.

Witham answered 5/9, 2014 at 14:46 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.